Skip to content

RZ G2H HiHope Boot

Chris Brandt edited this page Oct 23, 2023 · 2 revisions

What's in Start-up Guide

=> setenv bootargs 'root=/dev/mmcblk1p2 rootwait'
=> setenv bootcmd 'fatload mmc 0:1 0x48080000 Image-hihope-rzg2m.bin; fatload mmc 0:1 0x48000000 Image-r8a774a1-hihope-rzg2m.dtb; booti 0x48080000 - 0x48000000'
=> saveenv

Boot from /boot

setenv part 2
mmc dev 0 ; ext4load mmc 0:${part} 0x48080000 /boot/Image ; ext4load mmc 0:${part} 0x48000000 /boot/r8a774e1-hihope-rzg2h-ex.dtb
setenv bootargs 'root=/dev/mmcblk1p2 rootwait' ; booti 0x48080000 - 0x48000000

Boot from /boot (part 3, buildroot rootfs). kernel made with build_scripts

mmc dev 0 ; ext4load mmc 0:3 0x48080000 /boot/Image-hihope-rzg2h.bin ; ext4load mmc 0:3 0x48000000 /boot/Image-r8a774e1-hihope-rzg2h-ex.dtb
setenv bootargs 'root=/dev/mmcblk1p3 rootwait' ; booti 0x48080000 - 0x48000000
Clone this wiki locally