All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Boris Bulkin <boris@emcraft.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: DOC2000 support for a custom PPC750 board
Date: Mon, 05 Nov 2001 11:20:58 +0000	[thread overview]
Message-ID: <10816.1004959258@redhat.com> (raw)
In-Reply-To: <3BE66F9A.327AC763@emcraft.ru>


boris@emcraft.ru said:
>  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.

By 'binary partitions' they presumably mean data stored directly on the 
flash chips. NFTL is a kind of pseudo-filesystem which is used to emulate a 
block device - you then put normal filesystems on top of that emulated 
block device. 

Yes, we have programs which will write data to the raw flash. You just open 
/dev/mtd0, use the MEMERASE ioctl for the region you want to overwrite 
and then write to it. The doc_loadbios program was used for putting Grub in 
place of the normal firmware. 

--
dwmw2

  reply	other threads:[~2001-11-05 11:11 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
2001-11-05 11:20     ` David Woodhouse [this message]
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=10816.1004959258@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=boris@emcraft.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.