[U-Boot-Users] cp.b question

Robin Getz rgetz at blackfin.uclinux.org
Tue Sep 21 17:17:50 CEST 2004


quick question...

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?

It looks like the cp.b is working properly:
===========================
BOOT> help cp

cp [.b, .w, .l] source target count
     - copy memory


BOOT> md.b 0x0 0x20

00000000: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f    ................
00000010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

BOOT> cp.b 0x00 0x10 0x08

BOOT> md.b 0x0 0x20

00000000: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f    ................
00000010: 00 01 02 03 04 05 06 07 ff ff ff ff ff ff ff ff    ................

=======================================





More information about the U-Boot mailing list