[meta-freescale] [meta-fsl-arm-extra][PATCH 1/3] tx6-com: add machine configs

Otavio Salvador otavio.salvador at ossystems.com.br
Fri Oct 2 15:48:25 PDT 2015


On Fri, Oct 2, 2015 at 12:55 PM, Oliver Wendt <OW at karo-electronics.de> wrote:
> The TX6-family COM configs produce, based on their respective enumeration,
> images for the TX6-COM, which are based on the i.MX6 series soc..
>
> This patch and the related kernel and u-boot recipe are valid for the
> following TX6S (i.MX6S), TX6U (i.MX6U) and TX6Q (i.MX6Q):
>
>  MACHINE= |  TX6-COM  | Basic information
> ----------|-----------|---------------------------------------------------
> tx6s-8034 | TX6S-8034 | i.MX6S @ 800 MHz, 256 MiB, NVM: 128 MiB NAND
> tx6s-8035 | TX6S-8035 | i.MX6S @ 800 MHz, 512 MiB, NVM:   4 GiB eMMC
> ----------|-----------|---------------------------------------------------
> tx6u-80x0 | TX6U-8030 | i.MX6U @ 800 MHz, 512 MiB, NVM: 128 MiB NAND
> tx6u-8033 | TX6U-8033 | i.MX6U @ 800 MHz,   1 GiB, NVM:   4 GiB eMMC
> tx6u-81x0 | TX6U-8130 | i.MX6U @ 800 MHz,   1 GiB, NVM: 128 MiB NAND, LVDS
> ----------|-----------|---------------------------------------------------
> tx6q-10x0 | TX6Q-1030 | i.MX6U @   1 GHz,   1 GiB, NVM: 128 MiB NAND
> tx6q-11x0 | TX6Q-1110 | i.MX6U @   1 GHz,   1 GiB, NVM: 128 MiB NAND, LVDS
>
> Signed-off-by: Oliver Wendt <OW at karo-electronics.de>

This commit need to be the last one.

> ---
>  conf/machine/include/tx6-karo-common.inc |   18 ++++++++++++++++++
>  conf/machine/tx6q-10x0.conf              |   13 +++++++++++++
>  conf/machine/tx6q-11x0.conf              |   13 +++++++++++++
>  conf/machine/tx6s-8034.conf              |   13 +++++++++++++
>  conf/machine/tx6s-8035.conf              |   13 +++++++++++++
>  conf/machine/tx6u-8033.conf              |   13 +++++++++++++
>  conf/machine/tx6u-80x0.conf              |   13 +++++++++++++
>  conf/machine/tx6u-81x0.conf              |   13 +++++++++++++
>  8 files changed, 109 insertions(+)
>  create mode 100644 conf/machine/include/tx6-karo-common.inc
>  create mode 100644 conf/machine/tx6q-10x0.conf
>  create mode 100644 conf/machine/tx6q-11x0.conf
>  create mode 100644 conf/machine/tx6s-8034.conf
>  create mode 100644 conf/machine/tx6s-8035.conf
>  create mode 100644 conf/machine/tx6u-8033.conf
>  create mode 100644 conf/machine/tx6u-80x0.conf
>  create mode 100644 conf/machine/tx6u-81x0.conf
>
> diff --git a/conf/machine/include/tx6-karo-common.inc b/conf/machine/include/tx6-karo-common.inc
> new file mode 100644
> index 0000000..e6489c8
> --- /dev/null
> +++ b/conf/machine/include/tx6-karo-common.inc
> @@ -0,0 +1,18 @@
> +# Provides the Ka-Ro TX6 common settings
> +
> +require conf/machine/include/imx-base.inc
> +require conf/machine/include/tune-cortexa9.inc
> +
> +SERIAL_CONSOLE = "115200 ttymxc0"
> +
> +UBOOT_SUFFIX = "bin"
> +UBOOT_MAKE_TARGET = "u-boot.bin"
> +UBOOT_BINARY="u-boot.bin"

It does not use the imx ? Why? I think the defaults in imx-base should
just work, no?

> +PREFERRED_PROVIDER_u-boot = "u-boot-karo"

Also set virtual/bootloader please.

> +PREFERRED_PROVIDER_virtual/kernel = "linux-karo"
> +PREFERRED_VERSION_linux-karo ?= "3.16%"

Preferred version not needed as this is the only version available.

> +MACHINE_FIRMWARE_append_mx6 = " linux-firmware-ath6k"
> +MACHINE_FEATURES += " pci wifi bluetooth"
> +IMAGE_FSTYPES_remove = "sdcard"

Please specify the IMAGE_FSTYPES supported here.

> \ No newline at end of file

End of file, please.

