
Dear Howard Wang,
In message 1F9C78FA-BE25-4BDF-8A02-3B2EBB48B35E@dsirf.com you wrote:
Hi,
I have some problems with using u-boot writing to flash: ( arm 920 processor )
first I use tftp to download the kernel to memory and was successful:
tftp 0x800000 mImage OK
then I try to erase part of the flash, seems ok:
erase 0x1c040000 0x1c8FFFFF erased 124 sectors
then I use cp.b command, failed with the "Flash not Erased" message cp.b ${fileaddr} 0x1c040000 ${filesize}
copy to Flash...-Flash not Erased.
and no detailed error message was given.
any idea what could be wrong ?
Eventually ${filesize} is bigger than 0x1c8FFFFF-0x1c040000 = 8.75 MB, or you didn't really use "cp.b" but "cp" instead?
Please provide a _complete_ log of all variable settings, commands and their output.
Best regards,
Wolfgang Denk