Skip to content

RZ G2UL SMARC Boot

Chris Brandt edited this page Apr 13, 2023 · 1 revision

Build and copy to TFTP

./build.sh k all
./build.sh k deploy
cp -va rz_linux-cip/.deploy/smarc-rzg2ul /var/lib/tftpboot/

Boot over Ethernet

setenv ipaddr 10.10.10.110    # The ip address of your board
ping 10.10.10.30              # The ip address of your PC
setenv serverip 10.10.10.30
tftpboot 0x48080000 /smarc-rzg2ul/Image && dcache flush
tftpboot 0x48000000 /smarc-rzg2ul/r9a07g043u11-smarc.dtb && dcache flush
setenv bootargs root=/dev/mmcblk1p2 rootwait ; booti 0x48080000 - 0x48000000


setenv a 'setenv ipaddr 10.10.10.60 ; setenv ethaddr 00:ee:ee:11:22:33 ; setenv serverip 10.10.10.30'
setenv b 'tftpboot 0x48080000 /smarc-rzg2ul/Image ; tftpboot 0x48000000 /smarc-rzg2ul/r9a07g043u11-smarc.dtb && dcache flush'
setenv c 'setenv bootargs root=/dev/mmcblk1p2 rootwait ; booti 0x48080000 - 0x48000000'
setenv e 'setenv bootargs debug root=/dev/mmcblk1p2 rootwait init=/bin/sh ; booti 0x48080000 - 0x48000000'
savenev

run a b c d

Clone this wiki locally