Skip to contentSkip to conversation

Request for kernel with DOC2000

DISCUSSION Dvir Oren 4 participants 7 messages Feb 19, 2000 – Feb 28, 2000 Memory technology devices (MTD)

lore
Share & tools
lore

Dvir Oren

author
#0 lore raw

Has anybody succeeded in compiling a kernel with the MTD drivers in it (not as modules) to run with the DiskOnChip 2000?

I would appreciate if someone would be able to send me such a kernel either to [email protected], or perhaps put it in some FTP.

Thanks in advance.

---------
Dvir Oren <[email protected]>
Lucid VON Ltd. <http://www.lucidvon.com>
9 Saloniki St., Tel-Aviv Israel
Tel: +972 3 644 3038 Fax: +972 3 644 3039

To unsubscribe, send "unsubscribe mtd" to [email protected]

#1 lore raw

I have not been successful compiling mine into the kernel either. If you have any luck, let me know.

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Dvir Oren
Sent: Saturday, February 19, 2000 2:01 PM
To: MTD
Subject: Request for kernel with DOC2000

Has anybody succeeded in compiling a kernel with the MTD drivers in it (not as modules) to run with the DiskOnChip 2000?

I would appreciate if someone would be able to send me such a kernel either to [email protected], or perhaps put it in some FTP.

Thanks in advance.

---------
Dvir Oren <[email protected]>
Lucid VON Ltd. <http://www.lucidvon.com>
9 Saloniki St., Tel-Aviv Israel
Tel: +972 3 644 3038 Fax: +972 3 644 3039

To unsubscribe, send "unsubscribe mtd" to [email protected]

To unsubscribe, send "unsubscribe mtd" to [email protected]

#2 lore raw
Quoted 2 lines

I have not been successful compiling mine into the kernel either. If you have any luck, let me know.

I haven't managed to get the latest kernel to work, but I've got a 2.0.38 to go - any use?
Bill
---------------\--------------------------\--------------------------------
W.B.Hill \ Email: [email protected] \
492 Earlham Road \ Home: (+44) 1603 455069 \ "Nothing is idiot-proof
Norwich NR4 7HP. \ Fax: 0870 054 7508 \ given the right idiot"
United Kingdom \ Mobile: 0410 781584 \
(+44) 1603 255141 \ Web: http://wbh.org \ #include <stdisclaimer.h>
---------------------\--------------------------\--------------------------
PGP-Fingerprint: B3 6F 2E D6 - B6 48 F1 FB -*- 7C AA 28 0C - 96 61 9A B5

To unsubscribe, send "unsubscribe mtd" to [email protected]

#3 lore raw

I have managed to compile the MTD driver into a 2.2.14 kernel (mtd.c, doc2000.c & nftl.c) and am now starting to test it out. My collegue (Brendan Knox) did this a while ago but found some problems with the driver. He's now on a sabbatical so the job falls to me. The more heads we can get round this one the better, so if I can be of any help getting you guys going let me know.

Cheers

Trevor Woolven.

Quoted 16 lines · wbh
Quoted 3 lines

I have not been successful compiling mine into the kernel either. If you have any luck, let me know.

I haven't managed to get the latest kernel to work, but I've got a 2.0.38 to go - any use?
Bill
---------------\--------------------------\--------------------------------
W.B.Hill \ Email: [email protected] \
492 Earlham Road \ Home: (+44) 1603 455069 \ "Nothing is idiot-proof
Norwich NR4 7HP. \ Fax: 0870 054 7508 \ given the right idiot"
United Kingdom \ Mobile: 0410 781584 \
(+44) 1603 255141 \ Web: http://wbh.org \ #include <stdisclaimer.h>
---------------------\--------------------------\--------------------------
PGP-Fingerprint: B3 6F 2E D6 - B6 48 F1 FB -*- 7C AA 28 0C - 96 61 9A B5

To unsubscribe, send "unsubscribe mtd" to [email protected]

Signature · 7 lines
Tel: +44 (0)1273 234 647	 Fax: +44 (0)1273 704 482

Visit http://www.zentropix.com/ for Real Time Linux Tools
Visit http://www.realtimelinux.org/ for Real Time Linux Information


To unsubscribe, send "unsubscribe mtd" to [email protected]
author
#5 lore raw
In reply to wbh
Quoted 4 lines
Quoted 2 lines

I have not been successful compiling mine into the kernel either. If you have any luck, let me know.

I haven't managed to get the latest kernel to work, but I've got a 2.0.38 to go - any use?

If you could please post a patch with whatever you added to the kernel, and whatever you changed in the MTD files (if at all), it could be extremely helpful.

Thanks!

---------
Dvir Oren <[email protected]>
Lucid VON Ltd. <http://www.lucidvon.com>
9 Saloniki St., Tel-Aviv Israel
Tel: +972 3 644 3038 Fax: +972 3 644 3039

To unsubscribe, send "unsubscribe mtd" to [email protected]

author
#4 lore raw
In reply to Trevor Woolven
Quoted 7 lines

I have managed to compile the MTD driver into a 2.2.14 kernel (mtd.c, doc2000.c & nftl.c) and am now starting to test it out. My collegue (Brendan Knox) did this a while ago but found some problems with the driver. He's now on a sabbatical so the job falls to me. The more heads we can get round this one the better, so if I can be of any help getting you guys going let me know.

It would be extremely helpful if you could post a patch with whatever you changed in the kernel, plust whatever you changed in the MTD sources (if at all).

Thanks.

---------
Dvir Oren <[email protected]>
Lucid VON Ltd. <http://www.lucidvon.com>
9 Saloniki St., Tel-Aviv Israel
Tel: +972 3 644 3038 Fax: +972 3 644 3039

To unsubscribe, send "unsubscribe mtd" to [email protected]

#6 lore raw
In reply to Dvir Oren
Quoted 3 lines · Dvir Oren

If you could please post a patch with whatever you added to the kernel, and whatever you changed in the MTD files (if at all), it could be extremely helpful.

OK - I'm using an Advantech board, so 486-based with a DOC2000. What I did:

	cd /usr/src
	mv linux linux.orig
	tar Ixvf ~/minimpg/linux-2.0.38.tar.bz2
	cd linux
	unzip ~/minimpg/doclinux_2_0_x_1_21.zip
	tar zxvf driver.tgz
	cat tmp/doc-driver/doc-patch-2.0.35 | patch -p0
	cp usr/src/linux/drivers/block/flash_doc/*  drivers/block/flash_doc/
	# Ensure "M-Systems DiskOnChip" is selected :-)
	# IE CONFIG_BLK_DEV_GENERIC_FLASH_DOC=y
	cd drivers/block/flash_doc
	CC=/usr/bin/gcc272 make
	cd ../../..
	vim Makefile
	# Alter line: CC=$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)
	# To CC=$(CROSS_COMPILE)gcc272 -D__KERNEL__ -I$(HPATH)
	make zImage
	cat arch/i386/kernel/zImage > /dev/fd0
	# Stand well back :-)

---------------\--------------------------\--------------------------------
W.B.Hill \ Email: [email protected] \
492 Earlham Road \ Home: (+44) 1603 455069 \ "Nothing is idiot-proof
Norwich NR4 7HP. \ Fax: 0870 054 7508 \ given the right idiot"
United Kingdom \ Mobile: 0410 781584 \
(+44) 1603 255141 \ Web: http://wbh.org \ #include <stdisclaimer.h>
---------------------\--------------------------\--------------------------
PGP-Fingerprint: B3 6F 2E D6 - B6 48 F1 FB -*- 7C AA 28 0C - 96 61 9A B5

To unsubscribe, send "unsubscribe mtd" to [email protected]