[Cbe-oss-dev] [PATCH] axonram: 1st version

Arnd Bergmann arnd at arndb.de
Sat Feb 17 04:43:06 EST 2007


On Friday 16 February 2007 15:36, Olof Johansson wrote:
> The remaining thing that Christoph mentioned was XIP. I think that might
> already be something that the embedded guys are working on, since they
> want it for executing right out of flash. But I'm not on top of MTD
> enough to know if it's backend driver specific and/or if it's merged. I
> just remember seeing it mentioned sometime in the past.

I'm pretty sure that xip support for MTD is not merged yet, but
it may be relatively easy to do: some of the low-level MTD drivers
(phram, some NOR, but no NAND) have the ->point callback that returns
a pointer to a page. The mtdblock driver would probably need to
have two kinds of block_device_operations then, one with a 
->direct_access and one without, depending on the capabilities of
the underlying device.

The existing XIP support for flash is different from that, it is
mainly to support running the _kernel_ from flash on a few architectures.

	Arnd <><



More information about the cbe-oss-dev mailing list