Guest User

Untitled

a guest
Feb 25th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. => printenv
  2. baudrate=115200
  3. boot_fdt=try
  4. bootcmd=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi
  5. bootdelay=1
  6. bootscript=echo Running bootscript from mmc ...; source
  7. console=ttymxc0
  8. emmcdev=2
  9. ethact=FEC
  10. ethaddr=00:04:9f:02:6d:93
  11. ethprime=FEC
  12. fdt_addr=0x18000000
  13. fdt_file=imx6q-sabresd-ldo.dtb
  14. fdt_high=0xffffffff
  15. initrd_high=0xffffffff
  16. ip_dyn=yes
  17. loadaddr=0x12000000
  18. loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
  19. loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
  20. loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}
  21. mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
  22. mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi;
  23. mmcdev=1
  24. mmcpart=1
  25. mmcroot=/dev/mmcblk0p2 rootwait rw
  26. netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
  27. netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi;
  28. script=boot.scr
  29. uimage=uImage
  30. update_emmc_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if ${get_cmd} ${update_sd_firmware_filename}; then if mmc dev ${emmcdev} && mmc open ${emmcdev} 1; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; mmc close ${emmcdev} 1; fi; fi
  31. update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi
  32.  
  33. Environment size: 2284/8188 bytes
Add Comment
Please, Sign In to add comment