[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Execute-in-Place (XIP) from flash?



On Mon, Sep 20, 2004 at 01:56:45PM +1000, Fettahlioglu, Mahmut wrote:
> Hi all,
> 
> I was wondering if there is a way I can use execute-in-place with MCM4+16
> chips to save runtime memory. The options seem to be:
> 
> - Use the internal flash "/etc" partition. This would involve formatting the
> JFFS2 partition with something else e.g. FAT as JFFS2 uses compression. 
> 
> - Use an external USB flash ad run the software from there
> 
> Do you think there are some limitations that prevent one or both of these
> options? And if it can be done, do I need to change something in the kernel
> for this?
> 
> Any feedback welcome. Thanks to all,

To be able to write to flash and do XIP at the same time you need more 
than one chip. You must never write or erase the chip you execute code 
from.

/Jonas