Skip to contentSkip to conversation

Upgrade to 4.1.15-2.0.0 release

PATCH In review Lauren Post 2 participants 9 messages Oct 11, 2016 – Oct 20, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

cover Upgrade to 4.1.15-2.0.0 release

Note that 4.1.15-2.0.0 BSP patch updates have been sent to Otavio and are already included in master-next on meta-freescale.

i.MX 4.1.15-2.0.0 release supports new i.MX 6ULL EVK included in this patch set.

Patches in master-next include the following changes in master-next

- Kernel upgrade to 4.1.15-2.0.0 and repo rename to linux-imx
- U-Boot upgrade to 2016.03
- Grphaics update to 5.0.11.p8.6
- imx-test Upgrade to 5.7
- imx-vpu- Upgrade to 5.4.35
- imx-codec, imx-parser, imx-gst1.0-plugin upgrade to 4.1.4
- imx-vpuwrap - Updated to 1.0.68
- New Device trees for imx6ulevk imx6qpsabresd
- formfactor - Add machconfig
- als-alib - Add patch
- pulseaudio - conf changes
- Update SCR and license

Changes to support i.MX 6ULL 9x9 and 14x14
- eudev patches to support 6ULL epdc firmware loading

Lauren Post (7):
imx-base: Add MACHINE extender for i.MX 6ULL
imx-base: Add Preferred Provider for i.MX 6ULL U-Boot
imx-base: Add epdc firmware for i.MX 6ULL
imx-base: Add Kernel preferred provider for i.MX 6ULL
eudev: Bring back 2 patches from udev for user firmware loading for
6ULL
imx6ull9x9evk: Add i.MX 6ULL 9x9 evk
imx6ull14x14evk: Add i.MX 6ULL 14x14 EVK

 conf/machine/imx6ull14x14evk.conf                  |  23 ++
 conf/machine/imx6ull9x9evk.conf                    |  19 ++
 conf/machine/include/imx-base.inc                  |   4 +
 ...evert-rules-remove-firmware-loading-rules.patch |  28 ++
 ...-remove-userspace-firmware-loading-suppor.patch | 360 +++++++++++++++++++++
 recipes-core/udev/eudev_%.bbappend                 |   2 +
 6 files changed, 436 insertions(+)
 create mode 100644 conf/machine/imx6ull14x14evk.conf
 create mode 100644 conf/machine/imx6ull9x9evk.conf
 create mode 100644 recipes-core/udev/eudev/0014-Revert-rules-remove-firmware-loading-rules.patch
 create mode 100644 recipes-core/udev/eudev/Revert-udev-remove-userspace-firmware-loading-suppor.patch
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/7 imx-base: Add MACHINE extender for i.MX 6ULL

i.MX 6ULL include pxp and epdc

---
 conf/machine/include/imx-base.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/imx-base.inc +1 -0
index 09ab4ad..e2b342b 100644
@@ -55,6 +55,7 @@ MACHINEOVERRIDES_EXTENDER_mx6dl = "imxpxp:imxipu:imxvpu:imxgpu2d:imxgpu3d:imxepd
 MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu2d:imxgpu3d"
 MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu2d:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
+MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx7d  = "imxpxp:imxepdc"
 
 # Sub-architecture support
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/7 imx-base: Add Preferred Provider for i.MX 6ULL U-Boot

In reply to Lauren Post

Use i.MX U-Boot since this is new SoC

---
 conf/machine/include/imx-base.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/imx-base.inc +1 -0
index e2b342b..4378fbb 100644
@@ -8,6 +8,7 @@ PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc"
 PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc"
 
 PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native"
+PREFERRED_PROVIDER_virtual/bootloader_mx6ull = "u-boot-imx"
 
 UBOOT_MAKE_TARGET ?= "u-boot.imx"
 UBOOT_MAKE_TARGET_mxs ?= "u-boot.sb"
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/7 imx-base: Add epdc firmware for i.MX 6ULL

In reply to Lauren Post
---
 conf/machine/include/imx-base.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/imx-base.inc +1 -0
