linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* About MTD.
@ 2003-06-11 12:45 Christophe.LINDHEIMER
  2003-06-11 15:29 ` Chris Zimman
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe.LINDHEIMER @ 2003-06-11 12:45 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: jjboor


Hi.

I am trying to use MTD on my board.

I have two flash AMD LV160BB that are configured in 16 bits.

They are in parallel so I have got a 32 bits bus wide.

Each flash is 2 Mo . So the total is 4 Mo.

My flash starts at @ : 0x04000000.

So in the configuration for Linux I set
	CFI : yes
	Start @ : 0x04000000
	Size : 0x00400000
	Bus Width : 4

The result at the boot is :

physmap flash device: 400000 at 4000000
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
number of JEDEC chips: 1
0: offset=0x0,size=0x8000,blocks=1
1: offset=0x8000,size=0x4000,blocks=2
2: offset=0x10000,size=0x10000,blocks=1
3: offset=0x20000,size=0x20000,blocks=31
mtd: Giving out device 0 to Physically mapped flash

Is it correct ?
Why is there only one JEDEC Chip detected ?

Regards

Chris


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: About MTD.
  2003-06-11 12:45 About MTD Christophe.LINDHEIMER
@ 2003-06-11 15:29 ` Chris Zimman
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Zimman @ 2003-06-11 15:29 UTC (permalink / raw)
  To: Christophe.LINDHEIMER; +Cc: linuxppc-embedded, jjboor


On Wed, Jun 11, 2003 at 02:45:37PM +0200, Christophe.LINDHEIMER@fr.thalesgroup.com wrote:
>
> I am trying to use MTD on my board.
>
> I have two flash AMD LV160BB that are configured in 16 bits.
>
> They are in parallel so I have got a 32 bits bus wide.
>
> Each flash is 2 Mo . So the total is 4 Mo.
>
> My flash starts at @ : 0x04000000.
>
> So in the configuration for Linux I set
> 	CFI : yes
> 	Start @ : 0x04000000
> 	Size : 0x00400000
> 	Bus Width : 4
>
> The result at the boot is :
>
> physmap flash device: 400000 at 4000000
>  Amd/Fujitsu Extended Query Table v1.0 at 0x0040
> number of JEDEC chips: 1
> 0: offset=0x0,size=0x8000,blocks=1
> 1: offset=0x8000,size=0x4000,blocks=2
> 2: offset=0x10000,size=0x10000,blocks=1
> 3: offset=0x20000,size=0x20000,blocks=31
> mtd: Giving out device 0 to Physically mapped flash

Can you send along the snippet of code from your config?

> Is it correct ?
> Why is there only one JEDEC Chip detected ?

I'm guessing that the two flash parts are only using 1 chip select for
both.  If that's the case, it would make sense to me.

--Chris

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-11 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 12:45 About MTD Christophe.LINDHEIMER
2003-06-11 15:29 ` Chris Zimman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).