[meta-freescale] [3rdparty][master][PATCH] linux-congatec: 4.1.15 -> 4.9.11

2018-05-08 Thread Alex de Cabo
Bump from cgt_imx6_4.1.15_2.0.0 to cgt_imx_4.9.11_1.0.0

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 ...mx6-Change-bit-color-depth-and-pix-format.patch |  36 --
 .../linux/linux-congatec-4.1.15/defconfig  | 439 
 .../linux/linux-congatec-4.9.11/defconfig  | 457 +
 recipes-kernel/linux/linux-congatec_4.1.15.bb  |  19 -
 recipes-kernel/linux/linux-congatec_4.9.11.bb  |  16 +
 5 files changed, 473 insertions(+), 494 deletions(-)
 delete mode 100644 
recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
 delete mode 100644 recipes-kernel/linux/linux-congatec-4.1.15/defconfig
 create mode 100755 recipes-kernel/linux/linux-congatec-4.9.11/defconfig
 delete mode 100644 recipes-kernel/linux/linux-congatec_4.1.15.bb
 create mode 100755 recipes-kernel/linux/linux-congatec_4.9.11.bb

diff --git 
a/recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
 
b/recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
deleted file mode 100644
index 181b9a2..000
--- 
a/recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 8a1fbfd7f93b635223525f4932a4d5f31d6735ce Mon Sep 17 00:00:00 2001
-From: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
-Date: Fri, 10 Feb 2017 08:53:23 +0100
-Subject: [PATCH] imx6qdl-qmx6: Change bit color depth and pix format
-
-Change the default color depth and pix format to be suitable
-with the LVDS-to-DVI adaptor present in the Conga-QKIT

- arch/arm/boot/dts/imx6qdl-qmx6.dtsi | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/arch/arm/boot/dts/imx6qdl-qmx6.dtsi 
b/arch/arm/boot/dts/imx6qdl-qmx6.dtsi
-index 759e066..10d27be 100644
 a/arch/arm/boot/dts/imx6qdl-qmx6.dtsi
-+++ b/arch/arm/boot/dts/imx6qdl-qmx6.dtsi
-@@ -330,7 +330,7 @@
-   mxcfb1: fb@0 {
-   compatible = "fsl,mxc_sdc_fb";
-   disp_dev = "ldb";
--  interface_pix_fmt = "RGB666";
-+  interface_pix_fmt = "RGB24";
-   default_bpp = <16>;
-   int_clk = <0>;
-   late_init = <0>;
-@@ -752,7 +752,7 @@
- 
-   lvds-channel@0 {
-   fsl,data-mapping = "spwg";
--  fsl,data-width = <18>;
-+  fsl,data-width = <24>;
-   primary;
-   status = "okay";
- 
--- 
-1.9.1
-
diff --git a/recipes-kernel/linux/linux-congatec-4.1.15/defconfig 
b/recipes-kernel/linux/linux-congatec-4.1.15/defconfig
deleted file mode 100644
index a28cca9..000
--- a/recipes-kernel/linux/linux-congatec-4.1.15/defconfig
+++ /dev/null
@@ -1,439 +0,0 @@
-CONFIG_KERNEL_LZO=y
-CONFIG_SYSVIPC=y
-CONFIG_FHANDLE=y
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_IKCONFIG=y
-CONFIG_IKCONFIG_PROC=y
-CONFIG_LOG_BUF_SHIFT=18
-CONFIG_CGROUPS=y
-CONFIG_RELAY=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_EXPERT=y
-CONFIG_KALLSYMS_ALL=y
-CONFIG_PERF_EVENTS=y
-# CONFIG_SLUB_DEBUG is not set
-# CONFIG_COMPAT_BRK is not set
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_MODVERSIONS=y
-CONFIG_MODULE_SRCVERSION_ALL=y
-# CONFIG_BLK_DEV_BSG is not set
-CONFIG_ARCH_MXC=y
-CONFIG_SOC_IMX50=y
-CONFIG_SOC_IMX53=y
-CONFIG_SOC_IMX6Q=y
-CONFIG_SOC_IMX6SL=y
-CONFIG_SOC_IMX6SX=y
-CONFIG_SOC_IMX6ULL=y
-CONFIG_SOC_IMX7D=y
-CONFIG_SOC_VF610=y
-# CONFIG_SWP_EMULATE is not set
-CONFIG_SMP=y
-CONFIG_HAVE_ARM_ARCH_TIMER=y
-CONFIG_VMSPLIT_2G=y
-CONFIG_PREEMPT=y
-CONFIG_AEABI=y
-CONFIG_HIGHMEM=y
-CONFIG_CMA=y
-CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
-CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
-CONFIG_CPU_FREQ_GOV_POWERSAVE=y
-CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
-CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
-CONFIG_ARM_IMX6Q_CPUFREQ=y
-CONFIG_ARM_IMX7D_CPUFREQ=y
-CONFIG_CPU_IDLE=y
-CONFIG_VFP=y
-CONFIG_NEON=y
-CONFIG_BINFMT_MISC=m
-CONFIG_PM_DEBUG=y
-CONFIG_PM_TEST_SUSPEND=y
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
-# CONFIG_INET_LRO is not set
-CONFIG_IPV6=y
-CONFIG_VLAN_8021Q=y
-CONFIG_LLC2=y
-CONFIG_CAN=y
-CONFIG_CAN_FLEXCAN=y
-CONFIG_CAN_M_CAN=y
-CONFIG_BT=y
-CONFIG_BT_RFCOMM=y
-CONFIG_BT_RFCOMM_TTY=y
-CONFIG_BT_BNEP=y
-CONFIG_BT_BNEP_MC_FILTER=y
-CONFIG_BT_BNEP_PROTO_FILTER=y
-CONFIG_BT_HIDP=y
-CONFIG_BT_HCIBTUSB=y
-CONFIG_BT_HCIUART=y
-CONFIG_BT_HCIUART_BCSP=y
-CONFIG_BT_HCIUART_ATH3K=y
-CONFIG_BT_HCIBCM203X=y
-CONFIG_BT_ATH3K=y
-CONFIG_CFG80211=y
-CONFIG_MAC80211=y
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-# CONFIG_STANDALONE is not set
-CONFIG_DMA_

[meta-freescale] [3rdparty][master][PATCH] linux-congatec: Bump kernel to 4.1.15_2.0.0

2017-03-20 Thread Alex de Cabo
Kernel based on NXP 4.1.15_2.0.0_ga

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 ...mx6-Change-bit-color-depth-and-pix-format.patch | 36 +
 .../Fix-the-compile-issue-under-gcc6.patch | 92 --
 .../linux/linux-congatec-4.1.15/defconfig  | 11 +--
 .../gpu-viv_gcc6_indent_warning_error_fix.patch| 30 ---
 recipes-kernel/linux/linux-congatec_4.1.15.bb  |  9 +--
 5 files changed, 46 insertions(+), 132 deletions(-)
 create mode 100644 
recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
 delete mode 100644 
recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
 delete mode 100644 
recipes-kernel/linux/linux-congatec-4.1.15/gpu-viv_gcc6_indent_warning_error_fix.patch

diff --git 
a/recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
 
b/recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
new file mode 100644
index 000..181b9a2
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-congatec-4.1.15/0001-imx6qdl-qmx6-Change-bit-color-depth-and-pix-format.patch
@@ -0,0 +1,36 @@
+From 8a1fbfd7f93b635223525f4932a4d5f31d6735ce Mon Sep 17 00:00:00 2001
+From: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
+Date: Fri, 10 Feb 2017 08:53:23 +0100
+Subject: [PATCH] imx6qdl-qmx6: Change bit color depth and pix format
+
+Change the default color depth and pix format to be suitable
+with the LVDS-to-DVI adaptor present in the Conga-QKIT
+---
+ arch/arm/boot/dts/imx6qdl-qmx6.dtsi | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/boot/dts/imx6qdl-qmx6.dtsi 
b/arch/arm/boot/dts/imx6qdl-qmx6.dtsi
+index 759e066..10d27be 100644
+--- a/arch/arm/boot/dts/imx6qdl-qmx6.dtsi
 b/arch/arm/boot/dts/imx6qdl-qmx6.dtsi
+@@ -330,7 +330,7 @@
+   mxcfb1: fb@0 {
+   compatible = "fsl,mxc_sdc_fb";
+   disp_dev = "ldb";
+-  interface_pix_fmt = "RGB666";
++  interface_pix_fmt = "RGB24";
+   default_bpp = <16>;
+   int_clk = <0>;
+   late_init = <0>;
+@@ -752,7 +752,7 @@
+ 
+   lvds-channel@0 {
+   fsl,data-mapping = "spwg";
+-  fsl,data-width = <18>;
++  fsl,data-width = <24>;
+   primary;
+   status = "okay";
+ 
+-- 
+1.9.1
+
diff --git 
a/recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
 
b/recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
deleted file mode 100644
index 3d080b6..000
--- 
a/recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-From 5d39bd421fc093e2c852316080538cef85a9e1a0 Mon Sep 17 00:00:00 2001
-From: yocto <yo...@yocto.org>
-Date: Thu, 2 Jun 2016 00:18:33 -0500
-Subject: [PATCH] Fix the compile issue under gcc6
-
-Fix the following build error:
-| .../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: 
No such file or directory
-| #include gcc_header(__GNUC__)
-
-Signed-off-by: Zhenhua Luo <zhenhua@nxp.com>
-
-Upstream-Status: Pending

- include/linux/compiler-gcc6.h | 66 +++
- 1 file changed, 66 insertions(+)
- create mode 100644 include/linux/compiler-gcc6.h
-
-diff --git a/include/linux/compiler-gcc6.h b/include/linux/compiler-gcc6.h
-new file mode 100644
-index 000..cdd1cc2
 /dev/null
-+++ b/include/linux/compiler-gcc6.h
-@@ -0,0 +1,66 @@
-+#ifndef __LINUX_COMPILER_H
-+#error "Please don't include  directly, include 
 instead."
-+#endif
-+
-+#define __used__attribute__((__used__))
-+#define __must_check  __attribute__((warn_unused_result))
-+#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
-+
-+/* Mark functions as cold. gcc will assume any path leading to a call
-+   to them will be unlikely.  This means a lot of manual unlikely()s
-+   are unnecessary now for any paths leading to the usual suspects
-+   like BUG(), printk(), panic() etc. [but let's keep them for now for
-+   older compilers]
-+
-+   Early snapshots of gcc 4.3 don't support this and we can't detect this
-+   in the preprocessor, but we can live with this because they're unreleased.
-+   Maketime probing would be overkill here.
-+
-+   gcc also has a __attribute__((__hot__)) to move hot functions into
-+   a special section, but I don't see any sense in this right now in
-+   the kernel context */
-+#define __cold__attribute__((__cold__))
-+
-+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), 
__COUNTER__)
-+
-+#ifndef __CHECKER__
-+# define __compiletime_warning(message) __att

[meta-freescale] [3rdparty][master][PATCH 1/2] u-boot-congatec: Add Congatec 2016.01 implementation

2017-02-16 Thread Alex de Cabo
Add recipe and patches in order to use Uboot 2016.01

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 ...oot-congatec-Change-environment-variables.patch | 42 ++
 .../Fix-the-compile-issue-under-gcc6.patch | 92 ++
 recipes-bsp/u-boot/u-boot-congatec_2016.01.bb  | 24 ++
 3 files changed, 158 insertions(+)
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/0001-uboot-congatec-Change-environment-variables.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/Fix-the-compile-issue-under-gcc6.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-congatec_2016.01.bb

diff --git 
a/recipes-bsp/u-boot/u-boot-congatec/0001-uboot-congatec-Change-environment-variables.patch
 
b/recipes-bsp/u-boot/u-boot-congatec/0001-uboot-congatec-Change-environment-variables.patch
new file mode 100644
index 000..ffc55cd
--- /dev/null
+++ 
b/recipes-bsp/u-boot/u-boot-congatec/0001-uboot-congatec-Change-environment-variables.patch
@@ -0,0 +1,42 @@
+From ad2098dc02be32e15d1dcf0662d38b148157a62c Mon Sep 17 00:00:00 2001
+From: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
+Date: Thu, 16 Feb 2017 09:00:46 +0100
+Subject: [PATCH] uboot-congatec: Change environment variables
+
+Changes the loadfdt, loaduimage and mmcroot variables to be
+Yocto community standard compatible
+---
+ include/configs/cgtqmx6eval.h | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h
+index 34118a2..802c5dc 100644
+--- a/include/configs/cgtqmx6eval.h
 b/include/configs/cgtqmx6eval.h
+@@ -162,7 +162,7 @@
+ 
+ #define CONFIG_MXC_UART_BASE  UART2_BASE
+ #define CONFIG_CONSOLE_DEV"ttymxc1"
+-#define CONFIG_MMCROOT"/dev/mmcblk0p1"
++#define CONFIG_MMCROOT"/dev/mmcblk0p2"
+ #define CONFIG_SYS_MMC_ENV_DEV0
+ 
+ #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
+@@ -202,11 +202,11 @@
+   "video=mxcfb1:dev=${vid_dev1} " \
+   "root=${mmcroot}\0" \
+   "loadbootscript=" \
+-  "ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
++  "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+   "bootscript=echo Running bootscript from mmc ...; " \
+   "source\0" \
+-  "loadimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} 
boot/${image}\0" \
+-  "loadfdt=ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} 
boot/${fdtfile}\0" \
++  "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
++  "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \
+   "mmcboot=echo Booting from mmc ...; " \
+   "run mmcargs; " \
+   "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
+-- 
+1.9.1
+
diff --git 
a/recipes-bsp/u-boot/u-boot-congatec/Fix-the-compile-issue-under-gcc6.patch 
b/recipes-bsp/u-boot/u-boot-congatec/Fix-the-compile-issue-under-gcc6.patch
new file mode 100644
index 000..3d080b6
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-congatec/Fix-the-compile-issue-under-gcc6.patch
@@ -0,0 +1,92 @@
+From 5d39bd421fc093e2c852316080538cef85a9e1a0 Mon Sep 17 00:00:00 2001
+From: yocto <yo...@yocto.org>
+Date: Thu, 2 Jun 2016 00:18:33 -0500
+Subject: [PATCH] Fix the compile issue under gcc6
+
+Fix the following build error:
+| .../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: 
No such file or directory
+| #include gcc_header(__GNUC__)
+
+Signed-off-by: Zhenhua Luo <zhenhua@nxp.com>
+
+Upstream-Status: Pending
+---
+ include/linux/compiler-gcc6.h | 66 +++
+ 1 file changed, 66 insertions(+)
+ create mode 100644 include/linux/compiler-gcc6.h
+
+diff --git a/include/linux/compiler-gcc6.h b/include/linux/compiler-gcc6.h
+new file mode 100644
+index 000..cdd1cc2
+--- /dev/null
 b/include/linux/compiler-gcc6.h
