RZ/V2M Linux Package Start-Up Guide
R01US0527EJ0110 Rev.1.10
Page 3 of 39
Oct.8.2021
2. Building Instructions
The BSP in this package is built by using Yocto Project. Follow the steps below in the working directory
${WORK} on Linux PC. The file system made by the following instruction is the one for testing the current BSP
package in Renesas. Note that Renesas has not verified with any other build configuration or modified
recipes.
Note: Refer to 8.1
about how to build when using OSS packages.
Step 1. Package installation
Run the following command and install essential host packages on your build machine.
$ sudo apt-get install 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
Note: For detail about the build process using the Yocto Project, refer to
https://www.yoctoproject.org/docs/current/brief-
yoctoprojectqs/brief-yoctoprojectqs.html
If Git has not been configured yet, set Git coifing before building the Yocto package. Run the following
commands to set a username and mail address.
$ git config --global user.email "[email protected]"
$ git config --global user.name "Your Name"
Step 2. Set the environment variable
Set the environment variable of the build directory.
$ export WORK=/home
/user/user_work
Note: Specify the working directory shown in red above according to your build machine. Here is an example of
specifying the working directory “user/user_work”.
Step 3. Extract the Linux package files
Extract the Linux package files with the following command.
$ cd ${WORK}
$ tar -zxvf ./rzv2m_bsp_eva_<LinuxPKG_version>.tar.gz
Note: <LinuxPKG_version> is the Linux package version number in the file name. Extract the latest version of the Linux
package. Refer to the release note for the appropriate file.
Step 4. Initialize the build environment
Run the oe-init-build-env environment setup script to set up the build environment variable on your build
machine.