Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2010
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. 'Vdׇ�L�d}���Reset Nandu
  2. if test "${beaglerev}" = "xMA"; then
  3. echo "xMA doesnt have NAND"
  4. exit
  5. else if test "${beaglerev}" = "xMB"; then
  6. echo "xMB doesnt have NAND"
  7. exit
  8. else
  9. echo "Starting NAND UPGRADE, do not REMOVE SD CARD or POWER till Complete"
  10. fatload mmc 0:1 0x80200000 MLO
  11. nandecc hw
  12. nand erase 0 80000
  13. nand write 0x80200000 0 20000
  14. nand write 0x80200000 20000 20000
  15. nand write 0x80200000 40000 20000
  16. nand write 0x80200000 60000 20000
  17.  
  18. fatload mmc 0:1 0x80300000 u-boot.bin
  19. nandecc sw
  20. nand erase 80000 160000
  21. nand write 0x80300000 80000 160000
  22. nand erase 260000 20000
  23. echo "UPGRADE Complete, REMOVE SD CARD and DELETE this boot.scr"
  24. exit
  25. fi
  26. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement