...
This document describe how to build AGL instrument cluster with container integration.
...
1.
...
Select Image type and target board
AGL IC container integration has various type. Developer need to choice which integration type. Those type show in table1.
...
We recommend to choice AGL RefHW or Raspberry Pi4 (4G or 8G).
2. Setup build environment
Build environment for AGL IC container integration is same as AGL other profile build environment.
...
If your board is Raspberry Pi4, please skip this step.
...
7-1: Downloading Proprietary Drivers from Renesas-automotive-products.
In case of Optimistic Octopus and master, please download this.
...
7-2: To check the files to download.
grep -rn ZIP_.= $AGL_TOP/meta-agl/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
export XDG_DOWNLOAD_DIR=$HOME/Downloads
...
7-3: Download and copy Proprietary Drivers files (Run commands at downloaded files directory).
cp R-Car_Gen3_Series_Evaluation_Software_Package_* $XDG_DOWNLOAD_DIR/
chmod a+rw $XDG_DOWNLOAD_DIR/*.zip
3. Configure to target board and build.
1st step: Run the aglsetup.sh Script.
cd $AGL_TOP
When your board is AGL RefHW.
source meta-agl/scripts/aglsetup.sh -f -m h3ulcb -b build-ic-refhw agl-ic-container agl-refhw-h3
When your board is R- CarH3 Starter Kit with Kingfisher board.
source meta-agl/scripts/aglsetup.sh -f -m h3ulcb-kf -b build-ic-h3kf agl-ic-container
When your board is Raspberry Pi 4
source meta-agl/scripts/aglsetup.sh -f -m raspberrypi4 -b build-ic-rpi4 agl-ic-container
2nd step: Build target image.
In this time, you can build 1,2a and 3a. If you want to build 3b, please do extra step in next section.
When you choice integration type 1.
bitbake lxc-host-image-minimal
When you choice integration type 2a.
bitbake agl-cluster-demo-lxc-host
When you choice integration type 3a.
bitbake agl-instrument-cluster-container-demo
4. Extra step for type 3b build.
Attention!!:
This step has some issue.
This AGL demo IVI guest shall use tested stable version or stable pre build image, shall not use same as IC side recipe tree. Need to update section 4 procudere.
Now discuss how to provide prebuild guest.
1st step: Configure 2nd build tree.
We recommend to open new terminal to do this extra section.
Recommend AGL version: Optimistic Octopus
export AGL_TOP=$HOME/AGL/octopus
cd $AGL_TOP
Optional: Specify the master branch
export AGL_TOP=$HOME/AGL/master
cd $AGL_TOP
When your board is AGL RefHW.
source meta-agl/scripts/aglsetup.sh -f -m h3ulcb -b build-ivi-refhw agl-container-guest-demo agl-demo agl-refhw-h3
When your board is R- CarH3 Starter Kit with Kingfisher board.
source meta-agl/scripts/aglsetup.sh -f -m h3ulcb-kf -b build-ivi-h3kf agl-container-guest-demo agl-demo
When your board is Raspberry Pi 4
source meta-agl/scripts/aglsetup.sh -f -m raspberrypi4 -b build-ivi-rpi4 agl-container-guest-demo agl-demo
2nd step: Build target image.
In this time, you can build 1,2a and 3a. If you want to build 3b, please do extra step in next section.
When you choice integration type 1.
bitbake lxc-host-image-minimal
When you choice integration type 2a.
bitbake agl-cluster-demo-lxc-host
When you choice integration type 3a.
bitbake agl-instrument-cluster-container-demo