> diff --git a/conf/machine/tx6q-10x0.conf b/conf/machine/tx6q-10x0.conf
> new file mode 100644
> index 0000000..d02fffb
> --- /dev/null
> +++ b/conf/machine/tx6q-10x0.conf
> @@ -0,0 +1,13 @@
> +#@TYPE: Machine
> +#@NAME: Ka-Ro electronics i.MX6Q TX6Q Computer-On-Module
> +#@SOC: i.MX6Q
> +#@DESCRIPTION: Machine configuration for Ka-Ro electronics TX6Q Computer-On-Module
> +#@MAINTAINER: Oliver Wendt <ow at karo-electronics.com>
> +
> +require include/tx6-karo-common.inc
> +
> +SOC_FAMILY = "mx6:mx6q"
> +
> +KERNEL_DEVICETREE = "imx6q-tx6q-10x0.dtb"
> +
> +UBOOT_MACHINE = "tx6q-10x0_config"
> diff --git a/conf/machine/tx6q-11x0.conf b/conf/machine/tx6q-11x0.conf
> new file mode 100644
> index 0000000..a67c07c
> --- /dev/null
> +++ b/conf/machine/tx6q-11x0.conf
> @@ -0,0 +1,13 @@
> +#@TYPE: Machine
> +#@NAME: Ka-Ro electronics i.MX6Q TX6Q Computer-On-Module
> +#@SOC: i.MX6Q
> +#@DESCRIPTION: Machine configuration for Ka-Ro electronics TX6Q Computer-On-Module
> +#@MAINTAINER: Oliver Wendt <ow at karo-electronics.com>
> +
> +require include/tx6-karo-common.inc
> +
> +SOC_FAMILY = "mx6:mx6q"
> +
> +KERNEL_DEVICETREE = "imx6q-tx6q-11x0.dtb"
> +
> +UBOOT_MACHINE = "tx6q-11x0_config"
> diff --git a/conf/machine/tx6s-8034.conf b/conf/machine/tx6s-8034.conf
> new file mode 100644
> index 0000000..90fce6f
> --- /dev/null
> +++ b/conf/machine/tx6s-8034.conf
> @@ -0,0 +1,13 @@
> +#@TYPE: Machine
> +#@NAME: Ka-Ro electronics i.MX6S TX6S Computer-On-Module
> +#@SOC: i.MX6S
> +#@DESCRIPTION: Machine configuration for Ka-Ro electronics TX6S Computer-On-Module
> +#@MAINTAINER: Oliver Wendt <ow at karo-electronics.com>
> +
> +require include/tx6-karo-common.inc
> +
> +SOC_FAMILY = "mx6:mx6dl"
> +
> +KERNEL_DEVICETREE = "imx6dl-tx6s-8034.dtb"
> +
> +UBOOT_MACHINE = "tx6s-8034_config"
> diff --git a/conf/machine/tx6s-8035.conf b/conf/machine/tx6s-8035.conf
> new file mode 100644
> index 0000000..55acc35
> --- /dev/null
> +++ b/conf/machine/tx6s-8035.conf
> @@ -0,0 +1,13 @@
> +#@TYPE: Machine
> +#@NAME: Ka-Ro electronics i.MX6S TX6S Computer-On-Module
> +#@SOC: i.MX6S
> +#@DESCRIPTION: Machine configuration for Ka-Ro electronics TX6S Computer-On-Module
> +#@MAINTAINER: Oliver Wendt <ow at karo-electronics.com>
> +
> +require include/tx6-karo-common.inc
> +
> +SOC_FAMILY = "mx6:mx6dl"
> +
> +KERNEL_DEVICETREE = "imx6dl-tx6s-8035.dtb"
> +
> +UBOOT_MACHINE = "tx6s-80x0_config"
> diff --git a/conf/machine/tx6u-8033.conf b/conf/machine/tx6u-8033.conf
> new file mode 100644
> index 0000000..d8c46d5
> --- /dev/null
> +++ b/conf/machine/tx6u-8033.conf
> @@ -0,0 +1,13 @@
> +#@TYPE: Machine
> +#@NAME: Ka-Ro electronics i.MX6DL TX6DL Computer-On-Module
> +#@SOC: i.MX6DL
> +#@DESCRIPTION: Machine configuration for Ka-Ro electronics TX6DL Computer-On-Module
> +#@MAINTAINER: Oliver Wendt <ow at karo-electronics.com>
> +
> +require include/tx6-karo-common.inc
> +
> +SOC_FAMILY = "mx6:mx6dl"
> +
> +KERNEL_DEVICETREE = "imx6dl-tx6u-8033.dtb"
> +
> +UBOOT_MACHINE = "tx6u-8033_config"
> diff --git a/conf/machine/tx6u-80x0.conf b/conf/machine/tx6u-80x0.conf
> new file mode 100644
> index 0000000..d743c5c
> --- /dev/null
> +++ b/conf/machine/tx6u-80x0.conf
> @@ -0,0 +1,13 @@
> +#@TYPE: Machine
> +#@NAME: Ka-Ro electronics i.MX6DL TX6DL Computer-On-Module
> +#@SOC: i.MX6DL
> +#@DESCRIPTION: Machine configuration for Ka-Ro electronics TX6DL Computer-On-Module
> +#@MAINTAINER: Oliver Wendt <ow at karo-electronics.com>
> +
> +require include/tx6-karo-common.inc
> +
> +SOC_FAMILY = "mx6:mx6dl"
> +
> +KERNEL_DEVICETREE = "imx6dl-tx6u-80xx.dtb"
> +
> +UBOOT_MACHINE = "tx6u-80x0_config"
> diff --git a/conf/machine/tx6u-81x0.conf b/conf/machine/tx6u-81x0.conf
> new file mode 100644
> index 0000000..19a97a5
> --- /dev/null
> +++ b/conf/machine/tx6u-81x0.conf
> @@ -0,0 +1,13 @@
> +#@TYPE: Machine
> +#@NAME: Ka-Ro electronics i.MX6DL TX6DL Computer-On-Module
> +#@SOC: i.MX6DL
> +#@DESCRIPTION: Machine configuration for Ka-Ro electronics TX6DL Computer-On-Module
> +#@MAINTAINER: Oliver Wendt <ow at karo-electronics.com>
> +
> +require include/tx6-karo-common.inc
> +
> +SOC_FAMILY = "mx6:mx6dl"
> +
> +KERNEL_DEVICETREE = "imx6dl-tx6u-81xx.dtb"
> +
> +UBOOT_MACHINE = "tx6u-81x0_config"
> --
> 1.7.10.4
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



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