* DOC support update
@ 2004-06-18 23:30 Dan Brown
2004-06-19 0:07 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Dan Brown @ 2004-06-18 23:30 UTC (permalink / raw)
To: linux-mtd
The new NAND-subsystem-based DiskOnChip driver should now be fairly close to
providing proper JFFS2 support, if it doesn't already. A tricky issue with
the hardware ECC generator was discovered today, and hopefully solved.
I say hopefully because I won't have a chance to really test it myself until
Monday. However, interested folks who don't have vital data on their DOC
devices are welcome to do so and provide feedback.
Brief HOWTO (better HOWTO coming soon!):
- Have a DOC Millenium or DOC2000 TSOP. Millenium+ is not supported (other
folks are hard at work on this). DOC2000 original does not have BBT
handling yet (coming soon!) and should not be used with JFFS2 yet.
- Load the new diskonchip module (there is now a kernel configuration option
for this under NAND devices). If your DOC device is not at window D000,
you'll have to edit the source or remap your chip. Proper probing coming
soon!
- A bunch of mtd devices should be created. mtd0 is the whole DOC. The
others are partitions created by M-Systems. A "BDK" partition is probably
the M-Sys BIOS driver. A "BDTL" partition is where your INFTL filesystem
used to be. I say used to be, because you're about to trash it.
- You can review the list of devices with 'cat /proc/mtd'
- Assuming your BDTL partition is mtd3:
flash_eraseall -j /dev/mtd3
mkfs.jffs2 -p -e 16384 -n -q -r <rootdir> -o <outputfile>
nandwrite /dev/mtd3 <outputfile from above>
mount -t jffs2 /dev/mtdblock3 <mountpoint>
- Cross your fingers.
Results, comments, etc appreciated.
-Dan Brown
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DOC support update
2004-06-18 23:30 DOC support update Dan Brown
@ 2004-06-19 0:07 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2004-06-19 0:07 UTC (permalink / raw)
To: Dan Brown, linux-mtd; +Cc: David Woodhouse
On Saturday 19 June 2004 01:30, Dan Brown wrote:
> The new NAND-subsystem-based DiskOnChip driver should now be fairly close
> to providing proper JFFS2 support, if it doesn't already. A tricky issue
> with the hardware ECC generator was discovered today, and hopefully solved.
Kudos to Dan for all his efforts.
> - Have a DOC Millenium or DOC2000 TSOP. Millenium+ is not supported (other
> folks are hard at work on this). DOC2000 original does not have BBT
> handling yet (coming soon!) and should not be used with JFFS2 yet.
Please join this effort as it will provide all the benefits of the generic
mtd/nand subsystem and help us avoid to have redundant and incompatible code.
At least the prospect to run JFFS2 or YAFFS on DoC should convince you of the
worthiness of this effort.
I'm positive that the Millenium+ efforts will show up with similar results
soon. The general problems of DoC support seem to be solved so it should be a
straight forward task despite of the device specific oddities to get it
running soon.
Please note that we plan to obsolete the DoC drivers in drivers/mtd/devices in
the long run and switch the DoC support completely over to mtd/nand. This
will affect the (I)NFTL layers too, as they will benefit from the nand
functionality too.
--
Thomas
_____________________________________________________________________
From slash dot org
"When customers are visiting, engineers are not allowed to wear ties.
That way the customer can tell who is the engineer and who is the
salesman (and therefore whom to believe.). Ties cut off blood flow
to the brain, making it easier for the salesmen to do their jobs."
_____________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-19 0:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-18 23:30 DOC support update Dan Brown
2004-06-19 0:07 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox