Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- printenv
- autoboot=run loadkernel && run setargs && true && bootm 0x48000000
- baudrate=115200
- 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
- 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
- bootenv=uEnv.txt
- bootm_size=0x10000000
- bootscr=boot.scr
- console=ttyS0,115200
- device=mmc
- ethaddr=02:52:03:01:9a:c9
- kernel=uImage
- loadbootenv=fatload $device $partition $scriptaddr ${bootenv} || ext2load $device $partition $scriptaddr boot/${bootenv} || ext2load $device $partition $scriptaddr ${bootenv}
- loadbootscr=fatload $device $partition $scriptaddr ${bootscr} || ext2load $device $partition $scriptaddr boot/${bootscr} ||ext2load $device $partition $scriptaddr ${bootscr}
- 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
- loglevel=8
- panicarg=panic=10
- partition=0:1
- script=script.bin
- scriptaddr=0x44000000
- 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}
- stderr=serial
- stdin=serial
- stdout=serial
- Environment size: 1896/131068 bytes
- sun5i#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement