[meta-freescale] [meta-fsl-arm-extra][PATCH 3/3] apalis-imx6/colibri-imx6: add machine configuration

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Dec 3 10:21:10 PST 2015


On Thu, Dec 3, 2015 at 2:47 PM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
> The Toradex Apalis iMX6 and Colibri iMX6 computer modules are based on i.MX 6.
>
> The Apalis iMX6 is a member of the pincompatible Apalis family while
> the Colibri iMX6 belongs to the Colibri family.
>
> They feature on module RAM and EMMC, Ethernet PHY, Resistive Touch
> Controller and Audio Codec.
>
> For additional specifications please visit:
> https://www.toradex.com/computer-on-modules/apalis-arm-family/freescale-imx-6
> https://www.toradex.com/computer-on-modules/colibri-arm-family/freescale-imx6

Please split this on two commits.

>
> Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
> ---
>  conf/machine/apalis-imx6.conf  | 29 +++++++++++++++++++++++++++++
>  conf/machine/colibri-imx6.conf | 22 ++++++++++++++++++++++
>  2 files changed, 51 insertions(+)
>  create mode 100644 conf/machine/apalis-imx6.conf
>  create mode 100644 conf/machine/colibri-imx6.conf
>
> diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf
> new file mode 100644
> index 0000000..5fa405e
> --- /dev/null
> +++ b/conf/machine/apalis-imx6.conf
> @@ -0,0 +1,29 @@
> +#@TYPE: Machine
> +#@NAME: Toradex Apalis iMX6Q/D
> +#@SOC: i.MX6
> +#@DESCRIPTION: Machine configuration for Toradex Apalis iMX6 SOM
> +#@MAINTAINER: Max Krummenacher <max.krummenacher at toradex.com>
> +
> +include conf/machine/include/imx-base.inc
> +include conf/machine/include/tune-cortexa9.inc
> +
> +SOC_FAMILY = "mx6:mx6q"
> +
> +PREFERRED_PROVIDER_virtual/kernel = "linux-toradex"
> +KERNEL_DEVICETREE = "imx6q-apalis-eval.dtb imx6q-apalis_v1_0-eval.dtb \
> +                     imx6q-apalis-ixora.dtb imx6q-apalis_v1_0-ixora.dtb"
> +KERNEL_IMAGETYPE = "uImage"
> +
> +PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
> +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex"
> +# Modules in commercial and industrial temperature range have different RAM.
> +# Using apalis_imx6_it_defconfig builds an U-Boot working for both temperature
> +# ranges, however, on commercially rated modules the RAM bandwidth is 5-10%
> +# higher when using the optimized settings from apalis_imx6_defconfig.
> +# The following builds both binaries, but uses the IT one in an SD image.
> +UBOOT_CONFIG = "com it"
> +UBOOT_MACHINE = "apalis_imx6_defconfig apalis_imx6_it_defconfig"

You ought to use UBOOT_CONFIG[com] ... and it counterparts. See other
machies for how to use it.


-- 
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