Reference Boards of RZ/G2H, RZ/G2M, RZ/G2N, and RZ/G2E
Start-up Guide
R01US0555EJ0100 Rev.1.00
Page 12 of 13
Mar. 31, 2022
=>
env default -a
## Resetting to default environment
=>
saveenv
Saving Environment to SPI Flash... SF: Detected w25m512jv with page size 256 B
ytes, erase size 4 KiB, total 32 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
In case booting from micro SD card, set environment variables using the commands below:
=>
setenv bootargs 'root=/dev/mmcblk0p2 rootwait'
=>
setenv bootcmd 'fatload mmc 0:1 0x48080000 Image-ek874.bin; fatload mmc 0:1
0x48000000 r8a774c0-ek874.dtb; booti 0x48080000 - 0x48000000'
=>
saveenv
Saving Environment to SPI Flash... SF: Detected w25m512jv with page size 256 B
ytes, erase size 4 KiB, total 32 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
Note) The setting above assumes the SD card has two partitions and stores data as below:
First partition:
formatted as FAT, includes Image-ek874.bin and r8a774c0-ek874.dtb
Second partition:
formatted as ext4, rootfs image is expanded
Now the board can bootup normally. Please turn off and on the power again to boot up the board.