Skip to contentSkip to conversation

Upgrade to 4.1.15-1.2.0 BSP

PATCH Superseded Lauren Post 2 participants 6 messages Jul 27, 2016 – Jul 28, 2016 Arm i.MX and Layerscape

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Upgrade to 4.1.15-1.2.0 BSP

- Patch for 4.1.15.1.1.1 Kernel Patch release for i.MX 6 Ultra Lite EVK
- Patch for 4.1.15.1.2.0 release for i.MX 7Dual SABRE-SD
- New device tree for i.MX 7D
- Patches to fix build breaks with gcc6 and linux-imx kernel

Changes for v2 - Fix Local version to 1.2.0 in 4.1.15-1.2.0 linux-imx recipe

Lauren Post (4):
linux-imx: Upgrade to 4.1.15-1.1.1 Patch release
linux-imx: Upgrade to 4.1.15-1.2.0 i.MX 7Dual GA release
imx7dsabresd: Add mipi-dsi device tree
linux-imx: patches to file build errors with GCC6

 conf/machine/imx7dsabresd.conf                     |   2 +-
 .../imx/bcmhd_gcc6_indent_warning_error_fix.patch  |  28 ++
 .../linux-imx-4.1.15/imx/gcc6_integrate_fix.patch  | 369 +++++++++++++++++++++
 .../gpu-viv_gcc6_indent_warning_error_fix.patch    |  30 ++
 recipes-kernel/linux/linux-imx_4.1.15.bb           |   9 +-
 5 files changed, 435 insertions(+), 3 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch
 create mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch
 create mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/4 linux-imx: Upgrade to 4.1.15-1.1.1 Patch release

Support for i.MX 6UltraLite for 700Mhz

---
 recipes-kernel/linux/linux-imx_4.1.15.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-imx_4.1.15.bb +2 -2
index ccac488..90e9ed3 100644
@@ -11,8 +11,8 @@ require recipes-kernel/linux/linux-dtb.inc
 DEPENDS += "lzop-native bc-native"
 
 SRCBRANCH = "imx_4.1.15_1.0.0_ga"
-LOCALVERSION = "-1.1.0"
-SRCREV = "a4d2a08f3bfc57ff5d7d1307fb23f52f1e681aca"
+LOCALVERSION = "-1.1.1"
+SRCREV = "d5d7c02d2fb59de6f61bb0962d08baecdf10c169"
 
 DEFAULT_PREFERENCE = "1"
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH v2 2/4 linux-imx: Upgrade to 4.1.15-1.2.0 i.MX 7Dual GA release

In reply to Lauren Post
---
 recipes-kernel/linux/linux-imx_4.1.15.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-imx_4.1.15.bb +2 -2
index 90e9ed3..63dfcd0 100644
@@ -11,8 +11,8 @@ require recipes-kernel/linux/linux-dtb.inc
 DEPENDS += "lzop-native bc-native"
 
 SRCBRANCH = "imx_4.1.15_1.0.0_ga"
-LOCALVERSION = "-1.1.1"
-SRCREV = "d5d7c02d2fb59de6f61bb0962d08baecdf10c169"
+LOCALVERSION = "-1.2.0"
+SRCREV = "77f61547834c4f127b44b13e43c59133a35880dc"
 
 DEFAULT_PREFERENCE = "1"
 
Signature · 1 line
1.9.1
#3 lore raw

Re: [meta-fsl-arm][PATCH v2 2/4] linux-imx: Upgrade to 4.1.15-1.2.0 i.MX 7Dual GA release

Quoted 1 line · Lauren Post

Please add the commit log.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#4 lore raw

PATCH v2 3/4 imx7dsabresd: Add mipi-dsi device tree

In reply to Lauren Post

MLK-12948 ARM: dts: imx7d-sdb: change the hardware reset gpio for mipi dsi

Change the hardware reset gpio to 'GPIO6_IO15' for mipi dsi to allow fec2 and mipi dsi can run at the same time. This needs some hardware rework as follows:
"
1. Replace R631 with 100K resistor;
2. Remove D14, D24;
3. Solder the Cathode of the diode to R471,
you can use BAT54HT1(ONSEMI) or NSR0320MW2T1G(ONSEMI);
4. Solder the wire to the Anode end of the diode;
5. Scrape the solder mask(Green oil) of the MIPI Reset via, then solder the end of the wire to the via.

---
 conf/machine/imx7dsabresd.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/imx7dsabresd.conf +1 -1
