SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five
Start-up Guide
R01US0556EJ0102 Rev.1.02
Page 22 of 37
Jun. 17, 2022
In case booting from micro SD card on SMARC carrier board, set environment variables using the commands below.
The commands below are for the RZ/V2L board. Please replace the file names in “bootcmd” according to the Release
Note when you use other boards.
=>
setenv bootargs 'root=/dev/mmcblk1p2 rootwait'
=>
setenv bootcmd 'mmc dev 1;fatload mmc 1:1 0x48080000 Image-smarc-rzv2l.bin;
fatload mmc 1:1 0x48000000 Image-r9a07g054l2-smarc.dtb; booti 0x48080000 - 0x
48000000'
=>
saveenv
Saving Environment to MMC... Writing to MMC(0)….OK
bootargs:
'root=/dev/mmcblk1p2 rootwait'
root filesystem is partition 2 of block 1 on microSD card.
bootcmd:
'mmc dev 1;fatload mmc 1:1 0x48080000
<Linux kernel>
;
fatload mmc 1:1 0x48000000
<Device tree>
;
booti 0x48080000 - 0x48000000'
Note) The setting above assumes the SD card has two partitions and stores data as below:
First partition:
formatted as FAT, includes Image-smarc-rzv2l.bin and Image-r9a07g054l2-smarc.dtb
Second partition:
formatted as ext4, rootfs image is expanded
Set microSD card to slot on carry board.
Now the board can bootup normally. Please turn off and on the power again to boot up the board.
After obtaining your reference board, please be sure to follow the document and write the bootloaders to the Flash
ROM before starting the evaluation.
Before booting the board, please be sure to confirm the bootloaders which are built with your BSP/VLP are written to
your board.
U-Boot 2021.10 (Mar 31 2022 - 03:57:20 +0000)
CPU: Renesas Electronics K rev 14.15
Model: smarc-rzg2l
DRAM: 1.9 GiB
MMC: sd@11c00000: 0, sd@11c10000: 1