Reference Boards of RZ/G2H, RZ/G2M, RZ/G2N, and RZ/G2E
Start-up Guide
R01US0555EJ0100 Rev.1.00
Page 8 of 13
Mar. 31, 2022
SW1002
8
7
6
5
4
3
2
1
ON
ON
OFF
ON
ON
ON
ON
ON
Note) Be careful not to change the SW1001 and SW1003
Turn on the power of the board by changing the SW2402.
U-Boot 2020.10 (May 07 2021 - 13:48:35 +0000)
CPU: Renesas Electronics R8A774A1 rev 1.1/rev 1.2
Model: Hoperun Technology HiHope RZ/G2M platform (hihope-rzg2m)
DRAM: 3.9 GiB
Bank #0: 0x048000000 - 0x0bfffffff, 1.9 GiB
Bank #1: 0x600000000 - 0x67fffffff, 2 GiB
MMC: sd@ee100000: 0, sd@ee160000: 1
Loading Environment from SPI Flash... SF: Detected w25m512jw with page size 25
6 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
Following the messages above, many warning messages will be shown. These warnings are eliminated by setting
correct environment variables. Please set default value and save them to the Flash ROM.
=>
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-hihope-rzg2m.bin; fatload
mmc 0:1 0x48000000 r8a774a1-hihope-rzg2m.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-hihope-rzg2m.bin and r8a774a1-hihope-rzg2m.dtb
Second partition:
formatted as ext4, rootfs image is expanded
Note) Please replace the file names in “bootcmd” according to the Release Note.
Now the board can bootup normally. Please turn off and on the power again to boot up the board.