index 4378fbb..3907e24 100644
@@ -93,6 +93,7 @@ MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc"
 MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q"
 MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc"
 MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc"
+MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc"
 MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
 MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
 
Signature · 1 line
1.9.1
#4 lore raw

PATCH 4/7 imx-base: Add Kernel preferred provider for i.MX 6ULL

In reply to Lauren Post

Use linux-imx as preferred providedr for new SOC i.MX 6ULL

---
 conf/machine/include/imx-base.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/imx-base.inc +1 -0
index 3907e24..9bbf4d8 100644
@@ -163,6 +163,7 @@ 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-fslc-imx"
+IMX_DEFAULT_KERNEL_mx6ull = "linux-imx"
 
 PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
 
Signature · 1 line
1.9.1
#5 lore raw

PATCH 5/7 eudev: Bring back 2 patches from udev for user firmware loading for 6ULL

In reply to Lauren Post

i.MX 6ULL has EPDC display and requires user level firmware loading in udev. This feature was removed with eudev and is required for 6ULL to load display.

---
 ...evert-rules-remove-firmware-loading-rules.patch |  28 ++
 ...-remove-userspace-firmware-loading-suppor.patch | 360 +++++++++++++++++++++
 recipes-core/udev/eudev_%.bbappend                 |   2 +
 3 files changed, 390 insertions(+)
 create mode 100644 recipes-core/udev/eudev/0014-Revert-rules-remove-firmware-loading-rules.patch
 create mode 100644 recipes-core/udev/eudev/Revert-udev-remove-userspace-firmware-loading-suppor.patch
recipes-core/udev/eudev/0014-Revert-rules-remove-firmware-loading-rules.patch new file +28 -0
new file mode 100644
index 0000000..fe2ba53
@@ -0,0 +1,28 @@
+From 4f0a722489154da99e7f6b3051afde984eed2f74 Mon Sep 17 00:00:00 2001
+From: Jonathan Liu <[email protected]>
+Date: Thu, 19 Mar 2015 15:01:29 +1100
+Subject: [PATCH] Revert "rules: remove firmware loading rules"
+
+This reverts commit 70e7d754ddb356fb1a2942b262f8cee9650e2a19.
+Userspace firmware loading support is needed for Linux < 3.7.
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Jonathan Liu <[email protected]>
+---
+ rules/50-firmware.rules | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 rules/50-firmware.rules
+
+diff --git a/rules/50-firmware.rules b/rules/50-firmware.rules
+new file mode 100644
+index 0000000..f0ae684
+--- /dev/null
++++ b/rules/50-firmware.rules
+@@ -0,0 +1,3 @@
++# do not edit this file, it will be overwritten on update
++
++SUBSYSTEM=="firmware", ACTION=="add", RUN{builtin}="firmware"
+-- 
+2.3.3
+
recipes-core/udev/eudev/Revert-udev-remove-userspace-firmware-loading-suppor.patch new file +360 -0

360 lines not on this page · raw message

recipes-core/udev/eudev_%.bbappend +2 -0
index 4eedfd8..bf644ab 100644
@@ -4,3 +4,5 @@ SRC_URI_append_qoriq-ppc = " \
     file://skip-rules-for-mmc-rpmb-partition.patch \
 "
 
+SRC_URI_append_mx6ull = "file://Revert-udev-remove-userspace-firmware-loading-suppor.patch \
+                         file://0014-Revert-rules-remove-firmware-loading-rules.patch"
Signature · 1 line
1.9.1
#6 lore raw

PATCH 6/7 imx6ull9x9evk: Add i.MX 6ULL 9x9 evk

In reply to Lauren Post

Add supprot for i.MX 6ULL 9x9 evk

---
 conf/machine/imx6ull9x9evk.conf | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 conf/machine/imx6ull9x9evk.conf