index b71bd4a..0bd6735 100644
@@ -12,7 +12,7 @@ MACHINE_FEATURES += " pci wifi bluetooth"
 SOC_FAMILY = "mx7:mx7d"
 
 KERNEL_DEVICETREE = "imx7d-sdb.dtb imx7d-sdb-epdc.dtb imx7d-sdb-gpmi-weim.dtb \
-                     imx7d-sdb-m4.dtb imx7d-sdb-qspi.dtb \
+                     imx7d-sdb-m4.dtb imx7d-sdb-mipi-dsi.dtb imx7d-sdb-qspi.dtb \
                      imx7d-sdb-reva.dtb imx7d-sdb-reva-epdc.dtb imx7d-sdb-reva-gpmi-weim.dtb \
                      imx7d-sdb-reva-hdmi-audio.dtb imx7d-sdb-reva-m4.dtb imx7d-sdb-reva-qspi.dtb \
                      imx7d-sdb-reva-touch.dtb imx7d-sdb-reva-wm8960.dtb"
Signature · 1 line
1.9.1
#5 lore raw

PATCH v2 4/4 linux-imx: patches to file build errors with GCC6

In reply to Lauren Post

These patches fix build breaks caused by the compiler.h and indentation warnings now treated as errors.

All of these patches will be included in next BSP release.

---
 .../imx/bcmhd_gcc6_indent_warning_error_fix.patch  |  28 ++
 .../linux-imx-4.1.15/imx/gcc6_integrate_fix.patch  | 369 +++++++++++++++++++++
 .../gpu-viv_gcc6_indent_warning_error_fix.patch    |  30 ++
 recipes-kernel/linux/linux-imx_4.1.15.bb           |   5 +
 4 files changed, 432 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch
 create mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch
 create mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch
recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch new file +28 -0
new file mode 100644
index 0000000..4946930
@@ -0,0 +1,28 @@
+From 86e5baf037a03464e56ee1edcebb598c43ffb1f6 Mon Sep 17 00:00:00 2001
+From: Lauren Post <[email protected]>
+Date: Wed, 13 Jul 2016 01:37:31 -0500
+Subject: [PATCH] bcmdhd: dhd_sdio: Fix indent for gcc 6.0 error
+
+Upstream-Status: Pending
+
+Signed-off-by: Lauren Post <[email protected]>
+---
+ drivers/net/wireless/bcmdhd/dhd_sdio.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c
+index 8cb8796..09e1f32 100644
+--- a/drivers/net/wireless/bcmdhd/dhd_sdio.c
++++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c
+@@ -8046,7 +8046,7 @@ dhd_bus_devreset(dhd_pub_t *dhdp, uint8 flag)
+ 			} else
+ 				bcmerror = BCME_SDIO_ERROR;
+ 
+-				dhd_os_sdunlock(dhdp);
++			dhd_os_sdunlock(dhdp);
+ 		} else {
+ 			bcmerror = BCME_SDIO_ERROR;
+ 			DHD_INFO(("%s called when dongle is not in reset\n",
+-- 
+1.9.1
+
recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch new file +369 -0

369 lines not on this page · raw message

recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch new file +30 -0
new file mode 100644
index 0000000..b48606c
@@ -0,0 +1,30 @@
+From 8d0142efbfcfe4e3998f748496ceba62890c47f0 Mon Sep 17 00:00:00 2001
+From: Lauren Post <[email protected]>
+Date: Wed, 13 Jul 2016 03:07:23 -0500
+Subject: [PATCH] gpu-viv:  Fix gcc 6.0 indent warning error in gc_hal_kernel_platform_imx6ql4.c
+
+Upstream-Status: Pending
+
+Signed-off-by: Lauren Post <[email protected]>
+---
+ .../linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c  | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
+index e436ada..d98c2f8 100644
+--- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
++++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
+@@ -475,8 +475,8 @@ gckPLATFORM_AdjustParam(
+ 
+     Args->gpu3DMinClock = initgpu3DMinClock;
+ 
+-  if(Args->physSize == 0)
+-    Args->physSize = 0x80000000;
++    if(Args->physSize == 0)
++        Args->physSize = 0x80000000;
+ 
+     return gcvSTATUS_OK;
+ }
+-- 
+1.9.1
+
recipes-kernel/linux/linux-imx_4.1.15.bb +5 -0
index 63dfcd0..8fce40b 100644
@@ -14,6 +14,11 @@ SRCBRANCH = "imx_4.1.15_1.0.0_ga"
 LOCALVERSION = "-1.2.0"
 SRCREV = "77f61547834c4f127b44b13e43c59133a35880dc"
 
+# Add patches for gcc 6 compiler issue
+SRC_URI += "file://gcc6_integrate_fix.patch \
+            file://bcmhd_gcc6_indent_warning_error_fix.patch \
+            file://gpu-viv_gcc6_indent_warning_error_fix.patch"
+
 DEFAULT_PREFERENCE = "1"
 
 COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)"
Signature · 1 line
1.9.1