Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP

From: Jared Hulbert
Date: Fri Jun 08 2007 - 12:02:21 EST


On 6/8/07, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
On Thu, Jun 07, 2007 at 01:34:12PM -0700, Jared Hulbert wrote:
> >And we'll need that even when using cramfs. There's not way we'd
> >merge a hack where the user has to specify a physical address on
> >the mount command line.
>
> Why not? For the use case in question the user usually manually
> burned the image to a physical address before hand. Many of these
> system don't have MTD turned on for this Flash, they don't need it
> because they don't write to this Flash once the system is up.

Then add a small device layer for it. Remember that linux is not all
about hacked up embedded devices that get shipped once and never
touched again.

Remember that linux is not all about big iron machines with lots of
processors and gigabytes of RAM :)

I concede your layer point, ioremap() doesn't belong in the filesystem.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/