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).
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.
sudo mount /dev/sdb2 /mnt/sd
sudo tar xfj $WORK/board_setup/eSD/core-image-weston-smarc-rzv2l.tar.bz2 -C /mnt/sd
sync
sudo umount /mnt/sd
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.