Patch for RedBoot Partition Table Parsing

David Woodhouse dwmw2 at infradead.org
Wed Mar 24 04:15:08 EST 2004


On Wed, 2004-03-24 at 12:00 +0800, LOH Chee Tim wrote:
> The attached patch, against mtd-snapshot-20040323, fixes RedBoot Partition
> Table Parsing for unallocated flash space before the first image.

Thanks.

> Also included are minor updates to:
> 1. include nullname only if it is used
> 2. add an option for selecting whether unallocated flash space is to be
> included

OK. I'd be a lot happier if we had already fixed up the partitioning and
could get at a 'whole-device' MTD device reliably, but it does make
sense.

> 3. follow eCos 2.0 by reading partition table from the whole of last erase
> block instead of just the start

OK.

> 4. force read-only for RedBoot, RedBoot Config and FIS directory images

I don't like this very much. I habitually update RedBoot from Linux. I
have occasionally been known to change the config and FIS directory too.

Perhaps we could make it optional too?

Please update the Kconfig file to match what you've changed in
Config.in.



-- 
dwmw2




More information about the linux-mtd mailing list