How To Build Linux BSP Plus for RZ/T,N¶
Introduction¶
This page explains how to build Linux BSP Plus source code.
Requirement
To build Linux BSP Plus (Yocto Linux), the equipment below should be prepared.
Equipment
Details
Linux PC
Approximately 100GB free space is necessary.
OS
Ubuntu 22.04 LTS
64bit OS must be used.
Step 1: Build Renesas RZ Linux BSP Plus source code¶
This step explains how to build Linux environment with Renesas RZ Linux BSP Plus source code.
Note
In the following instructions, text in angle brackets should be replaced with a character string that depends on your environment.
The brackets < and > are unnecessary in the text.
Install the required packages
Install some packages into your Linux PC, which are necessary in the following steps.
Set up your
gitenvironmentSet up your
gitenvironment if you have never done it.git config --global user.email "<Your email address>" git config --global user.name "<Your user name>"Note
For more information, refer to Yocto Project Quick Build.
Set environment variables
Set the following environment variables.
Clone Yocto recipe package
Create a working directory, and clone Yocto recipe package.
Initialize build environment
Run an environment setup script as follows.
Install ethtool command
"ethtool" command is a command for configuring network interfaces. If you want to install the ethtool command on Linux, modify local.conf by the following instruction.
Build images
Run
bitbakecommand to build images.Note
After building images, you can find them in the following directories.
- Images:
${WORK}/build/tmp/deploy/images/${BOARD}/
Device
Category
File name
RZ/T2H
Linux kernel
Image-rzt2h-dev.binDevice tree file
r9a09g077m44-dev.dtbRoot filesystem
core-image-minimal-rzt2h-dev.rootfs.tar.bz2Boot loader
bl2_bp_esd-rzt2h-dev.binbl2_bp_emmc-rzt2h-dev.srecbl2_bp_xspi0-rzt2h-dev.srecfip-rzt2h-dev.srec
Flash Writer
HDR_NMFlash_Programmer_SCIF_CR52_RZT2H_EVK.mot
SD image (wic)
core-image-minimal-rzt2h-dev.rootfs.wic.gzcore-image-minimal-rzt2h-dev.rootfs.wic.bmap
Note
After building images, you can find them in the following directories.
- Images:
${WORK}/build/tmp/deploy/images/${BOARD}/
Device
Category
File name
RZ/N2H
Linux kernel
Image-rzn2h-dev.binDevice tree file
r9a09g087m44-dev.dtbRoot filesystem
core-image-minimal-rzn2h-dev.rootfs.tar.bz2Boot loader
bl2_bp_esd-rzn2h-dev.binbl2_bp_emmc-rzn2h-dev.srecbl2_bp_xspi0-rzn2h-dev.srecfip-rzn2h-dev.srec
Flash Writer
HDR_NMFlash_Programmer_SCIF_CR52_RZT2H_EVK.mot
SD image (wic)
core-image-minimal-rzn2h-dev.rootfs.wic.gzcore-image-minimal-rzn2h-dev.rootfs.wic.bmap
- Images:
Step 2: Additional Feature Packages (optional)¶
There are some additional feature packages for RZ Linux BSP Plus as follows.
Please obtain the necessary files from the following links according to the features you wish to add. For instructions on how to integrate the packages, refer to the documentation included in the downloaded files or, in the case of Git, the README.
Security package
This package is to add Security functions such as Secure Boot, Trusted Execution Environment, Hardware Cryptographic IP, Secure Debug and Security Configurator to RZ MPU. Provided functions are different for each device. For more datails, please refer to the documentation included in the package. This package is also compatible with Verified Linux Package v5.0.0. When using Linux BSP Plus, replace the package name in the document accordingly.
Renesas' approval is required to obtain the security package. Please apply using the form at the link.
Multi-OS package
Multi-OS package for RZ/T2H is expected to be available in 2026/Jan.
Time-sensitive Network Package
This package includes examples for using Time-sensitive Network which is a set of networking technologies designed to enable real-time communication over Ethernet. For more datails, please refer to the documentation included in the package. This package is also compatible with Verified Linux Package v5.0.0. When using Linux BSP Plus, replace the package name in the document accordingly.
XDP Package
This package includes examples for using XDP which is a packet processing framework within the Linux kernel. XDP enables efficient and low-latency packet processing. For more datails, please refer to the documentation included in the package. This package is also compatible with Verified Linux Package v5.0.0. When using Linux BSP Plus, replace the package name in the document accordingly.
Security package
This package is to add Security functions such as Secure Boot, Trusted Execution Environment, Hardware Cryptographic IP, Secure Debug and Security Configurator to RZ MPU. Provided functions are different for each device. For more datails, please refer to the documentation included in the package. This package is also compatible with Verified Linux Package v5.0.0. When using Linux BSP Plus, replace the package name in the document accordingly.
Renesas' approval is required to obtain the security package. Please apply using the form at the link.
Multi-OS package
Multi-OS package for RZ/N2H is expected to be available in 2026/Jan.
Time-sensitive Network Package
This package includes examples for using Time-sensitive Network which is a set of networking technologies designed to enable real-time communication over Ethernet. For more datails, please refer to the documentation included in the package. This package is also compatible with Verified Linux Package v5.0.0. When using Linux BSP Plus, replace the package name in the document accordingly.
XDP Package
This package includes examples for using XDP which is a packet processing framework within the Linux kernel. XDP enables efficient and low-latency packet processing. For more datails, please refer to the documentation included in the package. This package is also compatible with Verified Linux Package v5.0.0. When using Linux BSP Plus, replace the package name in the document accordingly.