compiling 2.6.37 kernel in THUMB2 mode
Nicolas Pitre
nico at fluxnic.net
Tue Feb 15 23:03:30 EST 2011
On Tue, 15 Feb 2011, vb at vsbe.com wrote:
> hello all,
>
> I am trying to compile the 2.6.37 kernel in THUMB2 mode and am
> experiencing some compilation problems. Some inline assembly in some
> files uses commands inappropriate for THUMB2 mode.
>
> I wonder if the kernel is expected to compile cleanly when
> CONFIG_THUMB2_KERNEL is enabled (and I am doing something wrong), or
> is it know not to compile/work in Thumb2 node for any reason?
It is known not to compile in mainline right now depending on your
target, but fixes are slowly being merged upstream.
Dave Martin is maintaining a Git tree with all the fixes required for
Thumb2 here (see the Thumb2 related branches):
http://git.linaro.org/gitweb?p=people/dmart/linux-2.6-arm.git;a=summary
Beware that some patches might not be final yet.
Nicolas
More information about the linux-arm-kernel
mailing list