[U-Boot] Problems flashing kernel

Stefano Babic sbabic at denx.de
Tue Jun 8 16:31:15 CEST 2010


Kristoffer Ericson wrote:

> You are quite correct in that, thx. that also explains why it
> took a good while longer than usual.
> 
> I cannot seem to shake the "Flash not Erased" problem though. Was thinking
> to increase timeout of erase/write but they dont change even when I change
> the CONFIG_SYS_FLASH_WRITE_TOUT. Any thoughts on that?

CONFIG_SYS_FLASH_WRITE_TOUT is used on some board specific driver, but
not by the CFI driver. It seems you are using the CFI driver and you
probably can drop this CONFIG_ switch.
However, I have not understood from you previous message when the flash
has not been erased. You say that an erase command for quite the whole
flash (from 512KB to the end of the flash, as CFI reports 64MB) works.
Do you try to erase the flash to store only the kernel ? Something like
"erase 0x80000 +13CA64" ?

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list