DiskOnChip 2000 128Mb problem
David Woodhouse
dwmw2 at infradead.org
Tue May 13 12:22:43 EDT 2003
On Tue, 2003-05-13 at 09:03, Daniel Toussaint wrote:
> Interesting. My company wants to deploy the DiskOnChip millenium PLUS as
> a new standard for our x86 embedded pc product line. (so far we were
> using DIP sockets with a doc2000/mil as an option) . Our other option is
> to just use raw memory chips of some kind -but then we leave the wince
> and other embedded os users with more difficulties.
YAFFS already runs on WinCE. JFFS2 already runs on eCos. Both are easily
portable.
> Also, they don't even want to comment on some issue's (for example
> jffs2 on DiskOnChip).
Put yourself in their shoes -- they're selling you hardware at premium
prices because you get it with their 'translation layer' software to
make it pretend to be a block device, on which you use a 'traditional'
journalling file system.
Now ask them about using a file system designed specifically to be used
directly on flash chips, and what do you _think_ they're going to say?
:)
> I work in support, and whenever a customer has problems with M-systems
> binary drivers/ lilo install / license questions - I teach them how to
> use the linux mtd utilities(+grub) and this always solves all problems.
:)
> For the millenium plus however the only way to go is to use the
> m-systems binary driver. A while back I saw that www.snapgear.com
> announced they had spend several months in developing open source (mtd
> based drivers & the new INFTL layer) for the millenium plus - but
> nothing has been released yet I - probably licensing/nda issue's.
Until such time as that code is released, the advice remains: avoid this
hardware like the plague. Do not design it into new boards, do not
purchase it to plug into older socketed designs. Use real flash instead.
> To get back to the point: Being able to use the raw nand chips in Doc
> devices and put jffs2/yaffs on it would be the greatest thing ever.
> My question is , following guidelines in the nand documentation on how
> to write a "mapping driver for your board" is it theoretically possible
> to get it to work? I am not an mtd guru - but given enough time , and
> studying the current Doc code ,myself, or someone else might get it to
> work some day?
> Or is there just no way to make it work due to lack of
> information/licensing issue's ??
It can work. The only reason the DiskOnChip drivers don't use the
generic NAND code is because they predate it by about three years. It
shouldn't be hard to convert them -- and in fact you may not even need
to convert them to use the generic NAND code, but just make them agree
about the ECC API.
It's probably a few weeks' work, and if you don't want to, or can't do
it yourself, then there are probably quite a few people out there who'd
be willing to quote you for it.
--
dwmw2
More information about the linux-mtd
mailing list