Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. Apalis iMX6 # env def -a -f
  2. ## Resetting to default environment
  3. Apalis iMX6 # setenv boot_file zImage
  4. Apalis iMX6 # setenv fdt_file imx6q-apalis-ixora.dtb
  5. Apalis iMX6 # setenv sdargs ip=off root=/dev/mmcblk1p2 rw,noatime rootfstype=ext4 rootwait
  6. Apalis iMX6 # setenv sdkernelload 'load mmc 2:1 ${kernel_addr_r} ${boot_file}'
  7. Apalis iMX6 # setenv sddtbload 'load mmc 2:1 ${fdt_addr_r} ${fdt_file}'
  8. Apalis iMX6 # setenv bootcmd 'run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} ${vidargs}; echo Booting from SD card...; run sddtbload; run sdkernelload; bootz ${kernel_addr_r} - ${fdt_addr_r}'
  9. Apalis iMX6 # saveenv
  10. Saving Environment to MMC...
  11. Writing to MMC(0)... done
  12. Apalis iMX6 # boot
  13. ## Error: "setup" not defined
  14. Booting from SD card...
  15. load - load binary file from a filesystem
  16.  
  17. Usage:
  18. load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
  19. - Load binary file 'filename' from partition 'part' on device
  20. type 'interface' instance 'dev' to address 'addr' in memory.
  21. 'bytes' gives the size to load in bytes.
  22. If 'bytes' is 0 or omitted, the file is read until the end.
  23. 'pos' gives the file byte position to start reading from.
  24. If 'pos' is 0 or omitted, the file is read from the start.
  25. load - load binary file from a filesystem
  26.  
  27. Usage:
  28. load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
  29. - Load binary file 'filename' from partition 'part' on device
  30. type 'interface' instance 'dev' to address 'addr' in memory.
  31. 'bytes' gives the size to load in bytes.
  32. If 'bytes' is 0 or omitted, the file is read until the end.
  33. 'pos' gives the file byte position to start reading from.
  34. If 'pos' is 0 or omitted, the file is read from the start.
  35. Apalis iMX6 #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement