1 # first stage lego mindstorms ev3 2 if test "${hostname}" = "EV3" ; then 3 setenv ubootaddr 0xC10C0000 4 mmc read 0 ${ubootaddr} 0x10 0x400 5 go ${ubootaddr} 6 fi 7 # second stage lego mindstorms ev3 8 if test "${fdtfile}" = "da850-lego-ev3.dtb" ; then 9 setenv bootargs 'root=ld0a' 10 fatload mmc 0 0xc2000000 netbsd-GENERIC_V5.ub 11 fatload mmc 0 0xc1000000 dtb/ti/davinci/da850-lego-ev3.dtb 12 bootm 0xc2000000 - 0xc1000000 13 fi