[meta-freescale] [meta-fsl-arm][PATCH 08/33] imx-base: Add mx7 support to U-Boot, MACHINE filter and DEFAULT_TUNE

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Jul 13 10:08:24 PDT 2015


On Sat, Jul 11, 2015 at 11:46 AM, Lauren Post <lauren.post at freescale.com> wrote:
> Add the mx7 settings for U-boot, MACHINE and DEFAULT_TUNE.
>
> MX7 is a new i.MX SoC Family created with the 3.14.28-7D_alpha release
> and upstreamed with the 3.14.38-6QP_beta release.
>
> i.MX 7Dual is a CortexA7 ARM core so requires different DEFAULT_TUNE
> however it does build with the cortexa9 but not as optimized as it is with
> the cortexa7 toolchain.
>
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
> ---
>  conf/machine/include/imx-base.inc |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
> index f64ba6b..83b771b 100644
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -17,6 +17,7 @@ UBOOT_ENTRYPOINT_mx53  = "0x70008000"
>  UBOOT_ENTRYPOINT_mx6  = "0x10008000"
>  UBOOT_ENTRYPOINT_mx6sl = "0x80008000"
>  UBOOT_ENTRYPOINT_mx6sx = "0x80008000"
> +UBOOT_ENTRYPOINT_mx7 = "0x80008000"
>  UBOOT_ENTRYPOINT_vf = "0x80008000"
>
>  PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
> @@ -40,6 +41,7 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
>  # DEFAULTTUNE_mx6 ?= "cortexa9t-neon"
>  # handled by hardware
>  DEFAULTTUNE_mx6 ?= "cortexa9thf-neon"
> +DEFAULTTUNE_mx7 ?= "cortexa7hf-neon"

Add Thumb as we does for i.MX6; it is supported by the ARM core and
produces smaller and faster code.

>  # Sub-architecture support
>  MACHINE_SOCARCH_SUFFIX ?= ""
> @@ -49,6 +51,7 @@ MACHINE_SOCARCH_SUFFIX_mx6q = "-mx6qdl"
>  MACHINE_SOCARCH_SUFFIX_mx6dl = "-mx6qdl"
>  MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx"
>  MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl"
> +MACHINE_SOCARCH_SUFFIX_mx7 = "-mx7d"

Use -mx7 for now. If any new imx7 in future demands the split we do that than.

>  MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
>  MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list