+@@ -0,0 +1,66 @@
++#ifndef __LINUX_COMPILER_H
++#error "Please don't include  directly, include 
 instead."
++#endif
++
++#define __used__attribute__((__used__))
++#define __must_check  __attribute__((warn_unused_result))
++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
++
++/* Mark functions as cold. gcc will assume any path leading to a call
++   to them will be unlikely.  This means a lot of manual unlikely()s
++   are unnecessary now for any paths leading to the usual suspects
++   like BUG(), printk(), panic() etc. [but let's keep them for now for
++   older compilers]
++
++   Early snapshots of gcc 4.3 don't support this and we can't detect this
++   in the preprocessor, but we can live with this because they're unreleased.
++   Maketime probing wo

[meta-freescale] [3rdparty][master][PATCH 2/2] cgtqmx6: Change Uboot provider

2017-02-16 Thread Alex de Cabo
Change Uboot provider to u-boot-congatec, and change kernel
image type to uImage

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 conf/machine/cgtqmx6.conf | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 9411628..ef7c54e 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -9,15 +9,18 @@ MACHINEOVERRIDES =. "mx6:mx6dl:mx6q:"
 include conf/machine/include/imx-base.inc
 include conf/machine/include/tune-cortexa9.inc
 
+PREFERRED_PROVIDER_u-boot = "u-boot-congatec"
 UBOOT_MAKE_TARGET = ""
 UBOOT_SUFFIX = "img"
 SPL_BINARY = "SPL"
-UBOOT_MACHINE = "cgtqmx6eval_defconfig"
+UBOOT_CONFIG ??= "cgtqmx6"
+
+UBOOT_CONFIG[cgtqmx6] = "cgtqmx6eval_defconfig"
 
 # Use linux kernel QMX6
 PREFERRED_PROVIDER_virtual/kernel ??= "linux-congatec"
 KERNEL_DEVICETREE = "imx6q-qmx6.dtb imx6dl-qmx6.dtb"
-KERNEL_IMAGETYPE = "zImage"
+KERNEL_IMAGETYPE = "uImage"
 
 SERIAL_CONSOLE = "115200 ttymxc1"
 
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [3rdparty][master][PATCH 2/2] cgtqmx6: Change default kernel version

2017-02-06 Thread Alex de Cabo
Set preferred kernel version to 4.1.15

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 conf/machine/cgtqmx6.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 9411628..29921a6 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -16,9 +16,12 @@ UBOOT_MACHINE = "cgtqmx6eval_defconfig"
 
 # Use linux kernel QMX6
 PREFERRED_PROVIDER_virtual/kernel ??= "linux-congatec"
+PREFERRED_VERSION_linux-congatec ?= "4.1.15"
 KERNEL_DEVICETREE = "imx6q-qmx6.dtb imx6dl-qmx6.dtb"
 KERNEL_IMAGETYPE = "zImage"
 
 SERIAL_CONSOLE = "115200 ttymxc1"
 
 MACHINE_FEATURES += " pci"
+MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_cgtqmx6 = "1"
+MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE_cgtqmx6 = "0"
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [3rdparty][master][PATCH 1/2] linux-congatec: 3.14-1.0 -> 4.1.15

2017-02-06 Thread Alex de Cabo
Bump from cgt_qmx6_3.14-1.0.x-mx6_1.0.0 to cgt_imx6_4.1.15_1.2.0
including patches to fix building under gcc6 and fix gcc 6.0 indent
warning error in gc_hal_kernel_platform_imx6ql4.c

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 .../Fix-the-compile-issue-under-gcc6.patch |  92 +
 .../linux/linux-congatec-4.1.15/defconfig  | 437 +
 .../gpu-viv_gcc6_indent_warning_error_fix.patch|  30 ++
 recipes-kernel/linux/linux-congatec_4.1.15.bb  |  21 +
 4 files changed, 580 insertions(+)
 create mode 100644 
recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
 create mode 100644 recipes-kernel/linux/linux-congatec-4.1.15/defconfig
 create mode 100644 
recipes-kernel/linux/linux-congatec-4.1.15/gpu-viv_gcc6_indent_warning_error_fix.patch
 create mode 100644 recipes-kernel/linux/linux-congatec_4.1.15.bb

diff --git 
a/recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
 
b/recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
new file mode 100644
index 000..3d080b6
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-congatec-4.1.15/Fix-the-compile-issue-under-gcc6.patch
@@ -0,0 +1,92 @@
+From 5d39bd421fc093e2c852316080538cef85a9e1a0 Mon Sep 17 00:00:00 2001
+From: yocto <yo...@yocto.org>
+Date: Thu, 2 Jun 2016 00:18:33 -0500
+Subject: [PATCH] Fix the compile issue under gcc6
+
+Fix the following build error:
+| .../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: 
No such file or directory
+| #include gcc_header(__GNUC__)
+
+Signed-off-by: Zhenhua Luo <zhenhua@nxp.com>
+
+Upstream-Status: Pending
+---
+ include/linux/compiler-gcc6.h | 66 +++
+ 1 file changed, 66 insertions(+)
+ create mode 100644 include/linux/compiler-gcc6.h
+
+diff --git a/include/linux/compiler-gcc6.h b/include/linux/compiler-gcc6.h
+new file mode 100644
+index 000..cdd1cc2
+--- /dev/null
 b/include/linux/compiler-gcc6.h
+@@ -0,0 +1,66 @@
++#ifndef __LINUX_COMPILER_H
++#error "Please don't include  directly, include 
 instead."
++#endif
++
++#define __used__attribute__((__used__))
++#define __must_check  __attribute__((warn_unused_result))
++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
++
++/* Mark functions as cold. gcc will assume any path leading to a call
++   to them will be unlikely.  This means a lot of manual unlikely()s
++   are unnecessary now for any paths leading to the usual suspects
++   like BUG(), printk(), panic() etc. [but let's keep them for now for
++   older compilers]
++
++   Early snapshots of gcc 4.3 don't support this and we can't detect this
++   in the preprocessor, but we can live with this because they're unreleased.
++   Maketime probing would be overkill here.
++
++   gcc also has a __attribute__((__hot__)) to move hot functions into
++   a special section, but I don't see any sense in this right now in
++   the kernel context */
++#define __cold__attribute__((__cold__))
++
++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), 
__COUNTER__)
++
++#ifndef __CHECKER__
++# define __compiletime_warning(message) __attribute__((warning(message)))
++# define __compiletime_error(message) __attribute__((error(message)))
++#endif /* __CHECKER__ */
++
++/*
++ * Mark a position in code as unreachable.  This can be used to
++ * suppress control flow warnings after asm blocks that transfer
++ * control elsewhere.
++ *
++ * Early snapshots of gcc 4.5 don't support this and we can't detect
++ * this in the preprocessor, but we can live with this because they're
++ * unreleased.  Really, we need to have autoconf for the kernel.
++ */
++#define unreachable() __builtin_unreachable()
++
++/* Mark a function definition as prohibited from being cloned. */
++#define __noclone __attribute__((__noclone__))
++
++/*
++ * Tell the optimizer that something else uses this function or variable.
++ */
++#define __visible __attribute__((externally_visible))
++
++/*
++ * GCC 'asm goto' miscompiles certain code sequences:
++ *
++ *   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
++ *
++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
++ * Fixed in GCC 4.8.2 and later versions.
++ *
++ * (asm goto is automatically volatile - the naming reflects this.)
++ */
++#define asm_volatile_goto(x...)   do { asm goto(x); asm (""); } while (0)
++
++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
++#define __HAVE_BUILTIN_BSWAP32__
++#define __HAVE_BUILTIN_BSWAP64__
++#define __HAVE_BUILTIN_BSWAP16__
++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
+-- 
+2.5.0
+
diff --git a/recipes-kernel/linux/linux-congatec-4.1.15/defconfig 
b/recipes-kernel/linux/linux-congatec-4.1.15/defconfig
new file mode 100644
index 000..01e851b
--- /dev/null
+++ b/recipes-kernel/linux/l

[meta-freescale] [meta-fsl-arm-extra][PATCH][master] 1/3] linux-congatec-3.14.28: Up to 071278e0

2015-12-08 Thread Alex de Cabo
Provide recipe and patches which provide the 3.14.28 kernel version

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 ...0001-ARM-imx6q-drop-unnecessary-semicolon.patch |  35 ++
 ...lk-imx6q-fix-video-divider-for-rev-T0-1.0.patch |  40 ++
 ...Disable-imx6sl-specific-code-when-imx6sl-.patch |  56 +++
 ...sdhc-imx-Fixup-runtime-PM-conditions-duri.patch |  36 ++
 ...et-fec-fix-the-warning-found-by-dma-debug.patch | 100 +
 .../Change-extern-inline-to-static-inline-.patch   |  56 +++
 .../Change_exter_inline_to_static_inline.patch |  56 +++
 ...xport-cache-flush-management-symbols-when.patch |  31 ++
 ...xport_cache_flush_management_symbols_when.patch |  31 ++
 ...LLVMLinux_use_static_inline_in_ARM_ftrace.patch |  49 +++
 .../linux/linux-congatec-3.14.28/defconfig | 417 +
 .../use-static-inline-in-ARM-ftrace-h.patch|  49 +++
 recipes-kernel/linux/linux-congatec_3.14.28.bb |  28 ++
 13 files changed, 984 insertions(+)
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/Change-extern-inline-to-static-inline-.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/Change_exter_inline_to_static_inline.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/Export-cache-flush-management-symbols-when.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/Export_cache_flush_management_symbols_when.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/LLVMLinux_use_static_inline_in_ARM_ftrace.patch
 create mode 100644 recipes-kernel/linux/linux-congatec-3.14.28/defconfig
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/use-static-inline-in-ARM-ftrace-h.patch
 create mode 100644 recipes-kernel/linux/linux-congatec_3.14.28.bb

diff --git 
a/recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
 
b/recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
new file mode 100644
index 000..8d43183
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
@@ -0,0 +1,35 @@
+From 5332a5467624b01d0c166309cd1dceac5f7b9d96 Mon Sep 17 00:00:00 2001
+From: Dmitry Voytik <voyt...@gmail.com>
+Date: Thu, 6 Nov 2014 22:46:20 +0400
+Subject: [PATCH 1/3] ARM: imx6q: drop unnecessary semicolon
+
+commit d2a10a1727b3948019128e83162f22c65859f1fd upstream.
+
+Drop unnecessary semicolon after closing curly bracket.
+
+Signed-off-by: Dmitry Voytik <voyt...@gmail.com>
+Signed-off-by: Shawn Guo <shawn@linaro.org>
+Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
+
+Upstream-Status: Backport [3.14.29]
+
+---
+ arch/arm/mach-imx/clk-imx6q.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
+index f0d8000..a5107ab 100644
+--- a/arch/arm/mach-imx/clk-imx6q.c
 b/arch/arm/mach-imx/clk-imx6q.c
+@@ -149,7 +149,7 @@ static void __init imx6q_clocks_init(struct device_node 
*ccm_node)
+   post_div_table[2].div = 1;
+   video_div_table[1].div = 1;
+   video_div_table[2].div = 1;
+-  };
++  }
+ 
+   clk[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_mux("pll1_bypass_src", base + 
0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
+   clk[IMX6QDL_PLL2_BYPASS_SRC] = imx_clk_mux("pll2_bypass_src", base + 
0x30, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
+-- 
+2.1.4
+
diff --git 
a/recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
 
b/recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
new file mode 100644
index 000..d7b852d
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
@@ -0,0 +1,40 @@
+From 5b9eb0cdaefd7ac8e31c1e1812582e0169ba9722 Mon Sep 17 00:00:00 2001
+From: Gary Bisson <bisson.g...@gmail.com>
+Date: Wed, 3 Dec 2014 15:03:51 -0800
+Subject: [PATCH 2/3] ARM: clk-imx6q: fix video divider for rev T0 1.0
+
+commit 81ef447950bf0955aca46f4a7617d8ce435cf0ce upstream.
+
+The post dividers do not work on i.MX6Q rev T0 1.0 so they must be fixed
+to 1. As

[meta-freescale] [meta-fsl-arm-extra][PATCH][master] 3/3] cgtqmx6: Set default values

2015-12-08 Thread Alex de Cabo
Select as default the 3.14.28 kernel, and 2013.04 due to testing backgrounds.

The alternative 3.14.54-fslc version could be use setting:

PREFERRED_VERSION_linux-congatec = "3.14"

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 conf/machine/cgtqmx6.conf | 36 
 1 file changed, 32 insertions(+), 4 deletions(-)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 6a6385b..af8c062 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -9,15 +9,43 @@ include conf/machine/include/tune-cortexa9.inc
 
 SOC_FAMILY = "mx6:mx6dl:mx6q"
 
+# Use u-boot QMX6
+PREFERRED_PROVIDER_u-boot = "u-boot-congatec"
+
+UBOOT_CONFIG ??= " \
+pn016100 \
+pn016101 \
+pn016102 \
+pn016103 \
+pn016104 \
+pn016105 \
+pn016106 \
+pn016110 \
+pn016111 \
+pn016112 \
+pn016113 \
+"
+
+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_MAKE_TARGET = ""
-UBOOT_SUFFIX = "img"
-SPL_BINARY = "SPL"
-UBOOT_MACHINE = "cgtqmx6eval_defconfig"
+UBOOT_BINARY = "u-boot.${type}.imx"
 
 # Use linux kernel QMX6
 PREFERRED_PROVIDER_virtual/kernel ??= "linux-congatec"
 KERNEL_DEVICETREE = "imx6q-qmx6.dtb imx6dl-qmx6.dtb"
-KERNEL_IMAGETYPE = "zImage"
+KERNEL_IMAGETYPE = "uImage"
+PREFERRED_VERSION_linux-congatec ?= "3.14.28"
 
 SERIAL_CONSOLE = "115200 ttymxc1"
 
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH][master] 2/3] u-boot-congatec-2013.04: Up to 29ea3cb0

2015-12-08 Thread Alex de Cabo
Provide recipe and patches which provide the 2013.04 u-boot version

Signed-off-by: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
---
 ...d-header-file-needed-to-compile-with-gcc5.patch |  84 ++
 .../u-boot/u-boot-congatec/0001-armv7-config.patch |  28 +
 .../0001-kernel-add-support-for-gcc5.patch |  85 +++
 ...mon-main.c-make-show_boot_progress-__weak.patch |  31 ++
 .../u-boot-congatec/0003-board-use-__weak.patch| 121 +
 ...the-gcc-inline-version-instead-of-the-c99.patch |  29 +
 .../build-Fix-out-of-tree-build.patch  |  39 +++
 ...gatec-Change-environment-mmcroot-variable.patch |  29 +
 ...oot-congatec-Change_environment_variables.patch |  46 
 recipes-bsp/u-boot/u-boot-congatec_2013.04.bb  |  32 ++
 10 files changed, 524 insertions(+)
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/0001-add-header-file-needed-to-compile-with-gcc5.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-congatec/0001-armv7-config.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/0001-kernel-add-support-for-gcc5.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/0002-common-main.c-make-show_boot_progress-__weak.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/0003-board-use-__weak.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/0004-inline-use-the-gcc-inline-version-instead-of-the-c99.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/build-Fix-out-of-tree-build.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change-environment-mmcroot-variable.patch
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change_environment_variables.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-congatec_2013.04.bb

diff --git 
a/recipes-bsp/u-boot/u-boot-congatec/0001-add-header-file-needed-to-compile-with-gcc5.patch
 
b/recipes-bsp/u-boot/u-boot-congatec/0001-add-header-file-needed-to-compile-with-gcc5.patch
new file mode 100644
index 000..acea4e1
--- /dev/null
+++ 
b/recipes-bsp/u-boot/u-boot-congatec/0001-add-header-file-needed-to-compile-with-gcc5.patch
@@ -0,0 +1,84 @@
+From c1b3a801c270c2cb3923259943eae0a02cb724e7 Mon Sep 17 00:00:00 2001
+From: Alex de Cabo <alejandro.de-cabo-gar...@congatec.com>
+Date: Mon, 28 Sep 2015 14:14:21 +0200
+Subject: [PATCH] add header file needed to compile with gcc5
+
+---
+ include/linux/compiler-gcc5.h | 65 +++
+ 1 file changed, 65 insertions(+)
+ create mode 100644 include/linux/compiler-gcc5.h
+
+diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
+new file mode 100644
+index 000..c8c5659
+--- /dev/null
 b/include/linux/compiler-gcc5.h
+@@ -0,0 +1,65 @@
++#ifndef __LINUX_COMPILER_H
++#error "Please don't include  directly, include 
 instead."
++#endif
++
++#define __used__attribute__((__used__))
++#define __must_check  __attribute__((warn_unused_result))
++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
++
++/* Mark functions as cold. gcc will assume any path leading to a call
++   to them will be unlikely.  This means a lot of manual unlikely()s
++   are unnecessary now for any paths leading to the usual suspects
++   like BUG(), printk(), panic() etc. [but let's keep them for now for
++   older compilers]
++
++   Early snapshots of gcc 4.3 don't support this and we can't detect this
++   in the preprocessor, but we can live with this because they're unreleased.
++   Maketime probing would be overkill here.
++
++   gcc also has a __attribute__((__hot__)) to move hot functions into
++   a special section, but I don't see any sense in this right now in
++   the kernel context */
++#define __cold__attribute__((__cold__))
++
++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), 
__COUNTER__)
++
++#ifndef __CHECKER__
++# define __compiletime_warning(message) __attribute__((warning(message)))
++# define __compiletime_error(message) __attribute__((error(message)))
++#endif /* __CHECKER__ */
++
++/*
++ * Mark a position in code as unreachable.  This can be used to
++ * suppress control flow warnings after asm blocks that transfer
++ * control elsewhere.
++ *
++ * Early snapshots of gcc 4.5 don't support this and we can't detect
++ * this in the preprocessor, but we can live with this because they're
++ * unreleased.  Really, we need to have autoconf for the kernel.
++ */
++#define unreachable() __builtin_unreachable()
++
++/* Mark a function definition as prohibited from being cloned. */
++#define __noclone __attribute__((__noclone__))
++
++/*
++ * Tell the optimizer that something else uses this function or variable.
++ */
++#define __visible __attribute__((externally_visible))
++
++/*
++ * GCC 'asm goto' miscompiles certain code sequences:
++ *
++ *   http://gcc.gnu.org/bugzilla

[meta-freescale] [meta-fsl-arm-extra][PATCH][master] 1/2] linux-congatec: Remove 3.10.53 files

2015-06-11 Thread Alex de Cabo
Linux kernel 3.10.53 is not longer used.

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 ...6q-fix-video-divider-for-revision-1.0-of-.patch |  35 --
 .../linux/linux-congatec-3.10.53/defconfig | 372 -
 recipes-kernel/linux/linux-congatec_3.10.53.bb |  21 --
 3 files changed, 428 deletions(-)
 delete mode 100644 
recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
 delete mode 100644 recipes-kernel/linux/linux-congatec-3.10.53/defconfig
 delete mode 100644 recipes-kernel/linux/linux-congatec_3.10.53.bb

diff --git 
a/recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
 
b/recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
deleted file mode 100644
index 820ce68..000
--- 
a/recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 0e981452d7130513e796c1c3d7348905c0d00dce Mon Sep 17 00:00:00 2001
-From: Gary Bisson bisson.g...@gmail.com
-Date: Tue, 2 Dec 2014 22:11:14 -0800
-Subject: [PATCH] ARM: clk-imx6q: fix video divider for revision 1.0 of i.MX6q
-
-As post dividers do not work on i.MX6Q revision 1.0 they must be fixed
-to 1. As the table index was wrong, a divider a of 4 could still be
-requested which implied the clock not to be set properly. This is the
-root cause of the HDMI not working at high resolution on T1.0 version of
-the SoC, giving the following error:
-mxc_sdc_fb fb.27: timeout when waiting for flip irq
-
-Upstream-Status: Pending
-
-Signed-off-by: Gary Bisson bisson.g...@gmail.com

- arch/arm/mach-imx/clk-imx6q.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
-index 25734ed..34e1616f 100644
 a/arch/arm/mach-imx/clk-imx6q.c
-+++ b/arch/arm/mach-imx/clk-imx6q.c
-@@ -312,7 +312,7 @@ static void __init imx6q_clocks_init(struct device_node 
*ccm_node)
-   post_div_table[1].div = 1;
-   post_div_table[2].div = 1;
-   video_div_table[1].div = 1;
--  video_div_table[2].div = 1;
-+  video_div_table[3].div = 1;
-   };
- 
-   /*   type   name 
parent_name  base div_mask */
--- 
-2.1.3
-
diff --git a/recipes-kernel/linux/linux-congatec-3.10.53/defconfig 
b/recipes-kernel/linux/linux-congatec-3.10.53/defconfig
deleted file mode 100644
index 6452454..000
--- a/recipes-kernel/linux/linux-congatec-3.10.53/defconfig
+++ /dev/null
@@ -1,372 +0,0 @@
-CONFIG_KERNEL_LZO=y
-CONFIG_SYSVIPC=y
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_IKCONFIG=y
-CONFIG_IKCONFIG_PROC=y
-CONFIG_LOG_BUF_SHIFT=18
-CONFIG_CGROUPS=y
-CONFIG_RELAY=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_EXPERT=y
-CONFIG_PERF_EVENTS=y
-# CONFIG_SLUB_DEBUG is not set
-# CONFIG_COMPAT_BRK is not set
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_MODVERSIONS=y
-CONFIG_MODULE_SRCVERSION_ALL=y
-# CONFIG_BLK_DEV_BSG is not set
-CONFIG_GPIO_PCA953X=y
-CONFIG_ARCH_MXC=y
-CONFIG_MXC_DEBUG_BOARD=y
-CONFIG_MACH_IMX51_DT=y
-CONFIG_MACH_EUKREA_CPUIMX51SD=y
-CONFIG_SOC_IMX53=y
-CONFIG_SOC_IMX6Q=y
-CONFIG_SOC_IMX6SL=y
-CONFIG_SOC_IMX6SX=y
-CONFIG_SOC_VF610=y
-# CONFIG_SWP_EMULATE is not set
-CONFIG_SMP=y
-CONFIG_VMSPLIT_2G=y
-CONFIG_PREEMPT=y
-CONFIG_AEABI=y
-# CONFIG_OABI_COMPAT is not set
-CONFIG_HIGHMEM=y
-CONFIG_CMDLINE=noinitrd console=ttymxc0,115200
-CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
-CONFIG_CPU_FREQ_GOV_POWERSAVE=y
-CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_GOV_ONDEMAND=y
-CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
-CONFIG_ARM_IMX6_CPUFREQ=y
-CONFIG_CPU_IDLE=y
-CONFIG_VFP=y
-CONFIG_NEON=y
-CONFIG_BINFMT_MISC=m
-CONFIG_PM_RUNTIME=y
-CONFIG_PM_DEBUG=y
-CONFIG_PM_TEST_SUSPEND=y
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
-# CONFIG_INET_LRO is not set
-CONFIG_IPV6=y
-CONFIG_NETFILTER=y
-CONFIG_VLAN_8021Q=y
-CONFIG_LLC2=y
-CONFIG_CAN=y
-CONFIG_CAN_FLEXCAN=y
-CONFIG_CAN_M_CAN=y
-CONFIG_CFG80211=y
-CONFIG_CFG80211_WEXT=y
-CONFIG_MAC80211=y
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-# CONFIG_STANDALONE is not set
-CONFIG_CMA=y
-CONFIG_CMA_SIZE_MBYTES=320
-CONFIG_IMX_WEIM=y
-CONFIG_CONNECTOR=y
-CONFIG_MTD=y
-CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_BLOCK=y
-CONFIG_MTD_CFI=y
-CONFIG_MTD_JEDECPROBE=y
-CONFIG_MTD_CFI_INTELEXT=y
-CONFIG_MTD_CFI_AMDSTD=y
-CONFIG_MTD_CFI_STAA=y
-CONFIG_MTD_PHYSMAP_OF=y
-CONFIG_MTD_DATAFLASH=y
-CONFIG_MTD_M25P80=y
-CONFIG_MTD_SST25L=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_GPMI_NAND=y
-CONFIG_MTD_NAND_MXC=y
-CONFIG_MTD_SPI_NOR_BASE=y
-CONFIG_SPI_FSL_QUADSPI=y
-CONFIG_MTD_UBI=y
-CONFIG_BLK_DEV_LOOP=y

[meta-freescale] [meta-fsl-arm-extra][PATCH][master] 2/2] linux-congatec: Upgrade to 3.14.28 branch

2015-06-11 Thread Alex de Cabo
Provides the recipe and files to use the 3.14.28 Linux kernel

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 ...0001-ARM-imx6q-drop-unnecessary-semicolon.patch |  35 ++
 ...lk-imx6q-fix-video-divider-for-rev-T0-1.0.patch |  40 ++
 ...Disable-imx6sl-specific-code-when-imx6sl-.patch |  56 +++
 .../linux/linux-congatec-3.14.28/defconfig | 417 +
 recipes-kernel/linux/linux-congatec_3.14.28.bb |  23 ++
 5 files changed, 571 insertions(+)
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch
 create mode 100644 recipes-kernel/linux/linux-congatec-3.14.28/defconfig
 create mode 100644 recipes-kernel/linux/linux-congatec_3.14.28.bb

diff --git 
a/recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
 
b/recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
new file mode 100644
index 000..8d43183
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-congatec-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch
@@ -0,0 +1,35 @@
+From 5332a5467624b01d0c166309cd1dceac5f7b9d96 Mon Sep 17 00:00:00 2001
+From: Dmitry Voytik voyt...@gmail.com
+Date: Thu, 6 Nov 2014 22:46:20 +0400
+Subject: [PATCH 1/3] ARM: imx6q: drop unnecessary semicolon
+
+commit d2a10a1727b3948019128e83162f22c65859f1fd upstream.
+
+Drop unnecessary semicolon after closing curly bracket.
+
+Signed-off-by: Dmitry Voytik voyt...@gmail.com
+Signed-off-by: Shawn Guo shawn@linaro.org
+Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
+
+Upstream-Status: Backport [3.14.29]
+
+---
+ arch/arm/mach-imx/clk-imx6q.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
+index f0d8000..a5107ab 100644
+--- a/arch/arm/mach-imx/clk-imx6q.c
 b/arch/arm/mach-imx/clk-imx6q.c
+@@ -149,7 +149,7 @@ static void __init imx6q_clocks_init(struct device_node 
*ccm_node)
+   post_div_table[2].div = 1;
+   video_div_table[1].div = 1;
+   video_div_table[2].div = 1;
+-  };
++  }
+ 
+   clk[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_mux(pll1_bypass_src, base + 
0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
+   clk[IMX6QDL_PLL2_BYPASS_SRC] = imx_clk_mux(pll2_bypass_src, base + 
0x30, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
+-- 
+2.1.4
+
diff --git 
a/recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
 
b/recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
new file mode 100644
index 000..d7b852d
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-congatec-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
@@ -0,0 +1,40 @@
+From 5b9eb0cdaefd7ac8e31c1e1812582e0169ba9722 Mon Sep 17 00:00:00 2001
+From: Gary Bisson bisson.g...@gmail.com
+Date: Wed, 3 Dec 2014 15:03:51 -0800
+Subject: [PATCH 2/3] ARM: clk-imx6q: fix video divider for rev T0 1.0
+
+commit 81ef447950bf0955aca46f4a7617d8ce435cf0ce upstream.
+
+The post dividers do not work on i.MX6Q rev T0 1.0 so they must be fixed
+to 1. As the table index was wrong, a divider a of 4 could still be
+requested which implied the clock not to be set properly. This is the
+root cause of the HDMI not working at high resolution on rev T0 1.0 of
+the SoC.
+
+Signed-off-by: Gary Bisson bisson.g...@gmail.com
+Cc: sta...@vger.kernel.org
+Signed-off-by: Shawn Guo shawn@linaro.org
+Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
+
+Upstream-Status: Backport [3.14.29]
+
+---
+ arch/arm/mach-imx/clk-imx6q.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
+index a5107ab..cf060a9 100644
+--- a/arch/arm/mach-imx/clk-imx6q.c
 b/arch/arm/mach-imx/clk-imx6q.c
+@@ -148,7 +148,7 @@ static void __init imx6q_clocks_init(struct device_node 
*ccm_node)
+   post_div_table[1].div = 1;
+   post_div_table[2].div = 1;
+   video_div_table[1].div = 1;
+-  video_div_table[2].div = 1;
++  video_div_table[3].div = 1;
+   }
+ 
+   clk[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_mux(pll1_bypass_src, base + 
0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
+-- 
+2.1.4
+
diff --git 
a/recipes-kernel/linux/linux-congatec-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch
 
b/recipes-kernel/linux/linux-congatec-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch
new file mode 100644
index 000..0743099
--- /dev/null
+++ 
b

[meta-freescale] [PATCH] linux-congatec: Update kernel to 3.10.53-1.1.1

2015-04-14 Thread Alex de Cabo
---
 recipes-kernel/linux/linux-congatec_3.10.53.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-kernel/linux/linux-congatec_3.10.53.bb 
b/recipes-kernel/linux/linux-congatec_3.10.53.bb
index c9fd7e6..19cf9b8 100644
--- a/recipes-kernel/linux/linux-congatec_3.10.53.bb
+++ b/recipes-kernel/linux/linux-congatec_3.10.53.bb
@@ -7,15 +7,15 @@ require recipes-kernel/linux/linux-dtb.inc
 
 DEPENDS += lzop-native bc-native
 
-SRCBRANCH = cgt_imx_3.10.53_1.1.0
+SRCBRANCH = cgt_imx_3.10.53_1.1.1
 
 SRC_URI = 
git://git.congatec.com/arm/qmx6_kernel.git;protocol=http;branch=${SRCBRANCH} \
file://defconfig \
   
file://0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch \
 
 
-SRCREV = fd765beef6df1462f22faccd7b034c654056f822
-LOCALVERSION = -1.1.0_qmx6
+SRCREV = 9f56bf91efd1e1b286a09264a34da1b6abb58959
+LOCALVERSION = -1.1.1_qmx6
 
 
 COMPATIBLE_MACHINE = (cgtqmx6)
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 1/2] linux-congatec: Update to version 3.10.53

2015-02-09 Thread Alex de Cabo
Update the linux-congatec to the cgt_imx_3.10.53_1.1.0 branch
---
 ...6q-fix-video-divider-for-revision-1.0-of-.patch |  35 ++
 .../linux/linux-congatec-3.10.53/defconfig | 372 +
 recipes-kernel/linux/linux-congatec_3.10.53.bb |  21 ++
 3 files changed, 428 insertions(+)
 create mode 100644 
recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
 create mode 100644 recipes-kernel/linux/linux-congatec-3.10.53/defconfig
 create mode 100644 recipes-kernel/linux/linux-congatec_3.10.53.bb

diff --git 
a/recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
 
b/recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
new file mode 100644
index 000..820ce68
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-congatec-3.10.53/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch
@@ -0,0 +1,35 @@
+From 0e981452d7130513e796c1c3d7348905c0d00dce Mon Sep 17 00:00:00 2001
+From: Gary Bisson bisson.g...@gmail.com
+Date: Tue, 2 Dec 2014 22:11:14 -0800
+Subject: [PATCH] ARM: clk-imx6q: fix video divider for revision 1.0 of i.MX6q
+
+As post dividers do not work on i.MX6Q revision 1.0 they must be fixed
+to 1. As the table index was wrong, a divider a of 4 could still be
+requested which implied the clock not to be set properly. This is the
+root cause of the HDMI not working at high resolution on T1.0 version of
+the SoC, giving the following error:
+mxc_sdc_fb fb.27: timeout when waiting for flip irq
+
+Upstream-Status: Pending
+
+Signed-off-by: Gary Bisson bisson.g...@gmail.com
+---
+ arch/arm/mach-imx/clk-imx6q.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
+index 25734ed..34e1616f 100644
+--- a/arch/arm/mach-imx/clk-imx6q.c
 b/arch/arm/mach-imx/clk-imx6q.c
+@@ -312,7 +312,7 @@ static void __init imx6q_clocks_init(struct device_node 
*ccm_node)
+   post_div_table[1].div = 1;
+   post_div_table[2].div = 1;
+   video_div_table[1].div = 1;
+-  video_div_table[2].div = 1;
++  video_div_table[3].div = 1;
+   };
+ 
+   /*   type   name 
parent_name  base div_mask */
+-- 
+2.1.3
+
diff --git a/recipes-kernel/linux/linux-congatec-3.10.53/defconfig 
b/recipes-kernel/linux/linux-congatec-3.10.53/defconfig
new file mode 100644
index 000..6452454
--- /dev/null
+++ b/recipes-kernel/linux/linux-congatec-3.10.53/defconfig
@@ -0,0 +1,372 @@
+CONFIG_KERNEL_LZO=y
+CONFIG_SYSVIPC=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=18
+CONFIG_CGROUPS=y
+CONFIG_RELAY=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
+CONFIG_PERF_EVENTS=y
+# CONFIG_SLUB_DEBUG is not set
+# CONFIG_COMPAT_BRK is not set
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_MODULE_SRCVERSION_ALL=y
+# CONFIG_BLK_DEV_BSG is not set
+CONFIG_GPIO_PCA953X=y
+CONFIG_ARCH_MXC=y
+CONFIG_MXC_DEBUG_BOARD=y
+CONFIG_MACH_IMX51_DT=y
+CONFIG_MACH_EUKREA_CPUIMX51SD=y
+CONFIG_SOC_IMX53=y
+CONFIG_SOC_IMX6Q=y
+CONFIG_SOC_IMX6SL=y
+CONFIG_SOC_IMX6SX=y
+CONFIG_SOC_VF610=y
+# CONFIG_SWP_EMULATE is not set
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_PREEMPT=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_HIGHMEM=y
+CONFIG_CMDLINE=noinitrd console=ttymxc0,115200
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_ARM_IMX6_CPUFREQ=y
+CONFIG_CPU_IDLE=y
+CONFIG_VFP=y
+CONFIG_NEON=y
+CONFIG_BINFMT_MISC=m
+CONFIG_PM_RUNTIME=y
+CONFIG_PM_DEBUG=y
+CONFIG_PM_TEST_SUSPEND=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_IPV6=y
+CONFIG_NETFILTER=y
+CONFIG_VLAN_8021Q=y
+CONFIG_LLC2=y
+CONFIG_CAN=y
+CONFIG_CAN_FLEXCAN=y
+CONFIG_CAN_M_CAN=y
+CONFIG_CFG80211=y
+CONFIG_CFG80211_WEXT=y
+CONFIG_MAC80211=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+# CONFIG_STANDALONE is not set
+CONFIG_CMA=y
+CONFIG_CMA_SIZE_MBYTES=320
+CONFIG_IMX_WEIM=y
+CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_JEDECPROBE=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_GPMI_NAND=y
+CONFIG_MTD_NAND_MXC=y
+CONFIG_MTD_SPI_NOR_BASE=y
+CONFIG_SPI_FSL_QUADSPI=y
+CONFIG_MTD_UBI=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=65536

[meta-freescale] [PATCH 2/2] linux-congatec: Remove old files

2015-02-09 Thread Alex de Cabo
The 3.10.31 branch is not used any more.
---
 .../linux/linux-congatec-3.10.31/defconfig | 372 -
 recipes-kernel/linux/linux-congatec_3.10.31.bb |  19 --
 2 files changed, 391 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-congatec-3.10.31/defconfig
 delete mode 100644 recipes-kernel/linux/linux-congatec_3.10.31.bb

diff --git a/recipes-kernel/linux/linux-congatec-3.10.31/defconfig 
b/recipes-kernel/linux/linux-congatec-3.10.31/defconfig
deleted file mode 100644
index 6452454..000
--- a/recipes-kernel/linux/linux-congatec-3.10.31/defconfig
+++ /dev/null
@@ -1,372 +0,0 @@
-CONFIG_KERNEL_LZO=y
-CONFIG_SYSVIPC=y
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_IKCONFIG=y
-CONFIG_IKCONFIG_PROC=y
-CONFIG_LOG_BUF_SHIFT=18
-CONFIG_CGROUPS=y
-CONFIG_RELAY=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_EXPERT=y
-CONFIG_PERF_EVENTS=y
-# CONFIG_SLUB_DEBUG is not set
-# CONFIG_COMPAT_BRK is not set
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_MODVERSIONS=y
-CONFIG_MODULE_SRCVERSION_ALL=y
-# CONFIG_BLK_DEV_BSG is not set
-CONFIG_GPIO_PCA953X=y
-CONFIG_ARCH_MXC=y
-CONFIG_MXC_DEBUG_BOARD=y
-CONFIG_MACH_IMX51_DT=y
-CONFIG_MACH_EUKREA_CPUIMX51SD=y
-CONFIG_SOC_IMX53=y
-CONFIG_SOC_IMX6Q=y
-CONFIG_SOC_IMX6SL=y
-CONFIG_SOC_IMX6SX=y
-CONFIG_SOC_VF610=y
-# CONFIG_SWP_EMULATE is not set
-CONFIG_SMP=y
-CONFIG_VMSPLIT_2G=y
-CONFIG_PREEMPT=y
-CONFIG_AEABI=y
-# CONFIG_OABI_COMPAT is not set
-CONFIG_HIGHMEM=y
-CONFIG_CMDLINE=noinitrd console=ttymxc0,115200
-CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
-CONFIG_CPU_FREQ_GOV_POWERSAVE=y
-CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_GOV_ONDEMAND=y
-CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
-CONFIG_ARM_IMX6_CPUFREQ=y
-CONFIG_CPU_IDLE=y
-CONFIG_VFP=y
-CONFIG_NEON=y
-CONFIG_BINFMT_MISC=m
-CONFIG_PM_RUNTIME=y
-CONFIG_PM_DEBUG=y
-CONFIG_PM_TEST_SUSPEND=y
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
-# CONFIG_INET_LRO is not set
-CONFIG_IPV6=y
-CONFIG_NETFILTER=y
-CONFIG_VLAN_8021Q=y
-CONFIG_LLC2=y
-CONFIG_CAN=y
-CONFIG_CAN_FLEXCAN=y
-CONFIG_CAN_M_CAN=y
-CONFIG_CFG80211=y
-CONFIG_CFG80211_WEXT=y
-CONFIG_MAC80211=y
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-# CONFIG_STANDALONE is not set
-CONFIG_CMA=y
-CONFIG_CMA_SIZE_MBYTES=320
-CONFIG_IMX_WEIM=y
-CONFIG_CONNECTOR=y
-CONFIG_MTD=y
-CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_BLOCK=y
-CONFIG_MTD_CFI=y
-CONFIG_MTD_JEDECPROBE=y
-CONFIG_MTD_CFI_INTELEXT=y
-CONFIG_MTD_CFI_AMDSTD=y
-CONFIG_MTD_CFI_STAA=y
-CONFIG_MTD_PHYSMAP_OF=y
-CONFIG_MTD_DATAFLASH=y
-CONFIG_MTD_M25P80=y
-CONFIG_MTD_SST25L=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_GPMI_NAND=y
-CONFIG_MTD_NAND_MXC=y
-CONFIG_MTD_SPI_NOR_BASE=y
-CONFIG_SPI_FSL_QUADSPI=y
-CONFIG_MTD_UBI=y
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=65536
-CONFIG_EEPROM_AT24=y
-CONFIG_EEPROM_AT25=y
-# CONFIG_SCSI_PROC_FS is not set
-CONFIG_BLK_DEV_SD=y
-CONFIG_SCSI_MULTI_LUN=y
-CONFIG_SCSI_CONSTANTS=y
-CONFIG_SCSI_LOGGING=y
-CONFIG_SCSI_SCAN_ASYNC=y
-# CONFIG_SCSI_LOWLEVEL is not set
-CONFIG_ATA=y
-CONFIG_SATA_AHCI_PLATFORM=y
-CONFIG_AHCI_IMX=y
-CONFIG_PATA_IMX=y
-CONFIG_NETDEVICES=y
-# CONFIG_NET_VENDOR_BROADCOM is not set
-CONFIG_CS89x0=y
-CONFIG_CS89x0_PLATFORM=y
-# CONFIG_NET_VENDOR_FARADAY is not set
-# CONFIG_NET_VENDOR_INTEL is not set
-# CONFIG_NET_VENDOR_MARVELL is not set
-# CONFIG_NET_VENDOR_MICREL is not set
-# CONFIG_NET_VENDOR_MICROCHIP is not set
-# CONFIG_NET_VENDOR_NATSEMI is not set
-# CONFIG_NET_VENDOR_SEEQ is not set
-CONFIG_SMC91X=y
-CONFIG_SMC911X=y
-CONFIG_SMSC911X=y
-# CONFIG_NET_VENDOR_STMICRO is not set
-CONFIG_ATH_CARDS=y
-CONFIG_ATH6KL=m
-CONFIG_ATH6KL_SDIO=m
-# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
-CONFIG_INPUT_EVDEV=y
-CONFIG_INPUT_EVBUG=m
-CONFIG_KEYBOARD_GPIO=y
-CONFIG_KEYBOARD_SNVS_PWRKEY=y
-CONFIG_KEYBOARD_IMX=y
-CONFIG_MOUSE_PS2=m
-CONFIG_MOUSE_PS2_ELANTECH=y
-CONFIG_INPUT_TOUCHSCREEN=y
-CONFIG_TOUCHSCREEN_EGALAX=y
-CONFIG_TOUCHSCREEN_ELAN=y
-CONFIG_TOUCHSCREEN_MAX11801=y
-CONFIG_TOUCHSCREEN_MC13783=y
-CONFIG_INPUT_MISC=y
-CONFIG_INPUT_MMA8450=y
-CONFIG_INPUT_PWM_BEEPER=y
-CONFIG_INPUT_ISL29023=y
-CONFIG_SERIO_SERPORT=m
-CONFIG_VT_HW_CONSOLE_BINDING=y
-# CONFIG_LEGACY_PTYS is not set
-# CONFIG_DEVKMEM is not set
-CONFIG_SERIAL_IMX=y
-CONFIG_SERIAL_IMX_CONSOLE=y
-CONFIG_SERIAL_FSL_LPUART=y
-CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
-CONFIG_FSL_OTP=y
-CONFIG_MXS_VIIM=y
-# CONFIG_I2C_COMPAT is not set
-CONFIG_I2C_CHARDEV=y
-CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_GPIO=y
-# CONFIG_I2C_HELPER_AUTO is not set
-CONFIG_I2C_ALGOPCF=m
-CONFIG_I2C_ALGOPCA=m
-CONFIG_I2C_IMX=y
-CONFIG_SPI=y
-CONFIG_SPI_IMX=y
-CONFIG_GPIO_SYSFS=y
-CONFIG_POWER_SUPPLY=y
-CONFIG_SABRESD_MAX8903=y
-CONFIG_IMX6_USB_CHARGER=y
-CONFIG_SENSORS_MAX17135=y
-CONFIG_SENSORS_MAG3110=y
-CONFIG_THERMAL=y
-CONFIG_CPU_THERMAL=y
-CONFIG_IMX_THERMAL=y
-CONFIG_DEVICE_THERMAL=y

[meta-freescale] [meta-fsl-arm-extra][PATCH] 3/3] cgtqmx6.conf: Add the qmx6-addons-gpio package

2015-01-28 Thread Alex de Cabo
This patch adds the qmx6-addons-gpio package to the image

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 conf/machine/cgtqmx6.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 7a51d82..6ae72ea 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -36,3 +36,5 @@ KERNEL_IMAGETYPE = uImage
 SERIAL_CONSOLE = 115200 ttymxc1
 
 MACHINE_FEATURES +=  pci
+
+IMAGE_INSTALL_append +=  qmx6-addons-gpio 
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH][master 1/3] linux-congatec: Remove kernel 3.10.17 for Yocto 1.8

2014-12-05 Thread Alex de Cabo
Since the new Yocto release will include GPU drivers
that requieres 3.10.31 kernel, this patch removes
recipes for 3.10.17

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 .../linux/linux-congatec-3.10.17/defconfig | 360 -
 recipes-kernel/linux/linux-congatec_3.10.17.bb |  19 --
 2 files changed, 379 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-congatec-3.10.17/defconfig
 delete mode 100644 recipes-kernel/linux/linux-congatec_3.10.17.bb

diff --git a/recipes-kernel/linux/linux-congatec-3.10.17/defconfig 
b/recipes-kernel/linux/linux-congatec-3.10.17/defconfig
deleted file mode 100644
index e99db5d..000
--- a/recipes-kernel/linux/linux-congatec-3.10.17/defconfig
+++ /dev/null
@@ -1,360 +0,0 @@
-CONFIG_KERNEL_LZO=y
-CONFIG_SYSVIPC=y
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_IKCONFIG=y
-CONFIG_IKCONFIG_PROC=y
-CONFIG_LOG_BUF_SHIFT=18
-CONFIG_CGROUPS=y
-CONFIG_RELAY=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_EXPERT=y
-CONFIG_PERF_EVENTS=y
-# CONFIG_SLUB_DEBUG is not set
-# CONFIG_COMPAT_BRK is not set
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_MODVERSIONS=y
-CONFIG_MODULE_SRCVERSION_ALL=y
-# CONFIG_BLK_DEV_BSG is not set
-CONFIG_GPIO_PCA953X=y
-CONFIG_ARCH_MXC=y
-CONFIG_MXC_DEBUG_BOARD=y
-CONFIG_MACH_IMX51_DT=y
-CONFIG_MACH_EUKREA_CPUIMX51SD=y
-CONFIG_SOC_IMX53=y
-CONFIG_SOC_IMX6Q=y
-CONFIG_SOC_IMX6SL=y
-CONFIG_SOC_VF610=y
-# CONFIG_SWP_EMULATE is not set
-CONFIG_SMP=y
-CONFIG_VMSPLIT_2G=y
-CONFIG_PREEMPT=y
-CONFIG_AEABI=y
-# CONFIG_OABI_COMPAT is not set
-CONFIG_HIGHMEM=y
-CONFIG_CMDLINE=noinitrd console=ttymxc0,115200
-CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
-CONFIG_CPU_FREQ_GOV_POWERSAVE=y
-CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_GOV_ONDEMAND=y
-CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
-CONFIG_ARM_IMX6_CPUFREQ=y
-CONFIG_CPU_IDLE=y
-CONFIG_VFP=y
-CONFIG_NEON=y
-CONFIG_BINFMT_MISC=m
-CONFIG_PM_RUNTIME=y
-CONFIG_PM_DEBUG=y
-CONFIG_PM_TEST_SUSPEND=y
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
-# CONFIG_INET_LRO is not set
-CONFIG_IPV6=y
-CONFIG_NETFILTER=y
-CONFIG_VLAN_8021Q=y
-CONFIG_CAN=y
-CONFIG_CAN_FLEXCAN=y
-CONFIG_CFG80211=y
-CONFIG_CFG80211_WEXT=y
-CONFIG_MAC80211=y
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-# CONFIG_STANDALONE is not set
-CONFIG_CMA=y
-CONFIG_CMA_SIZE_MBYTES=320
-CONFIG_IMX_WEIM=y
-CONFIG_CONNECTOR=y
-CONFIG_MTD=y
-CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_BLOCK=y
-CONFIG_MTD_CFI=y
-CONFIG_MTD_JEDECPROBE=y
-CONFIG_MTD_CFI_INTELEXT=y
-CONFIG_MTD_CFI_AMDSTD=y
-CONFIG_MTD_CFI_STAA=y
-CONFIG_MTD_PHYSMAP_OF=y
-CONFIG_MTD_DATAFLASH=y
-CONFIG_MTD_M25P80=y
-CONFIG_MTD_SST25L=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_GPMI_NAND=y
-CONFIG_MTD_NAND_MXC=y
-CONFIG_MTD_UBI=y
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=65536
-CONFIG_EEPROM_AT24=y
-CONFIG_EEPROM_AT25=y
-# CONFIG_SCSI_PROC_FS is not set
-CONFIG_BLK_DEV_SD=y
-CONFIG_SCSI_MULTI_LUN=y
-CONFIG_SCSI_CONSTANTS=y
-CONFIG_SCSI_LOGGING=y
-CONFIG_SCSI_SCAN_ASYNC=y
-# CONFIG_SCSI_LOWLEVEL is not set
-CONFIG_ATA=y
-CONFIG_SATA_AHCI_PLATFORM=y
-CONFIG_AHCI_IMX=y
-CONFIG_PATA_IMX=y
-CONFIG_NETDEVICES=y
-# CONFIG_NET_VENDOR_BROADCOM is not set
-CONFIG_CS89x0=y
-CONFIG_CS89x0_PLATFORM=y
-# CONFIG_NET_VENDOR_FARADAY is not set
-# CONFIG_NET_VENDOR_INTEL is not set
-# CONFIG_NET_VENDOR_MARVELL is not set
-# CONFIG_NET_VENDOR_MICREL is not set
-# CONFIG_NET_VENDOR_MICROCHIP is not set
-# CONFIG_NET_VENDOR_NATSEMI is not set
-# CONFIG_NET_VENDOR_SEEQ is not set
-CONFIG_SMC91X=y
-CONFIG_SMC911X=y
-CONFIG_SMSC911X=y
-# CONFIG_NET_VENDOR_STMICRO is not set
-CONFIG_ATH_CARDS=y
-CONFIG_ATH6KL=m
-CONFIG_ATH6KL_SDIO=m
-# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
-CONFIG_INPUT_EVDEV=y
-CONFIG_INPUT_EVBUG=m
-CONFIG_KEYBOARD_GPIO=y
-CONFIG_KEYBOARD_IMX=y
-CONFIG_MOUSE_PS2=m
-CONFIG_MOUSE_PS2_ELANTECH=y
-CONFIG_INPUT_TOUCHSCREEN=y
-CONFIG_TOUCHSCREEN_EGALAX=y
-CONFIG_TOUCHSCREEN_ELAN=y
-CONFIG_TOUCHSCREEN_MAX11801=y
-CONFIG_TOUCHSCREEN_MC13783=y
-CONFIG_INPUT_MISC=y
-CONFIG_INPUT_MMA8450=y
-CONFIG_INPUT_ISL29023=y
-CONFIG_SERIO_SERPORT=m
-CONFIG_VT_HW_CONSOLE_BINDING=y
-# CONFIG_LEGACY_PTYS is not set
-# CONFIG_DEVKMEM is not set
-CONFIG_SERIAL_IMX=y
-CONFIG_SERIAL_IMX_CONSOLE=y
-CONFIG_SERIAL_FSL_LPUART=y
-CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
-CONFIG_FSL_OTP=y
-CONFIG_MXS_VIIM=y
-# CONFIG_I2C_COMPAT is not set
-CONFIG_I2C_CHARDEV=y
-CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_GPIO=y
-# CONFIG_I2C_HELPER_AUTO is not set
-CONFIG_I2C_ALGOPCF=m
-CONFIG_I2C_ALGOPCA=m
-CONFIG_I2C_IMX=y
-CONFIG_SPI=y
-CONFIG_SPI_IMX=y
-CONFIG_GPIO_SYSFS=y
-CONFIG_POWER_SUPPLY=y
-CONFIG_SABRESD_MAX8903=y
-CONFIG_IMX6_USB_CHARGER=y
-CONFIG_SENSORS_MAX17135=y
-CONFIG_SENSORS_MAG3110=y
-CONFIG_THERMAL=y
-CONFIG_CPU_THERMAL=y
-CONFIG_IMX_THERMAL=y
-CONFIG_DEVICE_THERMAL=y
-CONFIG_WATCHDOG=y

[meta-freescale] [meta-fsl-arm-extra][PATCH][master 2/3] linux-congatec: Upgrade to cgt_imx_3.10.31_1.1.0_beta2

2014-12-05 Thread Alex de Cabo
Adds support for the 3.10.31_1.1.0_beta2 kernel.

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 .../linux/linux-congatec-3.10.31/defconfig | 372 +
 recipes-kernel/linux/linux-congatec_3.10.31.bb |  19 ++
 2 files changed, 391 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-congatec-3.10.31/defconfig
 create mode 100644 recipes-kernel/linux/linux-congatec_3.10.31.bb

diff --git a/recipes-kernel/linux/linux-congatec-3.10.31/defconfig 
b/recipes-kernel/linux/linux-congatec-3.10.31/defconfig
new file mode 100644
index 000..6452454
--- /dev/null
+++ b/recipes-kernel/linux/linux-congatec-3.10.31/defconfig
@@ -0,0 +1,372 @@
+CONFIG_KERNEL_LZO=y
+CONFIG_SYSVIPC=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=18
+CONFIG_CGROUPS=y
+CONFIG_RELAY=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
+CONFIG_PERF_EVENTS=y
+# CONFIG_SLUB_DEBUG is not set
+# CONFIG_COMPAT_BRK is not set
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_MODULE_SRCVERSION_ALL=y
+# CONFIG_BLK_DEV_BSG is not set
+CONFIG_GPIO_PCA953X=y
+CONFIG_ARCH_MXC=y
+CONFIG_MXC_DEBUG_BOARD=y
+CONFIG_MACH_IMX51_DT=y
+CONFIG_MACH_EUKREA_CPUIMX51SD=y
+CONFIG_SOC_IMX53=y
+CONFIG_SOC_IMX6Q=y
+CONFIG_SOC_IMX6SL=y
+CONFIG_SOC_IMX6SX=y
+CONFIG_SOC_VF610=y
+# CONFIG_SWP_EMULATE is not set
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_PREEMPT=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_HIGHMEM=y
+CONFIG_CMDLINE=noinitrd console=ttymxc0,115200
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_ARM_IMX6_CPUFREQ=y
+CONFIG_CPU_IDLE=y
+CONFIG_VFP=y
+CONFIG_NEON=y
+CONFIG_BINFMT_MISC=m
+CONFIG_PM_RUNTIME=y
+CONFIG_PM_DEBUG=y
+CONFIG_PM_TEST_SUSPEND=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_IPV6=y
+CONFIG_NETFILTER=y
+CONFIG_VLAN_8021Q=y
+CONFIG_LLC2=y
+CONFIG_CAN=y
+CONFIG_CAN_FLEXCAN=y
+CONFIG_CAN_M_CAN=y
+CONFIG_CFG80211=y
+CONFIG_CFG80211_WEXT=y
+CONFIG_MAC80211=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+# CONFIG_STANDALONE is not set
+CONFIG_CMA=y
+CONFIG_CMA_SIZE_MBYTES=320
+CONFIG_IMX_WEIM=y
+CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_JEDECPROBE=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_GPMI_NAND=y
+CONFIG_MTD_NAND_MXC=y
+CONFIG_MTD_SPI_NOR_BASE=y
+CONFIG_SPI_FSL_QUADSPI=y
+CONFIG_MTD_UBI=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=65536
+CONFIG_EEPROM_AT24=y
+CONFIG_EEPROM_AT25=y
+# CONFIG_SCSI_PROC_FS is not set
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_MULTI_LUN=y
+CONFIG_SCSI_CONSTANTS=y
+CONFIG_SCSI_LOGGING=y
+CONFIG_SCSI_SCAN_ASYNC=y
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_IMX=y
+CONFIG_PATA_IMX=y
+CONFIG_NETDEVICES=y
+# CONFIG_NET_VENDOR_BROADCOM is not set
+CONFIG_CS89x0=y
+CONFIG_CS89x0_PLATFORM=y
+# CONFIG_NET_VENDOR_FARADAY is not set
+# CONFIG_NET_VENDOR_INTEL is not set
+# CONFIG_NET_VENDOR_MARVELL is not set
+# CONFIG_NET_VENDOR_MICREL is not set
+# CONFIG_NET_VENDOR_MICROCHIP is not set
+# CONFIG_NET_VENDOR_NATSEMI is not set
+# CONFIG_NET_VENDOR_SEEQ is not set
+CONFIG_SMC91X=y
+CONFIG_SMC911X=y
+CONFIG_SMSC911X=y
+# CONFIG_NET_VENDOR_STMICRO is not set
+CONFIG_ATH_CARDS=y
+CONFIG_ATH6KL=m
+CONFIG_ATH6KL_SDIO=m
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_EVBUG=m
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_SNVS_PWRKEY=y
+CONFIG_KEYBOARD_IMX=y
+CONFIG_MOUSE_PS2=m
+CONFIG_MOUSE_PS2_ELANTECH=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_EGALAX=y
+CONFIG_TOUCHSCREEN_ELAN=y
+CONFIG_TOUCHSCREEN_MAX11801=y
+CONFIG_TOUCHSCREEN_MC13783=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_MMA8450=y
+CONFIG_INPUT_PWM_BEEPER=y
+CONFIG_INPUT_ISL29023=y
+CONFIG_SERIO_SERPORT=m
+CONFIG_VT_HW_CONSOLE_BINDING=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_FSL_OTP=y
+CONFIG_MXS_VIIM=y
+# CONFIG_I2C_COMPAT is not set
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_GPIO=y
+# CONFIG_I2C_HELPER_AUTO is not set
+CONFIG_I2C_ALGOPCF=m
+CONFIG_I2C_ALGOPCA=m
+CONFIG_I2C_IMX=y
+CONFIG_SPI=y
+CONFIG_SPI_IMX=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_SABRESD_MAX8903=y
+CONFIG_IMX6_USB_CHARGER=y
+CONFIG_SENSORS_MAX17135=y
+CONFIG_SENSORS_MAG3110=y
+CONFIG_THERMAL=y

[meta-freescale] [meta-fsl-arm-extra][PATCH] cgtqmx6: set KERNEL_IMAGETYPE to uImage

2014-10-23 Thread Alex de Cabo
Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 conf/machine/cgtqmx6.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 64e7aab..2e08729 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -31,6 +31,7 @@ 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
+KERNEL_IMAGETYPE = uImage
 
 SERIAL_CONSOLE = 115200 ttymxc1
 
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH] cgtqmx6: add myself as maintainer

2014-10-07 Thread Alex de Cabo
Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 conf/machine/cgtqmx6.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index b9609ed..64e7aab 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -2,6 +2,7 @@
 #@NAME: Congatec Qmx6
 #@SOC: i.MX6Q
 #@DESCRIPTION: Machine configuration for Congatec Qmx6 board
+#@MAINTAINER: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
 
 include conf/machine/include/imx-base.inc
 include conf/machine/include/tune-cortexa9.inc
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH] linux-congatec: update SRCREV to 9a3e949

2014-10-07 Thread Alex de Cabo
Includes support for UART3 and UART5.

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 recipes-kernel/linux/linux-congatec_3.10.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-congatec_3.10.17.bb 
b/recipes-kernel/linux/linux-congatec_3.10.17.bb
index f947963..759dbbe 100644
--- a/recipes-kernel/linux/linux-congatec_3.10.17.bb
+++ b/recipes-kernel/linux/linux-congatec_3.10.17.bb
@@ -13,7 +13,7 @@ SRC_URI = 
git://git.congatec.com/arm/qmx6_kernel.git;protocol=http;branch=${SRC
file://defconfig \
 
 
-SRCREV = 9bafbcba67f7bb2a48a5e05998cecb1165aa444f
+SRCREV = 9a3e94917d94b901b674cece0a3576b427a63b12
 LOCALVERSION = -1.0.0_qmx6
 
 COMPATIBLE_MACHINE = (cgtqmx6)
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH v4 1/5] linux-congatec: Update Congatec-QMX6 Linux kernel

2014-09-24 Thread Alex de Cabo
Provides the recipe and defconfig to 3.10.17 Linux kernel

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 .../linux/linux-congatec-3.10.17/defconfig | 360 +
 recipes-kernel/linux/linux-congatec_3.10.17.bb |  19 ++
 2 files changed, 379 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-congatec-3.10.17/defconfig
 create mode 100644 recipes-kernel/linux/linux-congatec_3.10.17.bb

diff --git a/recipes-kernel/linux/linux-congatec-3.10.17/defconfig 
b/recipes-kernel/linux/linux-congatec-3.10.17/defconfig
new file mode 100644
index 000..e99db5d
--- /dev/null
+++ b/recipes-kernel/linux/linux-congatec-3.10.17/defconfig
@@ -0,0 +1,360 @@
+CONFIG_KERNEL_LZO=y
+CONFIG_SYSVIPC=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=18
+CONFIG_CGROUPS=y
+CONFIG_RELAY=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
+CONFIG_PERF_EVENTS=y
+# CONFIG_SLUB_DEBUG is not set
+# CONFIG_COMPAT_BRK is not set
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_MODULE_SRCVERSION_ALL=y
+# CONFIG_BLK_DEV_BSG is not set
+CONFIG_GPIO_PCA953X=y
+CONFIG_ARCH_MXC=y
+CONFIG_MXC_DEBUG_BOARD=y
+CONFIG_MACH_IMX51_DT=y
+CONFIG_MACH_EUKREA_CPUIMX51SD=y
+CONFIG_SOC_IMX53=y
+CONFIG_SOC_IMX6Q=y
+CONFIG_SOC_IMX6SL=y
+CONFIG_SOC_VF610=y
+# CONFIG_SWP_EMULATE is not set
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_PREEMPT=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_HIGHMEM=y
+CONFIG_CMDLINE=noinitrd console=ttymxc0,115200
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_ARM_IMX6_CPUFREQ=y
+CONFIG_CPU_IDLE=y
+CONFIG_VFP=y
+CONFIG_NEON=y
+CONFIG_BINFMT_MISC=m
+CONFIG_PM_RUNTIME=y
+CONFIG_PM_DEBUG=y
+CONFIG_PM_TEST_SUSPEND=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_IPV6=y
+CONFIG_NETFILTER=y
+CONFIG_VLAN_8021Q=y
+CONFIG_CAN=y
+CONFIG_CAN_FLEXCAN=y
+CONFIG_CFG80211=y
+CONFIG_CFG80211_WEXT=y
+CONFIG_MAC80211=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+# CONFIG_STANDALONE is not set
+CONFIG_CMA=y
+CONFIG_CMA_SIZE_MBYTES=320
+CONFIG_IMX_WEIM=y
+CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_JEDECPROBE=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_GPMI_NAND=y
+CONFIG_MTD_NAND_MXC=y
+CONFIG_MTD_UBI=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=65536
+CONFIG_EEPROM_AT24=y
+CONFIG_EEPROM_AT25=y
+# CONFIG_SCSI_PROC_FS is not set
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_MULTI_LUN=y
+CONFIG_SCSI_CONSTANTS=y
+CONFIG_SCSI_LOGGING=y
+CONFIG_SCSI_SCAN_ASYNC=y
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_IMX=y
+CONFIG_PATA_IMX=y
+CONFIG_NETDEVICES=y
+# CONFIG_NET_VENDOR_BROADCOM is not set
+CONFIG_CS89x0=y
+CONFIG_CS89x0_PLATFORM=y
+# CONFIG_NET_VENDOR_FARADAY is not set
+# CONFIG_NET_VENDOR_INTEL is not set
+# CONFIG_NET_VENDOR_MARVELL is not set
+# CONFIG_NET_VENDOR_MICREL is not set
+# CONFIG_NET_VENDOR_MICROCHIP is not set
+# CONFIG_NET_VENDOR_NATSEMI is not set
+# CONFIG_NET_VENDOR_SEEQ is not set
+CONFIG_SMC91X=y
+CONFIG_SMC911X=y
+CONFIG_SMSC911X=y
+# CONFIG_NET_VENDOR_STMICRO is not set
+CONFIG_ATH_CARDS=y
+CONFIG_ATH6KL=m
+CONFIG_ATH6KL_SDIO=m
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_EVBUG=m
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_IMX=y
+CONFIG_MOUSE_PS2=m
+CONFIG_MOUSE_PS2_ELANTECH=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_EGALAX=y
+CONFIG_TOUCHSCREEN_ELAN=y
+CONFIG_TOUCHSCREEN_MAX11801=y
+CONFIG_TOUCHSCREEN_MC13783=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_MMA8450=y
+CONFIG_INPUT_ISL29023=y
+CONFIG_SERIO_SERPORT=m
+CONFIG_VT_HW_CONSOLE_BINDING=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_FSL_OTP=y
+CONFIG_MXS_VIIM=y
+# CONFIG_I2C_COMPAT is not set
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_GPIO=y
+# CONFIG_I2C_HELPER_AUTO is not set
+CONFIG_I2C_ALGOPCF=m
+CONFIG_I2C_ALGOPCA=m
+CONFIG_I2C_IMX=y
+CONFIG_SPI=y
+CONFIG_SPI_IMX=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_SABRESD_MAX8903=y
+CONFIG_IMX6_USB_CHARGER=y
+CONFIG_SENSORS_MAX17135=y
+CONFIG_SENSORS_MAG3110=y
+CONFIG_THERMAL=y
+CONFIG_CPU_THERMAL=y
+CONFIG_IMX_THERMAL=y
+CONFIG_DEVICE_THERMAL=y
+CONFIG_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_MFD_DA9052_I2C=y
+CONFIG_MFD_MC13XXX_SPI=y

[meta-freescale] [meta-fsl-arm-extra][PATCH v4 3/5] u-boot-congatec: Update Congatec-QMX6 bootloader

2014-09-24 Thread Alex de Cabo
Provides the recipe to use 2013.04 U-boot version

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 ...oot-congatec-Change_environment_variables.patch | 46 ++
 recipes-bsp/u-boot/u-boot-congatec_2013.04.bb  | 23 +++
 2 files changed, 69 insertions(+)
 create mode 100644 
recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change_environment_variables.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-congatec_2013.04.bb

diff --git 
a/recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change_environment_variables.patch
 
b/recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change_environment_variables.patch
new file mode 100644
index 000..b93acf7
--- /dev/null
+++ 
b/recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change_environment_variables.patch
@@ -0,0 +1,46 @@
+From 6a87d9cc6bed6956683f7e6305b337a29502b147 Mon Sep 17 00:00:00 2001
+From: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
+Date: Tue, 23 Sep 2014 15:17:56 +0200
+Subject: [PATCH] u-boot-congatec: Change environment variables
+
+Changes the loadfdt, loaduimage and mmcroot variables to be
+Yocto community standard compatible
+---
+ include/configs/cgt_qmx6.h| 4 ++--
+ include/configs/cgt_qmx6_common.h | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/include/configs/cgt_qmx6.h b/include/configs/cgt_qmx6.h
+index c3278e5..e636ce7 100644
+--- a/include/configs/cgt_qmx6.h
 b/include/configs/cgt_qmx6.h
+@@ -20,8 +20,8 @@
+ #define CONFIG_MACH_TYPE  4122
+ #define CONFIG_MXC_UART_BASE  UART2_BASE
+ #define CONFIG_CONSOLE_DEVttymxc1
+-#define CONFIG_MMCROOT/dev/mmcblk0p1
+-#define CONFIG_BOOTFS ext2
++#define CONFIG_MMCROOT/dev/mmcblk0p2
++#define CONFIG_BOOTFS fat
+ 
+ #include cgt_qmx6_common.h
+ #include asm/arch/imx-regs.h
+diff --git a/include/configs/cgt_qmx6_common.h 
b/include/configs/cgt_qmx6_common.h
+index 31a7b7e..b234e46 100644
+--- a/include/configs/cgt_qmx6_common.h
 b/include/configs/cgt_qmx6_common.h
+@@ -170,9 +170,9 @@
+   bootscript=echo Running bootscript from mmc ...;  \
+   source\0 \
+   loaduimage= \
+-  CONFIG_BOOTFS load mmc ${mmcdev}:${mmcpart} ${loadaddr} 
boot/${uimage}\0 \
++  CONFIG_BOOTFS load mmc ${mmcdev}:${mmcpart} ${loadaddr} 
${uimage}\0 \
+   loadfdt= \
+-  CONFIG_BOOTFS load mmc ${mmcdev}:${mmcpart} ${fdt_addr} 
boot/${fdt_file}\0 \
++  CONFIG_BOOTFS load mmc ${mmcdev}:${mmcpart} ${fdt_addr} 
${fdt_file}\0 \
+   mmcboot=echo Booting from mmc ...;  \
+   run mmcargs;  \
+   if test ${boot_fdt} = yes || test ${boot_fdt} = try; then  \
+-- 
+1.9.1
+
diff --git a/recipes-bsp/u-boot/u-boot-congatec_2013.04.bb 
b/recipes-bsp/u-boot/u-boot-congatec_2013.04.bb
new file mode 100644
index 000..4161329
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-congatec_2013.04.bb
@@ -0,0 +1,23 @@
+# Congatec QMX6 u-boot
+
+require recipes-bsp/u-boot/u-boot.inc
+
+LICENSE = GPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=1707d6db1d42237583f50183a5651ecb
+
+
+PROVIDES += u-boot
+
+PV = 2013.04
+
+SRCREV = 6388c474189b42c07bb865dd604c74483da099f3
+SRCBRANCH = cgt_imx_v2013.04_3.10.17_1.0.0
+
+SRC_URI = 
git://git.congatec.com/arm/qmx6_uboot.git;protocol=http;branch=${SRCBRANCH} \
+  file://u-boot-congatec-Change_environment_variables.patch \
+
+
+S = ${WORKDIR}/git
+
+PACKAGE_ARCH = ${MACHINE_ARCH}
+COMPATIBLE_MACHINE = (cgtqmx6)
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH v4 4/5] u-boot-imx: Remove old U-boot files

2014-09-24 Thread Alex de Cabo
U-boot 2009.08 is not longer used by Conga-QMX6, due to that
those files are removed

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 ...Add-uboot-support-for-congatec-qmx6-board.patch | 3932 
 recipes-bsp/u-boot/u-boot-imx_2009.08.bbappend |7 -
 2 files changed, 3939 deletions(-)
 delete mode 100644 
recipes-bsp/u-boot/u-boot-imx/cgtqmx6/0001-Add-uboot-support-for-congatec-qmx6-board.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-imx_2009.08.bbappend

diff --git 
a/recipes-bsp/u-boot/u-boot-imx/cgtqmx6/0001-Add-uboot-support-for-congatec-qmx6-board.patch
 
b/recipes-bsp/u-boot/u-boot-imx/cgtqmx6/0001-Add-uboot-support-for-congatec-qmx6-board.patch
deleted file mode 100644
index c8dceb2..000
--- 
a/recipes-bsp/u-boot/u-boot-imx/cgtqmx6/0001-Add-uboot-support-for-congatec-qmx6-board.patch
+++ /dev/null
@@ -1,3932 +0,0 @@
-From a58f89ba75334edcb1759fa174a4d56afe1b55ce Mon Sep 17 00:00:00 2001
-From: Leo Sartre lsar...@adeneo-embedded.com
-Date: Wed, 29 May 2013 11:03:07 +0200
-Subject: [PATCH] Add support for congatec qmx6 board
-
-Add support for the Congatec Qseven evaluation board, the patch was
-originally written by Congatec Team, some minor changes and cleanup
-were applied to make it work with the new Freescale BSP 4.0.

- Makefile |   10 +
- board/freescale/cgt_qmx6/Makefile|   51 +
- board/freescale/cgt_qmx6/cgt_qmx6.c  | 1726 ++
- board/freescale/cgt_qmx6/config.mk   |7 +
- board/freescale/cgt_qmx6/flash_header.S  |  202 +++
- board/freescale/cgt_qmx6/flash_header_pn016101.S |  202 +++
- board/freescale/cgt_qmx6/flash_header_pn016104.S |  202 +++
- board/freescale/cgt_qmx6/lowlevel_init.S |  167 +++
- board/freescale/cgt_qmx6/u-boot.lds  |   74 +
- common/cmd_mii.c |   17 +
- drivers/mtd/spi/imx_spi_nor_sst.c|   24 +-
- include/asm-arm/mach-types.h |   13 +
- include/configs/cgt_qmx6.h   |  364 +
- include/configs/cgt_qmx6_android.h   |  360 +
- include/configs/cgt_qmx6_mfg.h   |  320 
- localversion-qmx6|1 +
- 16 files changed, 3737 insertions(+), 3 deletions(-)
- create mode 100644 board/freescale/cgt_qmx6/Makefile
- create mode 100644 board/freescale/cgt_qmx6/cgt_qmx6.c
- create mode 100644 board/freescale/cgt_qmx6/config.mk
- create mode 100644 board/freescale/cgt_qmx6/flash_header.S
- create mode 100644 board/freescale/cgt_qmx6/flash_header_pn016101.S
- create mode 100644 board/freescale/cgt_qmx6/flash_header_pn016104.S
- create mode 100644 board/freescale/cgt_qmx6/lowlevel_init.S
- create mode 100644 board/freescale/cgt_qmx6/u-boot.lds
- create mode 100644 include/configs/cgt_qmx6.h
- create mode 100644 include/configs/cgt_qmx6_android.h
- create mode 100644 include/configs/cgt_qmx6_mfg.h
- create mode 100644 localversion-qmx6
-
-diff --git a/Makefile b/Makefile
-index 17c21cd..47e6cbe 100644
 a/Makefile
-+++ b/Makefile
-@@ -3205,6 +3205,15 @@ apollon_config  : unconfig
-   @$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx
-   @echo CONFIG_ONENAND_U_BOOT = y  $(obj)include/config.mk
- 
-+cgt_qmx6_android_config \
-+cgt_qmx6_mfg_config \
-+cgt_qmx6_config   : unconfig
-+  @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 cgt_qmx6 freescale mx6
-+  @if [ ! $(shell sed -n '/^#define CONFIG_QMX6_PN0161/p' 
include/configs/$(@:_config=).h) ] ; then \
-+  echo ERROR: No CONFIG_QMX6_PN0161xx entry found. ; \
-+  echo Please enable product specific configuration in 
configuration file! ; \
-+  fi
-+
- mx23_evk_config : unconfig
-   @$(MKCONFIG) $(@:_config=) arm arm926ejs mx23_evk freescale mx23
- 
-@@ -3838,6 +3847,7 @@ grsim_leon2_config : unconfig
- #
- 
- clean:
-+  @rm -f $(obj)board/freescale/cgt_qmx6/flash_header.S
-   @rm -f $(obj)examples/standalone/82559_eeprom \
-  $(obj)examples/standalone/eepro100_eeprom  \
-  $(obj)examples/standalone/hello_world  \
-diff --git a/board/freescale/cgt_qmx6/Makefile 
b/board/freescale/cgt_qmx6/Makefile
-new file mode 100644
-index 000..fa5e709
 /dev/null
-+++ b/board/freescale/cgt_qmx6/Makefile
-@@ -0,0 +1,51 @@
-+#
-+# (C) Copyright 2011 Freescale Semiconductor, Inc.
-+#
-+# This program is free software; you can redistribute it and/or
-+# modify it under the terms of the GNU General Public License as
-+# published by the Free Software Foundation; either version 2 of
-+# the License, or (at your option) any later version.
-+#
-+# This program is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty

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

2014-09-24 Thread Alex de Cabo
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-gar...@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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH v3 1/4] cgtqmx6: Update Congatec-QMX6 machine configuration

2014-08-21 Thread Alex de Cabo
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.

* The rootfs must be transfered to the first ext3 partiton of
  a micro-SD card (detailed steps are in 'qmx6_readme_yocto_1.6.txt'
  file in section 2. 'Transfer the root file system'
  It can be found in: http://www.congatec.com/products/qseven/conga-qmx6.html
  under the Drivers section. (Login requiered)

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 conf/machine/cgtqmx6.conf | 30 +++---
 1 file changed, 23 insertions(+), 7 deletions(-)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 467379a..ea2f373 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -6,18 +6,34 @@
 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
+# Use u-boot QMX6
 UBOOT_PADDING = 2
-PREFERRED_PROVIDER_u-boot = u-boot-imx
-PREFERRED_VERSION_u-boot-imx = 2009.08
+PREFERRED_PROVIDER_u-boot = u-boot-qmx6
 
-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
+
+#Use linux kernel QMX6
+PREFERRED_PROVIDER_virtual/kernel = linux-qmx6
+KERNEL_DEVICETREE = imx6q-qmx6.dtb imx6dl-qmx6.dtb
 
 SERIAL_CONSOLE = 115200 ttymxc1
 
 MACHINE_FEATURES +=  pci
+
+#Create only tar.bz2 image
+IMAGE_FSTYPES = tar.bz2
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH v3 2/4] cgtqmx6: Update Congatec-QMX6 bootloader support

2014-08-21 Thread Alex de Cabo
Provides the recipe to use 2013.04 U-boot version

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 recipes-bsp/u-boot/u-boot-qmx6_2013.04.bb | 41 +++
 1 file changed, 41 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6_2013.04.bb

diff --git a/recipes-bsp/u-boot/u-boot-qmx6_2013.04.bb 
b/recipes-bsp/u-boot/u-boot-qmx6_2013.04.bb
new file mode 100644
index 000..08d8a27
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-qmx6_2013.04.bb
@@ -0,0 +1,41 @@
+# Congatec QMX6 u-boot
+
+require recipes-bsp/u-boot/u-boot.inc
+
+LICENSE = GPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=1707d6db1d42237583f50183a5651ecb
+
+
+PROVIDES += u-boot
+
+PV = 2013.04
+
+SRCREV = 6388c474189b42c07bb865dd604c74483da099f3
+SRCBRANCH = cgt_imx_v2013.04_3.10.17_1.0.0
+
+SRC_URI = 
git://git.congatec.com/arm/qmx6_uboot.git;protocol=http;branch=${SRCBRANCH} \
+
+
+do_install() {
+   install -d ${D}/boot
+   install -m 0644 ${S}/u-boot.${UBOOT_CONFIG}.imx ${D}/boot
+}
+
+do_deploy() {
+   install ${S}/u-boot.${UBOOT_CONFIG}.imx \
+${DEPLOYDIR}/
+
+   install ${S}/u-boot.${UBOOT_CONFIG}.imx \
+   ${DEPLOYDIR}/u-boot-cgtqmx6.imx
+}
+
+S = ${WORKDIR}/git
+EXTRA_OEMAKE += 'HOSTSTRIP=true'
+
+
+FILES_${PN} = \
+   /boot/u-boot.${UBOOT_CONFIG}.imx \
+
+
+PACKAGE_ARCH = ${MACHINE_ARCH}
+COMPATIBLE_MACHINE = (cgtqmx6)
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH v3 3/4] cgtqmx6: Update Congatec-QMX6 Linux kernel support

