This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
agl-distro:agl-raspberrypi [2016/10/29 12:08] jsmoeller |
agl-distro:agl-raspberrypi [2022/10/07 19:37] (current) vinodahuja |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Building AGL for Raspberry Pi ===== | + | ====== 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. | + | Please refer to AGL docs for setting up [[https://docs.automotivelinux.org/en/needlefish/#0_Getting_Started/2_Building_AGL_Image/5_2_Raspberry_Pi_4/ | AGL on Raspberry Pi]] |
- | + | ||
- | Follow the [[agl-distro:source-code|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 | + | |