DiskOnChip - mount partition
Hello
I have a DoC Mil+ 16MB. I am using 2.4.27-uc1 with this MTD configuration:
CONFIG_MTDCONFIG_MTD_PARTITIONSCONFIG_MTD_CHARCONFIG_INFTL
CONFIG_MTD_DOC2001PLUS
The chip is correctly detected, after I removed the "2 way interleave" in doc2001plus.c.
Then I did a
nftl_format -b -i /dev/mtd5 98304
and
docfdisk /dev/mtd5 50 0
which should give me /dev/mtd6 and /dev/mtd7 as far as I know. However accessing /dev/mtd6 with
eraseall /dev/mtd6
says: eraseall: /dev/mtd6: No such device
Device /dev/mtd6 has the following device files:
crw------- 1 0 0 90, 12 /dev/mtd6 brw------- 1 0 0 31, 6 /dev/mtdblock6 crw------- 1 0 0 90, 13 /dev/mtdr6
## snip - boot output
DiskOnChip Millennium Plus found at address 0x40000000 Flash chip found: Manufacturer ID: 98, Chip ID: 73 (Toshiba:NAND 16MB 3,3V)
1 flash chips found. Total DiskOnChip size: 16 MiB
INFTL: inftlcore.c $Revision: 1.13 $, inftlmount.c $Revision:
1.13 $
Partition check:
inftla: unknown partition table
## snap
Do you have any hint what is going wrong or any pointer where I should look.
Signature · 13 lines
with best regards / salutations distinguées / Cordiali Saluti / med vänliga hälsningar / mit freundlichen Gruessen Ruediger Haertel +========================================================== | port GmbH phone +49 345 77755-0 | D-06132 Halle/Saale mailto:[email protected] | Germany http://www.port.de | CAN Wiki http://www.CAN-Wiki.info/ | ETHERNET Powerlink http://www.epl-tools.com | Newsletter: http://www.port.de/register.html +==========================================================
Quoted 10 lines · Ruediger Haertel
I have a DoC Mil+ 16MB. I am using 2.4.27-uc1 with this MTD configuration:
CONFIG_MTDCONFIG_MTD_PARTITIONSCONFIG_MTD_CHARCONFIG_INFTL
CONFIG_MTD_DOC2001PLUS
Hello,
First of all I would suggest to use newer diskonchip driver under the nand sub-menu (CONFIG_MTD_NAND_DISKONCHIP) and a recent kernel (2.6.13 for example). Also take a look at http://www.linux-mtd.infradead.org/source.html#kernelversions .
Signature · 2 lines
Best regards, Kalev Lember