Skip to contentSkip to conversation

Krogoth backports

PATCH In review Otavio Salvador 2 participants 19 messages Jul 4, 2016 – Jul 5, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

cover Krogoth backports

Those patches are fixes merged after 2.1 release which improves the end user experience and out of box functionality. Please note there is a U-Boot bump which is specially important for i.MX6UL and i.MX7D users.

The patches are in krogoth-next for testing and I intend to merge them in the end of this week (June 8th) if noone says otherwise.

Adrian Dudau (1):
fsl-kernel-localversion: Configure kernel in a separate task

Fabio Estevam (1):
u-boot-fslc: Update to revision 6e4d8c5

Lauren Post (3):
imx-base: Remove XSERVER_DRIVER_mx6ul - default case will work
imx-base: Specific 7d for MACHINE_SOCARCH_SUFFIX
imx-base: Add MACHINE_SOCARCH_FILTER for mx6ul and mx7d

Max Krummenacher (1):
libimxvpuapi: use libdir from cross environment

Otavio Salvador (9):
u-boot-fslc: Update to 2016.05-based fork
u-boot-fslc: Update to revision 158a5196
u-boot-fslc: Bump revision to 3106462
imx-base.inc: Use linux-fslc-imx for i.MX7
imx-base.inc: Use linux-fslc-imx for i.MX6UL fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6
linux-fslc-imx: Disable Vivante GPU support
linux-fslc-imx: Bump to revision 960f493
imx7dsabresd: Fix the boot of a NXP kernel

Tom Hochstein (1):
weston: Fix weston window manager for i.MX 6UltraLite

Zhenhua Luo (1):
asf: correct the branch

 classes/fsl-kernel-localversion.bbclass                           | 3 ++-
 classes/fsl-vivante-kernel-driver-handler.bbclass                 | 4 ++--
 conf/machine/imx7dsabresd.conf                                    | 2 +-
 conf/machine/include/imx-base.inc                                 | 8 +++++---
 openembedded-layer/recipes-kernel/asf/asf_git.bb                  | 2 +-
 ...oot-fslc-mxsboot_2016.03.bb => u-boot-fslc-mxsboot_2016.05.bb} | 6 +++---
 recipes-bsp/u-boot/u-boot-fslc_2016.03.bb                         | 6 ------
 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb                         | 6 ++++++
 recipes-graphics/wayland/weston_%.bbappend                        | 7 +++++++
 recipes-kernel/linux/linux-fslc-imx/defconfig                     | 1 -
 recipes-kernel/linux/linux-fslc-imx_4.1-1.0.x.bb                  | 2 +-
 recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb            | 2 ++
 12 files changed, 30 insertions(+), 19 deletions(-)
 rename recipes-bsp/u-boot/{u-boot-fslc-mxsboot_2016.03.bb => u-boot-fslc-mxsboot_2016.05.bb} (87%)
 delete mode 100644 recipes-bsp/u-boot/u-boot-fslc_2016.03.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/17 u-boot-fslc: Update to 2016.05-based fork

The U-Boot 2016.05 is close to release and it is time to upgrade. This includes following changes on top of upcoming release, which are Yocto Project related:

0fcd279 wandboard: Drop revision specific DeviceTree support 0ab586a mx6sabresd: Enable video interfaces in bootargs 5976978 Revert "embestmx6boards: convert to use config_distro_bootcmd.h" 91f4fa5 iMX6: Change mmcroot to use fixed mmc block index for USDHC 968d872 embestmx6boards: Change default bootenv configuration 3233072 mx6sabresd: Use LDO dtb file until LDO bypass support is added df5f668 mx6slevk: Use LDO dtb file until LDO bypass support is added

The following changes are included here, and queued for U-Boot 2016.07 release:

