Upgrade to i.MX 4.9.11-1.0.0 GA release
cover Upgrade to i.MX 4.9.11-1.0.0 GA release
- Upgrade to 4.9.11-1.0.0 ga release
- Upgrade u-boot to v2017.03
- Upgradw Linux Kernel to 4.9.11
- Add imx7ulpevk machine configure file
- Update imx-base.inc and image class to support imx7ulpevk
Jun Zhu (5):
u-boot-imx: Upgrade to v2017.03
linux-imx: Upgrade kernel to v4.9.11 imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file imx-base.inc: Update for imx7ulpevk board support image_types_fsl.bbclass: Add support for i.MX 7ULP board
classes/image_types_fsl.bbclass | 16 +-
conf/machine/imx7ulpevk.conf | 27 ++
conf/machine/include/imx-base.inc | 14 +-
...ol_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} | 1 +
...u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb} | 7 +-
.../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 --
.../imx/defconfig | 56 ++--
recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb | 9 -
recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb | 25 ++
.../{linux-imx_4.1.15.bb => linux-imx_4.9.11.bb} | 10 +-
12 files changed, 126 insertions(+), 466 deletions(-)
create mode 100644 conf/machine/imx7ulpevk.conf
rename recipes-bsp/u-boot/{u-boot-imx-mfgtool_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} (88%)
rename recipes-bsp/u-boot/{u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb} (71%)
delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch
delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch
delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch
rename recipes-kernel/linux/{linux-imx-4.1.15 => linux-imx-4.9.11}/imx/defconfig (93%)
delete mode 100644 recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb
create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb
rename recipes-kernel/linux/{linux-imx_4.1.15.bb => linux-imx_4.9.11.bb} (59%)Signature · 1 line
2.7.4
PATCH 1/5 u-boot-imx: Upgrade to v2017.03
---
...u-boot-imx-mfgtool_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} | 1 +
.../u-boot/{u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb} | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
rename recipes-bsp/u-boot/{u-boot-imx-mfgtool_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} (88%)
rename recipes-bsp/u-boot/{u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb} (71%)recipes-bsp/u-boot/u-boot-imx-mfgtool_2017.03.bb renamed from recipes-bsp/u-boot/u-boot-imx-mfgtool_2016.03.bb +1 -0
@@ -1,5 +1,6 @@ # Copyright (C) 2014 O.S. Systems Software LTDA. # Copyright (C) 2014-2016 Freescale Semiconductor +# Copyright 2017 NXP require u-boot-imx_${PV}.bb require u-boot-mfgtool.inc
recipes-bsp/u-boot/u-boot-imx_2017.03.bb renamed from recipes-bsp/u-boot/u-boot-imx_2016.03.bb +4 -3
@@ -1,17 +1,18 @@ # Copyright (C) 2013-2016 Freescale Semiconductor # Copyright 2017 NXP -DESCRIPTION = "U-Boot provided by NXP with focus on i.MX reference boards." +DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards." require recipes-bsp/u-boot/u-boot.inc PROVIDES += "u-boot" +DEPENDS_append = "dtc-native" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRCBRANCH = "imx_v2016.03_4.1.15_2.0.0_ga" +SRCBRANCH = "imx_v2017.03_4.9.11_1.0.0_ga" SRC_URI = "git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=${SRCBRANCH}" -SRCREV = "568c9c9914863f20a2404c49db0b5ed7541a76ce" +SRCREV = "a2fea67d3eb3092f19f250d53a4a27fa1a0c815f" S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
PATCH 2/5 linux-imx: Upgrade kernel to v4.9.11
In reply to Jun Zhu---
.../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 --
.../imx/defconfig | 56 ++--
recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb | 9 -
recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb | 25 ++
.../{linux-imx_4.1.15.bb => linux-imx_4.9.11.bb} | 10 +-
7 files changed, 66 insertions(+), 461 deletions(-)
delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch
delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch
delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch
rename recipes-kernel/linux/{linux-imx-4.1.15 => linux-imx-4.9.11}/imx/defconfig (93%)
delete mode 100644 recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb
create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb
rename recipes-kernel/linux/{linux-imx_4.1.15.bb => linux-imx_4.9.11.bb} (59%)recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch deleted +0 -28
@@ -1,28 +0,0 @@ -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 deleted +0 -369
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 deleted +0 -30
@@ -1,30 +0,0 @@ -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.9.11/imx/defconfig renamed from recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig +36 -20
216 lines not on this page · raw message
recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb deleted +0 -9
@@ -1,9 +0,0 @@ -# Copyright (C) 2014 O.S. Systems Software LTDA. -# Copyright (C) 2014-2016 Freescale Semiconductor - -SUMMARY = "Produces a Manufacturing Tool compatible Linux Kernel" -DESCRIPTION = "Linux Kernel provided and supported by Freescale that produces a \ -Manufacturing Tool compatible Linux Kernel to be used in updater environment" - -require linux-imx_${PV}.bb -require linux-mfgtool.inc
recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb new file +25 -0
@@ -0,0 +1,25 @@ +# Copyright (C) 2014 O.S. Systems Software LTDA. +# Copyright (C) 2014-2016 Freescale Semiconductor + +SUMMARY = "Produces a Manufacturing Tool compatible Linux Kernel" +DESCRIPTION = "Linux Kernel provided and supported by Freescale that produces a \ +Manufacturing Tool compatible Linux Kernel to be used in updater environment" + +require linux-imx_${PV}.bb +require linux-mfgtool.inc + +KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" +MODULE_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" +do_package[vardepsexclude] = "DATETIME" + +do_configure_prepend() { + if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then + cp ${S}/arch/arm/configs/imx_v7_mfg_defconfig ${B}/.config + cp ${S}/arch/arm/configs/imx_v7_mfg_defconfig ${B}/../defconfig + fi +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install arch/arm/boot/zImage ${DEPLOY_DIR_IMAGE}/zImage_mfgtool +}
recipes-kernel/linux/linux-imx_4.9.11.bb renamed from recipes-kernel/linux/linux-imx_4.1.15.bb +5 -5
@@ -2,17 +2,17 @@ # Copyright 2017 NXP # Released under the MIT license (see COPYING.MIT for the terms) -SUMMARY = "Linux Kernel provided and supported by Freescale" -DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \ +SUMMARY = "Linux Kernel provided and supported by NXP" +DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." require recipes-kernel/linux/linux-imx.inc DEPENDS += "lzop-native bc-native" -SRCBRANCH = "imx_4.1.15_2.0.0_ga" -LOCALVERSION = "-2.1.0" -SRCREV = "30278abfe0977b1d2f065271ce1ea23c0e2d1b6e" +SRCBRANCH = "imx_4.9.11_1.0.0_ga" +LOCALVERSION = "-1.0.0" +SRCREV = "c27010d99a3d91703ea2d1a3f9630a9dedc3f86f" DEFAULT_PREFERENCE = "1"
Signature · 1 line
2.7.4
PATCH 3/5 imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
In reply to Jun Zhu--- conf/machine/imx7ulpevk.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 conf/machine/imx7ulpevk.conf
conf/machine/imx7ulpevk.conf new file +27 -0
@@ -0,0 +1,27 @@ +#@TYPE: Machine +#@NAME: NXP i.MX7ULP Evaluation Kit +#@SOC: i.MX7ULP +#@DESCRIPTION: Machine configuration for NXP i.MX7ULP EVK +#@MAINTAINER: Lauren Post <[email protected]> + +require conf/machine/include/imx-base.inc +require conf/machine/include/tune-cortexa7.inc + +MACHINE_FEATURES += " pci wifi bluetooth" + +MACHINEOVERRIDES =. "mx7:mx7ulp:" + +KERNEL_DEVICETREE = "imx7ulp-evk.dtb imx7ulp-evk-emmc.dtb imx7ulp-evk-emmc-qspi.dtb imx7ulp-evk-ft5416.dtb imx7ulp-evk-hdmi.dtb" +KERNEL_DEVICETREE += "imx7ulp-evk-lpuart.dtb imx7ulp-evk-qspi.dtb imx7ulp-evk-sd1.dtb imx7ulp-evk-sensors-to-i2c5.dtb" +KERNEL_DEVICETREE += "imx7ulp-evk-wm8960.dtb" + +IMAGE_M4LOADER = "imx-m4-demos" +IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img" + +UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "mx7ulp_evk_config,sdcard" +UBOOT_CONFIG[emmc] = "mx7ulp_evk_emmc_config,sdcard" +UBOOT_CONFIG[mfgtool] = "mx7ulp_evk_config" + +# Set Serial console +SERIAL_CONSOLE = "115200 ttyLP0"
Signature · 1 line
2.7.4
Re: [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
Quoted 21 lines · Jun Zhu
Signed-off-by Jun Zhu <[email protected]>--- conf/machine/imx7ulpevk.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 conf/machine/imx7ulpevk.confconf/machine/imx7ulpevk.conf new file +9
-0@@ -0,0 +1,27 @@ +#@TYPE: Machine +#@NAME: NXP i.MX7ULP Evaluation Kit +#@SOC: i.MX7ULP +#@DESCRIPTION: Machine configuration for NXP i.MX7ULP EVK +#@MAINTAINER: Lauren Post <[email protected]> + +require conf/machine/include/imx-base.inc +require conf/machine/include/tune-cortexa7.inc +
conf/machine/imx7ulpevk.conf line 19
Quoted 10 lines
conf/machine/imx7ulpevk.conf new file +10
-0+MACHINE_FEATURES += " pci wifi bluetooth" + +MACHINEOVERRIDES =. "mx7:mx7ulp:" + +KERNEL_DEVICETREE = "imx7ulp-evk.dtb imx7ulp-evk-emmc.dtb imx7ulp-evk-emmc-qspi.dtb imx7ulp-evk-ft5416.dtb imx7ulp-evk-hdmi.dtb" +KERNEL_DEVICETREE += "imx7ulp-evk-lpuart.dtb imx7ulp-evk-qspi.dtb imx7ulp-evk-sd1.dtb imx7ulp-evk-sensors-to-i2c5.dtb" +KERNEL_DEVICETREE += "imx7ulp-evk-wm8960.dtb" + +IMAGE_M4LOADER = "imx-m4-demos" +IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"
Please see the comment I did about adding it as a package so it does not belong to the machine.
conf/machine/imx7ulpevk.conf line 24
Quoted 4 lines
conf/machine/imx7ulpevk.conf new file +4
-0+UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "mx7ulp_evk_config,sdcard" +UBOOT_CONFIG[emmc] = "mx7ulp_evk_emmc_config,sdcard" +UBOOT_CONFIG[mfgtool] = "mx7ulp_evk_config"
Please let's use the wic tool to generate the images.
I added the imx-uboot-bootpart which provides same layout as the sdcard class and is trivial to convert to it.
Quoted 10 lines
conf/machine/imx7ulpevk.conf new file +2
-1+# Set Serial console +SERIAL_CONSOLE = "115200 ttyLP0" --2.7.4
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
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
Fabio Estevam
reviewerRe: [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
In reply to Jun ZhuHi Jun,
Quoted 1 line · Jun Zhu
+IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"
Just for my understanding: where are these M4 images coming from? Are they built by Yocto and by IAR tools in Windows?
Please clarify.
Re: [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
Hi, Fabio,
The M4 images not buily by Yocto, they are pre-built by the M4 SDK tool-chain. The source code for these images are in the 7ulp M4 SDK.
And these binaries are packaged into "imx-m4-demos-7ulp-beta.bin" and would be deployed to the boot partition along with Kernel and DTB files by "bitbake imx-m4-demos".
Enter u-boot command line mode, the user can make these M4 images run on M4 core directly.
BR,
Jun Zhu
-----Original Message-----
From: Fabio Estevam [mailto:[email protected]]
Sent: Saturday, September 30, 2017 11:45 PM
To: Jun Zhu <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
Hi Jun,
Quoted 1 line · Jun Zhu
+IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"
Just for my understanding: where are these M4 images coming from? Are they built by Yocto and by IAR tools in Windows?
Please clarify.
PATCH 4/5 imx-base.inc: Update for imx7ulpevk board support
In reply to Jun Zhu--- conf/machine/include/imx-base.inc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
conf/machine/include/imx-base.inc +13 -1
@@ -62,6 +62,7 @@ MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc" MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp" MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc" MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc" +MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu2d:imxgpu3d" MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ mx6 \
@@ -88,6 +89,7 @@ MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx" MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl" MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll" MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d" +MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp" MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul"
@@ -116,7 +118,8 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ # Firmware MACHINE_FIRMWARE ?= "" -MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm" 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"
@@ -142,6 +145,7 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx6sx = " ${@bb.utils.contains('DISTRO_FEATURES MACHINE_EXTRA_RRECOMMENDS_append_mx6ul = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" +MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" # Extra udev rules MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
@@ -155,6 +159,7 @@ MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta" MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta" MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta" MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" +MACHINE_GSTREAMER_1_0_PLUGIN_mx7ulp ?= "imx-gst1.0-plugin" # Determines if the SoC has support for Vivante kernel driver SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0"
@@ -162,6 +167,7 @@ SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q = "1" SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1" SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1" SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1" +SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx7ulp = "1" # Handle Vivante kernel driver setting: # 0 - machine does not have Vivante GPU driver support
@@ -173,6 +179,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/egl_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa" PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
@@ -180,6 +187,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa" PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libgles1_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa" PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa"
@@ -188,6 +196,7 @@ PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa" PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libgles2_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa" PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa"
@@ -196,12 +205,14 @@ PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa" PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa" PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa" PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa" PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libg2d_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= "" PREFERRED_PROVIDER_virtual/libg2d_mx6ul = "" PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""
@@ -212,6 +223,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_mx7ulp = "linux-imx" IMX_DEFAULT_KERNEL_mx6sll = "linux-imx" IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx"
Signature · 1 line
2.7.4
Re: [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
Hi
Am Donnerstag, den 28.09.2017, 22:04 +0800 schrieb Jun Zhu:
Quoted 29 lines
Signed-off-by Jun Zhu <[email protected]>---
conf/machine/include/imx-base.inc | 14 +++++++++++++-1 file changed, 13 insertions(+), 1 deletion(-)conf/machine/include/imx-base.inc +0
-0@@ -62,6 +62,7 @@ MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc"MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
MACHINEOVERRIDES_EXTENDER_mx6ull= "imxpxp:imxepdc" MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc" +MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu2d:imxgpu3d" MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
mx6 \conf/machine/include/imx-base.inc +0
-0@@ -88,6 +89,7 @@ MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx"MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl"
MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll"
MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d"
+MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp"
MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul"conf/machine/include/imx-base.inc +0
-0@@ -116,7 +118,8 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \
# Firmware
MACHINE_FIRMWARE ?= ""
conf/machine/include/imx-base.inc SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ · line 122
Quoted 3 lines
conf/machine/include/imx-base.inc +2
-1-MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm"
I think this should be moved to the relevant machine config file.
It is unlikely that every i.MX 7ULP machine will feature a Broadcom Wifi chipset.
Max
Quoted 82 lines
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"conf/machine/include/imx-base.inc +0
-0@@ -142,6 +145,7 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx6sx = " ${@bb.utils.contains('DISTRO_FEATURES
MACHINE_EXTRA_RRECOMMENDS_append_mx6ul = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx- alsa-plugins', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx- alsa-plugins', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx- alsa-plugins', '', d)}"
+MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx- alsa-plugins', '', d)}"
# Extra udev rules
MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"conf/machine/include/imx-base.inc +0
-0@@ -155,6 +159,7 @@ MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta"MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta"
MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull?= "gstreamer1.0-plugins-imx-meta"MACHINE_GSTREAMER_1_0_PLUGIN_mx7d?= "gstreamer1.0-plugins-imx-meta" +MACHINE_GSTREAMER_1_0_PLUGIN_mx7ulp ?= "imx-gst1.0-plugin"
# Determines if the SoC has support for Vivante kernel driver SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0"conf/machine/include/imx-base.inc +0
-0@@ -162,6 +167,7 @@ SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q = "1"SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1"
SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx= "1"SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl= "1" +SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx7ulp = "1"
# Handle Vivante kernel driver setting:
# 0 - machine does not have Vivante GPU driver supportconf/machine/include/imx-base.inc +0
-0@@ -173,6 +179,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv"PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/egl_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa" PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
conf/machine/include/imx-base.inc +0
-0@@ -180,6 +187,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libgles1_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa" PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa"
conf/machine/include/imx-base.inc +0
-0@@ -188,6 +196,7 @@ PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa"PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libgles2_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa" PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa"
conf/machine/include/imx-base.inc +0
-0@@ -196,12 +205,14 @@ PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa"PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa" PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa" PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa" PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa"
PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv" +PREFERRED_PROVIDER_virtual/libg2d_mx7ulp ?= "imx-gpu-viv" PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= "" PREFERRED_PROVIDER_virtual/libg2d_mx6ul = "" PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""conf/machine/include/imx-base.inc +0
-0@@ -212,6 +223,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_mx7ulp = "linux-imx"
IMX_DEFAULT_KERNEL_mx6sll = "linux-imx"
IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx"
IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx"
--
2.7.4
Re: [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
Quoted 10 lines · Max Krummenacher
Am Donnerstag, den 28.09.2017, 22:04 +0800 schrieb Jun Zhu:
conf/machine/include/imx-base.inc SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ · line 122
Quoted 6 lines
Signed-off-by Jun Zhu <[email protected]># Firmware
MACHINE_FIRMWARE?= ""conf/machine/include/imx-base.inc +2
-1-MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm"I think this should be moved to the relevant machine config file.
It is unlikely that every i.MX 7ULP machine will feature a Broadcom Wifi chipset.
Agreed; especially because it is not a SoC features.
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
Re: [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
You are right. I have submitted v2 patch set
-----Original Message-----
From: Otavio Salvador [mailto:[email protected]]
Sent: Saturday, September 30, 2017 3:32 AM
To: Max Krummenacher <[email protected]>
Cc: Jun Zhu <[email protected]>; [email protected]
Subject: Re: [meta-freescale] [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
Quoted 9 lines · Max Krummenacher
Am Donnerstag, den 28.09.2017, 22:04 +0800 schrieb Jun Zhu:
conf/machine/include/imx-base.inc SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ · line 122
Quoted 5 lines
Signed-off-by Jun Zhu <[email protected]> # Firmware MACHINE_FIRMWARE?= ""
conf/machine/include/imx-base.inc +2
-1-MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc" +MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm"I think this should be moved to the relevant machine config file.
It is unlikely that every i.MX 7ULP machine will feature a Broadcom Wifi chipset.
Agreed; especially because it is not a SoC features.
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
PATCH 5/5 image_types_fsl.bbclass: Add support for i.MX 7ULP board
In reply to Jun ZhuDeploy the i.MX 7ULP M4 demo images to the boot partition along with Kernel and DTB files.
--- classes/image_types_fsl.bbclass | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
classes/image_types_fsl.bbclass +15 -1
@@ -2,6 +2,8 @@ inherit image_types IMAGE_BOOTLOADER ?= "u-boot" +IMAGE_M4LOADER ?= "" + # Handle u-boot suffixes UBOOT_SUFFIX ?= "bin" UBOOT_SUFFIX_SDCARD ?= "${UBOOT_SUFFIX}"
@@ -81,7 +83,8 @@ do_image_sdcard[depends] = "parted-native:do_populate_sysroot \ dosfstools-native:do_populate_sysroot \ mtools-native:do_populate_sysroot \ virtual/kernel:do_deploy \ - ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}" + ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''} \ + ${@d.getVar('IMAGE_M4LOADER', True) and d.getVar('IMAGE_M4LOADER', True) + ':do_deploy' or ''}" SDCARD = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sdcard"
@@ -144,6 +147,17 @@ _generate_boot_image() { mmd -i ${WORKDIR}/boot.img ::/extlinux mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/extlinux.conf ::/extlinux/extlinux.conf fi + + # Copy m4 image + if [ -n "${IMAGE_M4}" ]; then + for IMAGE_FILE in ${IMAGE_M4}; do + if [ -e "${DEPLOY_DIR_IMAGE}/${IMAGE_FILE}" ]; then + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${IMAGE_FILE} ::/${IMAGE_FILE} + else + bbfatal "${IMAGE_FILE}$ does not exist." + fi + done + fi } #
Signature · 1 line
2.7.4