This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
agl-distro:agl-raspberrypi [2018/01/04 14:41] leonanavi Update download instructions |
agl-distro:agl-raspberrypi [2020/03/05 15:46] leonanavi Set Raspberry Pi 4 as recommended |
||
---|---|---|---|
Line 3: | Line 3: | ||
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. | 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 [[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. | + | Follow the [[agl-distro:source-code|general steps for building AGL]], download master branch and set **raspberrypi4** (recommended) or **raspberrypi3** as a machine depending on the version and the model of your Raspberry Pi. Support for Raspberry Pi 2 has been deprecated in the latest AGL releases. |
====== Introduction: Building target AGL image with Yocto project ====== | ====== Introduction: Building target AGL image with Yocto project ====== | ||
Line 122: | Line 122: | ||
==== Download Latest Stable Release ==== | ==== Download Latest Stable Release ==== | ||
- | To download all layers for the for the latest stable release, dab 4.0.2: | + | To download all layers for the for the latest stable release, flounder 6.0.4: |
<code bash> | <code bash> | ||
cd $AGL_TOP | cd $AGL_TOP | ||
- | repo init -b dab -m dab_4.0.2.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo | + | repo init -b flounder -m flounder_6.0.4.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo |
repo sync | repo sync | ||
</code> | </code> | ||
- | ==== Download Latest on dab Branch ==== | + | ==== Download Latest ==== |
- | To download all layers on the current release branch which may be in the midst of testing or changes prior to the next stable release: | + | To download all layers on the current master branch which may be in the midst of testing or changes prior to the next stable release: |
<code bash> | <code bash> | ||
cd $AGL_TOP | cd $AGL_TOP | ||
- | repo init -b dab -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo | + | repo init -b master -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo |
repo sync | repo sync | ||
</code> | </code> | ||
Line 160: | Line 160: | ||
====== Building the AGL Demo Platform for Raspberry Pi ====== | ====== Building the AGL Demo Platform for Raspberry Pi ====== | ||
+ | |||
+ | ===== Raspberry Pi 4 (recommended) ===== | ||
+ | |||
+ | To build AGL demo platform for Raspberry Pi 4 use machine **raspberrypi4** and feature **agl-demo**: | ||
+ | |||
+ | <code> | ||
+ | source meta-agl/scripts/aglsetup.sh -m raspberrypi4 agl-demo agl-appfw-smack | ||
+ | bitbake agl-demo-platform | ||
+ | </code> | ||
===== Raspberry Pi 3 ===== | ===== Raspberry Pi 3 ===== | ||
Line 171: | Line 180: | ||
===== Raspberry Pi 2 ===== | ===== Raspberry Pi 2 ===== | ||
- | To build AGL demo platform for Raspberry Pi 2 use machine **raspberrypi2** and feature **agl-demo**: | + | Raspberry Pi 2 support has been **deprecated** in the latest AGL releases. To build AGL demo platform for Raspberry Pi 2 use machine **raspberrypi2** and feature **agl-demo**: |
<code> | <code> | ||
Line 191: | Line 200: | ||
<code bash> | <code bash> | ||
sudo umount [sdcard device] | sudo umount [sdcard device] | ||
- | xzcat [output image] | sudo dd of=[sdcard device] bs=4M | + | xzcat [output image] | sudo dd of=[sdcard device] bs=4M status=progress |
sync | sync | ||
</code> | </code> | ||
Line 280: | Line 289: | ||
IMAGE_INSTALL_append = " libomxil" | IMAGE_INSTALL_append = " libomxil" | ||
</code> | </code> | ||
+ | |||
+ | ====== SOTA ====== | ||
+ | |||
+ | To build AGL for Raspberry Pi with enabled software over the air updates, include **agl-sota** feature. In **bblayers.conf** replace **meta-updater-qemux86-64** with **meta-updater-raspberrypi**. In **local.conf** set **SOTA_PACKED_CREDENTIALS** and **OSTREE_BRANCHNAME**. More details are available [[https://docs.ota.here.com/getstarted/dev/raspberry-pi.html|here]]. | ||
+ | |||
+ | |||
====== Raspberry Pi Touchscreen with Rotation ====== | ====== Raspberry Pi Touchscreen with Rotation ====== | ||