a858d98 ARM: mx6: Enable MMC and SATA extfs boot support 70f4d22 SPL: Add CONFIG_SPL_ABORT_ON_RAW_IMAGE 5054e50 SPL: Let spl_parse_image_header() return value bf9c724 imx: imx-common: print i.MX 7 SoC names consistently dd6d9db imx: imx7d: fix ahb clock mux 1
24f4bb6 imx: iomux-v3: fix UART input selects 83609b3 ARM: mx6: Enable STDIO deregistering on Novena 0fc4e56 imx: mx6: mx6sl_pins: add GPIO variant for SD1_DAT5 ffae8c1 imx: tools: imximage: fix CLR bit command

---

 ...-boot-fslc-mxsboot_2016.03.bb => u-boot-fslc-mxsboot_2016.05.bb} | 6 +++---
 recipes-bsp/u-boot/u-boot-fslc_2016.03.bb                           | 6 ------
 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb                           | 6 ++++++
 3 files changed, 9 insertions(+), 9 deletions(-)
 rename recipes-bsp/u-boot/{u-boot-fslc-mxsboot_2016.03.bb => u-boot-fslc-mxsboot_2016.05.bb} (87%)
 delete mode 100644 recipes-bsp/u-boot/u-boot-fslc_2016.03.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb
recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb renamed from recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.03.bb +3 -3
similarity index 87%
rename from recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.03.bb
rename to recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb
index 609ce67..f2c227f 100644
@@ -5,10 +5,10 @@ SECTION = "bootloader"
 DEPENDS = "openssl"
 PROVIDES = "u-boot-mxsboot"
 
-PV = "v2016.03+git${SRCPV}"
+PV = "v2016.05+git${SRCPV}"
 
-SRCREV = "1e82446ebd54b50a45dfb0a564a3e6763f309341"
-SRCBRANCH = "2016.03+fslc"
+SRCREV = "0fcd279712bdc2f4860bf9466323eb6874d411ed"
+SRCBRANCH = "2016.05+fslc"
 
 SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
 
recipes-bsp/u-boot/u-boot-fslc_2016.03.bb deleted +0 -6
deleted file mode 100644
index 94b24e9..0000000
@@ -1,6 +0,0 @@
-include u-boot-fslc.inc
-
-PV = "v2016.03+git${SRCPV}"
-
-SRCREV = "1e82446ebd54b50a45dfb0a564a3e6763f309341"
-SRCBRANCH = "2016.03+fslc"
recipes-bsp/u-boot/u-boot-fslc_2016.05.bb new file +6 -0
new file mode 100644
index 0000000..d092f4d
@@ -0,0 +1,6 @@
+include u-boot-fslc.inc
+
+PV = "v2016.05+git${SRCPV}"
+
+SRCREV = "0fcd279712bdc2f4860bf9466323eb6874d411ed"
+SRCBRANCH = "2016.05+fslc"
Signature · 1 line
2.9.0
#2 lore raw

PATCH 2/17 u-boot-fslc: Update to revision 158a5196

In reply to Otavio Salvador

This merges the changes of final 2016.05 release on top of FSLC fork.

---

 recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb | 2 +-
 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb +1 -1
index f2c227f..fd6810b 100644
@@ -7,7 +7,7 @@ PROVIDES = "u-boot-mxsboot"
 
 PV = "v2016.05+git${SRCPV}"
 
-SRCREV = "0fcd279712bdc2f4860bf9466323eb6874d411ed"
+SRCREV = "158a5196a5aed4cc5dc28348471e3cc641ee1cc9"
 SRCBRANCH = "2016.05+fslc"
 
 SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
recipes-bsp/u-boot/u-boot-fslc_2016.05.bb +1 -1
index d092f4d..91e287d 100644
@@ -2,5 +2,5 @@ include u-boot-fslc.inc
 
 PV = "v2016.05+git${SRCPV}"
 
-SRCREV = "0fcd279712bdc2f4860bf9466323eb6874d411ed"
+SRCREV = "158a5196a5aed4cc5dc28348471e3cc641ee1cc9"
 SRCBRANCH = "2016.05+fslc"
Signature · 1 line
2.9.0
#3 lore raw

PATCH 3/17 u-boot-fslc: Update to revision 6e4d8c5

In reply to Otavio Salvador

From: Fabio Estevam <[email protected]>

This includes the following commit from U-Boot fslc:
6e4d8c5 pico-imx6ul: Select CONFIG_HUSH_PARSER option

---

 recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb | 2 +-
 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb +1 -1
index fd6810b..28a64a4 100644
@@ -7,7 +7,7 @@ PROVIDES = "u-boot-mxsboot"
 
 PV = "v2016.05+git${SRCPV}"
 
-SRCREV = "158a5196a5aed4cc5dc28348471e3cc641ee1cc9"
+SRCREV = "6e4d8c5bdc6ca8eb241e848f658c4f5abb8b0783"
 SRCBRANCH = "2016.05+fslc"
 
 SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
recipes-bsp/u-boot/u-boot-fslc_2016.05.bb +1 -1
index 91e287d..72198b7 100644
@@ -2,5 +2,5 @@ include u-boot-fslc.inc
 
 PV = "v2016.05+git${SRCPV}"
 
-SRCREV = "158a5196a5aed4cc5dc28348471e3cc641ee1cc9"
+SRCREV = "6e4d8c5bdc6ca8eb241e848f658c4f5abb8b0783"
 SRCBRANCH = "2016.05+fslc"
Signature · 1 line
2.9.0
#4 lore raw

PATCH 4/17 asf: correct the branch

In reply to Otavio Salvador

From: Zhenhua Luo <[email protected]>

Fix the following build error:
| asf-git-r0 do_fetch: Fetcher failure: Unable to find revision
| 62ba10ab6bab8f8f53934e4bb55b5a552bf3fd6b in branch master even from upstream

---

 openembedded-layer/recipes-kernel/asf/asf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
openembedded-layer/recipes-kernel/asf/asf_git.bb +1 -1
index 7cf8f57..97cbcc9 100644
@@ -3,7 +3,7 @@ SECTION = "asf"
 LICENSE = "GPLv2 & GPLv2+ & BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=master"
+SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=sdk-v1.8.x"
 SRCREV = "62ba10ab6bab8f8f53934e4bb55b5a552bf3fd6b"
 
 inherit module
Signature · 1 line
2.9.0
#5 lore raw

PATCH 5/17 fsl-kernel-localversion: Configure kernel in a separate task

In reply to Otavio Salvador

From: Adrian Dudau <[email protected]>

As it is implemented right now this class overwrites the .config file making it impossible for any other layer to configure the kernel in a .bbappend to the kernel recipe. By doing it in a separate task before do_configure we ensure that recipe .bbappends can make further kernel configurations in do_configure_prepend.

---

 classes/fsl-kernel-localversion.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
classes/fsl-kernel-localversion.bbclass +2 -1
index 1004e35..42c2b17 100644
@@ -22,7 +22,7 @@ kernel_conf_variable() {
 	fi
 }
 
-do_configure_prepend() {
+do_preconfigure() {
 	echo "" > ${B}/.config
 	CONF_SED_SCRIPT=""
 
@@ -37,3 +37,4 @@ do_configure_prepend() {
 		printf "%s%s" +g $head > ${S}/.scmversion
 	fi
 }
+addtask preconfigure before do_configure after do_patch
Signature · 1 line
2.9.0
#6 lore raw

PATCH 6/17 weston: Fix weston window manager for i.MX 6UltraLite

In reply to Otavio Salvador

From: Tom Hochstein <[email protected]>

The weston window manager failed to start on i.MX 6UltraLite EVK.

6UL has no GPU, so we need to use pixman. Fixed by removing EGL/GLES support, and by configuring to use Framebuffer backend as native.

---

 recipes-graphics/wayland/weston_%.bbappend | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-graphics/wayland/weston_%.bbappend +7 -0
index b2f4466..f7bfd35 100644
@@ -12,12 +12,19 @@ PACKAGECONFIG_append_mx6q = " cairo-glesv2"
 PACKAGECONFIG_append_mx6dl = " cairo-glesv2"
 PACKAGECONFIG_append_mx6sx = " cairo-glesv2"
 PACKAGECONFIG_remove_mx6sl = "egl"
+PACKAGECONFIG_remove_mx6ul = "egl"
 
 EXTRA_OECONF_append_mx6 = " \
     --disable-libunwind \
     --disable-xwayland-test \
     WESTON_NATIVE_BACKEND=fbdev-backend.so \
 "
+EXTRA_OECONF_append_mx6ul = " \
+    --disable-libunwind \
+    --disable-xwayland-test \
+    WESTON_NATIVE_BACKEND=fbdev-backend.so \
+"
+
 EXTRA_OEMAKE_append_mx6 = " \
     COMPOSITOR_CFLAGS="-I ${STAGING_INCDIR}/pixman-1 -DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \
     FB_COMPOSITOR_CFLAGS="-DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \
Signature · 1 line
2.9.0
#7 lore raw

PATCH 7/17 imx-base: Remove XSERVER_DRIVER_mx6ul - default case will work

In reply to Otavio Salvador

From: Lauren Post <[email protected]>

mx6ul is not mx6 so default case applies. This is redundant

---

 conf/machine/include/imx-base.inc | 1 -
 1 file changed, 1 deletion(-)
conf/machine/include/imx-base.inc +0 -1
index 1f5220a..e8d5f5e 100644
@@ -30,7 +30,6 @@ UBOOT_ENTRYPOINT_vf = "0x80008000"
 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 XSERVER_DRIVER = "xf86-video-fbdev"
 XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
-XSERVER_DRIVER_mx6ul = "xf86-video-fbdev"
 XSERVER_DRIVER_vf = "xf86-video-modesetting"
 XSERVER = "xserver-xorg \
            xf86-input-evdev \
Signature · 1 line
2.9.0
#8 lore raw

PATCH 8/17 imx-base: Specific 7d for MACHINE_SOCARCH_SUFFIX

In reply to Otavio Salvador

From: Lauren Post <[email protected]>

Future mx7 will need separate SOCARCH_SUFFIX so don't apply to all mx7

---

 conf/machine/include/imx-base.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/imx-base.inc +1 -1
index e8d5f5e..7a5fa8d 100644
@@ -56,7 +56,7 @@ MACHINE_SOCARCH_SUFFIX_mx6q = "-mx6qdl"
 MACHINE_SOCARCH_SUFFIX_mx6dl = "-mx6qdl"
 MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx"
 MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl"
-MACHINE_SOCARCH_SUFFIX_mx7 = "-mx7d"
+MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d"
 MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
 MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
 MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul"
Signature · 1 line
2.9.0
#9 lore raw

PATCH 9/17 imx-base: Add MACHINE_SOCARCH_FILTER for mx6ul and mx7d

In reply to Otavio Salvador

From: Lauren Post <[email protected]>

Add missing MACHINE_SOCARCH_FILTER for mx6ul and 7d to include imx multimedia

---

 conf/machine/include/imx-base.inc | 2 ++
 1 file changed, 2 insertions(+)
conf/machine/include/imx-base.inc +2 -0
index 7a5fa8d..31f7f17 100644
@@ -64,6 +64,8 @@ MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul"
 MACHINE_ARCH_FILTER = "virtual/kernel"
 MACHINE_SOCARCH_FILTER_append_mx6 = " imx-vpu libimxvpuapi imx-codec imx-vpuwrap imx-parser"
 MACHINE_SOCARCH_FILTER_append_mx6 = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d"
+MACHINE_SOCARCH_FILTER_append_mx6ul = " imx-codec imx-parser"
+MACHINE_SOCARCH_FILTER_append_mx7 =  " imx-codec imx-parser"
 
 INHERIT += "fsl-dynamic-packagearch"
 
Signature · 1 line
2.9.0
#10 lore raw

PATCH 10/17 libimxvpuapi: use libdir from cross environment

In reply to Otavio Salvador

From: Max Krummenacher <[email protected]>

Pass $libdir to 'waf configure' to prevent using the build hosts libdir.

Fixes:
WARNING: libimxvpuapi-0.10.2-r0 do_package: QA Issue: libimxvpuapi: Files/directories were installed but not shipped in any package:
/usr/lib64/libimxvpuapi.so
/usr/lib64/libimxvpuapi.so.0
/usr/lib64/libimxvpuapi.so.0.10.2
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libimxvpuapi.pc

---

 recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb +2 -0
index bd30b12..26d46d5 100644
@@ -14,3 +14,5 @@ S = "${WORKDIR}/git"
 inherit waf pkgconfig
 
 COMPATIBLE_MACHINE = "(mx6q|mx6dl)"
+
+EXTRA_OECONF = "--libdir=${libdir}"
Signature · 1 line
2.9.0
#11 lore raw

PATCH 11/17 u-boot-fslc: Bump revision to 3106462

In reply to Otavio Salvador

This includes following fixes:

3106462 mx7dsabresd: Fix the boot of a NXP kernel
401468c mx7: Place MX7_SEC option in Kconfig

---

 recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb | 2 +-
 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-fslc-mxsboot_2016.05.bb +1 -1
index 28a64a4..f266da6 100644
@@ -7,7 +7,7 @@ PROVIDES = "u-boot-mxsboot"
 
 PV = "v2016.05+git${SRCPV}"
 
-SRCREV = "6e4d8c5bdc6ca8eb241e848f658c4f5abb8b0783"
+SRCREV = "31064626988e9ac242b76d3fcbd2091143796d8e"
 SRCBRANCH = "2016.05+fslc"
 
 SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
recipes-bsp/u-boot/u-boot-fslc_2016.05.bb +1 -1
index 72198b7..8bd4d68 100644
@@ -2,5 +2,5 @@ include u-boot-fslc.inc
 
 PV = "v2016.05+git${SRCPV}"
 
-SRCREV = "6e4d8c5bdc6ca8eb241e848f658c4f5abb8b0783"
+SRCREV = "31064626988e9ac242b76d3fcbd2091143796d8e"
 SRCBRANCH = "2016.05+fslc"
Signature · 1 line
2.9.0
#12 lore raw

PATCH 12/17 imx-base.inc: Use linux-fslc-imx for i.MX7

In reply to Otavio Salvador

---

 conf/machine/include/imx-base.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/imx-base.inc +1 -0
index 31f7f17..8abf86b 100644
@@ -150,6 +150,7 @@ IMX_DEFAULT_KERNEL = "linux-imx"
 IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
 IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
 IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx"
+IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx"
 IMX_DEFAULT_KERNEL_mx6ul = "linux-imx"
 
 PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
Signature · 1 line
2.9.0
#13 lore raw

PATCH 13/17 imx-base.inc: Use linux-fslc-imx for i.MX6UL

In reply to Otavio Salvador

---

 conf/machine/include/imx-base.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/imx-base.inc +1 -1
index 8abf86b..d6069a7 100644
@@ -151,7 +151,7 @@ IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
 IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
 IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx"
 IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx"
-IMX_DEFAULT_KERNEL_mx6ul = "linux-imx"
+IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx"
 
 PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
 
Signature · 1 line
2.9.0
#14 lore raw

PATCH 14/17 fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6

In reply to Otavio Salvador

When building for non-i.MX6, we ought to assume the SoC does not has Vivante GPU at all, or the build will fail. This fixes the build of linux-fslc-imx-rt for i.MX7D as it does not have a Vivante GPU.

---

 classes/fsl-vivante-kernel-driver-handler.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
classes/fsl-vivante-kernel-driver-handler.bbclass +2 -2
index cdd6450..e0578f4 100644
@@ -20,7 +20,7 @@
 #       0 - enable the builtin kernel driver module
 #       1 - enable the external kernel module
 #
-# Copyright 2015 (C) O.S. Systems Software LTDA.
+# Copyright 2015, 2016 (C) O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 # Handle Vivante kernel driver setting:
@@ -31,7 +31,7 @@ MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ??= "0"
 # Use Vivante kernel driver module:
 #   0 - enable the builtin kernel driver module
 #   1 - enable the external kernel module
-MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "1"
+MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "${@d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', False) or '0'}"
 
 python fsl_vivante_kernel_driver_handler () {
     has_vivante_kernel_driver_support = e.data.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', True) or "0"
Signature · 1 line
2.9.0
#15 lore raw

PATCH 15/17 linux-fslc-imx: Disable Vivante GPU support

In reply to Otavio Salvador

The Vivante GPU is used as kernel module for all i.MX6, by default, so the defconfig should not enable it as other SoC (as i.MX6UL and i.MX7D) uses the same defconfig and does not have the Vivante GPU.

This avoids the built-in driver build for other SoCs, thus fixing a build error with GCC 6, which is hidden when using the external module.

---

 recipes-kernel/linux/linux-fslc-imx/defconfig | 1 -
 1 file changed, 1 deletion(-)
recipes-kernel/linux/linux-fslc-imx/defconfig +0 -1
index 40e35b9..df7d7f4 100644
@@ -328,7 +328,6 @@ CONFIG_MMC_SDHCI_PLTFM=y
 CONFIG_MMC_SDHCI_ESDHC_IMX=y
 CONFIG_MXC_IPU=y
 CONFIG_MXC_IPU_V3_PRE=y
-CONFIG_MXC_GPU_VIV=y
 CONFIG_MXC_SIM=y
 CONFIG_MXC_MIPI_CSI2=y
 CONFIG_MXC_HDMI_CEC=y
Signature · 1 line
2.9.0
#16 lore raw

PATCH 16/17 linux-fslc-imx: Bump to revision 960f493

In reply to Otavio Salvador

This merges the 4.1.26 stable release and include following change:

960f493 of: Allow NXP 4.1 kernel to allocate memory on 2GiB RAM boards

---

 recipes-kernel/linux/linux-fslc-imx_4.1-1.0.x.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-fslc-imx_4.1-1.0.x.bb +1 -1
index 5c1bc22..52c6e5f 100644
@@ -11,6 +11,6 @@ include linux-fslc.inc
 PV .= "+git${SRCPV}"
 
 SRCBRANCH = "4.1-1.0.x-imx"
-SRCREV = "3617c73273b93c811e23978ca835548fd0747ae4"
+SRCREV = "960f493cce161ddc2ba3ffe82c061496e5771829"
 
 COMPATIBLE_MACHINE = "(mx6|mx7)"
Signature · 1 line
2.9.0
#17 lore raw

PATCH 17/17 imx7dsabresd: Fix the boot of a NXP kernel

In reply to Otavio Salvador

Booting a NXP kernel with mainline U-boot leads to the following kernel crash:

,----

| caam: probe of 30900000.caam failed with error -11
| Unable to handle kernel NULL pointer dereference at virtual address 00000004
| pgd = 80004000
| [00000004] *pgd=00000000
| Internal error: Oops: 805 [#1] PREEMPT SMP ARM

`----

This happens because NXP kernel expects MX7 to boot in secure mode, so introduce mx7dsabresd_secure_defconfig that selects CONFIG_MX7_SEC and allows booting a NXP provided kernel successfully.

---

 conf/machine/imx7dsabresd.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/imx7dsabresd.conf +1 -1
index 1d05d26..b71bd4a 100644
@@ -18,7 +18,7 @@ KERNEL_DEVICETREE = "imx7d-sdb.dtb imx7d-sdb-epdc.dtb imx7d-sdb-gpmi-weim.dtb \
                      imx7d-sdb-reva-touch.dtb imx7d-sdb-reva-wm8960.dtb"
 
 UBOOT_CONFIG ??= "sd"
-UBOOT_CONFIG[sd] = "mx7dsabresd_config,sdcard"
+UBOOT_CONFIG[sd] = "mx7dsabresd_secure_config,sdcard"
 UBOOT_CONFIG[qspi1] = "mx7dsabresd_qspi1_config"
 UBOOT_CONFIG[nand] = "mx7dsabresd_nand_config,ubifs"
 UBOOT_CONFIG[epdc] = "mx7dsabresd_epdc_config"
Signature · 1 line
2.9.0
#18 lore raw
In reply to Otavio Salvador
Quoted 7 lines · Otavio Salvador

Those patches are fixes merged after 2.1 release which improves the end user experience and out of box functionality. Please note there is a U-Boot bump which is specially important for i.MX6UL and i.MX7D users.

The patches are in krogoth-next for testing and I intend to merge them in the end of this week (June 8th) if noone says otherwise.

Thanks a lot for this patchset, Otavio.

I'm going to test the patchset (for imx7 only) and let you know

Daiane

Quoted 58 lines

Adrian Dudau (1):
fsl-kernel-localversion: Configure kernel in a separate task

Fabio Estevam (1):
u-boot-fslc: Update to revision 6e4d8c5

Lauren Post (3):
imx-base: Remove XSERVER_DRIVER_mx6ul - default case will work
imx-base: Specific 7d for MACHINE_SOCARCH_SUFFIX
imx-base: Add MACHINE_SOCARCH_FILTER for mx6ul and mx7d

Max Krummenacher (1):
libimxvpuapi: use libdir from cross environment

Otavio Salvador (9):
u-boot-fslc: Update to 2016.05-based fork
u-boot-fslc: Update to revision 158a5196
u-boot-fslc: Bump revision to 3106462
imx-base.inc: Use linux-fslc-imx for i.MX7
imx-base.inc: Use linux-fslc-imx for i.MX6UL fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6
linux-fslc-imx: Disable Vivante GPU support
linux-fslc-imx: Bump to revision 960f493
imx7dsabresd: Fix the boot of a NXP kernel

Tom Hochstein (1):
weston: Fix weston window manager for i.MX 6UltraLite

Zhenhua Luo (1):
asf: correct the branch

 classes/fsl-kernel-localversion.bbclass                           | 3 ++-
 classes/fsl-vivante-kernel-driver-handler.bbclass                 | 4 ++--
 conf/machine/imx7dsabresd.conf                                    | 2 +-
 conf/machine/include/imx-base.inc                                 | 8 +++++---
 openembedded-layer/recipes-kernel/asf/asf_git.bb                  | 2 +-
 ...oot-fslc-mxsboot_2016.03.bb => u-boot-fslc-mxsboot_2016.05.bb} | 6 +++---
 recipes-bsp/u-boot/u-boot-fslc_2016.03.bb                         | 6 ------
 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb                         | 6 ++++++
 recipes-graphics/wayland/weston_%.bbappend                        | 7 +++++++
 recipes-kernel/linux/linux-fslc-imx/defconfig                     | 1 -
 recipes-kernel/linux/linux-fslc-imx_4.1-1.0.x.bb                  | 2 +-
 recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb            | 2 ++
 12 files changed, 30 insertions(+), 19 deletions(-)
 rename recipes-bsp/u-boot/{u-boot-fslc-mxsboot_2016.03.bb => u-boot-fslc-mxsboot_2016.05.bb} (87%)
 delete mode 100644 recipes-bsp/u-boot/u-boot-fslc_2016.03.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc_2016.05.bb

--
2.9.0

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale