dexterdev

Untitled

Sep 20th, 2011
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. If you want to flash MLO and u-boot to NAND, these are the u-boot commands you need to use
  2. +Setting up the boot args
  3. -----------------------------------------------------
  4.  
  5. mmc rescan
  6. fatload mmc 0 82000000 MLO
  7. nandecc hw
  8. nand erase 0 80000
  9. nand write 82000000 0 20000
  10. nand write 82000000 20000 20000
  11. nand write 82000000 40000 20000
  12. nand write 82000000 60000 20000
  13. fatload mmc 0 0x80200000 u-boot.bin
  14. saveenv
  15. boot
  16.  
  17.  
  18. ----------------------------------------------------------
  19. mmc rescan
  20. fatload mmc 0:1 0x80000000 uImage
  21. setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait'
  22. setenv bootcmd 'mmc rescan;fatload mmc 0 80300000 uImage;bootm 80300000'
  23. saveenv
  24. boot
Add Comment
Please, Sign In to add comment