Prepare yocto build environment
Read moreIt is recommended to setup the development environment on a 64-bit Ubuntu 20.04 LTS machine. The following packages are required:
$ sudo apt update
$ sudo apt install -y gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping libsdl1.2-dev xterm p7zip-full libyaml-dev \
rsync curl locales bash-completion
Set Git configuration:
$ git config --global user.name "Your Name“
$ git config --global user.email"you@example.com"
DOWNLOAD PACKAGEs
- https://www.renesas.com/us/en/document/sws/rzv-verified-linux-package-v300-update2rtk0ef0045z0024azj-v300-update2zip
- https://www.renesas.com/sg/en/document/sws/rz-mpu-graphics-library-evaluation-version-v121-rzg2l-rzg2lc-and-rzv2l-rtk0ef0045z13001zj-v121enzip
- https://www.renesas.com/us/en/document/sws/rz-mpu-video-codec-library-evaluation-version-v058-rzg2l-and-rzv2l-rtk0ef0045z15001zj-v058enzip
- https://www.renesas.com/sg/en/document/sws/rzv2l-drp-ai-support-package-version-720?r=1558356
- https://www.renesas.com/us/en/document/sws/rzv2l-isp-support-package-version-120
- https://www.renesas.com/us/en/document/sws/rzv2l-multi-os-package-v102?r=1570181
Create “~/yocto” folder and copy 6 packages to this folder:
$ mkdir ~/yocto
$ ls ~/yocto
AddLocalPACKAGEs
- Next, copy the “RZV2L-Generic-Package-v0.3.zip” and “rz_yocto.sh” script from “Yocto-build” folder inside “RZ-AVNET_LinuxBSP_RTOS-Integration_Package_Rev0.2.zip” package to “~/yocto” folder.
- Finally, copy the FSP binaries “rtos.zip” from “CM33” folder inside “RZ-AVNET_LinuxBSP_RTOS-Integration_Package_Rev0.2.zip” package to “~/yocto” folder.
- The “~/yocto” folder should have all files as below:
$ ls ~/yocto
Using script "rz_yocto.sh" to setup build environment:
$ ./rz_yocto.sh setup rz_avnet
After that, continue using script "rz_yocto.sh" to build:
$ ./rz_yocto.sh build rz_avnet
After build complete, using script "rz_yocto.sh" to collect output:
$ ./rz_yocto.sh output rz_avnet
Comments