cfi probe for two different flash devices

3 messages, 3 authors, 2003-10-06 · open the first message on its own page

cfi probe for two different flash devices

From: J.Murali <hidden>
Date: 2003-10-06 06:20:53

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/

Re: cfi probe for two different flash devices

From: Gary Thomas <hidden>
Date: 2003-10-06 17:10:47

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 [off-list ref]
MLB Associates


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

Re: cfi probe for two different flash devices

From: David Woodhouse <dwmw2@infradead.org>
Date: 2003-10-06 17:16:14

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help