21
CONFIDENTIAL
DOC-USR-0089-03
____________________________________________________________________________________
Z3 Technology, LLC
♦
100 N. 8th St. STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
For the Z3-AM572x-RPS, we override the
fdtfile
environment variable later in uEnv.txt
mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};
if run
loadbootenv
; then echo Loaded environment from ${bootenv};
run
importbootenv
;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run
loadimage
; then run
loadfdt
; echo Booting from mmc${mmcdev
} ...; run
args_mmc
;
bootz
${loadaddr} - ${fdtaddr}; fi;fi;
The
loadbootenv
/
importbootenv
sequence looks for a file named uEnv.txt in the first partition of the
boot device (i.e. the boot partition, which also contains MLO and u-boot.img).