[U-Boot] Non standard CFI detection tweaks

Rogan Dawes rogan at dawes.za.net
Tue Jul 20 12:29:48 CEST 2010


On 2010/07/20 12:22 PM, Reinhard Meyer (-VC) wrote:
> Rogan Dawes schrieb:
>> Unfortunately, but understandably, it makes no difference whatsoever to
>> the behaviour of the flash chip. I can still put it into QRY mode, where
>> I get the doubled QQRRYY response, but the flash is not detected any
>> better than it was previously.
> OOPS:
>
> On our system (top5200) the behaviour is exactly as yours:
>
> =>  mm.b ff0000aa
> ff0000aa: 00 ? 98
> ff0000ab: 00 ? .
> =>  md.l ff000000
> ff000000: 00000000 00000000 00000000 00000000    ................
> ff000010: 00000000 00000000 00000000 00000000    ................
> ff000020: 51515252 59590202 00004040 00000000    QQRRYY....@@....
> =>
>
> But because of other constraints and since the port was done in 2003
> we never tried to use the CFI driver ;)
> (our flash has 64MB but only the first 16 MB are memory mapped.)
>
> Hardware: Spansion 29GL512 in 8-Bit mode, that means
> Flash D15/A(-1) connected to CPU A0
> Flash A0 connected to CPU A1
> Flash A1 connected to CPU A2
> etc...
>
> You might want to look at board/emk/common/flash.c for insights :)
>
> Reinhard

I'll do that.

You're not tempted to try to fix the CFI driver for your board anyway, I 
suppose? :-)

Thanks for the pointer.

Rogan


More information about the U-Boot mailing list