public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* DiskOnChip - mount partition
@ 2005-09-07  9:26 Ruediger Haertel
  2005-09-09  6:28 ` Kalev Lember
  0 siblings, 1 reply; 2+ messages in thread
From: Ruediger Haertel @ 2005-09-07  9:26 UTC (permalink / raw)
  To: linux-mtd

Hello

I have a DoC Mil+ 16MB. I am using 2.4.27-uc1 with this MTD 
configuration:

CONFIG_MTD
CONFIG_MTD_PARTITIONS
CONFIG_MTD_CHAR
CONFIG_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.


-- 
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:service@port.de
| 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
+==========================================================

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

* Re: DiskOnChip - mount partition
  2005-09-07  9:26 DiskOnChip - mount partition Ruediger Haertel
@ 2005-09-09  6:28 ` Kalev Lember
  0 siblings, 0 replies; 2+ messages in thread
From: Kalev Lember @ 2005-09-09  6:28 UTC (permalink / raw)
  To: Ruediger Haertel; +Cc: linux-mtd

Ruediger Haertel wrote:

>I have a DoC Mil+ 16MB. I am using 2.4.27-uc1 with this MTD 
>configuration:
>
>CONFIG_MTD
>CONFIG_MTD_PARTITIONS
>CONFIG_MTD_CHAR
>CONFIG_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 .

-- 
Best regards,
Kalev Lember

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

end of thread, other threads:[~2005-09-09  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-07  9:26 DiskOnChip - mount partition Ruediger Haertel
2005-09-09  6:28 ` Kalev Lember

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