
21 Sep
2004
21 Sep
'04
5:39 p.m.
In message 6.1.1.1.0.20040921063706.01e1e5d8@wheresmymailserver.com you wrote:
To ensure everything is copied to flash properly when I download a tftp image, I have to add one to the reported tftp download size before executing the cp.b command. Is this normal?
No, this is not normal.
It looks like the cp.b is working properly:
Indeed.
What makes you think it might be different with downloaded images?
Which board are you talking about? Maybe you want to try your "cp.b" test with different sizes, using a copy count of "4*N+i" with arbitrary N and i=0, 1, 2, and 3. Maybe your board's flash driver has a problem handling unaligned tail bytes.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
A failure will not appear until a unit has passed final inspection.