Compile from Source:
When I tested It I had trouble with compiling from source using the following branches:
- Chinook 3.0.1: failed to sync repository
- Latest on Chinook Branch: failed to compile
- Master: failed to compile
However this may change soon. I you are interested in compiling AGL for Raspberry Pi try the following documentation page: http://docs.automotivelinux.org/docs/getting_started/en/dev/
Download link for the rpi3 image on this page ( https://wiki.automotivelinux.org/agl-distro?&#supported_hardware ) Does NOT work.
Before Getting Started I would recommend having a working UART connection to you raspberry pi: https://pinout.xyz/pinout/uart
- Write the downloaded file to a SD card (minimum 8GB) using you favourite tool like dd, win32 or etcher.
- Power on the raspberry pi, you should see a blank screen but some output on the uart, make sure you can login with the user root on the uart console.
Now we need to get around the no-display issue:
- Have a good read here: https://wiki.automotivelinux.org/agl-distro/agl-raspberrypi
- In that page follow the steps under “Disabling Homescreen in AGL 3.0.x CC release”
- I would recommend doing it manually on another system by inserting the pi’s sd card as many of the files are write protected
- If you are on a separate machine you would have to navigate to the following directory to get the thr rootfs to be able to modify the files
<montpoint>/ostree/boot.1/agl/<random string>/0/<this is the rootfs>
Getting demo apps running:
- After the modifications have been done boot the raspberry pi and login as root using uart
- we will use the command afm-util, run “afm-util –help” for more detail
- “afm-util list” will give you a list of demos pre installed
- “afm-util run <demo id>” will run the demo from the above mentioned list.