This image is based on yocto thud release.
Currently using R-CarGen3 BSP 3.21 for thud release.
Move to build directry
imagetype := host.xml, guest-glibc-systemd.xml, guest-musl-systemd.xml
export WORK=`pwd`
repo init -u https://github.com/AGLExport/ic-eg-example.git -m imagetype
repo sync
Download from https://www.renesas.com/us/en/solutions/automotive/rcar-download/rcar-demoboard-2.html
You should see the following files:
$ ls -1 $WORK/proprietary/*.zip
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-weston5-20190802.zip
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-weston5-20190802.zip
export PKGS_DIR=$WORK/proprietary
cd $WORK/meta-renesas
sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $PKGS_DIR
unset PKGS_DIR
cd $WORK
source poky/oe-init-build-env
Copy bblayers.conf and local.conf to conf directry.
cp $WORK/meta-container-host-example/files/m3ulcb/*.conf ./conf/
Build host environment.
Minimum image of container host based on core-image-minimal from Yocto. It's using systemd.
bitbake host-image-minimal
Container host image based on core-image-weston supporting weston compositor.
This image support a guest image including graphics application. ex. guest-image-wayland.
It's using systemd.
bitbake host-image-weston
Copy bblayers.conf and local.conf to conf directry.
cp $WORK/meta-container-guest-example/files/m3ulcb/*.conf ./conf/
Build host environment.
bitbake guest-image-minimal
bitbake guest-image-wayland
$MEDIA_DIR indicates the directory where the SD card is mounted.
Please select one of the host images.
Extract host-image-weston archive and copy the DTB file.
cd $MEDIA_DIR
sudo tar xvjf /path/to/host/build/tmp/deploy/images/m3ulcb/host-image-weston-m3ulcb.tar.bz2
sudo cp /path/to/host/build/tmp/deploy/images/m3ulcb/r8a7796-m3ulcb.dtb ./boot/
Extract host-image-weston archive and copy the DTB file.
cd $MEDIA_DIR
sudo tar xvjf /path/to/host/build/tmp/deploy/images/m3ulcb/host-image-weston-m3ulcb.tar.bz2
sudo cp /path/to/host/build/tmp/deploy/images/m3ulcb/r8a7796-m3ulcb.dtb ./boot/
Can install any number of guest images.
Attention : Some guests depend on a specific host image. ex. guest-image-wayland depends on host-image-weston.
TBD
Install guest image
cd $MEDIA_DIR/lxc/guests
sudo mkdir guest-wayland
cd guest-wayland
sudo tar xvjf /path/to/guest/build/tmp/deploy/images/m3ulcb-guest/guest-image-wayland-m3ulcb-guest.tar.bz2
Install agl-container-manager config
sudo cp /path/to/guest/meta-container-guest-example/files/configs/guest-wayland.json $MEDIA_DIR/lxc/conf/
TBD