public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* RE: M-System DOC Millennium with MTD.
@ 2000-11-30 17:18 Simon Wood
  2000-11-30 17:22 ` David Woodhouse
  2000-11-30 17:39 ` dr john halewood
  0 siblings, 2 replies; 11+ messages in thread
From: Simon Wood @ 2000-11-30 17:18 UTC (permalink / raw)
  To: 'David Woodhouse'; +Cc: 'mtd@infradead.org'

Hello again David,
I've updated my patch to your latest CVS (mtd-patch-2.2.17-20001130) and built that, but alas still no joy.

Just to re-iterate what I have and am doing.
I have a DoC Millennium (don't know how different this is to the 2000) eval board with a single MD-2810-D08 fitted. Jumpers are set to JP1 3,4 (0xD000) and JP2 3,4 (No connect, No wait state disabled).

Following the instructions below I get the same response as before, from /var/log/messages (I have set debug level to 3 but doesn't seem to produce anything extra):
	Nov 30 15:28:16 leper syslogd 1.3-3: restart.
	Nov 30 15:28:19 leper kernel: klogd 1.3-3, log source = /proc/kmsg started.
	Nov 30 15:28:19 leper kernel: Cannot find map file.
	Nov 30 15:28:19 leper kernel: Loaded 58 symbols from 2 modules.
	Nov 30 15:28:19 leper /usr/sbin/cron[155]: (CRON) STARTUP (fork ok) 
	Nov 30 15:34:04 leper kernel: Initializing MTD Layer
	Nov 30 15:34:23 leper kernel: M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc.

And /proc/mtd is empty

However if I use the DoC1000 driver I get more of a response...
	Nov 30 15:35:34 leper kernel: mtd: Giving out device 0 to M-Systems DiskOnChip 1000
	Nov 30 15:35:44 leper kernel: M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc.

And /proc/mtd reports 'mtd0: 00100000 "M-Systems DiskOnChip 1000"' - which it most definately is not !!

If nobody else can come up with a suggestion tomorrow I'll try reflashing the device's boot code from DOS. Any way it's time to wander off home now.
Simon Wood

Hardware Engineer 
Pace Micro Technology plc
Victoria Road, Saltaire, Shipley
West Yorkshire, BD18 3LF
Tel : +44(0)1274 532000  Fax: +44(0)1274 532029

This E-Mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message. You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender.

> -----Original Message-----
> From:	David Woodhouse [SMTP:dwmw2@infradead.org]
> Sent:	Thursday, November 30, 2000 11:00 AM
> To:	Simon Wood
> Subject:	Re: M-System DOC Millennium with MTD. 
> 
> 
> Build the stuff you want as modules.
> 
> Load mtdcore.o
> Load docecc.o 
> Load doc2001.o
> Load docprobe.o
> 
> You should see it say something about detecting a DiskOnChip. 
> 'cat /proc/mtd' at this stage should then produce one line of text.
> 
> 


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: M-System DOC Millennium with MTD.
@ 2000-12-03 19:01 john halewood
  2000-12-03 19:26 ` David Woodhouse
  2000-12-03 19:34 ` David Woodhouse
  0 siblings, 2 replies; 11+ messages in thread
From: john halewood @ 2000-12-03 19:01 UTC (permalink / raw)
  To: dwmw2, john; +Cc: mtd, Simon.Wood

David Woodhouse wrote, re misidentification/failure to identify DoC's
 with the M-Systems doc2.fff firmware:
>You can also work round this by disabling CONFIG_MTD_DOCPROBE_55AA

Yup. you also need to disable DOCPROBE_HIMEM as well, otherwise you just
get a lot of messages of the form "found possible Doc at XXXXX" and no
mtd device.
 I've been messing with these parameters so much recently I've sometimes
felt like hacking a /proc interface to them to avoid the reconfig -
recompile modules - rmmod /insmod cycle, which can be quite painful on a slow
processor. In the long run though i think pollution of the /proc space
is probably left to those who've done it so well in the past

john


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 11+ messages in thread
* M-System DOC Millennium with MTD.
@ 2000-11-29 17:14 Simon Wood
  2000-11-29 17:24 ` David Woodhouse
  0 siblings, 1 reply; 11+ messages in thread
From: Simon Wood @ 2000-11-29 17:14 UTC (permalink / raw)
  To: 'wear-hard@haven.org', 'mtd@infradead.org'

Hello all,
I attempting to get a Millennium Disk on Chip eval board working under Linux with the MTD drivers (rather than the M-System's ones - which appear to work OK).

I've downloaded, applied the patches to the kernel and built the MTD stuff as modules. However I can not read the device, instead I get the error 'mount: /dev/nftla has wrong major or minor number'.

Any idea what is going wrong??

Lots of details.
1). ran 'mtd/utils/MAKEDEV' to set up devices -
	/dev/nftla is 93, 0

2). insmod'ed the modules (without any options) in the following order -
	nftlmount
	mtdcore
	nftl
	docprobe
	docecc
	doc2001

3). Tried to 'mount /dev/nftla /floppy' and got error 'mount: /dev/nftla has wrong major or minor number'.

4) tail /var/log/messages -
		Nov 29 15:57:03 leper kernel: Initializing MTD Layer
		Nov 29 15:57:23 leper kernel: M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI
		Nov 29 15:57:23 leper kernel: $Id: mtd-patch-2.2.17,v 1.3 2000/11/15 22:56:48 sjhill Exp $
		Nov 29 15:57:33 leper kernel: M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc.
		Nov 29 15:58:09 leper kernel: NFTL_open
		Nov 29 15:58:09 leper kernel: ENODEV: thisNFTL = 0, minor = 23808, ip = c33b9a90, fp = c301f980
		Nov 29 15:58:09 leper kernel: NFTL_open
		Nov 29 15:58:09 leper kernel: ENODEV: thisNFTL = 0, minor = 23808, ip = c33b9a90, fp = c27fff64

5). Just for completion here's what the M-Systems drivers log -
		Nov 29 15:45:56 leper kernel: Copyright (C) 1998,2000 M-Systems Flash Disk Pioneers Ltd.
		Nov 29 15:45:56 leper kernel: Copyright (C) 2000 Lineo
		Nov 29 15:45:56 leper kernel: DOC device(s) found: 1
		Nov 29 15:45:56 leper kernel: Fat Filter Enabled
		Nov 29 15:45:56 leper kernel: fl_init: registered device at major: 100
		Nov 29 15:45:56 leper kernel: fl :fl_doc_mount: VOL: 0
		Nov 29 15:45:56 leper kernel: fl :debug: entering NFDC 2148 identification routine.
		Nov 29 15:45:56 leper kernel: fl :Debug: identified NFDC 2148.
		Nov 29 15:45:56 leper kernel: fl :Debug: starting NFTL mount.
		Nov 29 15:45:56 leper kernel: fl :Debug: finished NFTL mount.
		Nov 29 15:45:56 leper kernel:  fla: fla1
		Nov 29 15:45:56 leper kernel: partition: 0: start_sect: 0, nr_sects: 3e30 Fl_blk_size[]: 1f18kb
		Nov 29 15:45:56 leper kernel: partition: 1: start_sect: 1, nr_sects: 3e2f Fl_blk_size[]: 1f17kb
		Nov 29 15:46:18 leper kernel:  fla: fla1

Thanks in advance, I'm sure its something simple that I've missed but it's been a long day.......
Simon Wood



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2000-12-03 19:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-30 17:18 M-System DOC Millennium with MTD Simon Wood
2000-11-30 17:22 ` David Woodhouse
2000-11-30 17:39 ` dr john halewood
2000-11-30 17:41   ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2000-12-03 19:01 john halewood
2000-12-03 19:26 ` David Woodhouse
2000-12-03 19:34 ` David Woodhouse
2000-11-29 17:14 Simon Wood
2000-11-29 17:24 ` David Woodhouse
2000-11-30 12:01   ` dr john halewood
2000-11-30 12:04     ` David Woodhouse

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