To boot the RZ/V2L Evaluation Board, follow the two steps below.
Note
This guide uses the following environment:
Target board: RZ/V2L Evaluation Board Kit
Boot loader: eSD Boot loader, the board boots up using the bootloader written on microSD card.
Working directory(${WORK}): The directory where the downloaded RZ/V2L AI SDK zip file is expanded. Assume that you have already unzipped to /home/{user}/ai_sdk_work and that you have run "$export WORK=/home/{user}/ai_sdk_work".
Step 1: Setup RZ/V2L Evaluation Board Kit
You need to prepare a microSD card containing the boot loaders, the Linux kernel, and the root filesystem to boot the board.
You can use a Linux PC to format the microSD card and expand the kernel and the root filesystem using an SD card reader.
Note
This step is required only when starting the AI SDK or when using the new version of AI SDK.
If you have already setup the microSD card with the latest boot loader, Linux kernel, Linux device tree file and root filesystem, skip this step and proceed to the next procedure (2. Boot RZ/V2L Evaluation Board Kit).
At first, run the below command to decompress ${WORK}/board_setup/eSD.zip.
Following three files are necessary, which must be placed on each partitions on microSD card.
They are in the ${WORK}/board_setup/eSD directory.
File
Description
microSD card partition
Image-smarc-rzv2l.bin
Linux kernel image (The boot program)
Partition 1
Image-r9a07g054l2-smarc.dtb
Linux device tree file (The configuration file for booting)
Partition 1
core-image-weston-smarc-rzv2l.tar.bz2
Linux Root filesystem
Partition 2
Follow the instruction below to prepare the microSD card.
Warning
Here, we use "/dev/sdb" as microSD card device name.
Check if the two partitions are created successfully by running df command.
Warning
Device name of microSD card, /dev/sdb may differ depending on your environment.
Run the following commands to setup the partition 1.
Warning
Change /dev/sdb to your microSD card device name.
Run the following commands to setup the partition 2, which is the root filesystem of the board.
Warning
Change /dev/sdb to your microSD card device name.
Write the bootloaders to SD card
Before booting up the board, you must write the latest bootloaders to microSD card.
This procedures needs to be done only once as long as you use the same version of AI SDK.
There are three files in ${WORK}/board_setup/eSD/bootloader to boot up the board.
bl2_bp_esd-smarc-rzv2l_pmic.bin
bl2_bp-smarc-rzv2l_pmic.srec
fip-smarc-rzv2l_pmic.srec
Run the following commands to write these files to the microSD card to boot for eSD.
Warning
Change /dev/sdb, to your microSD card device name.
Note
If you would like to eject the microSD card, please run following command and remove the microSD card from Linux PC.
Warning
Change /dev/sdb to your microSD card device name.