Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: cfi probe for two different flash devices
       [not found] <200310060645.BAA09508@lists.linuxppc.org>
@ 2003-10-06 17:10 ` Gary Thomas
  2003-10-06 17:16   ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2003-10-06 17:10 UTC (permalink / raw)
  To: j.murali; +Cc: linux-mtd, linuxppc embedded

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

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

* Re: cfi probe for two different flash devices
  2003-10-06 17:10 ` cfi probe for two different flash devices Gary Thomas
@ 2003-10-06 17:16   ` David Woodhouse
  0 siblings, 0 replies; 2+ 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

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200310060645.BAA09508@lists.linuxppc.org>
2003-10-06 17:10 ` cfi probe for two different flash devices Gary Thomas
2003-10-06 17:16   ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox