[U-Boot-Users] Spansion flash not detected by CFI driver

Tolunay Orkun listmember at orkun.us
Fri Apr 20 01:52:43 CEST 2007


Shiju wrote:
> On Thu, 2007-19-04 at 17:13 -0500, Tolunay Orkun wrote:
>> Shiju wrote:
>>>> I have another update. THe protect/unprotect failure was happening only
>>>> when I was using h/w protect enable. I disabled h/w protect to see
>>>> whether everything else goes well. But timeout happens on write as well.
>>>> Below is the log message. 
>>>>
>>>> uboot> cp.b 0x80000000 0xa0000000 $(filesize)
>>>> Copy to Flash... Flash buffer write timeout at address a0000000 data
>>>> c68686c6
>>>> Timeout writing to Flash
>>>> uboot>
>>> After  disabling the buffered writes, write timeout doesn't happen. ALso
>>> protect/unprotect works well when h/w protect is enabled. Is there a
>>> way to use buffered writes on this flash device.
>> Try disabling debug outputs in CFI driver. I've seen writes do fail when 
>> debug output is enabled.
>>
> I tested disabling the debug outputs. Still writes and protect/unprotect
> fails if CFG_FLASH_USE_BUFFER_WRITE is defined. 

Is this chip capable of buffer writes? It is a new chip. It is described 
as Stacked Multo-chip Cellular RAM flash. I do not know. You will have 
to debug a bit to find out why. If your debugging indicates something 
that should be addressed in the driver please submit a patch...

Tolunay




More information about the U-Boot mailing list