XIP support

Anna Fischer (novero/Bochum) Anna.Fischer at novero.com
Wed Jul 3 07:51:59 EDT 2013


Hi everyone,

I'm looking for help on Linux XIP support on MTD devices.

I'd like to create a system where I can use a single NOR as XIP device and at the same time as data storage device. E.g. I can imagine that on my NOR flash device I create two partitions: one as ROMFS supporting XIP which holds kernel and application code, and one as standard data storage, for example holding a read-write YAFFS2 file system which my applications can use to store data.

Can anyone clarify if this is supported with the current kernel infrastructure, and if yes then what support do I need on the NOR flash device itself? I assume that the device itself will need to support reading from one segment in NOR (e.g. XIP partition) whilst writing to another one (data partition). Many flash vendors call this read-while-erase support. On the other hand I assume that if the software is capable, then it should also be sufficient that the NOR flash support partial erase functions, and suspend/resume for those operations. Can anyone confirm that this can be handled in Linux MTD drivers?

Many thanks for any pointers.

Anna



More information about the linux-mtd mailing list