public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Boris Bulkin <boris@emcraft.ru>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: DOC2000 support for a custom PPC750 board
Date: Mon, 05 Nov 2001 13:53:14 +0300	[thread overview]
Message-ID: <3BE66F9A.327AC763@emcraft.ru> (raw)
In-Reply-To: 29072.1004953009@redhat.com

David,

Thank you very much for the quick response. The information you've given is an
exelent help for me to get started.

One more question: from the M-Sys documents I understand there can be two types
of partitions on a DOC device, binary and NFTL. Binary is supposed to store an
OS image, and NFTL be used as a filesystem. Are there any MTD tools for
creating and reading/writing binary DOC partitions?
Sorry if it sonds silly. I'm not very familiar with DOC and MTD.

Thanks,
Boris

David Woodhouse wrote:

> boris@emcraft.ru said:
> >  I'm new to the MTD project, so any information will be very
> > appreciated. What is the current state of MTD support for DOC?
>
> It works, for the DiskOnChip 2000 and DiskOnChip Millennium. Not the
> Millennium Plus. It doesn't do sane wear-levelling though. That's left as an
> exercise for the reader. Pointers and CVS access will happily be given to
> anyone who looks serious about doing it.
>
> > Do MTD DOC drivers require any firmware from M-Sys, or does MTD provide
> > its own DOC firmware?
>
> The DiskOnChip requires no firmware. It is not an intelligent device.
> What's normally referred to as the DiskOnChip 'firmware' is the BIOS
> extension which installs a driver which hooks the PC INT 13h disk service
> interrupt and hence makes DOS and LILO work. I assume you don't want that :)
>
> > Then, I know that M-Systems  suggests running its
> > DOS-based tools for partitioning and formatting a DOC device. Are
> > there any open-source replacements for them?
>
> There is nftl_format.c which performs the basic function of creating an
> NFTL on the raw flash. NFTL is the translation layer used on the DiskOnChip
> devices to emulate a normal block device. It is preferred to use the DOS
> utilities because their response to finding bad blocks has been far better
> tested. But nftl_format should be OK.
>
> --
> dwmw2

  reply	other threads:[~2001-11-05 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-05  9:18 DOC2000 support for a custom PPC750 board Boris Bulkin
2001-11-05  9:36 ` David Woodhouse
2001-11-05 10:53   ` Boris Bulkin [this message]
2001-11-05 11:20     ` David Woodhouse
2001-11-05 19:01   ` Bao C. Ha
2001-11-05 22:54     ` 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=3BE66F9A.327AC763@emcraft.ru \
    --to=boris@emcraft.ru \
    --cc=dwmw2@infradead.org \
    --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