DiskOnChip200
I've been fighting with a DiskOnChip2000 box for a while now and its about to
win. I've searched the net for specific info on how to use the MTD drivers in
the kernel rather than M-Sys driver. Is there a howto or an old email that describes how to use the NFTL drivers? Getting them in the kernel is easy but I don't know which device file to use to format the device.
---------------------------------
David Hamm
Systems Analyst
Imaging Technologies Services Inc.
email: [email protected]
voice: 404-870-6663
---------------------------------
To unsubscribe, send "unsubscribe mtd" to [email protected]
Re: DiskOnChip200 howto
Quoted 6 lines · David Hamm
I've been fighting with a DiskOnChip2000 box for a while now and its about
to win. I've searched the net for specific info on how to use the MTD
drivers in the kernel rather than M-Sys driver. Is there a howto or an old email that describes how to use the NFTL drivers? Getting them in the kernel is easy but I don't know which device file to use to format the device.
As a quick guide:
Build the mtd support into the kernel.
If using modules, I'd suggest ordering them something like (depending on what support you've chosen of course)
mtdcore.o
nftl.o
mtdchar.o
mtdblock.o
doc2000.o
modprobe.o
Run the MAKEDEV script from the utils directory of the cvs tree to create the necessary files in /dev
Reboot. You should see a "Disk on Chip found at xxxxx" message followed by a "Giving out device <x> to DiskOnChip...". Generally I'd expect the DoC to be nftla
fdisk /dev/nftla and set up whatever partitions you want, then run mkfs to create the partitions. Mount and enjoy.
Alternatively you can create your own filesystems and dd them in directly.
cheers
john
To unsubscribe, send "unsubscribe mtd" to [email protected]