[U-Boot] [PATCH 1/1] NAND Re: mtdparts fails with NAND >= 4GB - Second try
Albert ARIBAUD
albert.aribaud at free.fr
Sat Feb 12 09:49:24 CET 2011
Le 12/02/2011 08:57, Aaron Williams a écrit :
>> The CFI query is normal for a x16 device: byte address 0xAA is word
>> address 0x55, which is what is expected from a x16 device in x8 mode as
>> in x16 mode.
>>
>> Can you try a 'md.b 0x1f400020 20' once in CFI QRY mode?
>>
>> Amicalement,
> You mean like this?
>
> Octeon ebb6300(ram)# mw.b 0x1f400000 0xf0
> Octeon ebb6300(ram)# mw.b 0x1f400aaa 0xaa
> Octeon ebb6300(ram)# mw.b 0x1f400555 0x55
> Octeon ebb6300(ram)# mw.b 0x1f400aaa 0x90
> Octeon ebb6300(ram)# md.b 0x1f400000 0
> Octeon ebb6300(ram)# md.b 0x1f400000 1
> 1f400000: 01 .
> Octeon ebb6300(ram)# md.b 0x1f400002 1
> 1f400002: 7e ~
> Octeon ebb6300(ram)# md.b 0x1f400004 1
> 1f400004: 00 .
> Octeon ebb6300(ram)# md.b 0x1f400005 1
> 1f400005: 00 .
> Octeon ebb6300(ram)# md.b 0x1f400006 1
> 1f400006: 1a .
> Octeon ebb6300(ram)# md.b 0x1f400008 1
> 1f400008: 00 .
> Octeon ebb6300(ram)# md.b 0x1f40000a 1
> 1f40000a: 00 .
> Octeon ebb6300(ram)# mw.b 0x1f400000 0xf0
> Octeon ebb6300(ram)# mw.b 0x1f4000AA 0x98
> Octeon ebb6300(ram)# md.b 0x1f400020
> 1f400020: 51 Q
> Octeon ebb6300(ram)# md.b 0x1f400022
> 1f400022: 52 R
> Octeon ebb6300(ram)# md.b 0x1f400024
> 1f400024: 59 Y
> Octeon ebb6300(ram)# md.b 0x1f400026
> 1f400026: 02 .
> Octeon ebb6300(ram)# md.b 0x1f400028
> 1f400028: 00 .
>
> -Aaron
No, I meant the instruction exactly as I quoted it: 'md.b 0x1f400020 20'
once in CFI QRY mode, that is:
mw.b 0x1f400000 0xf0
mw.b 0x1f4000AA 0x98
md.b 0x1f400020 20
Amicalement,
--
Albert.
More information about the U-Boot
mailing list