Skip to contentSkip to conversation

Update to 4.9.11-1.0.0 GA BSP patches

PATCH In review Jun Zhu 2 participants 4 messages Sep 29, 2017 Arm i.MX and Layerscape

lore
Share & tools
lore

Jun Zhu

author
#0 lore raw

cover Update to 4.9.11-1.0.0 GA BSP patches

- Update fsl-base.inc to support i.MX7ULP
- Add 7ULP M4 demo images

Jun Zhu (2):
fsl-base.inc: Update to support i.MX 7ULP EVK
imx-m4-demos: Add i.MX 7ULP M4 Demo images

 conf/distro/include/fsl-base.inc               |  4 ++++
 recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb | 30 ++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/2 fsl-base.inc: Update to support i.MX 7ULP EVK

---
 conf/distro/include/fsl-base.inc | 4 ++++
 1 file changed, 4 insertions(+)
conf/distro/include/fsl-base.inc +4 -0
index 55e7982..1ef5079 100644
@@ -19,6 +19,7 @@ PREFERRED_PROVIDER_u-boot_mx6sx = "u-boot-imx"
 PREFERRED_PROVIDER_u-boot_mx6ul = "u-boot-imx"
 PREFERRED_PROVIDER_u-boot_mx6ull = "u-boot-imx"
 PREFERRED_PROVIDER_u-boot_mx7d = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot_mx7ulp = "u-boot-imx"
 
 PREFERRED_PROVIDER_virtual/bootloader_mx6dl = "u-boot-imx"
 PREFERRED_PROVIDER_virtual/bootloader_mx6q = "u-boot-imx"
@@ -27,6 +28,7 @@ PREFERRED_PROVIDER_virtual/bootloader_mx6sx = "u-boot-imx"
 PREFERRED_PROVIDER_virtual/bootloader_mx6ul = "u-boot-imx"
 PREFERRED_PROVIDER_virtual/bootloader_mx6ull = "u-boot-imx"
 PREFERRED_PROVIDER_virtual/bootloader_mx7d = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader_mx7ulp = "u-boot-imx"
 
 PREFERRED_PROVIDER_virtual/kernel_mx6dl = "linux-imx"
 PREFERRED_PROVIDER_virtual/kernel_mx6q = "linux-imx"
@@ -35,6 +37,7 @@ PREFERRED_PROVIDER_virtual/kernel_mx6sx = "linux-imx"
 PREFERRED_PROVIDER_virtual/kernel_mx6ul = "linux-imx"
 PREFERRED_PROVIDER_virtual/kernel_mx6ull = "linux-imx"
 PREFERRED_PROVIDER_virtual/kernel_mx7d = "linux-imx"
+PREFERRED_PROVIDER_virtual/kernel_mx7ulp = "linux-imx"
 
 MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl = "imx-gst1.0-plugin"
 MACHINE_GSTREAMER_1_0_PLUGIN_mx6q = "imx-gst1.0-plugin"
@@ -43,3 +46,4 @@ MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx = "imx-gst1.0-plugin"
 MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul = "imx-gst1.0-plugin"
 MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull = "imx-gst1.0-plugin"
 MACHINE_GSTREAMER_1_0_PLUGIN_mx7d = "imx-gst1.0-plugin"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx7ulp = "imx-gst1.0-plugin"
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 2/2 imx-m4-demos: Add i.MX 7ULP M4 Demo images

In reply to Jun Zhu
---
 recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb | 30 ++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb
recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb new file +30 -0
new file mode 100644
index 0000000..a3ef27e
@@ -0,0 +1,30 @@
+# Copyright (C) 2016 Freescale Semiconductor
+# Copyright 2017 NXP
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "i.MX M4 core Demo images"
+SECTION = "app"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6b552f505eedab4a11ab538cf3db743a"
+
+inherit deploy fsl-eula-unpack
+
+M4_PKG_NAME = "imx7ulp-m4-demo-beta"
+SRC_URI = "${FSL_MIRROR}/${M4_PKG_NAME}.bin;fsl-eula=true"
+S = "${WORKDIR}/${M4_PKG_NAME}"
+
+SRC_URI[md5sum] = "c6e789351bb5e57bcafc920544ff2157"
+SRC_URI[sha256sum] = "11001f3eeb4856c4299e1fc309b9b875759ffa1589a8d88b24aac7c349769ea7"
+
+do_deploy () {
+   # Install the demo binaries
+   install -d ${DEPLOYDIR}
+   find ${S}/ -name "*.img" -exec cp {} ${DEPLOYDIR}/ \;
+   ls ${DEPLOYDIR}/
+}
+
+addtask deploy before do_build after do_compile
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx7ulp)"
+
Signature · 1 line
2.7.4
#3 lore raw

Re: [distro][PATCH 2/2] imx-m4-demos: Add i.MX 7ULP M4 Demo images

Hello Jun,

Quoted 1 line · Jun Zhu

As the binary is loaded from Linux or U-Boot, it would be better package it in a regular package so it can be included by different images and also upgraded in a package feed, if it is the case.

I think it could be packaged to /boot/ or /opt/m4/; do you have other idea?

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