2014-08-21 Thread Alex de Cabo
Provides the recipe and defconfig to use 3.10.17 Linux kernel

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 recipes-kernel/linux/linux-qmx6-3.10.17/defconfig | 360 ++
 recipes-kernel/linux/linux-qmx6_3.10.17.bb|  21 ++
 2 files changed, 381 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-qmx6-3.10.17/defconfig
 create mode 100644 recipes-kernel/linux/linux-qmx6_3.10.17.bb

diff --git a/recipes-kernel/linux/linux-qmx6-3.10.17/defconfig 
b/recipes-kernel/linux/linux-qmx6-3.10.17/defconfig
new file mode 100644
index 000..e99db5d
--- /dev/null
+++ b/recipes-kernel/linux/linux-qmx6-3.10.17/defconfig
@@ -0,0 +1,360 @@
+CONFIG_KERNEL_LZO=y
+CONFIG_SYSVIPC=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=18
+CONFIG_CGROUPS=y
+CONFIG_RELAY=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
+CONFIG_PERF_EVENTS=y
+# CONFIG_SLUB_DEBUG is not set
+# CONFIG_COMPAT_BRK is not set
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_MODULE_SRCVERSION_ALL=y
+# CONFIG_BLK_DEV_BSG is not set
+CONFIG_GPIO_PCA953X=y
+CONFIG_ARCH_MXC=y
+CONFIG_MXC_DEBUG_BOARD=y
+CONFIG_MACH_IMX51_DT=y
+CONFIG_MACH_EUKREA_CPUIMX51SD=y
+CONFIG_SOC_IMX53=y
+CONFIG_SOC_IMX6Q=y
+CONFIG_SOC_IMX6SL=y
+CONFIG_SOC_VF610=y
+# CONFIG_SWP_EMULATE is not set
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_PREEMPT=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_HIGHMEM=y
+CONFIG_CMDLINE=noinitrd console=ttymxc0,115200
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_ARM_IMX6_CPUFREQ=y
+CONFIG_CPU_IDLE=y
+CONFIG_VFP=y
+CONFIG_NEON=y
+CONFIG_BINFMT_MISC=m
+CONFIG_PM_RUNTIME=y
+CONFIG_PM_DEBUG=y
+CONFIG_PM_TEST_SUSPEND=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_IPV6=y
+CONFIG_NETFILTER=y
+CONFIG_VLAN_8021Q=y
+CONFIG_CAN=y
+CONFIG_CAN_FLEXCAN=y
+CONFIG_CFG80211=y
+CONFIG_CFG80211_WEXT=y
+CONFIG_MAC80211=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+# CONFIG_STANDALONE is not set
+CONFIG_CMA=y
+CONFIG_CMA_SIZE_MBYTES=320
+CONFIG_IMX_WEIM=y
+CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_JEDECPROBE=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_GPMI_NAND=y
+CONFIG_MTD_NAND_MXC=y
+CONFIG_MTD_UBI=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=65536
+CONFIG_EEPROM_AT24=y
+CONFIG_EEPROM_AT25=y
+# CONFIG_SCSI_PROC_FS is not set
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_MULTI_LUN=y
+CONFIG_SCSI_CONSTANTS=y
+CONFIG_SCSI_LOGGING=y
+CONFIG_SCSI_SCAN_ASYNC=y
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_IMX=y
+CONFIG_PATA_IMX=y
+CONFIG_NETDEVICES=y
+# CONFIG_NET_VENDOR_BROADCOM is not set
+CONFIG_CS89x0=y
+CONFIG_CS89x0_PLATFORM=y
+# CONFIG_NET_VENDOR_FARADAY is not set
+# CONFIG_NET_VENDOR_INTEL is not set
+# CONFIG_NET_VENDOR_MARVELL is not set
+# CONFIG_NET_VENDOR_MICREL is not set
+# CONFIG_NET_VENDOR_MICROCHIP is not set
+# CONFIG_NET_VENDOR_NATSEMI is not set
+# CONFIG_NET_VENDOR_SEEQ is not set
+CONFIG_SMC91X=y
+CONFIG_SMC911X=y
+CONFIG_SMSC911X=y
+# CONFIG_NET_VENDOR_STMICRO is not set
+CONFIG_ATH_CARDS=y
+CONFIG_ATH6KL=m
+CONFIG_ATH6KL_SDIO=m
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_EVBUG=m
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_IMX=y
+CONFIG_MOUSE_PS2=m
+CONFIG_MOUSE_PS2_ELANTECH=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_EGALAX=y
+CONFIG_TOUCHSCREEN_ELAN=y
+CONFIG_TOUCHSCREEN_MAX11801=y
+CONFIG_TOUCHSCREEN_MC13783=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_MMA8450=y
+CONFIG_INPUT_ISL29023=y
+CONFIG_SERIO_SERPORT=m
+CONFIG_VT_HW_CONSOLE_BINDING=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_FSL_OTP=y
+CONFIG_MXS_VIIM=y
+# CONFIG_I2C_COMPAT is not set
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_GPIO=y
+# CONFIG_I2C_HELPER_AUTO is not set
+CONFIG_I2C_ALGOPCF=m
+CONFIG_I2C_ALGOPCA=m
+CONFIG_I2C_IMX=y
+CONFIG_SPI=y
+CONFIG_SPI_IMX=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_SABRESD_MAX8903=y
+CONFIG_IMX6_USB_CHARGER=y
+CONFIG_SENSORS_MAX17135=y
+CONFIG_SENSORS_MAG3110=y
+CONFIG_THERMAL=y
+CONFIG_CPU_THERMAL=y
+CONFIG_IMX_THERMAL=y
+CONFIG_DEVICE_THERMAL=y
+CONFIG_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_MFD_DA9052_I2C=y
+CONFIG_MFD_MC13XXX_SPI=y
+CONFIG_MFD_MC13XXX_I2C=y

[meta-freescale] [meta-fsl-arm-extra][PATCH v2 1/3] cgtqmx6: Update Congatec-QMX6 machine configuration

2014-08-20 Thread Alex de Cabo
Update config file:

* Preferred kernel version: 3.10.17
* Preferred uboot version: 2013.04
* Set build image: tar.bz2
* Append firmware for Solo and DualLite: imx-vpu-imx6d
* Variable PARTNUMBER have to be specified according to the module
partnumber. The possible values are:
PN016100, PN016101, PN016102, PN016103, PN016104, PN016105, PN016106,
PN016110, PN016111, PN016112, PN016113

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 conf/machine/cgtqmx6.conf | 22 +-
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/conf/machine/cgtqmx6.conf b/conf/machine/cgtqmx6.conf
index 467379a..567c4c2 100644
--- a/conf/machine/cgtqmx6.conf
+++ b/conf/machine/cgtqmx6.conf
@@ -8,16 +8,28 @@ include conf/machine/include/tune-cortexa9.inc
 
 SOC_FAMILY = mx6:mx6q
 
-# Use u-boot imx
+# Use u-boot QMX6
 UBOOT_SUFFIX = bin
 UBOOT_PADDING = 2
-PREFERRED_PROVIDER_u-boot = u-boot-imx
-PREFERRED_VERSION_u-boot-imx = 2009.08
+PREFERRED_PROVIDER_u-boot = u-boot-qmx6
+PREFERRED_VERSION_u-boot-qmx6 = 2013.04
 
-PREFERRED_PROVIDER_virtual/kernel ?= linux-congatec
+## Set the partnumber
+PARTNUMBER ?= 
 
-UBOOT_MACHINE = cgtqmx6_config
+#Use linux kernel QMX6
+PREFERRED_PROVIDER_virtual/kernel = linux-qmx6
+
+## Linux kernel 3.10.17
+PREFERRED_VERSION_linux-qmx6 = 3.10.17
+KERNEL_DEVICETREE = imx6q-qmx6.dtb imx6dl-qmx6.dtb
 
 SERIAL_CONSOLE = 115200 ttymxc1
 
 MACHINE_FEATURES +=  pci
+
+#Append the VPU firmware for Solo/DualLite
+MACHINE_FIRMWARE_append =  firmware-imx-vpu-imx6d
+
+#Create only tar.bz2 image
+IMAGE_FSTYPES = tar.bz2
-- 
1.9.1

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [meta-fsl-arm-extra][PATCH v2 2/3] cgtqmx6: Update Congatec-QMX6 bootloader support

2014-08-20 Thread Alex de Cabo
Provides the recipes and patches to use 2009.08 or 2013.04 U-boot
versions.

Signed-off-by: Alex de Cabo alejandro.de-cabo-gar...@congatec.com
---
 recipes-bsp/u-boot/u-boot-qmx6/boot.scr|  3 +
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016100.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016101.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016102.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016103.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016104.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016105.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016106.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016110.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016111.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016112.patch  | 13 
 .../u-boot/u-boot-qmx6/cgtqmx6/PN016113.patch  | 13 
 recipes-bsp/u-boot/u-boot-qmx6_2009.08.bb  | 70 ++
 recipes-bsp/u-boot/u-boot-qmx6_2013.04.bb  | 37 
 14 files changed, 253 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/boot.scr
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016100.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016101.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016102.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016103.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016104.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016105.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016106.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016110.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016111.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016112.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016113.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6_2009.08.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-qmx6_2013.04.bb

diff --git a/recipes-bsp/u-boot/u-boot-qmx6/boot.scr 
b/recipes-bsp/u-boot/u-boot-qmx6/boot.scr
new file mode 100644
index 000..ee06444
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-qmx6/boot.scr
@@ -0,0 +1,3 @@
+set bootargs $bootargs root=/dev/mmcblk0p1 rootwait rw fixrtc ;
+   fsload mmc ${disk}:1 1080 /boot/uImage  bootm 1080 ;
+   echo Error loading kernel image
diff --git a/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016100.patch 
b/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016100.patch
new file mode 100644
index 000..e9c10da
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016100.patch
@@ -0,0 +1,13 @@
+diff --git a/include/configs/cgt_qmx6.h b/include/configs/cgt_qmx6.h
+index aff213b..c7bd4af 100644
+--- a/include/configs/cgt_qmx6.h
 b/include/configs/cgt_qmx6.h
+@@ -37,7 +37,7 @@
+ /* enabling CONFIG_QMX6_PN016104 builds a bootloader for conga-QMX6 module, 
part number 016104, equipped i.MX6 1GHz QuadCore, 2GByte onboard DDR3 memory */
+ /* enabling CONFIG_QMX6_PN016105 builds a bootloader for conga-QMX6 module, 
part number 016105, equipped i.MX6 1GHz QuadCore, 2GByte onboard DDR3 memory */
+ /* enabling CONFIG_QMX6_PN016106 builds a bootloader for conga-QMX6 module, 
part number 016106, equipped i.MX6 1GHz QuadCore, 1GByte onboard DDR3 memory */
+-//#define CONFIG_QMX6_PN016100
++#define CONFIG_QMX6_PN016100
+ //#define CONFIG_QMX6_PN016101
+ //#define CONFIG_QMX6_PN016102
+ //#define CONFIG_QMX6_PN016103
diff --git a/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016101.patch 
b/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016101.patch
new file mode 100644
index 000..e62e017
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016101.patch
@@ -0,0 +1,13 @@
+diff --git a/include/configs/cgt_qmx6.h b/include/configs/cgt_qmx6.h
+index aff213b..d378bf5 100644
+--- a/include/configs/cgt_qmx6.h
 b/include/configs/cgt_qmx6.h
+@@ -38,7 +38,7 @@
+ /* enabling CONFIG_QMX6_PN016105 builds a bootloader for conga-QMX6 module, 
part number 016105, equipped i.MX6 1GHz QuadCore, 2GByte onboard DDR3 memory */
+ /* enabling CONFIG_QMX6_PN016106 builds a bootloader for conga-QMX6 module, 
part number 016106, equipped i.MX6 1GHz QuadCore, 1GByte onboard DDR3 memory */
+ //#define CONFIG_QMX6_PN016100
+-//#define CONFIG_QMX6_PN016101
++#define CONFIG_QMX6_PN016101
+ //#define CONFIG_QMX6_PN016102
+ //#define CONFIG_QMX6_PN016103
+ //#define CONFIG_QMX6_PN016104
diff --git a/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016102.patch 
b/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016102.patch
new file mode 100644
index 000..9677e19
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-qmx6/cgtqmx6/PN016102.patch
@@ -0,0 +1,13 @@
+diff --git a/include/configs/cgt_qmx6.h b/include/configs/cgt_qmx6.h
+index aff213b..6a17fc5 100644
+--- a/include/configs/cgt_qmx6.h
 b/include/configs/cgt_qmx6.h
+@@ -39,7 +39,7 @@
+ /* enabling CONFIG_QMX6_PN016106