Skip to content

RZ G3S SMARC Boot

Chris Brandt edited this page Oct 4, 2024 · 2 revisions

RZ G3S SMARC Boot

Boot from eMMC

=> setenv part 1
=> setenv part 2
=> setenv part 3
=> setenv part 4
=> mmc dev 0 ; ext4load mmc 0:${part} 0x48080000 /boot/Image ; ext4load mmc 0:${part} 0x48000000 /boot/r9a08g045s33-smarc.dtb
=> setenv bootargs root=/dev/mmcblk0p${part} rootwait
=> booti 0x48080000 - 0x48000000

=> setenv emmc_a 'mmc dev 0 ; ext4load mmc 0:${part} 0x48080000 /boot/Image ; ext4load mmc 0:${part} 0x48000000 /boot/r9a08g045s33-smarc.dtb'
=> setenv emmc_b 'setenv bootargs root=/dev/mmcblk0p${part} rootwait'
=> setenv emmc_c 'booti 0x48080000 - 0x48000000'

=> setenv emmcp1 'setenv part 1 ; run emmc_a emmc_b emmc_c'
=> setenv emmcp2 'setenv part 2 ; run emmc_a emmc_b emmc_c'
=> setenv emmcp3 'setenv part 3 ; run emmc_a emmc_b emmc_c'
=> setenv emmcp4 'setenv part 4 ; run emmc_a emmc_b emmc_c'

=> saveenv

=> run emmcp1
=> run emmcp2
=> run emmcp3
=> run emmcp4

Boot from USB

On Board:
=> usb start
=> usb info
=> fatload usb 0:1 0x4C000000 rzg2_initramfs.cpio.gz
=> fatload usb 0:1 0x48080000 Image-smarc-rzg3s.bin
=> fatload usb 0:1 0x48000000 Image-r9a08g045s33-smarc.dtb
=> setenv bootargs 'initrd=0x4C000000,32M'
=> booti 0x48080000 - 0x48000000
Clone this wiki locally