Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bootcmd=if run loadbootenv; then echo Loaded environment from ${bootenv};env import -t ${scriptaddr} ${filesize};fi;if test -n \"${uenvcmd}\"; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadbootscr; then echo Jumping to ${bootscr};source ${scriptaddr};fi;run autoboot;
- bootdelay=2
- baudrate=115200
- bootm_size=0x10000000
- console=ttyS0,115200
- panicarg=panic=10
- extraargs=
- loglevel=8
- scriptaddr=0x44000000
- device=mmc
- partition=0:1
- setargs=if test -z \\"$root\\"; then if test \\"$bootpath\\" = "/boot/"; then root="/dev/mmcblk0p1 rootwait"; else root="/dev/mmcblk0p2 rootwait"; fi; fi; setenv bootargs console=${console} root=${root} loglevel=${loglevel} ${panicarg} ${extraargs}
- kernel=uImage
- bootenv=uEnv.txt
- script=script.bin
- loadbootscr=fatload $device $partition $scriptaddr ${bootscr} || ext2load $device $partition $scriptaddr boot/${bootscr} ||ext2load $device $partition $scriptaddr ${bootscr}
- loadbootenv=fatload $device $partition $scriptaddr ${bootenv} || ext2load $device $partition $scriptaddr boot/${bootenv} || ext2load $device $partition $scriptaddr ${bootenv}
- loadkernel=if bootpath=/boot/ && ext2load $device $partition 0x43000000 ${bootpath}${script} && ext2load $device $partition 0x48000000 ${bootpath}${kernel};then true; elif bootpath=/ && fatload $device $partition 0x43000000 ${script} && fatload $device $partition 0x48000000 ${kernel};then true; elif bootpath=/ && ext2load $device $partition 0x43000000 ${bootpath}${script} && ext2load $device $partition 0x48000000 ${bootpath}${kernel};then true; else false;fi
- autoboot=run loadkernel && run setargs && true && bootm 0x48000000
- boot_ram=saved_stdout=$stdout;setenv stdout nc;if iminfo 0x41000000; then true; setenv stdout $saved_stdout; source 0x41000000;else setenv stdout $saved_stdout;fi
- ========================== uboot help data here (snipped) ====================
- baudrate=115200
- boot_mmc=fatload mmc 0 0x43000000 script.bin && fatload mmc 0 0x46000000 uImage && bootm 0x46000000
- bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
- bootcmd=if run loadbootenv; then echo Loaded environment from ${bootenv};env import -t ${scriptaddr} ${filesize};fi;if test -n ${uenvcmd}; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadbootscr; then echo Jumping to ${bootscr};source ${scriptaddr};fi;run setargs boot_mmc;
- bootdelay=0
- bootenv=uEnv.txt
- bootscr=boot.scr
- console=ttyS0,115200
- ethaddr=02:4a:06:42:62:45
- filesize=3fdc20
- kernel=uImage
- loadbootenv=fatload mmc 0 $scriptaddr ${bootenv} || ext2load mmc 0 $scriptaddr ${bootenv} || ext2load mmc 0 $scriptaddr boot/${bootenv}
- loadbootscr=fatload mmc 0 $scriptaddr ${bootscr} || ext2load mmc 0 $scriptaddr ${bootscr} || ext2load mmc 0 $scriptaddr boot/${bootscr}
- loglevel=8
- panicarg=panic=10
- root=/dev/mmcblk0p2 rootwait
- scriptaddr=0x44000000
- setargs=setenv bootargs console=${console} root=${root} loglevel=${loglevel} ${panicarg} ${extraargs}
- stderr=serial
- stdin=serial
- stdout=serial
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement