Advertisement
troglobit

U-Boot Mini HowTo

Jul 7th, 2014
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. U-Boot Mini HowTo
  2. =================
  3. Console runs att 115200 bps, 8N1.
  4.  
  5. Custom Commands
  6. ---------------
  7. wmobootm - Modified bootm command, use when side loading. "Alias" for
  8. 'bootm 0x2000000#config@1' but also sets up a device tree
  9. for Linux with WeOS spec. parameters
  10. setup_net - Setup basic networking and start WDT kick in background
  11. start_primary - Start image on primary partition, alias for
  12. 'wmobootm 0xe8000000#config@1'
  13. start_backup - Start image on secondary partition, alias for
  14. 'wmobootm 0xeb800000#config@1'
  15.  
  16.  
  17. SD Card
  18. -------
  19. mmc rescan
  20. fatload mmc 0 0x2000000 weos-9.99.bin
  21. wmobootm
  22.  
  23.  
  24. RAM Loading
  25. -----------
  26. setup_net
  27. setenv ethaddr 00:13:37:13:37:00
  28. setenv ipaddr 192.168.2.2
  29. setenv serverip 192.168.2.12
  30. tftp 0x2000000 WeOS-9.99.bin
  31. wmobootm
  32.  
  33.  
  34. Stop/Kick the Watchdog
  35. ----------------------
  36. The 'setup_net' command sets up basic networking and activates kicking of
  37. the hardware WDT from the timer interrupt.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement