cfi probe for two different flash devices
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/
Quoted 18 lines · J.Murali
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. Filesystem1Intel partition
--------------
5. Filesystem2
Quoted 6 lines
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 <[email protected]>
MLB Associates
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Gary Thomas
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.
Signature · 1 line
dwmw2