conf/machine/imx6ull9x9evk.conf new file +19 -0
new file mode 100644
index 0000000..af86f8b
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: Freescale i.MX6ULL 9x9 Evaluation Kit
+#@SOC: i.MX6ULL
+#@DESCRIPTION: Machine configuration for Freescale i.MX6ULL 9x9 EVK
+
+MACHINEOVERRIDES =. "mx6ul:mx6ull:"
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa7.inc
+
+KERNEL_DEVICETREE = "imx6ull-9x9-evk.dtb imx6ull-9x9-evk-btwifi.dtb"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "mx6ull_9x9_evk_config,sdcard"
+UBOOT_CONFIG[qspi1] = "mx6ull_9x9_evk_qspi1_config"
+UBOOT_CONFIG[mfgtool] = "mx6ull_9x9_evk_config"
+
+XSERVER += "mesa-driver-swrast"
+
Signature · 1 line
1.9.1
#7 lore raw

PATCH 7/7 imx6ull14x14evk: Add i.MX 6ULL 14x14 EVK

In reply to Lauren Post

Add i.MX 6ULL 14x14 EVK

---
 conf/machine/imx6ull14x14evk.conf | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 conf/machine/imx6ull14x14evk.conf
conf/machine/imx6ull14x14evk.conf new file +23 -0
new file mode 100644
index 0000000..68dc01b
@@ -0,0 +1,23 @@
+#@TYPE: Machine
+#@NAME: Freescale i.MX6ULL 14x14 Evaluation Kit
+#@SOC: i.MX6ULL
+#@DESCRIPTION: Machine configuration for Freescale i.MX6ULL 14x14 EVK
+#@MAINTAINER: Lauren Post <[email protected]>
+
+MACHINEOVERRIDES =. "mx6ul:mx6ull:"
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa7.inc
+
+KERNEL_DEVICETREE = "imx6ull-14x14-evk.dtb imx6ull-14x14-evk-btwifi.dtb imx6ull-14x14-evk-gpmi-weim.dtb \
+                     imx6ull-14x14-evk-usb-certi.dtb imx6ull-14x14-evk-emmc.dtb \
+"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
+UBOOT_CONFIG[emmc] = "mx6ull_14x14_evk_emmc_config,sdcard"
+UBOOT_CONFIG[nand] = "mx6ull_14x14_evk_nand_config,ubifs"
+UBOOT_CONFIG[qspi1] = "mx6ull_14x14_evk_qspi1_config"
+UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"
+
+XSERVER += "mesa-driver-swrast"
Signature · 1 line
1.9.1
#8 lore raw
In reply to Lauren Post

Hi

2016-10-11 18:34 GMT+02:00 Lauren Post <[email protected]>:

Quoted 6 lines

Note that 4.1.15-2.0.0 BSP patch updates have been sent to Otavio and are already included in master-next on meta-freescale.

i.MX 4.1.15-2.0.0 release supports new i.MX 6ULL EVK included in this patch set.

Quoted 8 lines

Patches in master-next include the following changes in master-next

- Kernel upgrade to 4.1.15-2.0.0 and repo rename to linux-imx
- U-Boot upgrade to 2016.03
- Grphaics update to 5.0.11.p8.6
- imx-test Upgrade to 5.7
- imx-vpu- Upgrade to 5.4.35
- imx-codec, imx-parser, imx-gst1.0-plugin upgrade to 4.1.4

I'm getting build errors with this patch (when targeting a i.MX 6 DualLite based machine)

In file included from ../../imx-gst1.0-plugin-4.1.4/libs/device-2d/imx_2d_device_allocator.c:20:0:
../../imx-gst1.0-plugin-4.1.4/libs/device-2d/imx_2d_device_allocator.h:24:47:
fatal error: gst/allocators/gstallocatorphymem.h: No such file or directory
compilation terminated.

It looks like the header missing used to be part imx-gst1.0-plugin but are on the move to gst-plugins-bad. Compare with this patch series:
https://lists.yoctoproject.org/pipermail/meta-freescale/2016-October/019323.html
However those did not make it into meta-freescale (yet).

Reverting '66ded86 imx-gst1.0-plugin: Upgrade to 4.1.4 version' (i.e. going back to 4.0.9) fixed the build for me.

Max