Advertisement
Guest User

Untitled

a guest
Jan 10th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. 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;
  2. bootdelay=2
  3. baudrate=115200
  4. bootm_size=0x10000000
  5. console=ttyS0,115200
  6. panicarg=panic=10
  7. extraargs=
  8. loglevel=8
  9. scriptaddr=0x44000000
  10. device=mmc
  11. partition=0:1
  12. 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}
  13. kernel=uImage
  14. bootenv=uEnv.txt
  15. script=script.bin
  16. loadbootscr=fatload $device $partition $scriptaddr ${bootscr} || ext2load $device $partition $scriptaddr boot/${bootscr} ||ext2load $device $partition $scriptaddr ${bootscr}
  17. loadbootenv=fatload $device $partition $scriptaddr ${bootenv} || ext2load $device $partition $scriptaddr boot/${bootenv} || ext2load $device $partition $scriptaddr ${bootenv}
  18. 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
  19. autoboot=run loadkernel && run setargs && true && bootm 0x48000000
  20. 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
  21.  
  22. ========================== uboot help data here (snipped) ====================
  23.  
  24. baudrate=115200
  25. boot_mmc=fatload mmc 0 0x43000000 script.bin && fatload mmc 0 0x46000000 uImage && bootm 0x46000000
  26. bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
  27. 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;
  28. bootdelay=0
  29. bootenv=uEnv.txt
  30. bootscr=boot.scr
  31. console=ttyS0,115200
  32. ethaddr=02:4a:06:42:62:45
  33. filesize=3fdc20
  34. kernel=uImage
  35. loadbootenv=fatload mmc 0 $scriptaddr ${bootenv} || ext2load mmc 0 $scriptaddr ${bootenv} || ext2load mmc 0 $scriptaddr boot/${bootenv}
  36. loadbootscr=fatload mmc 0 $scriptaddr ${bootscr} || ext2load mmc 0 $scriptaddr ${bootscr} || ext2load mmc 0 $scriptaddr boot/${bootscr}
  37. loglevel=8
  38. panicarg=panic=10
  39. root=/dev/mmcblk0p2 rootwait
  40. scriptaddr=0x44000000
  41. setargs=setenv bootargs console=${console} root=${root} loglevel=${loglevel} ${panicarg} ${extraargs}
  42. stderr=serial
  43. stdin=serial
  44. stdout=serial
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement