distribution/projects/Rockchip/devices/RK3326/boot/boot.ini

32 lines
905 B
INI
Raw Normal View History

2023-11-06 11:41:01 +00:00
odroidgoa-uboot-config
setenv bootargs "boot=UUID=@UUID_SYSTEM@ disk=UUID=@UUID_STORAGE@ @EXTRA_CMDLINE@"
setenv loadaddr "0x02000000"
setenv dtb_loadaddr "0x01f00000"
load mmc 1:1 ${loadaddr} KERNEL
if test ${hwrev} = 'v11'; then
if gpio input c22; then
if gpio input d9; then
load mmc 1:1 ${dtb_loadaddr} rk3326-powkiddy-rgb10.dtb
else
load mmc 1:1 ${dtb_loadaddr} rk3326-odroid-go2-v11.dtb
fi
else
load mmc 1:1 ${dtb_loadaddr} rk3326-anbernic-rg351m.dtb
fi
elif test ${hwrev} = 'v10-go3'; then
load mmc 1:1 ${dtb_loadaddr} rk3326-odroid-go3.dtb
elif test ${hwrev} = 'v10'; then
load mmc 1:1 ${dtb_loadaddr} rk3326-odroid-go2.dtb
elif test ${hwrev} = 'rg351v'; then
load mmc 1:1 ${dtb_loadaddr} rk3326-anbernic-rg351v.dtb
elif test ${hwrev} = 'rg351mp'; then
load mmc 1:1 ${dtb_loadaddr} rk3326-anbernic-rg351mp.dtb
fi
booti ${loadaddr} - ${dtb_loadaddr}