public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Daniel Toussaint <daniel@arbor.com.tw>
Cc: linux-mtd@lists.infradead.org
Subject: Re: DiskOnChip 2000 128Mb problem
Date: Tue, 13 May 2003 17:22:43 +0100	[thread overview]
Message-ID: <1052842963.23450.160.camel@passion.cambridge.redhat.com> (raw)
In-Reply-To: <3EC0A6E3.5070404@arbor.com.tw>

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

  reply	other threads:[~2003-05-13 16:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 20:37 DiskOnChip 2000 128Mb problem Matthew Dharm
2003-05-08  6:17 ` David Woodhouse
2003-05-08 18:04   ` Matthew Dharm
2003-05-09 14:25     ` David Woodhouse
2003-05-09 14:35       ` David Woodhouse
2003-05-09 16:40         ` Matthew Dharm
2003-05-09 16:48           ` David Woodhouse
2003-05-09 16:58             ` Matthew Dharm
2003-05-09 20:23               ` Edward A. Hildum
2003-05-09 20:29                 ` Matthew Dharm
2003-05-12 20:42                   ` Edward A. Hildum
2003-05-13  1:42                     ` Matthew Dharm
2003-05-13  7:40                       ` David Woodhouse
2003-05-13  8:03                         ` Daniel Toussaint
2003-05-13 16:22                           ` David Woodhouse [this message]
2003-05-13 18:34                         ` Matthew Dharm
2003-05-13  8:22                       ` David Woodhouse
2003-05-13 17:09                       ` Edward A. Hildum
2003-05-31 13:08         ` David Woodhouse
2003-05-31 13:19           ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1052842963.23450.160.camel@passion.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=daniel@arbor.com.tw \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox