
30 Apr
2012
30 Apr
'12
11:08 p.m.
Dear Scott Wood,
In message 4F9EF540.90302@freescale.com you wrote:
- => tftp 1000000 u-boot.bin
- => protect off all
- => erase eff80000 efffffff
- => cp.b 1000000 eff80000 80000
=> tftp <filename>
This is discouraged. tftp takes an address as first argument. So please write
=> tftp $loadaddr <filename>
=> protect off all
Why unprotecting everything? To me it seems much more logical to issue;
=> protect off eff80000 +$filesize
i. e. use exactly the same arguments as for the "erase".
- => tftp 1000000 u-boot-nand.bin
- => nand erase 0 80000
- => nand write 1000000 0 80000
=> tftp <filename> => nand erase 0 $filesize
Ditto.etc.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A supercomputer is a machine that runs an endless loop in 2 seconds.