...
...
...
...
...
...
...
...
...
...
...
💻 Build Environment
Info |
---|
⚠️ The BSP will only build in Ubuntu 20.04 |
💾 Downloading the Linux BSP
Up to 5 packages are used to build the BSP.
Please download from the Official RZ/V2L Website. Please look in the "Software Downloads" section.
Links to all the downloads can be found on the 📦 RZ/V2 Linux BSP on this site. Please refer to the sections that support RZ/V2L.
Copy all ZIP file to a Linux PC.
The evaluation versions contain a time limitation that stops the software after a few hours.
(*): Refer to DRP-AI Demos section for changes to the DRP-AI package that could effect you application.
🔨 Building the BSP
Expand | ||
---|---|---|
| ||
These instructions are a summary of what is explained in the package Release Notes.
export WORK_DIR=<set to path to Yocto build directory>
export SRC_DIR=<set to path to Renesas RZV zip file>
mkdir $WORK_DIR
### Extract the BSP Linux package
cd $WORK_DIR
unzip $SRC_DIR/RTK0EF0045Z0024AZJ-v3.0.5.zip
tar -xf ./RTK0EF0045Z0024AZJ-v3.0.5/rzv_vlp_v3.0.5.tar.gz
### Extract the 'RZV2L Graphics Library v1.1.0'
cd $WORK_DIR
unzip $SRC_DIR/RTK0EF0045Z13001ZJ-v1.2.0_EN.zip
tar -zxvf RTK0EF0045Z13001ZJ-v1.2.0_EN/meta-rz-features_graphics_v1.2.0.tar.gz
### Extract the 'RZV2L Video Codec Library v1.1.0' Zip file.
cd $WORK_DIR
unzip $SRC_DIR/RTK0EF0045Z15001ZJ-v1.2.0_EN.zip
tar zxvf RTK0EF0045Z15001ZJ-v1.2.0_EN/meta-rz-features_codec_v1.2.0.tar.gz
### Extract the DRP Support archive file
### Extract the 'DRP-AI Driver Support' package file ( meta-rz-drpai.tar.gz) under the rzv2l_drpai-driver directory.
unzip $SRC_DIR/r11an0549ej0741-rzv2l-drpai-sp.zip -d drp
tar -xvf drp/rzv2l_drpai-driver/meta-rz-drpai.tar.gz
### Extract the ISP Support archive file
### Extract the ISP Support Package ( meta-rz-simple-isp.tar.gz ).
cd $WORK_DIR
unzip $SRC_DIR/r11an0561ej0130-rzv2l-isp-sp.zip
tar -zxvf r11an0561ej0130-rzv2l-isp-sp/meta-rz-simple-isp.tar.gz
### Extract the Multi-OS Package archive file
### Set up the Yocto Environment and copy a default configuration
cd $WORK_DIR
unzip $SRC_DIR/r01an6238ej0112-rzv2l-cm33-multi-os-pkg.zip
tar -zxvf r01an6238ej0112-rzv2l-cm33-multi-os-pkg/meta-rz-features_multi-os_v1.1.2.tar.gz
cd $WORK_DIR
TEMPLATECONF=${WORK_DIR}/meta-renesas/meta-rzv2l/docs/template/conf/ source poky/oe-init-build-env build
bitbake-layers add-layer ../meta-rz-features/meta-rz-graphics
bitbake-layers add-layer ../meta-rz-features/meta-rz-codecs
bitbake-layers add-layer ../meta-rz-features/meta-rz-drpai
bitbake-layers add-layer ../meta-rz-features/meta-rz-simple-isp
bitbake-layers add-layer ../meta-rz-features/meta-rz-multi-os
### Build
MACHINE=smarc-rzv2l bitbake core-image-weston
MACHINE=smarc-rzv2l bitbake core-image-weston -c populate_sdk |
👓 Verification
After the above script is run there will be a new folder call meta-rz-features. This will include, among others sub-folders for the MALI GPU, Video Codec, DRP, and ISP.
meta-rz-features/
├── meta-rz-codecs
├── meta-rz-drpai
├── meta-rz-graphics
├── meta-rz-multi-os
├── meta-rz-simple-isp
└── Readme.md
OSS_Package
This archive contains many of the yocto pacakges used to build the RZ BSP. Between releases some of these packages may no longer be supported in the current Renesas VLP. By modifying the yocto local.conf configuration file to use the packages in this archive allows continued build support of the current released VLP. Add the following to the locat.conf file.
DL_DIR = "Absolute Path to extracted oss_package"
...
...
...
...
Choose option 7-1 or 7-2 or 7-3 below.
Option 7-1 is recommended.
...
...
...
...
...
...
...
...
...
...
...
...