Cortex-M and zImage

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Sep 17 00:05:09 PDT 2014


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.
 
Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list