linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* cfi probe for two different flash devices
@ 2003-10-06  6:20 J.Murali
  2003-10-06 17:10 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: J.Murali @ 2003-10-06  6:20 UTC (permalink / raw)
  To: linuxppc-embedded


hi all,

i am working on a custom board(Redwood6) using IBM ppc 405. I am using
the Montavista's kernel 2.4.17. We have one AMD flash of 4 MB and one
Intel flash of 16 MB on our board. There are 4 mtd partitions are in AMD
and Intel flash is used as storage space of 5 mtd partition.

AMD partitions
-----------------
1. Bootparams
2. Bootldr
3. kernel
4. Filesystem1

Intel partition
--------------
5. Filesystem2

In the CFI probe, the kernel detects only one flash either AMD or INTEL
(Which address we specify as window address). What i have to to do for
cfi to detect both flash devices.

Any suggestions are appreciated

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

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

* Re: cfi probe for two different flash devices
  2003-10-06  6:20 cfi probe for two different flash devices J.Murali
@ 2003-10-06 17:10 ` Gary Thomas
  2003-10-06 17:16   ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2003-10-06 17:10 UTC (permalink / raw)
  To: j.murali; +Cc: linuxppc embedded, linux-mtd


On Mon, 2003-10-06 at 00:20, J.Murali wrote:
> hi all,
>
> i am working on a custom board(Redwood6) using IBM ppc 405. I am using
> the Montavista's kernel 2.4.17. We have one AMD flash of 4 MB and one
> Intel flash of 16 MB on our board. There are 4 mtd partitions are in AMD
> and Intel flash is used as storage space of 5 mtd partition.
>
> AMD partitions
> -----------------
> 1. Bootparams
> 2. Bootldr
> 3. kernel
> 4. Filesystem1
>
> Intel partition
> --------------
> 5. Filesystem2
>
> In the CFI probe, the kernel detects only one flash either AMD or INTEL
> (Which address we specify as window address). What i have to to do for
> cfi to detect both flash devices.
>
> Any suggestions are appreciated
>

This question would be best asked of the MTD folks (cc'd), but I think
you'll need a customized "map" function that recognizes these two FLASH
device types and creates the appropriate MTD sub-devices appropriately.

--
Gary Thomas <gary@mlbassoc.com>
MLB Associates


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

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

* Re: cfi probe for two different flash devices
  2003-10-06 17:10 ` Gary Thomas
@ 2003-10-06 17:16   ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2003-10-06 17:16 UTC (permalink / raw)
  To: Gary Thomas; +Cc: j.murali, linux-mtd, linuxppc embedded


On Mon, 2003-10-06 at 11:10 -0600, Gary Thomas wrote:
> This question would be best asked of the MTD folks (cc'd), but I think
> you'll need a customized "map" function that recognizes these two FLASH
> device types and creates the appropriate MTD sub-devices appropriately.

What Gary said.

If you poke around in drivers/mtd/maps you'll find useful examples of
such, including how to concatenate them together into one logical MTD
device and have a file system spanning them both, etc.

--
dwmw2


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

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

* RE: cfi probe for two different flash devices
@ 2003-10-06 18:51 Rod Boyce
  0 siblings, 0 replies; 4+ messages in thread
From: Rod Boyce @ 2003-10-06 18:51 UTC (permalink / raw)
  To: 'David Woodhouse', Gary Thomas
  Cc: j.murali, linux-mtd, linuxppc embedded


In fact is was so easy that I went from knowing of the existence of the
MTD subsystem to booting a Linux kernel and file-system on a custom map
in 2 days. You MTD guys have done a fantastic job.

Regards,
Rod Boyce.

PS sorry for the wasted channel space but I had to say something.

> -----Original Message-----
> From: David Woodhouse [mailto:dwmw2@infradead.org]
> Sent: Tuesday, 7 October 2003 6:16 a.m.
> Subject: Re: cfi probe for two different flash devices
>
> On Mon, 2003-10-06 at 11:10 -0600, Gary Thomas wrote:
> > This question would be best asked of the MTD folks (cc'd), but I
> > think you'll need a customized "map" function that recognizes these
> > two FLASH device types and creates the appropriate MTD sub-devices
> > appropriately.
>
> What Gary said.
>
> If you poke around in drivers/mtd/maps you'll find useful examples of
> such, including how to concatenate them together into one logical MTD
> device and have a file system spanning them both, etc.

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

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

end of thread, other threads:[~2003-10-06 18:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06  6:20 cfi probe for two different flash devices J.Murali
2003-10-06 17:10 ` Gary Thomas
2003-10-06 17:16   ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2003-10-06 18:51 Rod Boyce

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).