[meta-freescale] [meta-fsl-arm-extra][PATCH v4 5/5] cgtqmx6: Update Congatec-QMX6 machine configuration

Alex de Cabo alejandro.de-cabo-garcia at congatec.com
Wed Sep 24 05:51:47 PDT 2014


Update config file:

* U-boot provider: u-boot-qmx6
  - UBOOT_CONFIG variable defines the Congatec-QMX6 module
    variant to build. For testing purposes by default is set
    to: "pn016103"
  - This variable must be set in the conf/local.conf file
    according with the module partnumber. The possible values
    are:

    pn016100, pn016101, pn016102, pn016103, pn016104, pn016105,
    pn016106, pn016110, pn016111, pn016112, pn016113

    If a PN016101 is the target module, the line added to the
    conf/local.conf would be like the following:

    UBOOT_CONFIG = "pn016101"

* Linux kernel provider: linux-qmx6
  - Config file is the same for all the variants, due to that
    the SOC_FAMILY variables includes all SOCs to include the
    firmware of all machines.

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia at congatec.com>
---
 conf/machine/cgtqmx6.conf | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 467379a..b9609ed 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -6,17 +6,30 @@
 include conf/machine/include/imx-base.inc
 include conf/machine/include/tune-cortexa9.inc
 
-SOC_FAMILY = "mx6:mx6q"
+SOC_FAMILY = "mx6:mx6dl:mx6q"
 
-# Use u-boot imx
-UBOOT_SUFFIX = "bin"
-UBOOT_PADDING = "2"
-PREFERRED_PROVIDER_u-boot = "u-boot-imx"
-PREFERRED_VERSION_u-boot-imx = "2009.08"
+# Use u-boot QMX6
+PREFERRED_PROVIDER_u-boot = "u-boot-congatec"
 
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-congatec"
+UBOOT_CONFIG ??= "pn016103"
+UBOOT_CONFIG[pn016100] = "cgt_qmx6_pn016100"
+UBOOT_CONFIG[pn016101] = "cgt_qmx6_pn016101"
+UBOOT_CONFIG[pn016102] = "cgt_qmx6_pn016102"
+UBOOT_CONFIG[pn016103] = "cgt_qmx6_pn016103"
+UBOOT_CONFIG[pn016104] = "cgt_qmx6_pn016104"
+UBOOT_CONFIG[pn016105] = "cgt_qmx6_pn016105"
+UBOOT_CONFIG[pn016106] = "cgt_qmx6_pn016106"
+UBOOT_CONFIG[pn016110] = "cgt_qmx6_pn016110"
+UBOOT_CONFIG[pn016111] = "cgt_qmx6_pn016111"
+UBOOT_CONFIG[pn016112] = "cgt_qmx6_pn016112"
+UBOOT_CONFIG[pn016113] = "cgt_qmx6_pn016113"
 
-UBOOT_MACHINE = "cgtqmx6_config"
+UBOOT_MAKE_TARGET = "u-boot.${UBOOT_CONFIG}.imx"
+UBOOT_BINARY = "u-boot.${UBOOT_CONFIG}.imx"
+
+# Use linux kernel QMX6
+PREFERRED_PROVIDER_virtual/kernel = "linux-congatec"
+KERNEL_DEVICETREE = "imx6q-qmx6.dtb imx6dl-qmx6.dtb"
 
 SERIAL_CONSOLE = "115200 ttymxc1"
 
-- 
1.9.1



More information about the meta-freescale mailing list