User Tools

Site Tools


agl-distro:agl-raspberrypi

This is an old revision of the document!


Building AGL for Raspberry Pi

AGL has been initially ported to Raspberry Pi 2 and 3 by Leon Anavi thanks to the existing knowledge for enabling hardware graphics acceleration in Wayland and Weston from the Tizen Project and GENIVI Development Platform.

Follow the general steps for building AGL, download master branch and set raspberrypi2 or raspberrypi3 as a machine depending on the version and the model of your Raspberry Pi.

Notes

Commercial licensed packages

Append to following lines to conf/local.conf to include libomxil under a commercial license to your build:

  
  # For libomxil
  LICENSE_FLAGS_WHITELIST = "commercial"
  
  IMAGE_INSTALL_append = " libomxil"

RPI touchscreen with rotation

If you have the RPI touchscreen connected, you can rotate it with these lines in /etc/xdg/weston/weston.ini

root@raspberrypi3:/etc/xdg/weston# cat weston.ini 
[core]
backend=drm-backend.so
shell=desktop-shell.so

[shell]
locking=true
# Uncomment below to hide panel
#panel-location=none

[launcher]
icon=/usr/share/weston/terminal.png
path=/usr/bin/weston-terminal

[launcher]
icon=/usr/share/weston/icon_flower.png
path=/usr/bin/weston-flower

[output]
name=DSI-1
transform=270
agl-distro/agl-raspberrypi.1477742940.txt.gz · Last modified: 2016/10/29 12:09 by jsmoeller