Renesas RZ/G2L
pwd
TEMPLATECONF=DIR/meta-renesas
patch -p1 < ../extra/0002-trusted-firmware-a-add-rd-wr-64-bit-reg-workaround.patch
patch -p1 < ../extra/0003-rz-common-linux-renesas-add-WA-GIC-access-64bit.patch
cd DIR
patch -p1 < ./RZG2L_VLP306u1_switch_to_nodejs_18.17.1.patch
cd $DIR/build
echo "" >> ./conf/local.conf
echo “IMAGE_INSTALL_append = ” \” >> ./conf/local.conf
echo ” nodejs \” >> ./conf/local.conf
echo ” nodejs-npm \” >> ./conf/local.conf
echo ” "" >> ./conf/local.conf
echo "" >> ./conf/local.conf
echo "" >> ./conf/local.conf
echo “IMAGE_INSTALL_append = ” \” >> ./conf/local.conf
echo ” nvme-cli \” >> ./conf/local.conf
echo ” "" >> ./conf/local.conf
echo "" >> ./conf/local.conf
#-# glibc2.31 instead of glibc2.28
sed -i ‘s/^CIP_MODE = “Buster”/CIP_MODE = “Bullseye”/g’ ./conf/local.conf
You can then invoke your G2L yocto build process via:
#!/bin/bash
DIR=pwd
export TEMPLATECONF=$PWD/meta-renesas/meta-rzg2l/docs/template/conf/
export MACHINE=smarc-rzg2l
source poky/oe-init-build-env build
time bitbake core-image-weston
Renesas documentation here then shows you different build options + how to flash your compiled images onto your G2L board. Once your build completes, your files that will be used in those subsequent instructions called out here to flash your G2L board can be found here:
#!/bin/bash
DIR=pwd
ls -al $DIR/build/tmp/deploy/images/smarc-rzg2l
screen
screen
to the host machine and then execute the following command from Linux to access the board:
root
--clean
.
Device connected to Edge Impulse.
Selecting the target from the training page
eim
model that you can use with the above runner as follows:
Go to the deployment page and select:
EIM model for the RZ/G2L
runner
and you will see both the camera feed and the classification results.