Cortex-M and zImage
Joachim Eastwood
manabian at gmail.com
Wed Sep 17 14:06:42 PDT 2014
On 17 September 2014 09:05, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
> Hello Joachim,
>
> On Wed, Sep 17, 2014 at 08:55:05AM +0200, Joachim Eastwood wrote:
>> On 17 September 2014 08:11, Uwe Kleine-König
>> <u.kleine-koenig at pengutronix.de> wrote:
>> > I was able to compile a zImage with the patch below. For the
>> > "Conflicting architecture profiles" error the most relevant hunk is the
>> > first. And of course this needs some #ifdefs.
>>
>> Thanks, I'll give it a try later today.
>>
>> But is this the way to go?
>> Adding lots of 'ifdefs CONFIG_CPU_V7M' to compressed/head.S ?
> Probably not lots. I would expect (and hope) that you won't need more
> than a handful. I don't see an alternative.
Okey, I got it working.
Had to add a total of 6 ifdefs to compressed/head.S so I guess it is
not too bad.
Here is the diffstat:
arch/arm/boot/compressed/head.S | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
I'll send out a patch for comments tomorrow.
regards
Joachim Eastwood
More information about the linux-arm-kernel
mailing list