* [U-Boot-Users] Flash not erasing correctly?
@ 2006-11-09 22:13 Warren Seymour
2006-11-09 22:20 ` Timur Tabi
0 siblings, 1 reply; 2+ messages in thread
From: Warren Seymour @ 2006-11-09 22:13 UTC (permalink / raw)
To: u-boot
I'm using a Toradex Colibri XScale CPU and eval. kit, but I'm having
problems storing the kernel image into flash.
I've successfully loaded the kernel image via TFTP into RAM at
0xA1000000 - now I wish to store it in flash.
The first two sectors (0x0 and 0x4000) are being used by U-boot, and
are protected. I want to place my kernel image into the next available
sector, sector 3 (0x8000) I've run 'erase all' which skips the first
two protected sectors, I then see 'Erasing sector x... done' down to
sector 127.
However, when I run 'cp.b a1000000 8000 $filesize' I get 'Copy to
Flash... not erased at 000800fc (ffff000e)'
Can anybody shed some light as to why my flash isn't being erased as
it says it is?
Regards, Warren.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Flash not erasing correctly?
2006-11-09 22:13 [U-Boot-Users] Flash not erasing correctly? Warren Seymour
@ 2006-11-09 22:20 ` Timur Tabi
0 siblings, 0 replies; 2+ messages in thread
From: Timur Tabi @ 2006-11-09 22:20 UTC (permalink / raw)
To: u-boot
Warren Seymour wrote:
> Can anybody shed some light as to why my flash isn't being erased as
> it says it is?
Take a look at the thread "CFI driver AMD Command Set Top boot geometry".
Your flash may have the same problem mine does.
Also, define CFG_FLASH_EMPTY_INFO and use the flinfo command to see which
sectors have been erased, and which ones haven't. It's a useful debugging tool.
--
Timur Tabi
Linux Kernel Developer @ Freescale
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-09 22:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 22:13 [U-Boot-Users] Flash not erasing correctly? Warren Seymour
2006-11-09 22:20 ` Timur Tabi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox