dexterdev

Untitled

Sep 20th, 2011
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. mmc rescan
  2. fatload mmc 0 82000000 MLO
  3.  
  4.  
  5. nandecc hw
  6. nand erase 0 80000
  7. nand write 82000000 0 20000
  8. nand write 82000000 20000 20000
  9. nand write 82000000 40000 20000
  10. nand write 82000000 60000 20000
  11. fatload mmc 0 0x80200000 u-boot.bin
  12. //fatload mmc 0:1 0x80000000 uimage
  13.  
  14. nandecc sw
  15. nand erase 80000 160000
  16. nand write 0x80200000 80000 160000
  17.  
  18. boot
  19. --------------------------------------------------
  20. mmc rescan
  21. fatload mmc 0:1 0x80000000 uimage
  22. saveenv
  23. boot
  24.  
  25. Finally below commands worked for me:
  26. setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait'
  27. setenv bootcmd 'mmc rescan;fatload mmc 0 80300000 uImage;bootm 80300000'
  28. svaeenv
Add Comment
Please, Sign In to add comment