Subject: Re: MTD devices in NetBSD
To: Jachym Holecek <freza@dspfpga.com>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: tech-kern
Date: 03/23/2006 18:06:58
On Thu, Mar 23, 2006 at 11:52:18PM +0100, Jachym Holecek wrote:
> Is there a good reason why the block remapper should be prevented from
> only operating over a couple of flash device extents and leaving the
> rest mapped 1:1 (in other words, have the bootloader partition 1:1 and
> only block-remap the "/" partition)?

Yes.  There's no guarantee that any particular physical block on a NAND
device is usable.  Except, as I noted before, that most devices are
guaranteed to have a good block 0.  So if your "boot partition" happens
to fit entirely in block 0, and you're not rewriting it too often,
sure...