[meta-freescale] [meta-fsl-arm][PATCH] imx-base.inc: allow building with arm thumb support

Max Krummenacher max.krummenacher at solnet.ch
Fri May 29 14:04:50 PDT 2015


Hi

Am Freitag, den 29.05.2015, 18:18 +0200 schrieb Andreas Müller:
> On Thu, May 21, 2015 at 6:09 PM, Andreas Müller
> <schnitzeltony at googlemail.com> wrote:
> > thanks to Khem Raj for helping hint & more
> >
> > discussion found at [1]
> >
> > [1] https://lists.yoctoproject.org/pipermail/meta-freescale/2015-May/013904.html
> >
> > Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> > ---
> >  conf/machine/include/imx-base.inc | 9 ++++++---
> >  1 file changed, 6 insertions(+), 3 deletions(-)
> >
> > diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
> > index 5683041..ee5492f 100644
> > --- a/conf/machine/include/imx-base.inc
> > +++ b/conf/machine/include/imx-base.inc
> > @@ -30,11 +30,14 @@ PREFERRED_VERSION_directfb_mx6 = "1.7.4"
> >  # Ship kernel modules
> >  MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
> >
> > -# Float-Point setting
> > +# Tunes for hard/soft float-point selection. Note that we allow building for
> > +# thumb support giving distros the chance to enable thumb by setting
> > +# ARM_INSTRUCTION_SET = "thumb"
> > +#
> >  # handled by software
> > -# DEFAULTTUNE_mx6 ?= "cortexa9-neon"
> > +# DEFAULTTUNE_mx6 ?= "cortexa9t-neon"
> >  # handled by hardware
> > -DEFAULTTUNE_mx6 ?= "cortexa9hf-neon"
> > +DEFAULTTUNE_mx6 ?= "cortexa9thf-neon"
> >rpm/cortexa9t2hf_vfp_neon_mx6qdl
> >  # Sub-architecture support
> >  MACHINE_SOCARCH_SUFFIX ?= ""
> > --
> > 1.9.3
> >
> ping

Acked-by: Max Krummenacher <max.oss.09 at gmail.com>

I built core-image-minimal with the patch.

Packages are created with the ARM ISA as expected.

When adding ARM_INSTRUCTION_SET = "thumb" to a recipe the packages are
compiled with thumb and put into tmp/rpm/cortexa9t2hf_vfp_neon or
rpm/cortexa9t2hf_vfp_neon_mx6qdl.

Regards
Max



More information about the meta-freescale mailing list