XIP kernel(2.6.11 with MTD) fail in compiling

Nicolas Pitre nico at cam.org
Thu Jun 1 10:14:41 EDT 2006


On Thu, 1 Jun 2006, Chen,Xi wrote:

> Hello,
> 
> I'm working on a PXA-272 based development board and trying to enable a 
> XIP kernel for it.

Please try a later kernel.

> I found an option in kernel configuration, named "MTD_XIP" and it seemed 
> a solution.

It is mandatory if you want to use MTD with a XIP kernel.

> I also added a "-mlong-calls" option to CFLAGS when XIP enabled, in case 
> some function
> calls exceeded the PC24 limitation in ARM.

This is unnecessary.  The XIP kernel is already properly located in 
memory so to not exceed linkage requirements on ARM.


Nicolas




More information about the linux-mtd mailing list