[meta-freescale] [zeus][PATCH 7/8] linux-qoriq-rt/4.14: add recipes
From: Chunrong Guo *update to lsdk 1909 tag include the following changes: aa5285f449b1 - staging: fsl_ppfe/eth: Disable termination of CRC fwd. c71a77a1f281 - mtd: fsl-quadspi: Introduce variable to fix different invalid master Id 6138f4aaec07 - arm64: dts: ls1028a: fix dwc pci over smmu b7f6872fca15 - arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep 4c9bd9b8dea0 - Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property 72e88baa77f1 - soc: fsl: handle RCPM errata A-008646 on SoC LS1021A 8c1e5a5996a2 - enetc: Fix deadlock during PTP RX timestamping ed206222df1f - felix: Remove unused include, fix compile warn 2e380e91c050 - ocelot: Warn if cpu side interfaces are not up 5bff7c69cf36 - ocelot: Fix NULL pointer on LAG slave removal 1e5b7fe43ff9 - ocelot: Don't handle netdev events for other netdevs 1b49a6c770ce - mmc: sdhci-of-esdhc: add erratum A011334 support in ls1028a 1.0 SoC 907205c7d550 - mmc: sdhci-of-esdhc: use 1/2 periperhal clock for ls1028a b448c680bd36 - mmc: sdhci-of-esdhc: set the sd clock divisor value above 3 179f53614b70 - iommu/arm-smmu: Enable bypass transaction caching for ARM SMMU 500 b8a4bb166cfc - drm: mali-dp: Set encoder possible_clones d3e41fadb963 - drm/arm/malidp: Enable/disable interrupts in runtime pm 1bf8672fca85 - drm/modeset-helper: Add simple modeset suspend/resume helpers e3bf1aa5315a - drm/arm/malidp: Added the late system pm functions d71d53fa06ba - felix: skip probing if device is disabled in DT e71d52d39c78 - enetc: Handle USXGMII protocol c8e7a8ebb222 - enetc: Fix 10G PCS PHY access 8e34b7334905 - drivers: net: phy: aquantia: enable USX AN for USXGMII protocol efaabe0aecbd - drivers: net: phy: aquantia: fix system side protocol misconfiguration f237e3b0c47e - irqchip/gic-v3-its: Fix command queue pointer comparison bug 2ee2bc14cc01 - irqchip/gic-v3-its: Add post-mortem info on command timeout 5454064dbdfd - arm64: defconfig: enable CONFIG_GPIO_MPC8XXX Signed-off-by: Chunrong Guo --- .../0001-Makfefile-add-cflags.patch | 26 + ...0001-perf-tools-Add-Python-3-support.patch | 917 ++ recipes-kernel/linux/linux-qoriq-rt_4.14.bb | 71 ++ 3 files changed, 1014 insertions(+) create mode 100644 recipes-kernel/linux/linux-qoriq-rt/0001-Makfefile-add-cflags.patch create mode 100644 recipes-kernel/linux/linux-qoriq-rt/0001-perf-tools-Add-Python-3-support.patch create mode 100644 recipes-kernel/linux/linux-qoriq-rt_4.14.bb diff --git a/recipes-kernel/linux/linux-qoriq-rt/0001-Makfefile-add-cflags.patch b/recipes-kernel/linux/linux-qoriq-rt/0001-Makfefile-add-cflags.patch new file mode 100644 index ..a93fdd7b --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq-rt/0001-Makfefile-add-cflags.patch @@ -0,0 +1,26 @@ +From e2283cc7582ba82f346b05fdb38f0057e54de7fa Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Tue, 12 Mar 2019 03:52:03 +0100 +Subject: [PATCH] Makfefile: add cflags + +Signed-off-by: C.r. Guo +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 967692b..ae395cd 100644 +--- a/Makefile b/Makefile +@@ -417,7 +417,7 @@ LINUXINCLUDE:= \ + KBUILD_AFLAGS := -D__ASSEMBLY__ + KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ + -fno-strict-aliasing -fno-common -fshort-wchar \ +- -Werror-implicit-function-declaration \ ++ -Werror-implicit-function-declaration -Wno-address-of-packed-member -Wno-packed-not-aligned \ + -Wno-format-security \ + -std=gnu89 + KBUILD_CPPFLAGS := -D__KERNEL__ +-- +2.7.4 + diff --git a/recipes-kernel/linux/linux-qoriq-rt/0001-perf-tools-Add-Python-3-support.patch b/recipes-kernel/linux/linux-qoriq-rt/0001-perf-tools-Add-Python-3-support.patch new file mode 100644 index ..74ce61e5 --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq-rt/0001-perf-tools-Add-Python-3-support.patch @@ -0,0 +1,917 @@ +From 8804547988bb772a00cd4bb832fe4e1a79f552b7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= +Date: Fri, 19 Jan 2018 21:56:41 +0100 +Subject: [PATCH] perf tools: Add Python 3 support +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Added Python 3 support while keeping Python 2.7 compatibility. + +Committer notes: + +This doesn't make it to auto detect python 3, one has to explicitely ask +it to build with python 3 devel files, here are the instructions +provided by Jaroslav: + + --- + $ cp -a tools/perf tools/python3-perf + $ make V=1 prefix=/usr -C tools/perf PYTHON=/usr/bin/python2 all + $ make V=1 prefix=/usr -C tools/python3-perf PYTHON=/usr/bin/python3 all + $ make V=1 prefix=/usr -C tools/python3-perf PYTHON=/usr/bin/python3 DESTDIR=%{buildroot} install-python_ext + $ make V=1 prefix=/usr -C tools/perf PYTHON=/usr/bin/python2 DESTDIR=%{buildroot} install-python_ext + --- + +We need to make
[meta-freescale] [zeus][PATCH 8/8] vpp-core: install startup.conf
From: Chunrong Guo * fix missing startup.conf Signed-off-by: Chunrong Guo --- recipes-extended/vpp-core/vpp-core.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/recipes-extended/vpp-core/vpp-core.bb b/recipes-extended/vpp-core/vpp-core.bb index b2b721a5..53437d1a 100644 --- a/recipes-extended/vpp-core/vpp-core.bb +++ b/recipes-extended/vpp-core/vpp-core.bb @@ -38,6 +38,11 @@ EXTRA_OECONF = " \ CFLAGS += " -mtls-dialect=trad -DCLIB_LOG2_CACHE_LINE_BYTES=6 -I${OPENSSL_PATH}/usr/include -L${OPENSSL_PATH}/lib" +do_install_append() { +mkdir -p ${D}/etc/vpp +cp ${S}/src/vpp/conf/startup.conf ${D}/etc/vpp/startup.conf +} + include vpp-pkgs.inc BBCLASSEXTEND = "native nativesdk" -- 2.23.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [zeus][PATCH 6/8] lx2160ardb: add qds dtb
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/lx2160ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/lx2160ardb.conf b/conf/machine/lx2160ardb.conf index 80d1e8ea..6bdb2510 100644 --- a/conf/machine/lx2160ardb.conf +++ b/conf/machine/lx2160ardb.conf @@ -21,7 +21,7 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa" UBOOT_CONFIG[tfa] = "lx2160ardb_tfa_defconfig,,u-boot-dtb.bin" UBOOT_CONFIG[tfa-secure-boot] = "lx2160ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" -KERNEL_DEVICETREE ?= "freescale/fsl-lx2160a-rdb.dtb" +KERNEL_DEVICETREE ?= "freescale/fsl-lx2160a-rdb.dtb freescale/fsl-lx2160a-qds.dtb" KERNEL_DEFCONFIG ?= "defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" -- 2.23.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [zeus][PATCH 4/8] ls1046ardb: add qds dtb
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls1046ardb.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/machine/ls1046ardb.conf b/conf/machine/ls1046ardb.conf index baf24c01..7efb91f1 100644 --- a/conf/machine/ls1046ardb.conf +++ b/conf/machine/ls1046ardb.conf @@ -24,6 +24,8 @@ UBOOT_CONFIG[tfa-secure-boot] = "ls1046ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dt KERNEL_DEVICETREE ?= "\ freescale/fsl-ls1046a-rdb-sdk.dtb \ freescale/fsl-ls1046a-rdb-usdpaa.dtb \ +freescale/fsl-ls1046a-qds.dtb \ +freescale/fsl-ls1046a-qds-sdk.dtb \ " KERNEL_DEFCONFIG ?= "defconfig" -- 2.23.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [zeus][PATCH 5/8] ls2088ardb: add qds dtb
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls2088ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/ls2088ardb.conf b/conf/machine/ls2088ardb.conf index de9f279f..f920d601 100644 --- a/conf/machine/ls2088ardb.conf +++ b/conf/machine/ls2088ardb.conf @@ -25,7 +25,7 @@ RCWNOR ?= "_PP_HH_0x2a_0x41/rcw_1800" RCWQSPI?= "_PP_HH_0x2a_0x41/rcw_2000_qspi" UEFI_NORBOOT ?= "LS2088ARDB_EFI_NORBOOT.fd" -KERNEL_DEVICETREE ?= "freescale/fsl-ls2088a-rdb.dtb" +KERNEL_DEVICETREE ?= "freescale/fsl-ls2088a-rdb.dtb freescale/fsl-ls2088a-qds.dtb" KERNEL_DEFCONFIG ?= "defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" -- 2.23.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [zeus][PATCH 3/8] ls1043ardb: add qds dtb
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls1043ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/ls1043ardb.conf b/conf/machine/ls1043ardb.conf index 64891b28..ee961cc3 100644 --- a/conf/machine/ls1043ardb.conf +++ b/conf/machine/ls1043ardb.conf @@ -22,7 +22,7 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa" UBOOT_CONFIG[tfa] = "ls1043ardb_tfa_defconfig,,u-boot-dtb.bin" UBOOT_CONFIG[tfa-secure-boot] = "ls1043ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" -KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1043a-rdb-usdpaa.dtb" +KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1043a-rdb-usdpaa.dtb freescale/fsl-ls1043a-qds.dtb freescale/fsl-ls1043a-qds-sdk.dtb" KERNEL_DEFCONFIG ?= "defconfig" UEFI_NORBOOT ?= "LS1043ARDB_EFI_NORBOOT.fd" -- 2.23.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [zeus][PATCH 2/8] ls1028ardb : add qds dtb
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls1028ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/ls1028ardb.conf b/conf/machine/ls1028ardb.conf index cde6bccf..288f9457 100644 --- a/conf/machine/ls1028ardb.conf +++ b/conf/machine/ls1028ardb.conf @@ -21,7 +21,7 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa" UBOOT_CONFIG[tfa-secure-boot] = "ls1028ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" UBOOT_CONFIG[tfa] = "ls1028ardb_tfa_defconfig,,u-boot-dtb.bin" -KERNEL_DEVICETREE ?= "freescale/fsl-ls1028a-rdb.dtb" +KERNEL_DEVICETREE ?= "freescale/fsl-ls1028a-rdb.dtb freescale/fsl-ls1028a-qds.dtb" KERNEL_DEFCONFIG ?= "defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" -- 2.23.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [zeus][PATCH 1/8] ls1012ardb: add qds dtb
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls1012ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/ls1012ardb.conf b/conf/machine/ls1012ardb.conf index 6dbb1bda..6efd6b3d 100644 --- a/conf/machine/ls1012ardb.conf +++ b/conf/machine/ls1012ardb.conf @@ -25,7 +25,7 @@ UBOOT_CONFIG[tfa-secure-boot] = "ls1012ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dt RCWQSPI ?= "R_SPNH_3508/rcw_1000" RCWQSPISEC ?= "R_SPNH_3508/rcw_1000" -KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb" +KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb freescale/fsl-ls1012a-qds.dtb" KERNEL_DEFCONFIG ?= "defconfig" EXTRA_IMAGEDEPENDS += "ppfe-firmware rcw atf" -- 2.23.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH 01/14] uefi: remove fsl-eula-unpack class
pings -Original Message- From: C.r. Guo Sent: 2019年8月12日 11:33 To: meta-freescale@yoctoproject.org Cc: C.r. Guo Subject: [PATCH 01/14] uefi: remove fsl-eula-unpack class From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/uefi/uefi_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index 55344c1..9be05de 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb @@ -3,9 +3,9 @@ SECTION = "bootloaders" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1" SRCREV= "12963900e9cb4e322df7bff327862de3b8a6371e" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH] ceetm: fix the building warning
From: Chunrong Guo *fix the below warning |#warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] *add 0001-Makefile-update-CFLAGS.patch to avoid build Errors. *remove do_compile_prepend *Obey LDFLAGS and CFLAGS in Makefile Signed-off-by: Chunrong Guo --- .../ceetm/ceetm/0001-Makefile-update-CFLAGS.patch | 31 ++ recipes-kernel/ceetm/ceetm_git.bb | 11 2 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 recipes-kernel/ceetm/ceetm/0001-Makefile-update-CFLAGS.patch diff --git a/recipes-kernel/ceetm/ceetm/0001-Makefile-update-CFLAGS.patch b/recipes-kernel/ceetm/ceetm/0001-Makefile-update-CFLAGS.patch new file mode 100644 index 000..1369788 --- /dev/null +++ b/recipes-kernel/ceetm/ceetm/0001-Makefile-update-CFLAGS.patch @@ -0,0 +1,31 @@ +From fb1fe93a2bab083652a65804be5ddd37a7e86a9f Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Wed, 14 Aug 2019 04:05:14 +0200 +Subject: [PATCH] Makefile: update CFLAGS + +*fix the below error: +|error: json_print.h: No such file or directory + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: C.r. Guo +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index f89700c..49243d8 100644 +--- a/Makefile b/Makefile +@@ -8,7 +8,7 @@ LDFLAGS += -Wl,-export-dynamic + # if you are not using flex-builder. Download the iproute2 sources for the + # desired version and point to those instead. + ifneq ($(IPROUTE2_DIR),) +-CFLAGS += -I$(IPROUTE2_DIR) -I$(IPROUTE2_DIR)/include ++CFLAGS += -I$(IPROUTE2_DIR) -I$(IPROUTE2_DIR)/include -I$(IPROUTE2_DIR)/usr/include/ -I$(IPROUTE2_DIR)/usr/include/include + endif + + MODDESTDIR := $(DESTDIR)/usr/lib/tc +-- +2.7.4 + diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb index 8613e50..68fb67e 100644 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ b/recipes-kernel/ceetm/ceetm_git.bb @@ -4,16 +4,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bac620b9883d38a84dfb73ca7122d915" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ceetm;nobranch=1" SRCREV = "6a7f2ec2091df2f4380cb8d25a36c399aed5af1b" - +SRC_URI_append = " file://0001-Makefile-update-CFLAGS.patch \ +" DEPENDS = "iproute2" S = "${WORKDIR}/git" -EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" IPROUTE2_DIR="{STAGING_DIR_TARGET}"' +export IPROUTE2_DIR="${STAGING_DIR_TARGET}" +WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" +export CROSS_COMPILE="${WRAP_TARGET_PREFIX}" -do_compile_prepend () { -cp ${RECIPE_SYSROOT}/usr/include/include/json_print.h ${RECIPE_SYSROOT}/usr/include -} +LDFLAGS += "${TOOLCHAIN_OPTIONS}" do_install(){ mkdir -p ${D}/${libdir}/tc -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 14/14] openssl-qoriq: update recipes
From: Chunrong Guo *fix missing dependency on hostperl-runtime-native *drop Python dependency in ptest Signed-off-by: Chunrong Guo --- recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb b/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb index c80c33a..b0e188a 100644 --- a/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb +++ b/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb @@ -10,7 +10,7 @@ DISABLE_STATIC = "" LICENSE = "openssl" LIC_FILES_CHKSUM = "file://LICENSE;md5=cae6da10f4ffd9703214776d2aabce32" -DEPENDS += "cryptodev-linux" +DEPENDS += "cryptodev-linux hostperl-runtime-native" DEPENDS_append_class-target = " openssl-native" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/openssl;nobranch=1 \ @@ -167,10 +167,8 @@ do_install_ptest() { sed -i 's/$target{shared_extension_simple}/".so.ptest"/' ${D}${PTEST_PATH}/test/recipes/90-test_shlibload.t } -RDEPENDS_${PN}-ptest += "perl-module-file-spec-functions bash python" +RDEPENDS_${PN}-ptest += "perl-module-file-spec-functions bash" RRECOMMENDS_libcrypto += "openssl-conf" -RDEPENDS_${PN}-bin = "perl" -RDEPENDS_${PN}-misc = "perl" FILES_${PN} =+ " ${libdir}/ssl-1.1/*" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 13/14] secure-obj: update recipes
From: Chunrong Guo *drop Python dependency in RDEPENDS *mp_verify and *_app will be install Signed-off-by: Chunrong Guo --- recipes-extended/secure-obj/secure-obj.inc| 2 +- recipes-extended/secure-obj/secure-obj_git.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-extended/secure-obj/secure-obj.inc b/recipes-extended/secure-obj/secure-obj.inc index 107e46e..166c874 100644 --- a/recipes-extended/secure-obj/secure-obj.inc +++ b/recipes-extended/secure-obj/secure-obj.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Secure Object" LICENSE = "BSD" DEPENDS = "openssl optee-os-qoriq optee-client-qoriq" -RDEPENDS_${PN} = "bash libcrypto libssl python" +RDEPENDS_${PN} = "bash libcrypto libssl" DEPENDS += "python-pycrypto-native" diff --git a/recipes-extended/secure-obj/secure-obj_git.bb b/recipes-extended/secure-obj/secure-obj_git.bb index 6af18ff..2d72373 100644 --- a/recipes-extended/secure-obj/secure-obj_git.bb +++ b/recipes-extended/secure-obj/secure-obj_git.bb @@ -34,7 +34,8 @@ do_install() { cp ${S}/secure_storage_ta/ta/b05bcf48-9732-4efa-a9e0-141c7c888c34.ta ${D}${base_libdir}/optee_armtz cp ${S}/securekey_lib/out/export/lib/libsecure_obj.so ${D}${libdir} cp ${S}/secure_obj-openssl-engine/libeng_secure_obj.so ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines -cp ${S}/securekey_lib/out/export/app/* ${D}${bindir} +cp ${S}/securekey_lib/out/export/app/*_app ${D}${bindir} +cp ${S}/securekey_lib/out/export/app/mp_verify ${D}${bindir} cp ${S}/secure_obj-openssl-engine/app/sobj_eng_app ${D}${bindir} cp ${S}/securekey_lib/out/export/include/* ${D}${includedir} rm -rf ${D}${bindir}/test -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 12/14] optee-os-qoriq: Fix alignment of data for mempool_alloc_pool()
From: Chunrong Guo Signed-off-by: Chunrong Guo --- ...-alignment-of-data-for-mempool_alloc_pool.patch | 148 + recipes-security/optee/optee-os-qoriq_git.bb | 1 + 2 files changed, 149 insertions(+) create mode 100644 recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch diff --git a/recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch b/recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch new file mode 100644 index 000..e22bd6c --- /dev/null +++ b/recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch @@ -0,0 +1,148 @@ +From b2dd8747125be413f9b8b7fd7e52f457cabd709c Mon Sep 17 00:00:00 2001 +From: Jens Wiklander +Date: Tue, 5 Feb 2019 13:05:29 +0100 +Subject: [PATCH] Fix alignment of data for mempool_alloc_pool() + +Upstream-Status: Submitted + +Prior to this patch was _TEE_MathAPI_Init() in +lib/libutee/tee_api_arith_mpi.c supplying a data buffer which was only 4 +byte aligned while mempool_alloc_pool() requires the alignment of long. +This will work in 32-bit mode, but could lead to alignment problem in +64-bit mode. The same problem can happen with +lib/libutee/tee_api_arith_mpa.c, but so far it has remained hidden. + +Incorrect alignment can result in errors like: +E/TA: assertion '!((vaddr_t)data & (POOL_ALIGN - 1))' failed at lib/libutils/ext/mempool.c:134 in mempool_alloc_pool() + +This fix introduces MEMPOOL_ALIGN which specifies required alignment of +data supplied to mempool_alloc_pool(). + +Fixes: 062e3d01c039 ("ta: switch to to mbedtls for bignum") +Reviewed-by: Joakim Bech +Tested-by: Joakim Bech (QEMU v8) +Acked-by: Jerome Forissier +Signed-off-by: Jens Wiklander +--- + core/lib/libtomcrypt/src/mpa_desc.c | 2 +- + core/lib/libtomcrypt/src/mpi_desc.c | 2 +- + lib/libutee/tee_api_arith_mpa.c | 3 ++- + lib/libutee/tee_api_arith_mpi.c | 3 +-- + lib/libutils/ext/include/mempool.h | 5 - + lib/libutils/ext/mempool.c | 9 - + 6 files changed, 13 insertions(+), 11 deletions(-) + +diff --git a/core/lib/libtomcrypt/src/mpa_desc.c b/core/lib/libtomcrypt/src/mpa_desc.c +index b407f54..58aa242 100644 +--- a/core/lib/libtomcrypt/src/mpa_desc.c b/core/lib/libtomcrypt/src/mpa_desc.c +@@ -40,7 +40,7 @@ static struct mempool *get_mpa_scratch_memory_pool(void) + #else /* CFG_WITH_PAGER */ + static struct mempool *get_mpa_scratch_memory_pool(void) + { +- static uint32_t data[LTC_MEMPOOL_U32_SIZE] __aligned(__alignof__(long)); ++ static uint32_t data[LTC_MEMPOOL_U32_SIZE] __aligned(MEMPOOL_ALIGN); + + return mempool_alloc_pool(data, sizeof(data), NULL); + } +diff --git a/core/lib/libtomcrypt/src/mpi_desc.c b/core/lib/libtomcrypt/src/mpi_desc.c +index a43fbb4..67bc3a7 100644 +--- a/core/lib/libtomcrypt/src/mpi_desc.c b/core/lib/libtomcrypt/src/mpi_desc.c +@@ -38,7 +38,7 @@ static struct mempool *get_mp_scratch_memory_pool(void) + #else /* CFG_WITH_PAGER */ + static struct mempool *get_mp_scratch_memory_pool(void) + { +- static uint8_t data[MPI_MEMPOOL_SIZE] __aligned(__alignof__(long)); ++ static uint8_t data[MPI_MEMPOOL_SIZE] __aligned(MEMPOOL_ALIGN); + + return mempool_alloc_pool(data, sizeof(data), NULL); + } +diff --git a/lib/libutee/tee_api_arith_mpa.c b/lib/libutee/tee_api_arith_mpa.c +index 0f6c7f1..a8ca6aa 100644 +--- a/lib/libutee/tee_api_arith_mpa.c b/lib/libutee/tee_api_arith_mpa.c +@@ -19,7 +19,8 @@ + + static uint32_t mempool_u32[mpa_scratch_mem_size_in_U32( + MPA_INTERNAL_MEM_POOL_SIZE, +- CFG_TA_BIGNUM_MAX_BITS)]; ++ CFG_TA_BIGNUM_MAX_BITS)] ++ __aligned(MEMPOOL_ALIGN); + static mpa_scratch_mem mempool; + + /* +diff --git a/lib/libutee/tee_api_arith_mpi.c b/lib/libutee/tee_api_arith_mpi.c +index 8e2751b..6b074e1 100644 +--- a/lib/libutee/tee_api_arith_mpi.c b/lib/libutee/tee_api_arith_mpi.c +@@ -42,8 +42,7 @@ static void __noreturn mpi_panic(const char *func, int line, int rc) + + void _TEE_MathAPI_Init(void) + { +- static uint8_t data[MPI_MEMPOOL_SIZE] +- __aligned(__alignof__(mbedtls_mpi_uint)); ++ static uint8_t data[MPI_MEMPOOL_SIZE] __aligned(MEMPOOL_ALIGN); + + mbedtls_mpi_mempool = mempool_alloc_pool(data, sizeof(data), NULL); + if (!mbedtls_mpi_mempool) +diff --git a/lib/libutils/ext/include/mempool.h b/lib/libutils/ext/include/mempool.h +index 62377df..2a60800 100644 +--- a/lib/libutils/ext/include/mempool.h b/lib/libutils/ext/include/mempool.h +@@ -19,9 +19,12 @@ struct mempool_item { + + struct mempool; + ++#define MEMPOOL_ALIGN __alignof__(long) ++ + /* + * mempool_alloc_pool() - Allocate a new memory pool +- * @data:
[meta-freescale] [PATCH 11/14] ls2080ardb: remove dpl-examples
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls2080ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/ls2080ardb.conf b/conf/machine/ls2080ardb.conf index d58a86a..859a41b 100644 --- a/conf/machine/ls2080ardb.conf +++ b/conf/machine/ls2080ardb.conf @@ -16,5 +16,5 @@ UBOOT_CONFIG[nor] = "ls2080ardb_defconfig,,u-boot-dtb.bin" KERNEL_DEVICETREE ?= "freescale/fsl-ls2080a-rdb.dtb" KERNEL_DEFCONFIG ?= "defconfig" -EXTRA_IMAGEDEPENDS += "dpl-examples ls2-phy rcw management-complex" +EXTRA_IMAGEDEPENDS += "ls2-phy rcw management-complex" USE_VT = "0" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 10/14] dpl-examples: remove recipes
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-dpaa2/dpl-examples/dpl-examples_git.bb | 35 -- 1 file changed, 35 deletions(-) delete mode 100644 recipes-dpaa2/dpl-examples/dpl-examples_git.bb diff --git a/recipes-dpaa2/dpl-examples/dpl-examples_git.bb b/recipes-dpaa2/dpl-examples/dpl-examples_git.bb deleted file mode 100644 index aca35a8..000 --- a/recipes-dpaa2/dpl-examples/dpl-examples_git.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "Datapath layout examples" -LICENSE = "Freescale-EULA" -LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987" - -DEPENDS = "dtc-native" - -inherit deploy fsl-eula-unpack - -SRC_URI = "git://github.com/qoriq-open-source/dpl-examples.git;fsl-eula=true;nobranch=1" -SRCREV = "a6c83759c0d9c02822eec89e86357a0998ef51d4" - -S = "${WORKDIR}/git" - -REGLEX_ls2088a = "ls2088a" -REGLEX_ls1088a = "ls1088a" - -do_install () { -install -d ${D}/boot -install -m 644 ${S}/${REGLEX}/RDB/*.dtb ${D}/boot -install -m 644 ${S}/${REGLEX}/RDB/custom/*.dtb ${D}/boot -} - -do_deploy () { -install -d ${DEPLOYDIR}/dpl-examples -install -m 644 ${S}/${REGLEX}/RDB/*.dtb ${DEPLOYDIR}/dpl-examples -install -m 644 ${S}/${REGLEX}/RDB/custom/*.dtb ${DEPLOYDIR}/dpl-examples -} -addtask deploy before do_build after do_install - -PACKAGES += "${PN}-image" -FILES_${PN}-image += "/boot" - -COMPATIBLE_MACHINE = "(ls2080ardb|ls2088a|ls1088a)" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 09/14] hyperrelay: remove recipes
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-extended/hyperrelay/hyperrelay_git.bb | 36 --- 1 file changed, 36 deletions(-) delete mode 100644 recipes-extended/hyperrelay/hyperrelay_git.bb diff --git a/recipes-extended/hyperrelay/hyperrelay_git.bb b/recipes-extended/hyperrelay/hyperrelay_git.bb deleted file mode 100644 index 29056c5..000 --- a/recipes-extended/hyperrelay/hyperrelay_git.bb +++ /dev/null @@ -1,36 +0,0 @@ -DESCRIPTION = "Userspace proxy agent for Code Warrrior HyperTrk" -LICENSE = "Freescale-EULA" -LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f" - -inherit fsl-eula-unpack - -SRC_URI = "git://git.freescale.com/ppc/sdk/hyperrelay.git;fsl-eula=true;branch=sdk-v2.0.x" -SRCREV = "925af97359c2b86399561f1f97f2cb6ca0ccd344" - -S = "${WORKDIR}/git" - -CFLAGS += "\ --Wall \ --Wundef \ --Wstrict-prototypes \ --Wno-trigraphs \ --fno-strict-aliasing \ --fno-common \ --O2 \ --g \ --fmessage-length=0 \ --MMD \ --MP \ --MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" \ -" - -LDFLAGS_prepend = " -lpthread " - -do_install() { -install -d ${D}${bindir} -oe_runmake install DESTDIR=${D} -} - -COMPATIBLE_MACHINE = "(qoriq-ppc)" -PACKAGE_ARCH = "${MACHINE_SOCARCH}" -INSANE_SKIP_${PN} = "ldflags" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 08/14] inphi: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/inphi/inphi_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb index c0c8a77..3f3c5f2 100644 --- a/recipes-bsp/inphi/inphi_git.bb +++ b/recipes-bsp/inphi/inphi_git.bb @@ -2,9 +2,9 @@ SUMMARY = "Firmwares and Standalone Applications" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1" SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 07/14] ls2-phy: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/ls2-phy/ls2-phy_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb index d0e8ca5..a1c412b 100644 --- a/recipes-bsp/ls2-phy/ls2-phy_git.bb +++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb @@ -2,9 +2,9 @@ SUMMARY = "Firmwares and Standalone Applications" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1" SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 06/14] qe-ucode: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/qe-ucode/qe-ucode_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb index 58dffa3..cecd590 100644 --- a/recipes-bsp/qe-ucode/qe-ucode_git.bb +++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb @@ -3,9 +3,9 @@ SECTION = "qe-ucode" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=c62f8109b4df15ca37ceeb5e4943626c" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1" SRCREV= "57401f6dff650708eaa6838116baa8a2fd46" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 05/14] ppfe-firmware: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb index b94d88c..6705fe0 100644 --- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb @@ -2,12 +2,11 @@ SUMMARY = "PPFE Linux firmware" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=92723670f432558b9e2494ed177d2a85" - INHIBIT_DEFAULT_DEPS = "1" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1" SRCREV = "58aa0cac630528ed91fe5639700d6b571c0c07b5" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 04/14] fm-ucode: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-dpaa/fm-ucode/fm-ucode_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb b/recipes-dpaa/fm-ucode/fm-ucode_git.bb index 1db1acd..39e4f9d 100644 --- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb +++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb @@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=b784c031868ba1bd5ebc5de372c PR = "r1" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1" SRCREV = "c275e91392e2adab1ed22f3867b8269ca3c54014" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 03/14] mc: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-dpaa2/management-complex/management-complex_10.16.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-dpaa2/management-complex/management-complex_10.16.2.bb b/recipes-dpaa2/management-complex/management-complex_10.16.2.bb index 435544a..d0e05cd 100644 --- a/recipes-dpaa2/management-complex/management-complex_10.16.2.bb +++ b/recipes-dpaa2/management-complex/management-complex_10.16.2.bb @@ -2,11 +2,11 @@ SUMMARY = "DPAA2 Management Complex Firmware" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=73d4b970c18882e229e4bf1ada5bb8d6" -inherit deploy fsl-eula-unpack +inherit deploy INHIBIT_DEFAULT_DEPS = "1" -SRC_URI = "git://github.com/nxp/qoriq-mc-binary;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/nxp/qoriq-mc-binary;nobranch=1" SRCREV = "f72b978873af6c7cd0fd92b793363506411c102c" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 02/14] ddr-phy: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/ddr-phy/ddr-phy_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index 98a9b02..b7adf43 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb @@ -2,9 +2,9 @@ SUMMARY = "DDR firmware repository" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \ +SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1 \ git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;destsuffix=git/atf;name=atf" SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" SRCREV_atf = "17f94e4315e81e3d1b22d863d9614d724e8273dc" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 01/14] uefi: remove fsl-eula-unpack class
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/uefi/uefi_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index 55344c1..9be05de 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb @@ -3,9 +3,9 @@ SECTION = "bootloaders" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1" SRCREV= "12963900e9cb4e322df7bff327862de3b8a6371e" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 22/24] qemu-qoriq: update to 79df057
From: Chunrong Guo *include the following changes: 79df057 - vfio/fsl-mc: Check command version on dprc and dpmcp cmdif 475d962 - vfio/fsl-mc: Add support for DPRC command version-2 271b7fa - vfio/fsl-mc: Add interface for device region range 23f6ed8 - vfio/fsl-mc: Setup address space for QBman CE-SH region 89add80 - vfio/fsl-mc: Fix mc-command version check Signed-off-by: Chunrong Guo --- recipes-devtools/qemu/qemu-qoriq_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index 5b5de64..9d33250 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -15,7 +15,7 @@ SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/qemu;nobr file://run-ptest \ " -SRCREV = "798304eeb99ec1d2f8910275a3505f964a73c651" +SRCREV = "79df0577f5467dfaf0b2469ce3973a342f0c9e90" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 24/24] ddr-phy: fix typo
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-bsp/ddr-phy/ddr-phy_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index 1496b51..98a9b02 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430 inherit deploy fsl-eula-unpack SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \ - git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;nobranch=1;destsuffix=git/atf;name=atf" + git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;destsuffix=git/atf;name=atf" SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" SRCREV_atf = "17f94e4315e81e3d1b22d863d9614d724e8273dc" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 23/24] ovs-dpdk: Upgrade 2.10 -> 2.11
From: Chunrong Guo *Update to lsdk 1906 tag include the following changes: abc80ef - netdev-dpdk: have env based configurable number of packet buffers 2410fad - rhel: Use PIDFile on forking systemd service files a631ef7 - dpif-netdev: fix meter at high packet rate. 6b14ed0 - dpif-netdev: Fix double parsing of packets when EMC disabled. 0118706 - dpif-netdev: Update comment about flow installation race. 3c54cf1 - netlink linux: fix to append the netnsid netlink attr. 9a72286 - conntrack: Fix minimum connections to clean. 9b2e4ff - datapath: Revert "datapath: Fix template leak in error cases." 62c7a9d - compiler: Fix compilation when using VStudio 2015/2017 2560908 - datapath: fix flow actions reallocation fae3311 - Docs: fix conntrack flow ct_state input daeab19 - netdev-dpdk: Fix printing masks with wrong byte order. 24909e6 - Prepare for 2.11.2. 022c173 - Set release date for 2.11.1. 044a61d - netdev-tc-offloads: Fix probe tc block support 434ffa9 - rhel: Include all header files in the Fedora's devel package 359a7d2 - reconnect.c: Don't transition back to ACTIVE when forced to RECONNECT. 2924b48 - OVN: Make periodic RAs consistent with RA responder. 54f2d11 - OVN: Always send prefix option in RAs 76f2c3b - OVN: Use offset instead of pointer into ofpbuf 6ffb917 - ofproto: fix the bug of bucket counter is not updated b1f9b4e - netdev-dpdk: Print netdev name for txq mapping. 9068a55 - dpif-netdev-perf: Fix millisecond stats precision with slower TSC. 3c440c2 - ifupdown.sh: Add missing "--may-exist" option b88dafd - dpif-netdev-perf: Fix double update of perf histograms. a55b827 - dpdk: Stop dumping memzones to stdout. 68b2304 - dpctl: Drop parser debug information. 5dea53a - netdev-tc-offloads: Properly get the block id on flow del/get 4c26dfd - netdev-tc-offloads: Improve log message for icmpv6 offload not supported d8bb89f - conntrack: Replace structure copy by memcpy(). Signed-off-by: Chunrong Guo --- recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb | 49 -- recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb | 49 ++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb create mode 100644 recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb deleted file mode 100644 index 3ffa9a0..000 --- a/recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "OVS DPDK" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" - -DEPENDS = "dpdk python-six-native coreutils-native" -RDEPENDS_${PN} = "bash libcrypto libssl python" - -inherit pythonnative - -SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ovs-dpdk;nobranch=1 \ -" -SRCREV = "4d82df36993ca502d33afa305fbd2a41a950106d" - -S = "${WORKDIR}/git" - -DPAA_VER ?= "dpaa" -export RTE_TARGET = "${ARCH}-${DPAA_VER}-linuxapp-gcc" - -EXTRA_OEMAKE += 'ARCH="${ARCH}" CROSS="${TARGET_PREFIX}" \ -CPU_CFLAGS="--sysroot=${STAGING_DIR_HOST}" RTE_SDK="${S}" \ -OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \ -RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" \ -' - -do_configure() { - export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} - ${S}/boot.sh - ${S}/configure --host aarch64-fsl-linux --with-dpdk=${SYSROOT_DPDK}/usr/share/${RTE_TARGET} --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" -} - -do_compile() { - oe_runmake O="${RTE_TARGET}" T="${RTE_TARGET}" -} - -do_install() { - install -d ${D}${bindir}/ovs-dpdk - cp -rf ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk - cp -rf ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk - cp -rf ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk - cp -rf ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk - cp -rf ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk - cp -rf ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk - chmod 777 -R ${D}${bindir}/ovs-dpdk/* -} - -ALLOW_EMPTY_${PN} = "1" -INHIBIT_PACKAGE_STRIP = "1" -PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(qoriq-arm64)" diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb new file mode 100644 index 000..fd9d3a6 --- /dev/null +++ b/recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "OVS DPDK" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" + +DEPENDS = "dpdk python-six-native coreutils-native" +RDEPENDS_${PN} = "bash libcrypto libssl python" + +inherit pythonnative + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ovs-dpdk;nobranch=1 \ +" +SRCREV = "abc80ef87a8786050f27afb2a797cadd14e2a6bd" + +S = "${WORKDIR}/git" + +DPAA_VER ?= "dpaa" +export RTE_TARGET = "${ARCH}-${DPAA_VER}-linuxapp-gcc" + +EXTRA_OEMAKE +=
[meta-freescale] [PATCH 21/24] ls1046afrwy: add machine config
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls1046afrwy.conf | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 conf/machine/ls1046afrwy.conf diff --git a/conf/machine/ls1046afrwy.conf b/conf/machine/ls1046afrwy.conf new file mode 100644 index 000..c82fb4d --- /dev/null +++ b/conf/machine/ls1046afrwy.conf @@ -0,0 +1,35 @@ +#@TYPE: Machine +#@NAME: NXP LS1046AFRWY +#@SOC: LSCH2 +#@DESCRIPTION: Machine configuration for running LS1046A in 64-bit mode +#@MAINTAINER: Chunrong.guo + +MACHINEOVERRIDES =. "fsl-lsch2:ls1046a:" + +require conf/machine/include/qoriq-arm64.inc +require conf/machine/include/arm/arch-arm64.inc + +KERNEL_CLASSES = " kernel-fitimage " +KERNEL_IMAGETYPES = "fitImage" + +UBOOT_DTB_LOADADDRESS = "0x9000" +UBOOT_ENTRYPOINT = "0x8008" + +UBOOT_CONFIG ??= "tfa-secure-boot tfa" +UBOOT_CONFIG[tfa] = "ls1046afrwy_tfa_defconfig,,u-boot-dtb.bin" +UBOOT_CONFIG[tfa-secure-boot] = "ls1046afrwy_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" + +KERNEL_DEVICETREE ?= "\ +freescale/fsl-ls1046a-frwy-sdk.dtb \ +freescale/fsl-ls1046a-frwy-usdpaa.dtb \ +" +KERNEL_DEFCONFIG ?= "defconfig" + +SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0 115200;ttyLP0" +SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" + +RCWQSPI ?= "NN_NNQNNPNP_3040_0506/rcw_1600_qspiboot" +RCWSD ?= "NN_NNQNNPNP_3040_0506/rcw_1600_sdboot" + +EXTRA_IMAGEDEPENDS += "fm-ucode rcw atf ls2-phy" +USE_VT = "0" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 20/24] ls1046ardb: rename UEFI_NORBOOT -> UEFI_QSPIBOOT
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/ls1046ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/ls1046ardb.conf b/conf/machine/ls1046ardb.conf index b3000f0..b4d9662 100644 --- a/conf/machine/ls1046ardb.conf +++ b/conf/machine/ls1046ardb.conf @@ -28,7 +28,7 @@ KERNEL_DEFCONFIG ?= "defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0 115200;ttyLP0" SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" -UEFI_NORBOOT ?= "LS1046ARDB_EFI_NORBOOT.fd" +UEFI_QSPIBOOT ?= "LS1046ARDB_EFI_QSPIBOOT.fd" RCWQSPI ?= "RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot" RCWSD ?= "RR_FFSSPPPH_1133_5559/rcw_1800_sdboot" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 19/24] optee-os-qoriq: add OPTEEMACHINE for ls1088ardb-pb and ls1046afrwy
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-security/optee/optee-os-qoriq_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-security/optee/optee-os-qoriq_git.bb b/recipes-security/optee/optee-os-qoriq_git.bb index 5d21c00..7ac00f0 100644 --- a/recipes-security/optee/optee-os-qoriq_git.bb +++ b/recipes-security/optee/optee-os-qoriq_git.bb @@ -15,6 +15,8 @@ SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/optee_os; S = "${WORKDIR}/git" OPTEEMACHINE ?= "${MACHINE}" +OPTEEMACHINE_ls1088ardb-pb = "ls1088ardb" +OPTEEMACHINE_ls1046afrwy = "ls1046ardb" EXTRA_OEMAKE = "PLATFORM=ls-${OPTEEMACHINE} CFG_ARM64_core=y \ ARCH=arm \ -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 18/24] secure-obj: update to cd3c353
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: cd3c353 - updated the year in file copyright headers. 4d5cc8d - app/device_record: Stores the client's device record in a file. 322a6d6 - APP,TA,LIB: Creating 2 separate objects for public and private key for KeyPair bc0553a - removed dead code under compile time flag SK_INVALID_HANDLE f2fddd6 - added support for sk_digestinit sk_digestupdate sk_digestfinal. f509695 - APP_TA_LIB: Adding SK_ATTR_PRIVATE attribute for objects 6791873 - SOBJ_LIB: Exposing SK_CreateObject for PKCS#11 Library f3da9c0 - TA: Miscellaneous Changes 07ef069 - APP_ENG: Adding support for OAEP Encryption in engine and engine app 9fdbf7a - LIB_TA: Adding support for OAEP Encryption Scheme 1652924 - TA: Not returning TEE_ERROR_BAD_PARAMETERS for unmatched attributes 2a49505 - LIB: Exposing SK_GenerateKeyPair and SK_EraseObject Functions bbcbe6c - BUG: Fix for PLATSEC-666 e944456 - BUG: Fix for PLATSEC-628 41a0eaa - Making secure object components ompatible to OpenSSL 1.1.0 and 1.0.2 f72cf1a - Fix for PLATSEC-581 Signed-off-by: Chunrong Guo --- recipes-extended/secure-obj/secure-obj.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/secure-obj/secure-obj.inc b/recipes-extended/secure-obj/secure-obj.inc index 2034126..107e46e 100644 --- a/recipes-extended/secure-obj/secure-obj.inc +++ b/recipes-extended/secure-obj/secure-obj.inc @@ -12,7 +12,7 @@ LDFLAGS += "${TOOLCHAIN_OPTIONS}" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/secure_obj;nobranch=1 \ " -SRCREV = "bc0553a3c7a02555eb6bf46803854f6b49227a26" +SRCREV = "cd3c353df1c3f19577cf3fa08f8a21abd63fb3c1" WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 17/24] libpkcs11: update to a243fb2
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: a243fb2 - corrected the start year ac5d4db - Updated the year in file header. d642bdd - Changes for making SK_GenerateKeyPair API compatible Signed-off-by: Chunrong Guo --- recipes-extended/libpkcs11/libpkcs11_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb index 2a579c7..384b24f 100644 --- a/recipes-extended/libpkcs11/libpkcs11_git.bb +++ b/recipes-extended/libpkcs11/libpkcs11_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2 & BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/libpkcs11;nobranch=1" -SRCREV = "efd15b9fb6ecc453eb933ac28ef1741b989f842d" +SRCREV = "a243fb21772f1bd434d8bc1ac45feb36571afadb" DEPENDS = "openssl secure-obj" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 16/24] crconf: add recipes
From: Chunrong Guo include the following changes: 7b5819e - Restructure copy_name() to follow best practice 8bd9964 - Set algorithm mask only when type is provided 81bd24f - Don't overwrite compiler env. if alredy set 0248373 - Update dependencies - Linux kernel and iproute2 headers 547b464 - Fix potential segfault when omitting type argument 274eaba - Honor max length of alg/driver name in strncpy 9d0ae95 - Improve usage information 6ab1c3c - crconf: Fix error output on crconf_del_alg. d8a0a6f - crconf: Add a basic manpage 27a173f - crconf: Update headers to the Linux mainline 873058f - crconf - Linux crypto layer configuraton tool Signed-off-by: Chunrong Guo --- ...001-Modify-the-Makefile-for-cross-compile.patch | 30 ++ recipes-extended/crconf/crconf_git.bb | 18 + 2 files changed, 48 insertions(+) create mode 100644 recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch create mode 100644 recipes-extended/crconf/crconf_git.bb diff --git a/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch b/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch new file mode 100644 index 000..4459c37 --- /dev/null +++ b/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch @@ -0,0 +1,30 @@ +From 2c260c8c437c7f72f093b6c157a38b93443bde1d Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Mon, 11 Dec 2017 15:45:05 +0800 +Subject: [PATCH] Modify the Makefile for cross compile + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Chunrong Guo +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index c7bfee2..d6421f3 100644 +--- a/Makefile b/Makefile +@@ -4,8 +4,8 @@ LIBDIR=/usr/lib + SBINDIR=/sbin + MANDIR=/share/man + +-CC = gcc +-HOSTCC = gcc ++CC ?= gcc ++HOSTCC ?= gcc + CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall + CFLAGS = $(CCOPTS) -I../include + +-- +2.7.4 + diff --git a/recipes-extended/crconf/crconf_git.bb b/recipes-extended/crconf/crconf_git.bb new file mode 100644 index 000..7dc9277 --- /dev/null +++ b/recipes-extended/crconf/crconf_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "crconf -Linux crypto layer configuraton tool" +SECTION = "base" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=5;md5=0f77fc44eb5911007ae4ac9f6736e111" + +SRC_URI = "git://github.com/Thermi/crconf.git;protocol=https;nobranch=1" + +EXTRA_OEMAKE = "'CC=${CC}' 'HOSTCC=${CC}'" + +SRCREV = "7b5819e7638e471d41dd2dca71f012d5a022f014" + +S = "${WORKDIR}/git" + +do_install () { + oe_runmake install DESTDIR=${D} +} + +FILES_${PN} += "/share/man/* ${libdir}/* ${sbindir}/*" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 15/24] dce: update to 1b9e9ac
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: 1b9e9ac - .gitmodules: use codeaurora url e451edf - perf-test: Reject large input files 3bdbdf3 - perf-test: Error out in stateless decomp mismatch 64fc3b1 - dce-internals: Efficient FQ full scheme d1add39 - Merge pull request #32 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master b3c27ed - LICENSE: Remove GPL License 68a6dab - Merge pull request #31 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master 0f33f16 - LICENSE: Update License year and full BSD-3 text 0175bb4 - Merge pull request #30 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5621-dpdcei-object-fails-to-unassign-out-of-child-dprc to master 361e4d0 - dpdcei: Cleanup hanldes in dpdcei_deactivate Signed-off-by: Chunrong Guo --- recipes-dpaa2/dce/dce_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-dpaa2/dce/dce_git.bb b/recipes-dpaa2/dce/dce_git.bb index 2e0b453..e5fec34 100644 --- a/recipes-dpaa2/dce/dce_git.bb +++ b/recipes-dpaa2/dce/dce_git.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/dce;nobranch=1 \ git://source.codeaurora.org/external/qoriq/qoriq-components/qbman_userspace;nobranch=1;name=qbman;destsuffix=git/lib/qbman_userspace \ " -SRCREV = "045e5ce6f469d0c60e25f14a2340054a531a" +SRCREV = "1b9e9ac80bce1c3a209f38f72599c44768854551" SRCREV_qbman = "a1af1e1528fe2e1ce0df1e6d9170b6c239c8ab4f" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 14/24] cst: update to e04690b
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: e04690b - scripts/platform: LS1028A: Removes signing of PPA image Signed-off-by: Chunrong Guo --- recipes-devtools/cst/cst_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/cst/cst_git.bb b/recipes-devtools/cst/cst_git.bb index 8de37bc..dcac949 100644 --- a/recipes-devtools/cst/cst_git.bb +++ b/recipes-devtools/cst/cst_git.bb @@ -11,7 +11,7 @@ inherit kernel-arch SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/cst;nobranch=1 \ " -SRCREV = "2737b8bca4432c3ef21ac675e949cb53d444a369" +SRCREV = "e04690ba2ca60f56eb126e01496ed0cacbd838d4" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 12/24] spc: update to be7dd8e
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: be7dd8e - Increment SPC Tool version 2dafd3a - Refactoring following support for multiple protocols 727329a - Multiple protocols support Signed-off-by: Chunrong Guo --- recipes-dpaa2/spc/spc_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-dpaa2/spc/spc_git.bb b/recipes-dpaa2/spc/spc_git.bb index eceabf9..e9bf142 100644 --- a/recipes-dpaa2/spc/spc_git.bb +++ b/recipes-dpaa2/spc/spc_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=163b09a1c249a6ff2b28da1ceca2e0a8" DEPENDS = "libxml2 fmlib tclap" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/spc;nobranch=1" -SRCREV = "1a414247ad3228bf60bfb53995a28930a8a29acc" +SRCREV = "be7dd8e346a934aae1e4bdd6b579f2aa4bb5cd86" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 13/24] dpdk: Upgrade from version 17.11 to 18.11
IG_RTE_EAL_IGB_UIO=n CONFIG_RTE_KNI_KMOD=y \ + CONFIG_RTE_LIBRTE_PMD_OPENSSL=y \ + EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu" \ + EXTRA_CFLAGS="${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} -I${STAGING_INCDIR}" \ + CROSS="${TARGET_PREFIX}" \ + prefix="" LDFLAGS="${TUNE_LDARGS}" WERROR_FLAGS="-w" V=1 + + cd ${S}/examples/ +for APP in l2fwd l3fwd cmdif l2fwd-qdma l2fwd-crypto ipsec-secgw vhost kni ip_fragmentation ip_reassembly; do +temp=`basename ${APP}` +if [ ${temp} = "ipsec-secgw" ] || [ ${temp} = "l2fwd-crypto" ]; then + oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu -fuse-ld=bfd" \ + EXTRA_CFLAGS="${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} -I${STAGING_INCDIR}" \ + CROSS="${TARGET_PREFIX}" -C ${APP} CONFIG_RTE_LIBRTE_PMD_OPENSSL=y O="${S}/examples/${temp}" +else +oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu -fuse-ld=bfd" \ + EXTRA_CFLAGS="${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} -I${STAGING_INCDIR}" \ + CROSS="${TARGET_PREFIX}" -C ${APP} CONFIG_RTE_LIBRTE_PMD_OPENSSL=y O="${S}/examples/${temp}/" +fi +done + +} + +do_install () { + oe_runmake O=${RTE_OUTPUT} T= install-runtime DESTDIR=${D} + oe_runmake O=${RTE_OUTPUT} T= install-kmod DESTDIR=${D} kerneldir=${MODULE_DIR} + oe_runmake O=${RTE_OUTPUT} T= install-sdk DESTDIR=${D} + + # Install examples +install -d 0644 ${D}/usr/share/dpdk/cmdif/include +install -d 0644 ${D}/usr/share/dpdk/cmdif/lib +cp examples/cmdif/lib/client/fsl_cmdif_client.h examples/cmdif/lib/server/fsl_cmdif_server.h \ +examples/cmdif/lib/shbp/fsl_shbp.h ${D}/usr/share/dpdk/cmdif/include +cp examples/cmdif/lib/${RTE_TARGET}/librte_cmdif.a ${D}/usr/share/dpdk/cmdif/lib +install -d 0644 ${D}/usr/share/dpdk/examples/ipsec_secgw + cp -r ${S}/examples/ipsec-secgw/*.cfg ${D}/usr/share/dpdk/examples/ipsec_secgw +cp -rf ${S}/nxp/* ${D}/usr/share/dpdk +} + +PACKAGES += "${PN}-examples" + +FILES_${PN}-dbg += " \ + ${INSTALL_PATH}/.debug \ + ${INSTALL_PATH}/examples/*/.debug \ + " +FILES_${PN}-staticdev += "/usr/share/dpdk/cmdif/lib/*.a \ +" +FILES_${PN}-dev += " \ + ${INSTALL_PATH}/${RTE_TARGET}/.config \ + ${includedir} \ + ${includedir}/${ARCHDIR} \ + ${includedir}/exec-env \ + ${INSTALL_PATH}/buildtools/ \ + ${INSTALL_PATH}/${RTE_TARGET}/include \ + ${INSTALL_PATH}/${RTE_TARGET}/lib \ + ${INSTALL_PATH}/mk \ + " + +FILES_${PN} += " ${INSTALL_PATH}/ \ +${prefix}/sbin/ \ +${prefix}/bin/ \ +${libdir}/ \ +" +FILES_${PN}-examples += " \ + ${INSTALL_PATH}/examples/* \ + " diff --git a/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch b/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch new file mode 100644 index 000..20a05c4 --- /dev/null +++ b/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch @@ -0,0 +1,28 @@ +From 4ea737c1d5a185d56ee1d6da18172b389ea90760 Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Wed, 3 Jul 2019 08:50:45 +0200 +Subject: [PATCH] Add RTE_KERNELDIR_OUT + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: C.r. Guo +--- + kernel/linux/kni/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kernel/linux/kni/Makefile b/kernel/linux/kni/Makefile +index 282be7b..dfbebdc 100644 +--- a/kernel/linux/kni/Makefile b/kernel/linux/kni/Makefile +@@ -20,7 +20,7 @@ MODULE_CFLAGS += -Wall -Werror + + ifeq ($(DISTRIB_ID),Ubuntu) + MODULE_CFLAGS += -DUBUNTU_RELEASE_CODE=$(subst .,,$(DISTRIB_RELEASE)) +-UBUNTU_KERNEL_CODE := $(shell echo `grep UTS_RELEASE $(RTE_KERNELDIR)/include/generated/utsrelease.h \ ++UBUNTU_KERNEL_CODE := $(shell echo `grep UTS_RELEASE $(RTE_KERNELDIR_OUT)/include/generated/utsrelease.h \ +| cut -d '"' -f2 | cut -d- -f1,2 | tr .- ,`,1) + MODULE_CFLAGS += -D"UBUNTU_KERNEL_CODE=UBUNTU_KERNEL_VERSION($(UBUNTU_KERNEL_CODE))" + endif +-- +2.7.4 + diff --git a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch b/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch index 0c84682..c074eac 100644 --- a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch +++ b/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch @@ -18,7 +18,7 @@ index d28badf..4e9851c 100644 CFLAGS += -O3 -CFLAGS += $(WERROR_FLAGS) -+CFLAGS += $(WERROR_FLAGS) -Wno-cast-function-type
[meta-freescale] [PATCH 10/24] linux-qoriq/4.14: update to e3aede3
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: e3aede3 - tcp: enforce tcp_min_snd_mss in tcp_mtu_probing() 307f55b - tcp: add tcp_min_snd_mss sysctl c3f6a40 - tcp: tcp_fragment() should apply sane memory limits 7d63a76 - tcp: limit payload size of sacked skbs bc6fb71 - Revert "crypto: caam - fix concurrency issue in givencrypt descriptor" 5ead7f1 - dpaa2-eth: Remove FSL_DPAA2_ETH_DEBUGFS option 34ae8f0 - dpaa2-eth: Move CEETM config options under FSL_DPAA2_ETH 9ac3836 - ahci_qoriq: bug fix for ecc_addr f793640 - arm64: dts: ls1028a: add gpu node 043de79 - sdk_qbman: Avoid variable length array in USDPAA bd9550f - drivers: net: can: flexcan: fix flexcan not working 4660157 - dpaa2-eth: add irq for the dpmac connect/disconnect event 4319197 - dpaa2-eth: Fix incorrect version check e3f7267 - dpaa2-eth: Fix FQ-based enqueue 3b04038 - crypto: caam - fix pkcs1pad(rsa-caam, sha256) failure because of invalid input 4f0c3a1 - crypto: caam - fix concurrency issue in givencrypt descriptor 439f828 - arm64: dts: ls1028a: Add temperature sensor node 2353f24 - dpaa2-eth: No bql accounting for XDP frames 50c4adb - arm64: dts: ls1028a: Fix CPU idle fail. 815dbbc - dmaengine: fsl-edma: support little endian for edma driver e7275aa - arm64: dts: fsl: ls1028a: Add qDMA node 2e4a124 - arm64: dts: lx2160a: update interrupt property for Aquantia phy bd8ee34 - can: flexcan: Handle bit timings overflow 8330f91 - Fix flexcan compiling errors. Signed-off-by: Chunrong Guo --- recipes-kernel/linux/linux-qoriq_4.14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-qoriq_4.14.bb b/recipes-kernel/linux/linux-qoriq_4.14.bb index 9f4bcf0..cd37c5d 100644 --- a/recipes-kernel/linux/linux-qoriq_4.14.bb +++ b/recipes-kernel/linux/linux-qoriq_4.14.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \ file://0001-Makfefile-add-cflags.patch \ " -SRCREV = "7e52442b136c439c142c4859a70ce92208c481a9" +SRCREV = "e3aede3681a610e6d42c397b96547dc90f6f9e87" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 11/24] fmc: install all config files
From: Chunrong Guo Signed-off-by: Chunrong Guo --- dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index cbf8e24..2f5f1af 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb @@ -39,7 +39,7 @@ do_install () { install -m 755 ${S}/source/fmc ${D}/${bindir} install -d ${D}${sysconfdir}/fmc/config -install -m 644 ${S}${sysconfdir}/fmc/config/hxs_pdl_v3.xml ${D}${sysconfdir}/fmc/config +install -m 644 ${S}${sysconfdir}/fmc/config/* ${D}${sysconfdir}/fmc/config install -d ${D}/${includedir}/fmc install ${S}/source/fmc.h ${D}/${includedir}/fmc -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 08/24] qe-ucode: update recipes
From: Chunrong Guo *install *.bin to boot *set COMPATIBLE_MACHINE to qoriq Signed-off-by: Chunrong Guo --- recipes-bsp/qe-ucode/qe-ucode_git.bb | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb index 9bac32d..58dffa3 100644 --- a/recipes-bsp/qe-ucode/qe-ucode_git.bb +++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb @@ -10,29 +10,20 @@ SRCREV= "57401f6dff650708eaa6838116baa8a2fd46" S = "${WORKDIR}/git" -python () { -if not d.getVar("QE_UCODE"): -PN = d.getVar("PN") -FILE = os.path.basename(d.getVar("FILE")) -bb.debug(1, "To build %s, see %s for instructions on \ - setting up your qe-ucode" % (PN, FILE)) -raise bb.parse.SkipRecipe("because QE_UCODE is not set") -} - do_install () { install -d ${D}/boot - install -m 644 ${B}/${QE_UCODE} ${D}/boot + install -m 644 ${B}/*.bin ${D}/boot } do_deploy () { install -d ${DEPLOYDIR}/boot - install -m 644 ${B}/${QE_UCODE} ${DEPLOYDIR}/boot + install -m 644 ${B}/*.bin ${DEPLOYDIR}/boot } addtask deploy before do_build after do_install PACKAGES += "${PN}-image" FILES_${PN}-image += "/boot/*" -COMPATIBLE_MACHINE = "(ls1021a|ls1043a|t1042|t1024)" +COMPATIBLE_MACHINE = "(qoriq)" PACKAGE_ARCH = "${MACHINE_SOCARCH}" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 09/24] linux-qoriq/4.19: update to 1a4cab2
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: 1a4cab2 - tcp: enforce tcp_min_snd_mss in tcp_mtu_probing() b20446e - tcp: add tcp_min_snd_mss sysctl 96340e0 - tcp: tcp_fragment() should apply sane memory limits 6aa0603 - tcp: limit payload size of sacked skbs 58cd089 - Revert "crypto: caam - fix concurrency issue in givencrypt descriptor" 2cf3e79 - ahci_qoriq: bug fix for ecc_addr 43aec2b - arm64: dts: ls1028a: add gpu node 8d67002 - sdk_qbman: Avoid variable length array in USDPAA 63a7aba - net: dev: introduce support for sch BYPASS for lockless qdisc e1924fc - net: sched: add empty status flag for NOLOCK qdisc 31639b0 - dpaa2-eth: add irq for the dpmac connect/disconnect event ad0e508 - dpaa2-eth: Fix incorrect version check 1816b9c - dpaa2-eth: Fix FQ-based enqueue 97894b93 - crypto: caam - fix pkcs1pad(rsa-caam, sha256) failure because of invalid input 1bee6b6 - crypto: caam - fix concurrency issue in givencrypt descriptor 582dfcb - arm64: dts: ls1028a: Add temperature sensor node 9be8742 - staging: fsl-dpaa2: Remove duplicate config options 6e189a2 - arm64: dts: ls1028a: Fix CPU idle fail. fe14f5f - spi: nxp-fspi: add "get_name" function 6aa2bb8 - dmaengine: fsl-edma: support little endian for edma driver 2505bc2 - arm64: dts: fsl: ls1028a: Add qDMA node 1a1da4d - arm64: dts: lx2160a: update interrupt property for Aquantia phy 052f93b - can: flexcan: Handle bit timings overflow 4687a6d - can: flexcan: enable flexcan for all architectures ab64674 - can: flexcan: modify the interrupt register handling ce7a15d - net: can: flexcan: can FD Format (FDF) changes *refresh patches. Signed-off-by: Chunrong Guo --- recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch | 2 +- recipes-kernel/linux/linux-qoriq_4.19.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch b/recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch index b01545f..4e76c10 100644 --- a/recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch +++ b/recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch @@ -17,7 +17,7 @@ index 967692b..ae395cd 100644 KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -fshort-wchar \ - -Werror-implicit-function-declaration \ -+ -Werror-implicit-function-declaration -Wno-misleading-indentation -Wno-tautological-compare \ ++ -Werror-implicit-function-declaration -Wno-address-of-packed-member \ -Wno-format-security \ -std=gnu89 KBUILD_CPPFLAGS := -D__KERNEL__ diff --git a/recipes-kernel/linux/linux-qoriq_4.19.bb b/recipes-kernel/linux/linux-qoriq_4.19.bb index 13667ea..bfea4bd 100644 --- a/recipes-kernel/linux/linux-qoriq_4.19.bb +++ b/recipes-kernel/linux/linux-qoriq_4.19.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \ " -SRCREV = "c0c2141106240d61e7b9d7c80284711d54f6ae91" +SRCREV = "1a4cab2c597de7ac87c6ab4ce2a42e5e5adb3c0b" SRC_URI += " file://0001-Makfefile-add-cflags.patch \ " -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 07/24] ddy-phy: update depends atf commit id
From: Chunrong Guo *update atf to 1906 tag Signed-off-by: Chunrong Guo --- recipes-bsp/ddr-phy/ddr-phy_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index 766ba79..1496b51 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb @@ -7,7 +7,7 @@ inherit deploy fsl-eula-unpack SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \ git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;nobranch=1;destsuffix=git/atf;name=atf" SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" -SRCREV_atf = "7e34aebe658c7c3439d2d68b0ce6b9776e8e6996" +SRCREV_atf = "17f94e4315e81e3d1b22d863d9614d724e8273dc" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 06/24] mc: update to f72b978
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: f72b978 - Add the prebuilt binaries of mc 10.16.2 release a7d982e - Update the license file *Upgrade version to 10.16.2 Signed-off-by: Chunrong Guo --- .../management-complex_10.14.3.bb | 40 -- .../management-complex_10.16.2.bb | 40 ++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 recipes-dpaa2/management-complex/management-complex_10.14.3.bb create mode 100644 recipes-dpaa2/management-complex/management-complex_10.16.2.bb diff --git a/recipes-dpaa2/management-complex/management-complex_10.14.3.bb b/recipes-dpaa2/management-complex/management-complex_10.14.3.bb deleted file mode 100644 index b77c4fb..000 --- a/recipes-dpaa2/management-complex/management-complex_10.14.3.bb +++ /dev/null @@ -1,40 +0,0 @@ -SUMMARY = "DPAA2 Management Complex Firmware" -LICENSE = "NXP-Binary-EULA" -LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=afcb1213054384820390d410ab62105f" - -inherit deploy fsl-eula-unpack - -INHIBIT_DEFAULT_DEPS = "1" - -SRC_URI = "git://github.com/nxp/qoriq-mc-binary;fsl-eula=true;nobranch=1" -SRCREV = "bd64d1824681b009fd83b0a3699e45b117b72695" - -S = "${WORKDIR}/git" - -REGLEX_ls2088a = "ls2088a" -REGLEX_ls1088a = "ls1088a" -REGLEX_lx2160a = "lx2160a" - -do_install () { -install -d ${D}/boot -install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot -} - -do_deploy () { -install -d ${DEPLOYDIR}/mc_app -install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app -# make a symlink to the latest binary -for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do -ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb -done -} -addtask deploy before do_build after do_install - -PACKAGES += "${PN}-image" -FILES_${PN}-image += "/boot" - -INHIBIT_PACKAGE_STRIP = "1" - -COMPATIBLE_MACHINE = "(qoriq-arm64)" -PACKAGE_ARCH = "${MACHINE_ARCH}" - diff --git a/recipes-dpaa2/management-complex/management-complex_10.16.2.bb b/recipes-dpaa2/management-complex/management-complex_10.16.2.bb new file mode 100644 index 000..435544a --- /dev/null +++ b/recipes-dpaa2/management-complex/management-complex_10.16.2.bb @@ -0,0 +1,40 @@ +SUMMARY = "DPAA2 Management Complex Firmware" +LICENSE = "NXP-Binary-EULA" +LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=73d4b970c18882e229e4bf1ada5bb8d6" + +inherit deploy fsl-eula-unpack + +INHIBIT_DEFAULT_DEPS = "1" + +SRC_URI = "git://github.com/nxp/qoriq-mc-binary;fsl-eula=true;nobranch=1" +SRCREV = "f72b978873af6c7cd0fd92b793363506411c102c" + +S = "${WORKDIR}/git" + +REGLEX_ls2088a = "ls2088a" +REGLEX_ls1088a = "ls1088a" +REGLEX_lx2160a = "lx2160a" + +do_install () { +install -d ${D}/boot +install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot +} + +do_deploy () { +install -d ${DEPLOYDIR}/mc_app +install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app +# make a symlink to the latest binary +for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do +ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb +done +} +addtask deploy before do_build after do_install + +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + +INHIBIT_PACKAGE_STRIP = "1" + +COMPATIBLE_MACHINE = "(qoriq-arm64)" +PACKAGE_ARCH = "${MACHINE_ARCH}" + -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 04/24] atf: update to 17f94e4
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: 17f94e4 - plat/nxp/fsl_sec: Remove infinite loop from DEBUG Build 2d18325 - plat/nxp: Change MMU mapping of QSPI, NOR flash to MEMORY from DEVICE 5b8b9a3 - plat/nxp: Add lx2160aqds support 332c6ee - Merge branch 'LSDK' of ssh://bitbucket.sw.nxp.com/gitam/atf into LSDK 1e4b1e6 - Merge pull request #41 in GITAM/atf from ~NXA19332/atf-fork:LSDK to LSDK 693673c - plat: nxp: ls1028rdb: optimize DDR performance 8976e00 - Merge pull request #36 in GITAM/atf from ~NXA27427/atf:jira/PLATSEC-822 to LSDK af21b29 - common: include: correct setbits_le32 macro 3947e8e - plat/nxp/tools: Adds flag to check CRC or STOP command. c8af318 - nxp: ddr: ls1012a: fixes random hang issue fea3df8 - Merge pull request #30 in GITAM/atf from ~NXF49783/atf:LSDK to LSDK 1df8fb4 - Merge pull request #38 in GITAM/atf from ls1028_brup to LSDK 7e3f1fc - nxp: drivers: ddr: phy-gen2: add PllCtrl settings 07a2317 - nxp/ls1046: Add support for frwy board 25443b9 - plat: nxp: ddr: update ODT and output driver impedance b68a2d7 - csf_hdr_parser/input_blx_ch2: Corrects OEMUID 0 input attribute name. 5b14d6d - plat/nxp/drivers/sfp: Reset the data value at the set GPIO pin. 89963ec - Merge branch 'LSDK' of ssh://bitbucket.sw.nxp.com/gitam/atf into LSDK b54f200 - nxp/ls1028a: Enable core timebase *add ls1046afrwy support *install fip_ddr_sec.bin Signed-off-by: Chunrong Guo --- recipes-bsp/atf/atf_git.bb | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 2f8a38a..0f70d73 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -13,7 +13,7 @@ do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" S = "${WORKDIR}/git" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1" -SRCREV = "7e34aebe658c7c3439d2d68b0ce6b9776e8e6996" +SRCREV = "17f94e4315e81e3d1b22d863d9614d724e8273dc" SRC_URI += "file://0001-fix-fiptool-build-error.patch \ file://0001-Makefile-add-CC-gcc.patch \ @@ -47,6 +47,7 @@ chassistype_ls1012ardb = "ls104x_1012" chassistype_ls1012afrwy = "ls104x_1012" chassistype_ls1043ardb = "ls104x_1012" chassistype_ls1046ardb = "ls104x_1012" +chassistype_ls1046afrwy = "ls104x_1012" ddrphyopt ?= "" ddrphyopt_lx2160ardb = "fip_ddr_sec" @@ -97,6 +98,10 @@ do_compile() { ;; qspi) rcwimg="${RCWQSPI}${rcwtemp}.bin" +uefiboot="${UEFI_QSPIBOOT}" +if [ "${BUILD_SECURE}" = "true" ] && [ ${MACHINE} = ls1046ardb ]; then +rcwimg="RR_FFSSPPPH_1133_5559/rcw_1600_qspiboot_sben.bin" +fi ;; sd) rcwimg="${RCWSD}${rcwtemp}.bin" @@ -165,6 +170,9 @@ do_install() { fi fi chown -R root:root ${D} +if [ -f "${S}/fip_ddr_sec.bin" ]; then +cp -r ${S}/fip_ddr_sec.bin ${D}/boot/atf/fip_ddr_sec.bin +fi } do_deploy() { @@ -195,6 +203,9 @@ do_deploy() { cp -r ${S}/fuse_fip_512mb.bin ${D}/boot/atf/fuse_fip_512mb${secext}.bin fi fi +if [ -f "${S}/fip_ddr_sec.bin" ]; then +cp -r ${D}/boot/atf/fip_ddr_sec.bin ${DEPLOYDIR}/atf/fip_ddr_sec.bin +fi } addtask deploy after do_install FILES_${PN} += "/boot" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 05/24] mc-utils: update to 18c7760
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: 18c7760 - Add DPSECI object in default DPL for LX2160 platform 598afb9 - Add DPL files for LS1088/LS2088 with DPSECI objects included 8da7d1d - api: add MC 10.16.0 APIs 19a70bb - api: add MC 10.15.0 APIs Signed-off-by: Chunrong Guo --- recipes-bsp/mc-utils/mc-utils_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb index 49aa8f5..f0b21b7 100644 --- a/recipes-bsp/mc-utils/mc-utils_git.bb +++ b/recipes-bsp/mc-utils/mc-utils_git.bb @@ -10,7 +10,7 @@ DEPENDS += "dtc-native" inherit deploy SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/mc-utils;nobranch=1" -SRCREV = "eeb8972a3d4137c87a54c2795452b17f254a68c7" +SRCREV = "18c77603733b3fcd0b716bf9800e052330941f4e" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 02/24] u-boot: update to c873063
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: c873063 - common: qixis: make the qixis compatible with new soc 4fe7bca - armv8: ls1028a: Add environment variables to facilitate the boot d7baae8 - dm: i2c: lx2160: Revert lx2160 i2c dm support patch set 3c75182 - armv8: lx2160ardb : Add slave nodes under the i2c0 controller 1807bb1 - armv8: lx2160ardb : Add pcf2127 node 600e32c - armv8: dts: fsl-lx2160a: add i2c controller and gpio DT nodes efe84a3 - gpio: do not include on ARCH_LX2160A 8fbdb38 - drivers: i2c: mxc: Solve the compiler error when using i2c dm mode 210c880 - configs: lx2160a: enable DM support for pcf2127 rtc 4691972 - armv8: lx2160a: The lx2160a platform supports the I2C driver model. 9b6da05 - board/freescale/common: secure_boot: Set bootdelay to -2. c419c9c - armv8: fsl-layerscape: Increase mmc read size for secure-boot headers e3a324e - configs: fsl-layerscape: secure_boot: Enable setexpr command. 03313e4 - armv8: dts: ls1028a: Add FSPI node for ls1028ardb and ls1028aqds 47a485c - configs: ls1028a: Enable FSPI support for ls1028ardb and ls1028aqds 7a5853e - mtd: spi-nor-ids: Add micron mt35xu02g flash ID d5cf4da - configs: ls1012: unset CONFIG_SPI_FLASH_BAR, move CONFIG_FSL_QSPI to defconfig bcdf1cb - driver: spi: Update QSPI driver xfer 0c337c2 - armv8: ls2088ardb: Fix MC firmware loading during SD boot 336202e - armv8: ls2088aqds: Fix MC firmware loading during SD boot 7be353f - armv8: ls2088aqds: Add bootcmd for TFA boot 9664bf5 - armv8: fsl-layerscape: Change bootcmd update logic 3bad029 - ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot b892a5c - armv8: fsl-lsch2: add clock support for the second eSDHC 6bec285 - configs: ls1088aqds: Enable config to write aligned data to TxFIFO 7db76c5 - arm64: configs: ls1046afrwy: config update 268ebc5 - armv8: fsl-layerscape: Update qspi clk cfg da7f6ec - armv8/fsl-layerscape: Add loop to check L3 dcache status 55007f3 - ARM: dts: ls1021a: Fixed reg for sata node *Upgrade version to 2019.04 Signed-off-by: Chunrong Guo --- recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc | 19 -- recipes-bsp/u-boot/u-boot-qoriq-common_2019.04.inc | 19 ++ .../u-boot/u-boot-qoriq-fw-utils_2018.09.bb| 45 .../u-boot/u-boot-qoriq-fw-utils_2019.04.bb| 45 recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb | 79 -- recipes-bsp/u-boot/u-boot-qoriq_2019.04.bb | 79 ++ 6 files changed, 143 insertions(+), 143 deletions(-) delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc create mode 100644 recipes-bsp/u-boot/u-boot-qoriq-common_2019.04.inc delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2018.09.bb create mode 100644 recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2019.04.bb delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb create mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2019.04.bb diff --git a/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc deleted file mode 100644 index 06ec01b..000 --- a/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc +++ /dev/null @@ -1,19 +0,0 @@ - -inherit fsl-u-boot-localversion - -LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1" -LIC_FILES_CHKSUM = " \ -file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ -file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ -file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ -file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ -file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ -" - -SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1 \ -" -SRCREV= "80b2d2bc4cab0a8363c9b7eba8064b1795f12670" - -S = "${WORKDIR}/git" -PV_append = "+fslgit" -LOCALVERSION = "+fsl" diff --git a/recipes-bsp/u-boot/u-boot-qoriq-common_2019.04.inc b/recipes-bsp/u-boot/u-boot-qoriq-common_2019.04.inc new file mode 100644 index 000..46e4314 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-qoriq-common_2019.04.inc @@ -0,0 +1,19 @@ + +inherit fsl-u-boot-localversion + +LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1" +LIC_FILES_CHKSUM = " \ +file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ +file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ +file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ +file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ +file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ +" + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1 \ +" +SRCREV= "c873063750db4479feee58a1d97f38a0934ea7b9" + +S = "${WORKDIR}/git" +PV_append = "+fslgit" +LOCALVERSION = "+fsl" diff --git a/recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2018.09.bb
[meta-freescale] [PATCH 03/24] uefi: update to 1296390
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: 1296390 - update to commit 7918c743857 ee84dcf - update binaries for LSDK 19.06 e4f1a6f - update binaries for LSDK 19.06 Signed-off-by: Chunrong Guo --- recipes-bsp/uefi/uefi_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index b170f15..55344c1 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" inherit deploy fsl-eula-unpack SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;fsl-eula=true;nobranch=1" -SRCREV= "de8834df31646c1dc5a3fe1c1bf09582e0b2781c" +SRCREV= "12963900e9cb4e322df7bff327862de3b8a6371e" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 01/24] rcw: update to 93358b4
From: Chunrong Guo *update to lsdk 1906 tag include the following changes: 93358b4 - rcw.py: Update comments for loadwochecksum command de68a41 - ls2088aqds: Corrected MEM2_PLL_RAT for DP-DDR frequency ac05bc4 - ls1046afrwy: fix a compiling error issue a25dde7 - Add init rcw support for ls1028a platform de0baa2 - rcw.py: Add Support to Load RCW without checksum b99ec29 - ls1046a: ls1046afrwy: frwy-ls1046a platform support 498de8d - LX2160: Add workaround of errata A-011270 Signed-off-by: Chunrong Guo --- recipes-bsp/rcw/rcw_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index ba26ef2..3808a71 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -8,7 +8,7 @@ DEPENDS += "change-file-endianess-native tcl-native" inherit deploy siteinfo SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/rcw;nobranch=1" -SRCREV = "f1377876cc06a87ec8afa8a3412ca7c8455861f2" +SRCREV = "93358b4872bc69f1e3757739d70f20c8b18894e4" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [EXT] Why not support aarch64 BE any more.
Hello lei, We can not support aarch64BE now . So I removed BE machine config . You can add machine config to meta-freescale if you need be machine config. Thanks Chunrong -Original Message- From: Lei, Maohui [mailto:leimao...@cn.fujitsu.com] Sent: 2019年5月17日 10:10 To: C.r. Guo Cc: meta-freescale@yoctoproject.org Subject: [EXT] [meta-freescale] Why not support aarch64 BE any more. Caution: EXT Email Hi, Guo I'm working on Distro for aarch64BE(ls1046a), and I noticed that you removed ls1043ardb-be.conf from meta-freescale recently. Would you mind tell me why doesn't support aarch64BE anymore? Best regards Lei Maohui -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [EXT] Recipe for building atf with yocto?
Hello john, There are some atf recipes in master and warrior branch of meta-freescale (/recipes-bsp/atf)。 Thanks Chunrong From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of john matt Sent: 2019年4月17日 10:45 To: meta-freescale Mailing List Subject: [EXT] [meta-freescale] Recipe for building atf with yocto? WARNING: This email was created outside of NXP. DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe. Hi All, When I build Yocto 2.5, it builds binaries for legacy u-boot. For some reason, I need to use TF-A (Trusted firrmware) based u-boot for my Yocto build.I am wondering how if there are recipes for building atf in current Yocto? Thanks, John. -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH 01/24] atf: update to 7e34aeb
PING! -Original Message- From: C.r. Guo Sent: 2019年4月1日 17:12 To: meta-freescale@yoctoproject.org Cc: C.r. Guo Subject: [PATCH 01/24] atf: update to 7e34aeb From: Chunrong Guo *update to lsdk 1903 tag include the following changes 7e34aeb - Fix 2088 sleep hang dc16e35 - SDEI: Ensure SDEI handler executes with CVE-2018-3639 mitigation enabled 5eb3190 - Fast path SMCCC_ARCH_WORKAROUND_1 calls from AArch32 cd1e8ce - Add support for dynamic mitigation for CVE-2018-3639 82c570f - aarch32: Implement static workaround for CVE-2018-3639 2a655ec - Implement static workaround for CVE-2018-3639 90c75d3 - Rename symbols and files relating to CVE-2017-5715 179e18a - Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1 2671898 - lx2: Remove setting of POWMGTCSR[LPM20_RQ] from LPM20 flow 7ca22ff - Adding LX2160 system power-down (LPM20) 0f81f07 - ls2088ardb: Add support of Non-ECC UDIMM ee53ed7 - nxp/lx2: Enable Errate ERRATA_A72_859971 on LX2 *add ddr-phy to DEPENDS for lx2160a *install ddr4_pmu_train_dmem.bin Signed-off-by: Chunrong Guo --- recipes-bsp/atf/atf_git.bb | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 883b7ea..6583be8 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -5,14 +5,15 @@ LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443" inherit deploy -DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native uefi" +DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native" +DEPENDS_append_lx2160a += "ddr-phy" DEPENDS_append_qoriq-arm64 += "optee-os-qoriq" do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" S = "${WORKDIR}/git" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1" -SRCREV = "4971f394cf32e33e3a9ca23a4faa49d606af31c5" +SRCREV = "7e34aebe658c7c3439d2d68b0ce6b9776e8e6996" SRC_URI += "file://0001-fix-fiptool-build-error.patch \ file://0001-Makefile-add-CC-gcc.patch \ @@ -81,6 +82,9 @@ do_compile() { bl32opt="BL32=${bl32}" spdopt="SPD=opteed" fi +if [ -f ${DEPLOY_DIR_IMAGE}/ddr-phy/ddr4_pmu_train_dmem.bin ]; then +cp ${DEPLOY_DIR_IMAGE}/ddr-phy/*.bin ${S}/ +fi for d in ${BOOTTYPE}; do case $d in -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 19/24] optee-client-qoriq:update to 0842873
From: Chunrong Guo *update to lsdk 1903 tag include the following changes: 0842873 - flags: add -D_FILE_OFFSET_BITS=64 to support large files 28eea17 - libteec: Makefile: Generate .so files the same way as CMake 656e427 - tee_supplicant: gprof: fix compile error c48bc3b - tee-supplicant: cmake: enable RPMB emulation by default b6bfce9 - Makefile and config.mk: remove export in config.mk 66cdd5d - tee-supplicant: add daemon mode (-d) 5355fdb - Do not set -Werror by default 9c5e24c - tee-supplicant: rpmb.c: add __attribute__((fallthrough)) 0361f9b - libteec: refactor _dprintf() 8742233 - benchmark: fix computation of page address bd0e7c8 - Android related files: changes to work with Treble enabled build 9a63135 - Android.mk & config.mk: move teec.log/teesupp.log under /data/tee 6b4ca04 - benchmark: fix compilation issues 2d542f2 - Do not export CMakeLists.txt when running install 0fc28f2 - libteec: Fix incorrect SOVERSION number 3f16662 - tee-supplicant: cast sizeof(x) to socklen_t 23b22b1 - tee-supplicant: fix gcc warning e0a12e2 - cmake: Initial CMake support 33fa3c1 - tee-supplicant: fix use of mem after it's freed 09b69af - libteec/tee-supplicant: respect LDFLAGS set from distribution toolchain 9681680 - libteec/Makefile: generate static library (libteec.a) 73b4e49 - tee-supplicant: REE fs open file with O_SYNC flag 075c56e - tee_supplicant: add register memory feature *remove patch Signed-off-by: Chunrong Guo --- recipes-security/optee/optee-client-qoriq.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-security/optee/optee-client-qoriq.bb b/recipes-security/optee/optee-client-qoriq.bb index 6aaf714..4d1caa1 100644 --- a/recipes-security/optee/optee-client-qoriq.bb +++ b/recipes-security/optee/optee-client-qoriq.bb @@ -7,12 +7,10 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=69663ab153298557a59c67a60a743e5b" inherit pythonnative systemd SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/optee_client;nobranch=1 \ - file://0001-GCC-8-format-truncation-error.patch \ - file://0001-flags-CFLAGS-add-Wno-cpp.patch \ " S = "${WORKDIR}/git" -SRCREV = "ab3c79ccd3ea9323e236d30037977c0a19944dbd" +SRCREV = "08428734c67fb559e420d87fa52fd74a955ea1bd" EXTRA_OEMAKE = "ARCH=arm64" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 11/24] dce: update to 0455555
From: Chunrong Guo *Update to lsdk 1903 tag include the following changes: 045 - .gitmodules: use codeaurora url d1add39 - Merge pull request #32 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master b3c27ed - LICENSE: Remove GPL License 68a6dab - Merge pull request #31 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master 0f33f16 - LICENSE: Update License year and full BSD-3 text 0175bb4 - Merge pull request #30 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5621-dpdcei-object-fails-to-unassign-out-of-child-dprc to master 361e4d0 - dpdcei: Cleanup hanldes in dpdcei_deactivate 81fae16 - LX2160 Rev1: Edit warning for stateful ERR011568 ede610b - LX2160 Rev1: Print warning for stateful ERR011568 34133be - perf-test: Update output buffer allocation c0b437e - Fix swp_init for LX2: set qman mode explicitly aac02ee - perf-test: Correct CPU affine logic *qbman update to Update to lsdk 1903 tag include the following changes: a1af1e1 - Adding average pull/enqueue statistics and minor performance improvement. Signed-off-by: Chunrong Guo --- recipes-dpaa2/dce/dce_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-dpaa2/dce/dce_git.bb b/recipes-dpaa2/dce/dce_git.bb index 7313ca7..2e0b453 100644 --- a/recipes-dpaa2/dce/dce_git.bb +++ b/recipes-dpaa2/dce/dce_git.bb @@ -1,13 +1,13 @@ DESCRIPTION = "Decompression Compression Engine Userspace Utils" SECTION = "dpaa2" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=338308e2a663929309c9929ab9495bb5" +LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/dce;nobranch=1 \ git://source.codeaurora.org/external/qoriq/qoriq-components/qbman_userspace;nobranch=1;name=qbman;destsuffix=git/lib/qbman_userspace \ " -SRCREV = "49389aa57cc94e0503f53c6b33e4b358ccf42eb5" -SRCREV_qbman = "383ceac0c09b1e38f2a8b1cf42822686b4cf15f3" +SRCREV = "045e5ce6f469d0c60e25f14a2340054a531a" +SRCREV_qbman = "a1af1e1528fe2e1ce0df1e6d9170b6c239c8ab4f" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 10/24] aiopsl: update to 87d83d8
From: Chunrong Guo *update to lsdk 1903 tag include the following changes 87d83d8 - AIOPSL-1233 26212e6 - Fix for AIOPSL-1232 Signed-off-by: Chunrong Guo --- recipes-dpaa2/aiopsl/aiopsl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-dpaa2/aiopsl/aiopsl_git.bb b/recipes-dpaa2/aiopsl/aiopsl_git.bb index 9ba1281..feff783 100644 --- a/recipes-dpaa2/aiopsl/aiopsl_git.bb +++ b/recipes-dpaa2/aiopsl/aiopsl_git.bb @@ -8,7 +8,7 @@ BASEDEPENDS = "" S = "${WORKDIR}/git" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/aiopsl;nobranch=1" -SRCREV = "ec0e50b9bfe794b78bf0d91789f2a77dc4e8ceb4" +SRCREV = "87d83d8e99770325cc7ad9e10965c9959e7cb828" do_configure[noexec] = "1" do_compile[noexec] = "1" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 21/24] optee-test-qoriq:update to 6690584
From: Chunrong Guo *update to lsdk 1903 tag include the following changes: 6690584 - cmake: locate files WRT to project home directory f6f68a2 - regression 6000: fix uninitialized local variables 0cf4cfe - regression 4100: fix uninitialized local variable 481c660 - regression 4000: fix uninitialized local variable a410edb - xtest --aes-perf: add -u option to process buffer in several steps 5401161 - improve xtest summary message a8c8f87 - regression: split 4007 into key types 0953bf0 - regression 4011: correct potential overflow 493574a - xtest: prevent unexpected build warning with strncpy 7dbf877 - regression: 6010: add rename conflict case (with close) Signed-off-by: Chunrong Guo --- recipes-security/optee/optee-test-qoriq_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-security/optee/optee-test-qoriq_git.bb b/recipes-security/optee/optee-test-qoriq_git.bb index a9aaffc..bb0c30d 100644 --- a/recipes-security/optee/optee-test-qoriq_git.bb +++ b/recipes-security/optee/optee-test-qoriq_git.bb @@ -9,11 +9,10 @@ DEPENDS = "optee-client-qoriq optee-os-qoriq python-pycrypto-native" inherit pythonnative SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/optee_test;nobranch=1 \ -file://0001-fix-build-failure-with-GCC-8.patch \ " S = "${WORKDIR}/git" -SRCREV = "83c87d9b368c33545688c7aad27432ff9a22868f" +SRCREV = "669058459e4a544be12f37dab103ee4c2b32e31d" OPTEE_CLIENT_EXPORT = "${STAGING_DIR_HOST}${prefix}" TEEC_EXPORT = "${STAGING_DIR_HOST}${prefix}" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 13/24] restool: update to 8b1dd40
From: Chunrong Guo *Update to lsdk 1903 tag include the following changes: 8b1dd40 - dprc: fix compile error (only witn gcc 8.x) 8eb494d - dprc: enable DPDMUX_METHOD_CUSTOM in dpdmux generate dpl dc120ff - add support for num cgs in restool for mc 10.14 Signed-off-by: Chunrong Guo --- recipes-dpaa2/restool/restool_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb index 382e314..521aa7a 100644 --- a/recipes-dpaa2/restool/restool_git.bb +++ b/recipes-dpaa2/restool/restool_git.bb @@ -7,7 +7,7 @@ RDEPENDS_${PN} += "bash dtc" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/restool;nobranch=1 \ file://0001-restool-fix-build-error-with-gcc7.patch" -SRCREV = "2b4dd211d5c584d5f81cfa530a3a93854dc1d490" +SRCREV = "8b1dd407bbd48b4f1a50c71b78083112a6397619" S = "${WORKDIR}/git" @@ -17,6 +17,6 @@ do_install () { oe_runmake install DESTDIR=${D} } -COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb|ls1088ardb|ls1043ardb|ls1046ardb)" +COMPATIBLE_MACHINE = "(qoriq-arm64)" PACKAGE_ARCH = "${MACHINE_ARCH}" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 18/24] linux-qoriq/4.9: remove recipes
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-kernel/linux/linux-qoriq_4.9.bb | 71 - 1 file changed, 71 deletions(-) delete mode 100644 recipes-kernel/linux/linux-qoriq_4.9.bb diff --git a/recipes-kernel/linux/linux-qoriq_4.9.bb b/recipes-kernel/linux/linux-qoriq_4.9.bb deleted file mode 100644 index 04ff7b9..000 --- a/recipes-kernel/linux/linux-qoriq_4.9.bb +++ /dev/null @@ -1,71 +0,0 @@ -inherit kernel qoriq_build_64bit_kernel siteinfo -inherit fsl-kernel-localversion - -SUMMARY = "Linux Kernel for Freescale QorIQ platforms" -SECTION = "kernel" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" - -SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \ -file://0001-Makefile-fix-gcc-8-build-error.patch \ -" -SRCREV = "e8b01fb24fb8eb1adee9667eba2cae702b5892e9" - -S = "${WORKDIR}/git" - -DEPENDS_append = " libgcc" -# not put Images into /boot of rootfs, install kernel-image if needed -RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" - -KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" -KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}" -KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" - -ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" -ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME" - -SCMVERSION ?= "y" -LOCALVERSION = "" -DELTA_KERNEL_DEFCONFIG ?= "" -DELTA_KERNEL_DEFCONFIG_prepend_qoriq-arm64 = "lsdk.config " -DELTA_KERNEL_DEFCONFIG_prepend_fsl-lsch2-32b = "multi_v7_lpae.config multi_v8.config lsdk.config " -DELTA_KERNEL_DEFCONFIG_prepend_ls102xa = "multi_v7_lpae.config lsdk.config " - -do_merge_delta_config[dirs] = "${B}" - -do_merge_delta_config() { -# create .config with make config -oe_runmake -C ${S} O=${B} ${KERNEL_DEFCONFIG} - -# check if bigendian is enabled -if [ "${SITEINFO_ENDIANNESS}" = "be" ]; then -echo "CONFIG_CPU_BIG_ENDIAN=y" >> .config -echo "CONFIG_MTD_CFI_BE_BYTE_SWAP=y" >> .config -fi - -# add config fragments -for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do -if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then -oe_runmake -C ${S} O=${B} ${deltacfg} -elif [ -f "${WORKDIR}/${deltacfg}" ]; then -${S}/scripts/kconfig/merge_config.sh -m .config ${WORKDIR}/${deltacfg} -elif [ -f "${deltacfg}" ]; then -${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} -fi -done -cp .config ${WORKDIR}/defconfig -} -addtask merge_delta_config before do_preconfigure after do_patch - -# The link of dts folder is needed for 32b compile of aarch64 targets(e.g. ls1043ardb-32b) -do_compile_prepend_fsl-lsch2-32b() { -ln -sfT ${STAGING_KERNEL_DIR}/arch/arm64/boot/dts/freescale ${STAGING_KERNEL_DIR}/arch/arm/boot/dts/freescale -} - -do_install_append_qoriq-arm() { -install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/zImage-${KERNEL_VERSION} -ln -sf zImage-${KERNEL_VERSION} ${D}/boot/zImage -} - -FILES_${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" -COMPATIBLE_MACHINE = "(qoriq)" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 16/24] linux-qoriq/4.19 : add recipes
From: Chunrong Guo *Update to lsdk 1903 tag include the following changes: c0c2141 - vfio/fsl-mc: Reset container on last reference release 628aca9 - Revert "net: phy: aquantia: add pause frame support" 99f8355 - Update the year of NXP copyright 66ca144 - powerpc/dts/fsl: add crypto node alias for B4 1d98121 - arm64: dts: ls1043a: add crypto node alias also for qds bef16ab - soc: fsl: dpio: Increase timeout for QBMan Management Commands deb34f2 - soc: fsl: qbman: avoid race in clearing QMan interrupt ab14cd9 - i2c: imx: defer probing on dma channel request a48d147 - i2c: imx: fix dma_request_chan error handling a8e3023 - i2c: imx: improve the error handling in i2c_imx_dma_request() dd6f891 - i2c: imx: notify about real errors on dma i2c_imx_dma_request 9335f72 - crypto: caam - fix building job ring as module 0bc1219 - soc/fsl/bqman: page align iommu mapping sizes aabe1ef - sdk: dts: remove dma-coherent from sdk dts for QE 68aad5f - net: phy: aquantia: add pause frame support 4f96e7e - staging: fsl-dpaa2/mac: Fix bug in pause frame advertising 1f10c93 - staging: fsl-dpaa2/mac: add pause frames support for managed phys 81c18ad - dpaa2-eth: Update pause frames settings on link up 473f1b9 - dpaa2-eth: fix race condition with bql frame accounting 0ccd3c2 - dpaa2-eth: configure the cache stashing amount on a queue 8992d4e - crypto: caam - move shared symbols in a common location f8d1f310 - dmaengine: fsl-edma: dma map slave device address 75ea596 - arm64: dts: lx2160a: add flextimer entry Signed-off-by: Chunrong Guo --- recipes-kernel/linux/linux-qoriq_4.19.bb | 72 1 file changed, 72 insertions(+) create mode 100644 recipes-kernel/linux/linux-qoriq_4.19.bb diff --git a/recipes-kernel/linux/linux-qoriq_4.19.bb b/recipes-kernel/linux/linux-qoriq_4.19.bb new file mode 100644 index 000..c5105d0 --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq_4.19.bb @@ -0,0 +1,72 @@ +inherit kernel qoriq_build_64bit_kernel siteinfo +inherit fsl-kernel-localversion + +SUMMARY = "Linux Kernel for NXP QorIQ platforms" +SECTION = "kernel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \ +" +SRCREV = "c0c2141106240d61e7b9d7c80284711d54f6ae91" + +SRC_URI += " file://0001-Makfefile-add-cflags.patch \ +" +S = "${WORKDIR}/git" + +DEPENDS_append = " libgcc" +# not put Images into /boot of rootfs, install kernel-image if needed +RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" + +KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" +KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}" +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" +ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME" + +SCMVERSION ?= "y" +LOCALVERSION = "" +DELTA_KERNEL_DEFCONFIG ?= "" +DELTA_KERNEL_DEFCONFIG_prepend_qoriq-arm64 = "lsdk.config " +DELTA_KERNEL_DEFCONFIG_prepend_fsl-lsch2-32b = "multi_v7_lpae.config multi_v8.config lsdk.config " +DELTA_KERNEL_DEFCONFIG_prepend_ls102xa = "multi_v7_lpae.config lsdk.config " + +do_merge_delta_config[depends] += "virtual/${TARGET_PREFIX}gcc:do_populate_sysroot" +do_merge_delta_config[dirs] = "${B}" + +do_merge_delta_config() { +# create config with make config +oe_runmake -C ${S} O=${B} ${KERNEL_DEFCONFIG} + +# check if bigendian is enabled +if [ "${SITEINFO_ENDIANNESS}" = "be" ]; then +echo "CONFIG_CPU_BIG_ENDIAN=y" >> .config +echo "CONFIG_MTD_CFI_BE_BYTE_SWAP=y" >> .config +fi + +# add config fragments +for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do +if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then +oe_runmake -C ${S} O=${B} ${deltacfg} +elif [ -f "${WORKDIR}/${deltacfg}" ]; then +${S}/scripts/kconfig/merge_config.sh -m .config ${WORKDIR}/${deltacfg} +elif [ -f "${deltacfg}" ]; then +${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} +fi +done +cp .config ${WORKDIR}/defconfig +} +addtask merge_delta_config before do_preconfigure after do_patch + +# The link of dts folder is needed for 32b compile of aarch64 targets(e.g. ls1043ardb-32b) +do_compile_prepend_fsl-lsch2-32b() { +ln -sfT ${STAGING_KERNEL_DIR}/arch/arm64/boot/dts/freescale ${STAGING_KERNEL_DIR}/arch/arm/boot/dts/freescale +} + +do_install_prepend_fsl-lsch2-32b() { +rm -f ${STAGING_KERNEL_DIR}/arch/arm/boot/dts/freescale +} + +FILES_${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" +COMPATIBLE_MACHINE = "(qoriq)" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 01/24] atf: update to 7e34aeb
From: Chunrong Guo *update to lsdk 1903 tag include the following changes 7e34aeb - Fix 2088 sleep hang dc16e35 - SDEI: Ensure SDEI handler executes with CVE-2018-3639 mitigation enabled 5eb3190 - Fast path SMCCC_ARCH_WORKAROUND_1 calls from AArch32 cd1e8ce - Add support for dynamic mitigation for CVE-2018-3639 82c570f - aarch32: Implement static workaround for CVE-2018-3639 2a655ec - Implement static workaround for CVE-2018-3639 90c75d3 - Rename symbols and files relating to CVE-2017-5715 179e18a - Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1 2671898 - lx2: Remove setting of POWMGTCSR[LPM20_RQ] from LPM20 flow 7ca22ff - Adding LX2160 system power-down (LPM20) 0f81f07 - ls2088ardb: Add support of Non-ECC UDIMM ee53ed7 - nxp/lx2: Enable Errate ERRATA_A72_859971 on LX2 *add ddr-phy to DEPENDS for lx2160a *install ddr4_pmu_train_dmem.bin Signed-off-by: Chunrong Guo --- recipes-bsp/atf/atf_git.bb | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 883b7ea..6583be8 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -5,14 +5,15 @@ LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443" inherit deploy -DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native uefi" +DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native" +DEPENDS_append_lx2160a += "ddr-phy" DEPENDS_append_qoriq-arm64 += "optee-os-qoriq" do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" S = "${WORKDIR}/git" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1" -SRCREV = "4971f394cf32e33e3a9ca23a4faa49d606af31c5" +SRCREV = "7e34aebe658c7c3439d2d68b0ce6b9776e8e6996" SRC_URI += "file://0001-fix-fiptool-build-error.patch \ file://0001-Makefile-add-CC-gcc.patch \ @@ -81,6 +82,9 @@ do_compile() { bl32opt="BL32=${bl32}" spdopt="SPD=opteed" fi +if [ -f ${DEPLOY_DIR_IMAGE}/ddr-phy/ddr4_pmu_train_dmem.bin ]; then +cp ${DEPLOY_DIR_IMAGE}/ddr-phy/*.bin ${S}/ +fi for d in ${BOOTTYPE}; do case $d in -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 04/24] u-boot: update to 80b2d2b
From: Chunrong Guo *update to lsdk 1903 tag include the following changes 80b2d2b - include: configs: lx2160a: update copyright info 7d323d4 - board: fsl: ls2080rdb: update copyright info ff35e0c - board: fsl: ls2080aqds: update copyright info 77020d0 - board: fsl: ls1088ardb: update copyright info 6d77068 - board: fsl: ls1088aqds: update copyright info 0c48371 - armv8: fsl-layerscape: update copyright info 6f50f71 - driver: net: phy: update copyright info ab528e9 - driver: net: ldpaa_eth: update copyright info 17c8520 - env: Update env_addr for mmc environment driver 72eb5d3 - MC : Report extra reserved memory to Linux 4f25ac0 - board/fsl/lx2160a: Fix MC firmware loading during SD boot a4b3dc5 - armv8: fsl-layerscape: Set env_loc to ENVL_NOWHERE with CONFIG_ENV_IS_NOWHERE. b572cfe - configs: ls1046: Update mtd-id for QSPI nor in mtdparts variable e46941d - armv7: ls102xa: Add workaround for DDR erratum A-008850 a25b491 - board: fsl: lx2160aqds: modify the phy fixup code 100b48f - driver: net: fsl-mc: Fix DPC MAC address fixup 822c996 - drivers: net: ls1088ardb: Fix EC1 and EC2 RCW offset bd037a4 - board/freescale: Enable DHCP distro boot for Layerscape board 705049e - Revert "Revert "pci: layerscape: Add the dts fixup for EP and RC"" d83e59c - mc : Add support to run MC in 128 MB DDR size ec8543d - QSFP+ eeprom read support in U-boot d163325 - pci: pcie_lx: Add the dts fixup for EP and RC cb3f278 - armv8: cache: Flush L3 cache after relocation 6b7ff12 - net:phy:aquantia Set only autoneg on in register 4.c441 bc6f526 - armv8: lx2160aqds : Add support for LX2160AQDS platform 54d0cd6 - drivers: net: ldpaa_eth: check if the dpmac is enabled 3011d18 - armv8: fsl-layerscape: reorder rgmii dpmacs' enablement 6546319 - net: phy: Add clause 45 identifier to phy_device 1822aff - miiphy: Add function to retrieve MDIO bus list head 42b8ff2 - ldpaa_eth.c: Fix warning when PHYLIB is not enabled 16c470c - driver: net: fsl-mc: Add support of multiple phys for dpmac Signed-off-by: Chunrong Guo --- recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc index a3a554c..06ec01b 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc +++ b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1 \ " -SRCREV= "c08de7c3c92d45a824500ad936f4d72465c181ec" +SRCREV= "80b2d2bc4cab0a8363c9b7eba8064b1795f12670" S = "${WORKDIR}/git" PV_append = "+fslgit" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 14/24] dpdk: update to c0fe1b9
From: Chunrong Guo *Update to lsdk 1903 tag include the following changes: c0fe1b9 - PVT: LSDK Legal fix e4236e8 - PVT: examples/qdma_demo: fix mem to mem restart issue ef25767 - Merge pull request #903 in GITAM/dpdk from DPDK-1630-lsdk-19.03 to 17.11-qoriq-dev 9f0b86c - PVT: update NXP README for DPDK 4bd98af - PVT: drivers/event: fix dead code issue reported by coverity ccbfa23 - Merge pull request #901 in GITAM/dpdk from DPDK-1630-lsdk-19.03 to 17.11-qoriq-dev dd8cd08 - PVT: mempool: fix the LS1043 errata logic e21296a - net/dpaa: add the errata define in datapath 11d1691 - add missing static keyword to globals 77c31f0 - bus/fslmc: remove unneeded strdup 4952d1d - bus/fslmc: don't log error for other devices 520a795 - vfio: do not needlessly setup device in secondary process c584ff9 - gro: fix overflow of TCP payload calculation e7f2d15 - doc: add cross-compilation in sample apps guide e6700bf - bus/dpaa: fix build with gcc 9.0 b8ee5c4 - app/pdump: fix port id storage size b2e2970 - Merge pull request #900 in GITAM/dpdk from DPDK-1627 to 17.11-qoriq-dev 074cd1d - PVT: net/dpaa2: pre-allocate aligned fqids for rx queues a8ac57a - PVT: bus/dpaa: export qman fqid range allocation function 61ab58f - Merge pull request #899 in GITAM/dpdk from feature/DPDK-804-dpaa1-support-multiprocess-apps to 17.11-qoriq-dev 9fbf216 - drivers/crypto: update the SEC HW inline desc for sharing mode fba143f - Merge pull request #895 in GITAM/dpdk from DPDK-1628 to 17.11-qoriq-dev 195da8c - PVT: crypto/dpaa2_sec: use mempool ptov conversion wherever applicable 88fe6c2 - PVT: net/dpaa2: use mempool ptov conversion wherever applicable 692ce13 - PVT: mempool/dpaa2: add fast ptov for mempool having single memseg *Refresh patch *Package arm64-dpaa-linuxapp-gcc/*.a as part of ${PN} Signed-off-by: Chunrong Guo --- recipes-extended/dpdk/dpdk_17.11.bb | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/recipes-extended/dpdk/dpdk_17.11.bb b/recipes-extended/dpdk/dpdk_17.11.bb index f9fe91e..2eceebe 100644 --- a/recipes-extended/dpdk/dpdk_17.11.bb +++ b/recipes-extended/dpdk/dpdk_17.11.bb @@ -11,9 +11,9 @@ inherit module SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/dpdk;nobranch=1 \ file://add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \ -file://0001-fix-gcc-8-build-error.patch \ +file://0001-add-Wno-cast-function-type.patch \ " -SRCREV = "f451d2beff458833f4da6682694ebc5c03d595c6" +SRCREV = "c0fe1b99b562a4015423e8ff748bfb0f55a68c05" S = "${WORKDIR}/git" @@ -100,5 +100,8 @@ FILES_${PN}-dev += "${datadir}/mk ${datadir}/scripts \ " FILES_${PN}-examples += "${datadir}/examples" -FILES_${PN}-staticdev += "/usr/share/dpdk/cmdif/lib/*.a" +FILES_${PN}-staticdev += "/usr/share/dpdk/cmdif/lib/*.a \ +/usr/share/examples/cmdif/lib/arm64-dpaa-linuxapp-gcc/*.a \ +/usr/share/examples/cmdif/lib/arm64-dpaa-linuxapp-gcc/lib/*.a \ +" COMPATIBLE_MACHINE = "(qoriq)" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 12/24] mc: Upgrade version to 10.14.3
From: Chunrong Guo *Update to lsdk 1903 tag include the following changes: bd64d18 - Add the prebuilt binaries of mc 10.14.3 release Signed-off-by: Chunrong Guo --- .../management-complex_10.12.0.bb | 40 -- .../management-complex_10.14.3.bb | 40 ++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 recipes-dpaa2/management-complex/management-complex_10.12.0.bb create mode 100644 recipes-dpaa2/management-complex/management-complex_10.14.3.bb diff --git a/recipes-dpaa2/management-complex/management-complex_10.12.0.bb b/recipes-dpaa2/management-complex/management-complex_10.12.0.bb deleted file mode 100644 index 6b5d0a8..000 --- a/recipes-dpaa2/management-complex/management-complex_10.12.0.bb +++ /dev/null @@ -1,40 +0,0 @@ -SUMMARY = "DPAA2 Management Complex Firmware" -LICENSE = "NXP-Binary-EULA" -LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=afcb1213054384820390d410ab62105f" - -inherit deploy fsl-eula-unpack - -INHIBIT_DEFAULT_DEPS = "1" - -SRC_URI = "git://github.com/nxp/qoriq-mc-binary;fsl-eula=true;nobranch=1" -SRCREV = "cdb5af4b25ec1ee3e9d26ece41efaa1556b28bac" - -S = "${WORKDIR}/git" - -REGLEX_ls2088a = "ls2088a" -REGLEX_ls1088a = "ls1088a" -REGLEX_lx2160a = "lx2160a" - -do_install () { -install -d ${D}/boot -install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot -} - -do_deploy () { -install -d ${DEPLOYDIR}/mc_app -install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app -# make a symlink to the latest binary -for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do -ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb -done -} -addtask deploy before do_build after do_install - -PACKAGES += "${PN}-image" -FILES_${PN}-image += "/boot" - -INHIBIT_PACKAGE_STRIP = "1" - -COMPATIBLE_MACHINE = "(qoriq-arm64)" -PACKAGE_ARCH = "${MACHINE_ARCH}" - diff --git a/recipes-dpaa2/management-complex/management-complex_10.14.3.bb b/recipes-dpaa2/management-complex/management-complex_10.14.3.bb new file mode 100644 index 000..b77c4fb --- /dev/null +++ b/recipes-dpaa2/management-complex/management-complex_10.14.3.bb @@ -0,0 +1,40 @@ +SUMMARY = "DPAA2 Management Complex Firmware" +LICENSE = "NXP-Binary-EULA" +LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=afcb1213054384820390d410ab62105f" + +inherit deploy fsl-eula-unpack + +INHIBIT_DEFAULT_DEPS = "1" + +SRC_URI = "git://github.com/nxp/qoriq-mc-binary;fsl-eula=true;nobranch=1" +SRCREV = "bd64d1824681b009fd83b0a3699e45b117b72695" + +S = "${WORKDIR}/git" + +REGLEX_ls2088a = "ls2088a" +REGLEX_ls1088a = "ls1088a" +REGLEX_lx2160a = "lx2160a" + +do_install () { +install -d ${D}/boot +install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot +} + +do_deploy () { +install -d ${DEPLOYDIR}/mc_app +install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app +# make a symlink to the latest binary +for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do +ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb +done +} +addtask deploy before do_build after do_install + +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + +INHIBIT_PACKAGE_STRIP = "1" + +COMPATIBLE_MACHINE = "(qoriq-arm64)" +PACKAGE_ARCH = "${MACHINE_ARCH}" + -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 02/24] mc-utils: update to eeb8972
From: Chunrong Guo *update to lsdk 1903 tag include the following changes eeb8972 - api: add symlink for MC 10.14.1, 10.14.2, 10.14.3 2f51b5a - config: lx2160a: Backplane config example for lx2 97fac94 - api: add MC 10.14.0 APIs Signed-off-by: Chunrong Guo --- recipes-bsp/mc-utils/mc-utils_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb index 430d6cd..49aa8f5 100644 --- a/recipes-bsp/mc-utils/mc-utils_git.bb +++ b/recipes-bsp/mc-utils/mc-utils_git.bb @@ -10,7 +10,7 @@ DEPENDS += "dtc-native" inherit deploy SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/mc-utils;nobranch=1" -SRCREV = "6aca560c630dc54afdef382c506f214b28f4985e" +SRCREV = "eeb8972a3d4137c87a54c2795452b17f254a68c7" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 20/24] optee-os-qoriq:update to b7a1527
From: Chunrong Guo *update to lsdk 1903 tag include the following changes: b7a1527 - Merge pull request #15 in DASH/optee_os from ~NXA18717/optee_os:master to master 6fac599 - plat-ls: Corrected GIC configuration for GIVv3 SoCs b3f7be2 - plat-ls: Corrected GIC configuration for ls1043ardb. a0bfef6 - plat-ls: updated conf.mk to set CFG_USER_TA_TARGETS 406c609 - Update CHANGELOG.md for 3.4.0 86b8b34 - core: arm32: fix gicv3 fiq race 41b2940 - core: syscall_storage_obj_create(): fix a memory leak 4198578 - plat-vexpress: disable uart IT with TF-A and GICv3 84e9c40 - core: svc_cryp: fix truncated buffer length d5c5b0b - core: svc: always check ta parameters c6edc12 - core: entry_std: check value of num_params c4f75cc - core: optee_msg.h: define OPTEE_MSG_MAX_NUM_PARAMS 95f36d6 - core: tee_mmu_check_access_rights() check all pages 359324a - svc: Initialize tmp_va_buf to prevent a TOCTOU attack e3adcf5 - core: ensure that supplied range matches MOBJ 99e8a8c - svc: fix NULL pointer dereference during storage enumeration ea8357c - svc: check for overflow when allocating a BigNum buffer 54ebc3a - svc: avoid TOCTOU issue in syscall_hash_final 70697bf - svc: check for allocation overflow in crypto calls part 2 a637243 - svc: check for allocation overflow in crypto calls b60e1ce - svc: check for allocation overflow in syscall_cryp_obj_populate Signed-off-by: Chunrong Guo --- recipes-security/optee/optee-os-qoriq_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/optee/optee-os-qoriq_git.bb b/recipes-security/optee/optee-os-qoriq_git.bb index c8ebe2b..5d21c00 100644 --- a/recipes-security/optee/optee-os-qoriq_git.bb +++ b/recipes-security/optee/optee-os-qoriq_git.bb @@ -8,7 +8,7 @@ DEPENDS = "python-pycrypto-native" inherit deploy pythonnative -SRCREV = "e93f053213c574ec1b97f9e56b2f31692cd3723c" +SRCREV = "b7a1527b42371e6c60bb4921c5389f1bc693f33b" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/optee_os;nobranch=1 \ file://0001-allow-setting-sysroot-for-libgcc-lookup.patch \ " -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 06/24] openssl-qoriq: update to 472c9c3
From: Chunrong Guo *update to lsdk 1903 tag include the following changes 472c9c3 - crypto/engine/eng_cryptodev.c: fix bignum<->crp conversion Signed-off-by: Chunrong Guo --- recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb b/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb index 3df7c1a..c80c33a 100644 --- a/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb +++ b/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb @@ -21,7 +21,7 @@ SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/openssl;n file://0001-aes-asm-aes-armv4-bsaes-armv7-.pl-make-it-work-with-.patch \ " -SRCREV = "c2300d1fdb30a439f555b07f228d3bce498238d5" +SRCREV = "472c9c380669eb7a26819a52598632f257b3e72b" PROVIDES = "openssl" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 07/24] cst: update to 2737b8b
From: Chunrong Guo *update to lsdk 1903 tag include the following change 2737b8b - LX2160A:SD Boot: Adds input files to sign firmware images. 6be878a - Ls1028A: Add uni_pbi command in script to sign rcw image. 7aace25 - LS1028A: Add input files to sign the firmware images. 6d83dd8 - Removes "All Rights Reserved" Text. Signed-off-by: Chunrong Guo --- recipes-devtools/cst/cst_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/cst/cst_git.bb b/recipes-devtools/cst/cst_git.bb index 05d2d4c..8de37bc 100644 --- a/recipes-devtools/cst/cst_git.bb +++ b/recipes-devtools/cst/cst_git.bb @@ -11,7 +11,7 @@ inherit kernel-arch SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/cst;nobranch=1 \ " -SRCREV = "f599f6126ae1a382a581dcd75e9ad2e34c79a183" +SRCREV = "2737b8bca4432c3ef21ac675e949cb53d444a369" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 05/24] uefi: update to de8834d
From: Chunrong Guo *update to lsdk 1903 tag include the following changes de8834d - binaries: update to LSDK-1903-TC1 Signed-off-by: Chunrong Guo --- recipes-bsp/uefi/uefi_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index 8b63f50..b170f15 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" inherit deploy fsl-eula-unpack SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;fsl-eula=true;nobranch=1" -SRCREV= "5b259f75decbc478bcab0612d79a58562bef1838" +SRCREV= "de8834df31646c1dc5a3fe1c1bf09582e0b2781c" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 23/24] vpp-core: add "-DCLIB_LOG2_CACHE_LINE_BYTES=6" to CFLAGS
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-extended/vpp-core/vpp-core.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/vpp-core/vpp-core.bb b/recipes-extended/vpp-core/vpp-core.bb index 2bfbba8..8274534 100644 --- a/recipes-extended/vpp-core/vpp-core.bb +++ b/recipes-extended/vpp-core/vpp-core.bb @@ -43,7 +43,7 @@ EXTRA_OECONF = " \ " EXTRA_OECONF_append_class-native = " --disable-vlib" - +CFLAGS += "-DCLIB_LOG2_CACHE_LINE_BYTES=6" include vpp-pkgs.inc -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 24/24] qemu-qoriq: add glib-2.0 zlib pixman dtc to DEPENDS
From: Chunrong Guo fix the below error: | DEBUG: Executing shell function do_configure | | ERROR: DTC (libfdt) version >= 1.4.2 not present. Your options: | ERROR: glib-2.22 gthread-2.0 Zlib is required to compile QEMU Signed-off-by: Chunrong Guo --- recipes-devtools/qemu/qemu-qoriq_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index 889603c..51104b6 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -5,6 +5,7 @@ require recipes-devtools/qemu/qemu.inc inherit ptest RDEPENDS_${PN}-ptest = "bash make" +DEPENDS = "glib-2.0 zlib pixman dtc" LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 09/24] fmlib: update to 69a7047
From: Chunrong Guo *update to lsdk 1903 tag include the following changes 69a7047 - fmlib handles conversion in FR Runtime API Signed-off-by: Chunrong Guo --- recipes-dpaa/fmlib/fmlib_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb index 6976813..880d768 100644 --- a/recipes-dpaa/fmlib/fmlib_git.bb +++ b/recipes-dpaa/fmlib/fmlib_git.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9c7bd5e45d066db084bdb3543d55b1ac" PR = "r1" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/fmlib;nobranch=1" -SRCREV = "82d89adae917397324c5d74108305f6c9bae8d00" +SRCREV = "69a70474cd8411d5a099c34f40760b6567d781d6" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 08/24] eth-config: update to 6164664
From: Chunrong Guo *update to lsdk 1903 tag include the following changes 6164664 - eth_config: Add support for LS1046AFRWY Signed-off-by: Chunrong Guo --- recipes-dpaa/eth-config/eth-config_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb index 5255bd0..cfeae11 100644 --- a/recipes-dpaa/eth-config/eth-config_git.bb +++ b/recipes-dpaa/eth-config/eth-config_git.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=47716bd5b656aa5e298a132a64d2d1e4" PR = "r2" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/eth-config;nobranch=1" -SRCREV = "eefb06353c8c3db34d22c26825b66e921bce617d" +SRCREV = "6164664070e45810c793f112781ebcedc979e132" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 17/24] linux-qoriq/4.14:update to 7e52442
From: Chunrong Guo *update to lsdk 1903 tag include the following changes: 7e52442 - vfio/fsl-mc: Reset container on last reference release 66346b1 - Revert "net: phy: aquantia: add pause frame support" 5a51f09 - Merge branch 'linux-4.14-nxp' into linux-4.14 on Mar 21, 2019 0412772 - PCI: controller: dwc: Do not let PCIE_DW_PLAT_HOST default to yes 55f1e5e - i2c: imx: defer probing on dma channel request c42701e - i2c: imx: fix dma_request_chan error handling e16c8a1 - i2c: imx: improve the error handling in i2c_imx_dma_request() 434a13d - i2c: imx: notify about real errors on dma i2c_imx_dma_request ba46a4b - powerpc/dts/fsl: add crypto node alias for B4 1c0ec67 - arm64: dts: ls1043a: add crypto node alias also for qds eb96cdd - soc: fsl: dpio: Increase timeout for QBMan Management Commands a695286 - soc: fsl: qbman: avoid race in clearing QMan interrupt 07977ec - drivers: soc: fsl: fix problem of compiling qixis driver 0529a6d - PCI: endpoint: Correcting nonstandard NXP copyright 70827e4 - Merge branch 'linux-4.14-nxp' into linux-4.14 on Mar 20, 2019 2a71b28 - crypto: caam - fix building job ring as module b87ba6a - soc/fsl/bqman: page align iommu mapping sizes d2e2129 - sdk: dts: remove dma-coherent from sdk dts for QE 788e297 - net: phy: aquantia: add pause frame support fcc8208 - dpaa2-eth: Update pause frames settings on link up 4c86a9c - dpaa2-eth: fix race condition with bql frame accounting e0d959e - dpaa2-eth: configure the cache stashing amount on a queue bafb6b5 - staging: fsl-dpaa2/mac: Fix bug in pause frame advertising 0ed08fd - staging: fsl-dpaa2/mac: add pause frames support for managed phys adcaa66 - of/device: Set bus DMA mask as appropriate 7f97665 - iommu/dma: Respect bus DMA limit for IOVAs *refresh patches Signed-off-by: Chunrong Guo --- .../0001-Makefile-fix-gcc-8-build-error.patch | 25 - .../linux-qoriq/0001-Makfefile-add-cflags.patch| 26 ++ .../linux-qoriq/0001-fix-gcc8-build-error.patch| 25 - recipes-kernel/linux/linux-qoriq_4.14.bb | 4 ++-- 4 files changed, 28 insertions(+), 52 deletions(-) delete mode 100644 recipes-kernel/linux/linux-qoriq/0001-Makefile-fix-gcc-8-build-error.patch create mode 100644 recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch delete mode 100644 recipes-kernel/linux/linux-qoriq/0001-fix-gcc8-build-error.patch diff --git a/recipes-kernel/linux/linux-qoriq/0001-Makefile-fix-gcc-8-build-error.patch b/recipes-kernel/linux/linux-qoriq/0001-Makefile-fix-gcc-8-build-error.patch deleted file mode 100644 index b4c4aed..000 --- a/recipes-kernel/linux/linux-qoriq/0001-Makefile-fix-gcc-8-build-error.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 5066b8f46b0f2348881923491b93825ac04d13d2 Mon Sep 17 00:00:00 2001 -From: Chunrong Guo -Date: Sat, 29 Sep 2018 14:12:34 +0800 -Subject: [PATCH] Makefile: fix gcc-8 build error - -Signed-off-by: BJ DevOps Team - Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile b/Makefile -index 53d57ac..b7c5fd4 100644 a/Makefile -+++ b/Makefile -@@ -395,6 +395,7 @@ LINUXINCLUDE += $(filter-out $(LINUXINCLUDE),$(USERINCLUDE)) - KBUILD_AFLAGS := -D__ASSEMBLY__ - KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ - -fno-strict-aliasing -fno-common \ -+ -Wno-packed-not-aligned -Wno-tautological-compare \ - -Werror-implicit-function-declaration \ - -Wno-format-security \ - -std=gnu89 --- -1.8.3.1 - diff --git a/recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch b/recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch new file mode 100644 index 000..b01545f --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq/0001-Makfefile-add-cflags.patch @@ -0,0 +1,26 @@ +From e2283cc7582ba82f346b05fdb38f0057e54de7fa Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Tue, 12 Mar 2019 03:52:03 +0100 +Subject: [PATCH] Makfefile: add cflags + +Signed-off-by: C.r. Guo +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 967692b..ae395cd 100644 +--- a/Makefile b/Makefile +@@ -417,7 +417,7 @@ LINUXINCLUDE:= \ + KBUILD_AFLAGS := -D__ASSEMBLY__ + KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ + -fno-strict-aliasing -fno-common -fshort-wchar \ +- -Werror-implicit-function-declaration \ ++ -Werror-implicit-function-declaration -Wno-misleading-indentation -Wno-tautological-compare \ + -Wno-format-security \ + -std=gnu89 + KBUILD_CPPFLAGS := -D__KERNEL__ +-- +2.7.4 + diff --git a/recipes-kernel/linux/linux-qoriq/0001-fix-gcc8-build-error.patch b/recipes-kernel/linux/linux-qoriq/0001-fix-gcc8-build-error.patch deleted file mode 100644 index 3cd2501..000 --- a/recipes-kernel/linux/linux-
[meta-freescale] [PATCH 22/24] ddy-phy :update recipes
From: Chunrong Guo *dpends atf source *build fiptool tools *make fip_ddr_all.bin by fiptool *install *bin Signed-off-by: Chunrong Guo --- recipes-bsp/ddr-phy/ddr-phy_git.bb | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index ebd68c2..766ba79 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb @@ -4,21 +4,34 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430 inherit deploy fsl-eula-unpack -SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \ + git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;nobranch=1;destsuffix=git/atf;name=atf" SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" +SRCREV_atf = "7e34aebe658c7c3439d2d68b0ce6b9776e8e6996" S = "${WORKDIR}/git" REGLEX_lx2160a = "lx2160a" do_install () { +oe_runmake -C ${S}/atf fiptool +cd ${S}/${REGLEX} +${S}/atf/tools/fiptool/fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \ +--ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \ +--ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \ +--ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \ +--ddr-immem-rdimm-1d ddr4_rdimm_pmu_train_imem.bin \ +--ddr-immem-rdimm-2d ddr4_rdimm2d_pmu_train_imem.bin \ +--ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \ +--ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \ +fip_ddr_all.bin install -d ${D}/boot -install -m 755 ${S}/${REGLEX}/* ${D}/boot +install -m 755 ${S}/${REGLEX}/*.bin ${D}/boot } do_deploy () { install -d ${DEPLOYDIR}/ddr-phy -install -m 755 ${S}/${REGLEX}/* ${DEPLOYDIR}/ddr-phy +install -m 755 ${S}/${REGLEX}/*.bin ${DEPLOYDIR}/ddr-phy } addtask deploy before do_populate_sysroot after do_install -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 03/24] rcw: update to f137787
From: Chunrong Guo *update to lsdk 1903 tag include the following changes f137787 - ls2088a: Removed the manually calculated PBI_LENGTH bac41de - ls1088a: Removed the manually calculated PBI_LENGTH 4d4177d - t4240: Add workaround for PCIe erratum A-008098 a90d032 - t2080: Add workaround for PCIe erratum A-008098 9f513df - ls2088a: Add workaround for PCIe erratum A-009531 65e8607 - ls1088a: Add workaround for PCIe erratum A-009531 6179f2e - ls1012a: Add workaround for PCIe erratum A-009531 f1ee2f1 - ls1046a: Add workaround for PCIe erratum A-009531 7645eb7 - Revert "Revert "ls1043a: Fix QSPI endian issue for QSPI boot on LS1043AQDS"" 840ce92 - Revert "qspi: use byte_swap.tcl under board directory for special board" Signed-off-by: Chunrong Guo --- recipes-bsp/rcw/rcw_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 007e7d2..ba26ef2 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -8,7 +8,7 @@ DEPENDS += "change-file-endianess-native tcl-native" inherit deploy siteinfo SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/rcw;nobranch=1" -SRCREV = "17254ac35250197877c6321f9d13e33b1f85388a" +SRCREV = "f1377876cc06a87ec8afa8a3412ca7c8455861f2" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH] atf: Reorganize
Hello Otavlo, I have done . https://github.com/Freescale/meta-freescale/pull/64 Thanks Chunrong -Original Message- From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br] Sent: 2019年3月18日 18:52 To: C.r. Guo Cc: meta-freescale@yoctoproject.org Subject: Re: [meta-freescale] [PATCH] atf: Reorganize Please prepare a PR on github, so we can review it. On Tue, Mar 12, 2019 at 12:11 AM C.r. Guo wrote: > > From: Chunrong Guo > > *Add FUSE DISTRO_FEATURES > *Add chassistype and ddrphyopt > *Install srk.pri and srk.pub > > Signed-off-by: Chunrong Guo > --- > recipes-bsp/atf/atf_git.bb | 90 > +- > 1 file changed, 66 insertions(+), 24 deletions(-) > > diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb > index 45bd376..edba6cc 100644 > --- a/recipes-bsp/atf/atf_git.bb > +++ b/recipes-bsp/atf/atf_git.bb > @@ -29,21 +29,27 @@ LDFLAGS[unexport] = "1" > AS[unexport] = "1" > LD[unexport] = "1" > > -# set secure option > -# fuseopt ?= "FUSE_PROV=1 FUSE_FILE=$(CONFIG_SEC_FUSE_FILE)" > - > BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" > -BUILD_SECURE = "${@bb.utils.contains('COMBINED_FEATURES', 'secure', 'true', > 'false', d)}" > -BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', > 'false', d)}" > +BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', > 'false', d)}" > +BUILD_OPTEE = "${@bb.utils.contains('DISTRO_FEATURES', 'optee', 'true', > 'false', d)}" > +BUILD_FUSE = "${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'true', > 'false', d)}" > > uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot" > uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa" > rcw ?= "" > rcw_ls1012afrwy = "_default" > rcw_ls1012ardb = "_default" > -rcwsec ?= "" > -rcwsec_ls1012afrwy = "_sben" > -rcwsec_ls1012ardb = "_sben" > +rcwsec ?= "_sben" > + > +chassistype ?= "ls2088_1088" > +chassistype_ls1012ardb = "ls104x_1012" > +chassistype_ls1012afrwy = "ls104x_1012" > +chassistype_ls1043ardb = "ls104x_1012" > +chassistype_ls1046ardb = "ls104x_1012" > + > +ddrphyopt ?= "" > +ddrphyopt_lx2160ardb = "fip_ddr_sec" > + > do_configure[noexec] = "1" > > do_compile() { > @@ -51,14 +57,23 @@ do_compile() { > install -d ${S}/include/tools_share/openssl > cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* > ${S}/include/tools_share/openssl > ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024 > + > +if [ "${BUILD_FUSE}" = "true" ]; then > + ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr > ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file > + fuseopt="fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin" > +fi > if [ "${BUILD_SECURE}" = "true" ]; then > secureopt="TRUSTED_BOARD_BOOT=1 $ddrphyopt > CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst" > secext="_sec" > bl33="${uboot_boot_sec}" > -rcwsec="${rcwsec}" > +if [ ${chassistype} = ls104x_1012 ]; then > +rcwtemp="${rcwsec}" > +else > +rcwtemp="${rcw}" > +fi > else > bl33="${uboot_boot}" > -rcwsec="${rcw}" > +rcwtemp="${rcw}" > fi > > if [ "${BUILD_OPTEE}" = "true" ]; then @@ -70,39 +85,47 @@ > do_compile() { > for d in ${BOOTTYPE}; do > case $d in > nor) > -rcwimg="${RCWNOR}${rcwsec}.bin" > +rcwimg="${RCWNOR}${rcwtemp}.bin" > uefiboot="${UEFI_NORBOOT}" > ;; > nand) > -rcwimg="${RCWNAND}${rcwsec}.bin" > +rcwimg="${RCWNAND}${rcwtemp}.bin" > ;; > qspi) > -rcwimg="${RCWQSPI}${rcwsec}.bin" > +rcwimg="${RCWQSPI}${rcwtemp}.bin" > ;; > sd) > -rcwimg="${RCWSD}${rcwsec}.bin" > +rcwimg="${RCWSD}${rcwtemp}.bin" > ;; > flexspi_nor) > -rcwimg="${RCWXSPI}${rcwsec}.bin" > +rcwimg="${RCWXSPI}${rcwtemp}.bin" > uefiboot="${UEFI_XSPIBOOT}" >
[meta-freescale] [v2][PATCH] atf: Reorganize
From: Chunrong Guo *Add FUSE DISTRO_FEATURES *Add chassistype and ddrphyopt *Install srk.pri and srk.pub Signed-off-by: Chunrong Guo --- recipes-bsp/atf/atf_git.bb | 93 +- 1 file changed, 68 insertions(+), 25 deletions(-) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 45bd376..fd1ee30 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -2,6 +2,7 @@ DESCRIPTION = "ARM Trusted Firmware" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443" +PR = "r1" inherit deploy @@ -29,21 +30,27 @@ LDFLAGS[unexport] = "1" AS[unexport] = "1" LD[unexport] = "1" -# set secure option -# fuseopt ?= "FUSE_PROV=1 FUSE_FILE=$(CONFIG_SEC_FUSE_FILE)" - BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" -BUILD_SECURE = "${@bb.utils.contains('COMBINED_FEATURES', 'secure', 'true', 'false', d)}" -BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}" +BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', 'false', d)}" +BUILD_OPTEE = "${@bb.utils.contains('DISTRO_FEATURES', 'optee', 'true', 'false', d)}" +BUILD_FUSE = "${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'true', 'false', d)}" uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot" uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa" rcw ?= "" rcw_ls1012afrwy = "_default" rcw_ls1012ardb = "_default" -rcwsec ?= "" -rcwsec_ls1012afrwy = "_sben" -rcwsec_ls1012ardb = "_sben" +rcwsec ?= "_sben" + +chassistype ?= "ls2088_1088" +chassistype_ls1012ardb = "ls104x_1012" +chassistype_ls1012afrwy = "ls104x_1012" +chassistype_ls1043ardb = "ls104x_1012" +chassistype_ls1046ardb = "ls104x_1012" + +ddrphyopt ?= "" +ddrphyopt_lx2160ardb = "fip_ddr_sec" + do_configure[noexec] = "1" do_compile() { @@ -51,14 +58,23 @@ do_compile() { install -d ${S}/include/tools_share/openssl cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024 + +if [ "${BUILD_FUSE}" = "true" ]; then + ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file + fuseopt="fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin" +fi if [ "${BUILD_SECURE}" = "true" ]; then -secureopt="TRUSTED_BOARD_BOOT=1 $ddrphyopt CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst" +secureopt="TRUSTED_BOARD_BOOT=1 ${ddrphyopt} CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst" secext="_sec" bl33="${uboot_boot_sec}" -rcwsec="${rcwsec}" +if [ ${chassistype} = ls104x_1012 ]; then +rcwtemp="${rcwsec}" +else +rcwtemp="${rcw}" +fi else bl33="${uboot_boot}" -rcwsec="${rcw}" +rcwtemp="${rcw}" fi if [ "${BUILD_OPTEE}" = "true" ]; then @@ -70,39 +86,47 @@ do_compile() { for d in ${BOOTTYPE}; do case $d in nor) -rcwimg="${RCWNOR}${rcwsec}.bin" +rcwimg="${RCWNOR}${rcwtemp}.bin" uefiboot="${UEFI_NORBOOT}" ;; nand) -rcwimg="${RCWNAND}${rcwsec}.bin" +rcwimg="${RCWNAND}${rcwtemp}.bin" ;; qspi) -rcwimg="${RCWQSPI}${rcwsec}.bin" +rcwimg="${RCWQSPI}${rcwtemp}.bin" ;; sd) -rcwimg="${RCWSD}${rcwsec}.bin" +rcwimg="${RCWSD}${rcwtemp}.bin" ;; flexspi_nor) -rcwimg="${RCWXSPI}${rcwsec}.bin" +rcwimg="${RCWXSPI}${rcwtemp}.bin" uefiboot="${UEFI_XSPIBOOT}" ;; esac if [ -f "${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg}" ]; then +oe_runmake V=1 -C ${S} realclean +oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} +cp -r ${S}/build/${PLATFORM}/release/bl2_${d}*.pbl ${S} +cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S} +if [ "${BUILD_FUSE}" = "true" ]; then +cp -f ${S}/build/${PLATFORM}/release/fuse_fip.bin ${S} +fi + if [ ${MACHINE} = ls1012afrwy ]; then oe_runmake V=1 -C ${S} realclean oe_runmake V=1 -C ${S} all fip pbl PLAT=ls1012afrwy_512mb BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} -cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi.pbl ${S}/bl2_${d}_512mb.pbl +cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi${secext}.pbl ${S}/bl2_${d}${secext}_512mb.pbl cp -r
[meta-freescale] [PATCH] qemu-qoriq: add glib-2.0 zlib pixman dtc to DEPENDS
From: Chunrong Guo fix the below error: | DEBUG: Executing shell function do_configure | | ERROR: DTC (libfdt) version >= 1.4.2 not present. Your options: | ERROR: glib-2.22 gthread-2.0 Zlib is required to compile QEMU Signed-off-by: Chunrong Guo --- recipes-devtools/qemu/qemu-qoriq_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index 889603c..51104b6 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -5,6 +5,7 @@ require recipes-devtools/qemu/qemu.inc inherit ptest RDEPENDS_${PN}-ptest = "bash make" +DEPENDS = "glib-2.0 zlib pixman dtc" LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH] atf: Reorganize
From: Chunrong Guo *Add FUSE DISTRO_FEATURES *Add chassistype and ddrphyopt *Install srk.pri and srk.pub Signed-off-by: Chunrong Guo --- recipes-bsp/atf/atf_git.bb | 90 +- 1 file changed, 66 insertions(+), 24 deletions(-) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 45bd376..edba6cc 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -29,21 +29,27 @@ LDFLAGS[unexport] = "1" AS[unexport] = "1" LD[unexport] = "1" -# set secure option -# fuseopt ?= "FUSE_PROV=1 FUSE_FILE=$(CONFIG_SEC_FUSE_FILE)" - BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" -BUILD_SECURE = "${@bb.utils.contains('COMBINED_FEATURES', 'secure', 'true', 'false', d)}" -BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}" +BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', 'false', d)}" +BUILD_OPTEE = "${@bb.utils.contains('DISTRO_FEATURES', 'optee', 'true', 'false', d)}" +BUILD_FUSE = "${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'true', 'false', d)}" uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot" uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa" rcw ?= "" rcw_ls1012afrwy = "_default" rcw_ls1012ardb = "_default" -rcwsec ?= "" -rcwsec_ls1012afrwy = "_sben" -rcwsec_ls1012ardb = "_sben" +rcwsec ?= "_sben" + +chassistype ?= "ls2088_1088" +chassistype_ls1012ardb = "ls104x_1012" +chassistype_ls1012afrwy = "ls104x_1012" +chassistype_ls1043ardb = "ls104x_1012" +chassistype_ls1046ardb = "ls104x_1012" + +ddrphyopt ?= "" +ddrphyopt_lx2160ardb = "fip_ddr_sec" + do_configure[noexec] = "1" do_compile() { @@ -51,14 +57,23 @@ do_compile() { install -d ${S}/include/tools_share/openssl cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024 + +if [ "${BUILD_FUSE}" = "true" ]; then + ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file + fuseopt="fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin" +fi if [ "${BUILD_SECURE}" = "true" ]; then secureopt="TRUSTED_BOARD_BOOT=1 $ddrphyopt CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst" secext="_sec" bl33="${uboot_boot_sec}" -rcwsec="${rcwsec}" +if [ ${chassistype} = ls104x_1012 ]; then +rcwtemp="${rcwsec}" +else +rcwtemp="${rcw}" +fi else bl33="${uboot_boot}" -rcwsec="${rcw}" +rcwtemp="${rcw}" fi if [ "${BUILD_OPTEE}" = "true" ]; then @@ -70,39 +85,47 @@ do_compile() { for d in ${BOOTTYPE}; do case $d in nor) -rcwimg="${RCWNOR}${rcwsec}.bin" +rcwimg="${RCWNOR}${rcwtemp}.bin" uefiboot="${UEFI_NORBOOT}" ;; nand) -rcwimg="${RCWNAND}${rcwsec}.bin" +rcwimg="${RCWNAND}${rcwtemp}.bin" ;; qspi) -rcwimg="${RCWQSPI}${rcwsec}.bin" +rcwimg="${RCWQSPI}${rcwtemp}.bin" ;; sd) -rcwimg="${RCWSD}${rcwsec}.bin" +rcwimg="${RCWSD}${rcwtemp}.bin" ;; flexspi_nor) -rcwimg="${RCWXSPI}${rcwsec}.bin" +rcwimg="${RCWXSPI}${rcwtemp}.bin" uefiboot="${UEFI_XSPIBOOT}" ;; esac if [ -f "${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg}" ]; then +oe_runmake V=1 -C ${S} realclean +oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} +cp -r ${S}/build/${PLATFORM}/release/bl2_${d}*.pbl ${S} +cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S} +if [ "${BUILD_FUSE}" = "true" ]; then +cp -f ${S}/build/${PLATFORM}/release/fuse_fip.bin ${S} +fi + if [ ${MACHINE} = ls1012afrwy ]; then oe_runmake V=1 -C ${S} realclean oe_runmake V=1 -C ${S} all fip pbl PLAT=ls1012afrwy_512mb BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} -cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi.pbl ${S}/bl2_${d}_512mb.pbl +cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi${secext}.pbl ${S}/bl2_${d}${secext}_512mb.pbl cp -r ${S}/build/ls1012afrwy_512mb/release/fip.bin ${S}/fip_512mb.bin +if [ "${BUILD_FUSE}" = "true" ]; then +cp -r ${S}/build/ls1012afrwy_512mb/release/fuse_fip.bin ${S}/fuse_fip_512mb.bin +fi fi if [ -n
[meta-freescale] [PATCH] atf: Reorganize
From: Chunrong Guo *Add FUSE DISTRO_FEATURES *Add chassistype and ddrphyopt *Install srk.pri and srk.pub Signed-off-by: Chunrong Guo --- recipes-bsp/atf/atf_git.bb | 90 +- 1 file changed, 66 insertions(+), 24 deletions(-) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 45bd376..edba6cc 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -29,21 +29,27 @@ LDFLAGS[unexport] = "1" AS[unexport] = "1" LD[unexport] = "1" -# set secure option -# fuseopt ?= "FUSE_PROV=1 FUSE_FILE=$(CONFIG_SEC_FUSE_FILE)" - BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" -BUILD_SECURE = "${@bb.utils.contains('COMBINED_FEATURES', 'secure', 'true', 'false', d)}" -BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}" +BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', 'false', d)}" +BUILD_OPTEE = "${@bb.utils.contains('DISTRO_FEATURES', 'optee', 'true', 'false', d)}" +BUILD_FUSE = "${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'true', 'false', d)}" uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot" uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa" rcw ?= "" rcw_ls1012afrwy = "_default" rcw_ls1012ardb = "_default" -rcwsec ?= "" -rcwsec_ls1012afrwy = "_sben" -rcwsec_ls1012ardb = "_sben" +rcwsec ?= "_sben" + +chassistype ?= "ls2088_1088" +chassistype_ls1012ardb = "ls104x_1012" +chassistype_ls1012afrwy = "ls104x_1012" +chassistype_ls1043ardb = "ls104x_1012" +chassistype_ls1046ardb = "ls104x_1012" + +ddrphyopt ?= "" +ddrphyopt_lx2160ardb = "fip_ddr_sec" + do_configure[noexec] = "1" do_compile() { @@ -51,14 +57,23 @@ do_compile() { install -d ${S}/include/tools_share/openssl cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024 + +if [ "${BUILD_FUSE}" = "true" ]; then + ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file + fuseopt="fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin" +fi if [ "${BUILD_SECURE}" = "true" ]; then secureopt="TRUSTED_BOARD_BOOT=1 $ddrphyopt CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst" secext="_sec" bl33="${uboot_boot_sec}" -rcwsec="${rcwsec}" +if [ ${chassistype} = ls104x_1012 ]; then +rcwtemp="${rcwsec}" +else +rcwtemp="${rcw}" +fi else bl33="${uboot_boot}" -rcwsec="${rcw}" +rcwtemp="${rcw}" fi if [ "${BUILD_OPTEE}" = "true" ]; then @@ -70,39 +85,47 @@ do_compile() { for d in ${BOOTTYPE}; do case $d in nor) -rcwimg="${RCWNOR}${rcwsec}.bin" +rcwimg="${RCWNOR}${rcwtemp}.bin" uefiboot="${UEFI_NORBOOT}" ;; nand) -rcwimg="${RCWNAND}${rcwsec}.bin" +rcwimg="${RCWNAND}${rcwtemp}.bin" ;; qspi) -rcwimg="${RCWQSPI}${rcwsec}.bin" +rcwimg="${RCWQSPI}${rcwtemp}.bin" ;; sd) -rcwimg="${RCWSD}${rcwsec}.bin" +rcwimg="${RCWSD}${rcwtemp}.bin" ;; flexspi_nor) -rcwimg="${RCWXSPI}${rcwsec}.bin" +rcwimg="${RCWXSPI}${rcwtemp}.bin" uefiboot="${UEFI_XSPIBOOT}" ;; esac if [ -f "${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg}" ]; then +oe_runmake V=1 -C ${S} realclean +oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} +cp -r ${S}/build/${PLATFORM}/release/bl2_${d}*.pbl ${S} +cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S} +if [ "${BUILD_FUSE}" = "true" ]; then +cp -f ${S}/build/${PLATFORM}/release/fuse_fip.bin ${S} +fi + if [ ${MACHINE} = ls1012afrwy ]; then oe_runmake V=1 -C ${S} realclean oe_runmake V=1 -C ${S} all fip pbl PLAT=ls1012afrwy_512mb BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} -cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi.pbl ${S}/bl2_${d}_512mb.pbl +cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi${secext}.pbl ${S}/bl2_${d}${secext}_512mb.pbl cp -r ${S}/build/ls1012afrwy_512mb/release/fip.bin ${S}/fip_512mb.bin +if [ "${BUILD_FUSE}" = "true" ]; then +cp -r ${S}/build/ls1012afrwy_512mb/release/fuse_fip.bin ${S}/fuse_fip_512mb.bin +fi fi if [ -n
[meta-freescale] [PATCH] vpp-core: add "-DCLIB_LOG2_CACHE_LINE_BYTES=6" to CFLAGS
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-extended/vpp-core/vpp-core.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-extended/vpp-core/vpp-core.bb b/recipes-extended/vpp-core/vpp-core.bb index 2bfbba8..62fa5a3 100644 --- a/recipes-extended/vpp-core/vpp-core.bb +++ b/recipes-extended/vpp-core/vpp-core.bb @@ -44,6 +44,7 @@ EXTRA_OECONF = " \ EXTRA_OECONF_append_class-native = " --disable-vlib" +CFLAGS += "-DCLIB_LOG2_CACHE_LINE_BYTES=6" include vpp-pkgs.inc -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] glibc configure fails with e5500 / t1040 on master...
Hello all, I have submitted patches base glibc2.29 . Thanks Chunrong -Original Message- From: Lautenschlager (US), David C [mailto:david.c.lautenschla...@boeing.com] Sent: 2019年2月19日 7:32 To: Bob Cochran ; C.r. Guo ; meta-freescale@yoctoproject.org Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on master... I also had to apply the patch for glibc 2.29. Dave -Original Message- From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran Sent: Friday, February 15, 2019 7:57 PM To: C.r. Guo ; meta-freescale@yoctoproject.org Subject: Re: [meta-freescale] glibc configure fails with e5500 / t1040 on master... On 1/15/19 4:49 AM, C.r. Guo wrote: > Hello all, > > You find patches about glibc support e5500 and e6500. > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsou > rce.codeaurora.org%2Fexternal%2Fqoriq%2Fqoriq-components%2Fmeta-qor > p;data=02%7C01%7Cchunrong.guo%40nxp.com%7Ca4b8db76d3314e1f951708d695f9 > 4cd7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636861295316442175 > mp;sdata=S63OUTCh188Z4h9KgEm64%2F9%2BJK%2FobqWErE1%2Bw9uxdyg%3Dre > served=0 > iq-demos/tree/recipes-core/glibc/glibc/0001-glibc-support-e5500-and-e6 > 500.patch?h=thud Hi Chunrong, I had the same problem with glibc-2.29 in master tonight. I was able to apply your same patch to get it to configure & build. I think you need to resubmit it for 2.29. Thank you, Bob > > I will submitted patches to poky . > > Thanks > Chunrong > > > -Original Message- > From: meta-freescale-boun...@yoctoproject.org > [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob > Cochran > Sent: 2019年1月15日 15:08 > To: meta-freescale@yoctoproject.org > Subject: [meta-freescale] glibc configure fails with e5500 / t1040 on > master... > > Hello, > > I was trying to build a t1040-based image using most recent master, but glibc > is failing during configure. I went back and compared a successful build > with sumo using glibc-2.27, but I'm scratching my head why it passes on sumo > but fails on master. > > Here is the log.do_configure: > > > DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', > 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', > 'common'] > DEBUG: Executing shell function autotools_preconfigure > DEBUG: Shell function autotools_preconfigure finished > DEBUG: Executing python function autotools_aclocals > DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', > 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', > 'common'] > DEBUG: Python function autotools_aclocals finished > DEBUG: Executing shell function do_configure > NOTE: Running ../git/configure --build=x86_64-linux > --host=powerpc64-oe-linux --target=powerpc64-oe-linux --prefix=/usr > --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin > --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc > --sharedstatedir=/com --localstatedir=/var > --libdir=/usr/lib64 --includedir=/usr/include > --oldincludedir=/usr/include --infodir=/usr/share/info > --mandir=/usr/share/man --disable-silent-rules > --disable-dependency-tracking > --with-libtool-sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5 > 500-oe-linux/glibc/2.28-r0/recipe-sysroot > --enable-kernel=3.2.0 --disable-profile --disable-debug --without-gd > > --enable-clocale=gnu > --with-headers=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-l > inux/glibc/2.28-r0/recipe-sysroot/usr/include > --without-selinux --enable-tunables --enable-bind-now > --enable-stack-protector=strong --enable-stackguard-randomization > --disable-crypt --with-default-link --with-cpu=e5500 --enable-nscd > checking build system type... x86_64-pc-linux-gnu checking host system > type... powerpc64-oe-linux-gnu checking for powerpc64-oe-linux-gcc... > powerpc64-oe-linux-gcc -mhard-float -m64 -mcpu=e5500 > --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/ > glibc/2.28-r0/recipe-sysroot checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes checking > whether powerpc64-oe-linux-gcc -mhard-float -m64 -mcpu=e5500 > --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/ > glibc/2.28-r0/recipe-sysroot > accepts -g... yes > checking for gcc... gcc > checking for powerpc64-oe-linux-readelf... powerpc64-oe-linux-readelf > checking whether we are using the GNU C++ compiler... yes checking > whether powerpc64-oe-linux-g++ -mhard-float -m64 -mcpu=e5500 > --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/ > glibc/2.28-r0/recipe-sysroot > a
[meta-freescale] [PATCH] secure-obj:Remove redundant test command
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-extended/secure-obj/secure-obj_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-extended/secure-obj/secure-obj_git.bb b/recipes-extended/secure-obj/secure-obj_git.bb index d85d729..6af18ff 100644 --- a/recipes-extended/secure-obj/secure-obj_git.bb +++ b/recipes-extended/secure-obj/secure-obj_git.bb @@ -37,6 +37,7 @@ do_install() { cp ${S}/securekey_lib/out/export/app/* ${D}${bindir} cp ${S}/secure_obj-openssl-engine/app/sobj_eng_app ${D}${bindir} cp ${S}/securekey_lib/out/export/include/* ${D}${includedir} +rm -rf ${D}${bindir}/test } FILES_${PN} += "${base_libdir}/optee_armtz ${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH] add colon to MACHINEOVERRIDES in ppc machine config
From: Chunrong Guo Signed-off-by: Chunrong Guo --- conf/machine/p1020rdb.conf | 2 +- conf/machine/p2041rdb.conf | 2 +- conf/machine/p3041ds.conf | 2 +- conf/machine/p4080ds.conf | 2 +- conf/machine/p5040ds.conf | 2 +- conf/machine/t1024rdb.conf | 2 +- conf/machine/t2080rdb.conf | 2 +- conf/machine/t4240rdb.conf | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/conf/machine/p1020rdb.conf b/conf/machine/p1020rdb.conf index 50edba7..42bbdc3 100644 --- a/conf/machine/p1020rdb.conf +++ b/conf/machine/p1020rdb.conf @@ -7,7 +7,7 @@ require conf/machine/include/e500v2.inc -MACHINEOVERRIDES =. "p1020" +MACHINEOVERRIDES =. "p1020:" BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat" UBOOT_CONFIG ??= "nand sdcard spi nor" diff --git a/conf/machine/p2041rdb.conf b/conf/machine/p2041rdb.conf index 102cc8d..19f7df4 100644 --- a/conf/machine/p2041rdb.conf +++ b/conf/machine/p2041rdb.conf @@ -7,7 +7,7 @@ require conf/machine/include/e500mc.inc -MACHINEOVERRIDES =. "p2041" +MACHINEOVERRIDES =. "p2041:" UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor" UBOOT_CONFIG[nor] = "P2041RDB_config" diff --git a/conf/machine/p3041ds.conf b/conf/machine/p3041ds.conf index c7ce469..5102fc9 100644 --- a/conf/machine/p3041ds.conf +++ b/conf/machine/p3041ds.conf @@ -7,7 +7,7 @@ require conf/machine/include/e500mc.inc -MACHINEOVERRIDES =. "p3041" +MACHINEOVERRIDES =. "p3041:" UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor" UBOOT_CONFIG[nor] = "P3041DS_config" diff --git a/conf/machine/p4080ds.conf b/conf/machine/p4080ds.conf index 23a7816..6ea35b3 100644 --- a/conf/machine/p4080ds.conf +++ b/conf/machine/p4080ds.conf @@ -7,7 +7,7 @@ require conf/machine/include/e500mc.inc -MACHINEOVERRIDES =. "p4080" +MACHINEOVERRIDES =. "p4080:" UBOOT_CONFIG ??= "secure-boot sdcard spi nor" UBOOT_CONFIG[nor] = "P4080DS_config" diff --git a/conf/machine/p5040ds.conf b/conf/machine/p5040ds.conf index af581f4..d958e4f 100644 --- a/conf/machine/p5040ds.conf +++ b/conf/machine/p5040ds.conf @@ -7,7 +7,7 @@ require conf/machine/include/e5500.inc -MACHINEOVERRIDES =. "p5040" +MACHINEOVERRIDES =. "p5040:" UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor" UBOOT_CONFIG[nor] = "P5040DS_config" diff --git a/conf/machine/t1024rdb.conf b/conf/machine/t1024rdb.conf index 616ce3f..81d5696 100644 --- a/conf/machine/t1024rdb.conf +++ b/conf/machine/t1024rdb.conf @@ -7,7 +7,7 @@ require conf/machine/include/e5500.inc -MACHINEOVERRIDES =. "t1:t1024" +MACHINEOVERRIDES =. "t1:t1024:" UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor" UBOOT_CONFIG[nor] = "T1024RDB_config" diff --git a/conf/machine/t2080rdb.conf b/conf/machine/t2080rdb.conf index bfcb768..128f643 100644 --- a/conf/machine/t2080rdb.conf +++ b/conf/machine/t2080rdb.conf @@ -7,7 +7,7 @@ require conf/machine/include/e6500.inc -MACHINEOVERRIDES =. "t2:t2080" +MACHINEOVERRIDES =. "t2:t2080:" UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor" UBOOT_CONFIG[nor] = "T2080RDB_config" diff --git a/conf/machine/t4240rdb.conf b/conf/machine/t4240rdb.conf index 9f86345..0f64211 100644 --- a/conf/machine/t4240rdb.conf +++ b/conf/machine/t4240rdb.conf @@ -7,7 +7,7 @@ require conf/machine/include/e6500.inc -MACHINEOVERRIDES =. "t4:t4240" +MACHINEOVERRIDES =. "t4:t4240:" UBOOT_CONFIG ??= "nor" UBOOT_CONFIG[nor] = "T4240RDB_config" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 1/2] ovs-dpdk: remove static key word
From: Chunrong Guo fix the below error: |lib/dhparams.c:2:12: error: static declaration of 'get_dh1024' follows non-static declaration | static DH *get_dh1024(void) Signed-off-by: Chunrong Guo --- .../0001-automake-remove-static-key-word.patch | 27 ++ recipes-extended/ovs-dpdk/ovs-dpdk_2.9.bb | 4 +++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 recipes-extended/ovs-dpdk/ovs-dpdk/0001-automake-remove-static-key-word.patch diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk/0001-automake-remove-static-key-word.patch b/recipes-extended/ovs-dpdk/ovs-dpdk/0001-automake-remove-static-key-word.patch new file mode 100644 index 000..e438e47 --- /dev/null +++ b/recipes-extended/ovs-dpdk/ovs-dpdk/0001-automake-remove-static-key-word.patch @@ -0,0 +1,27 @@ +From 9327cc35bc9e7040d9de743caebd0fee72bbd619 Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Fri, 12 Oct 2018 10:53:00 +0800 +Subject: [PATCH] automake: remove static key word + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Chunrong Guo +--- + lib/automake.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/automake.mk b/lib/automake.mk +index 8ecad12..f9016a0 100644 +--- a/lib/automake.mk b/lib/automake.mk +@@ -439,6 +439,7 @@ lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem +openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \ +openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout)\ + | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp && \ ++sed -i '/\(get_dh[0-9]*\)(void)/s/^static//' lib/dhparams.c.tmp && \ + mv lib/dhparams.c.tmp lib/dhparams.c + else + lib_libopenvswitch_la_SOURCES += lib/stream-nossl.c +-- +2.7.4 + diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.9.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.9.bb index ab351f6..b1994c5 100644 --- a/recipes-extended/ovs-dpdk/ovs-dpdk_2.9.bb +++ b/recipes-extended/ovs-dpdk/ovs-dpdk_2.9.bb @@ -7,7 +7,9 @@ RDEPENDS_${PN} = "bash libcrypto libssl python" inherit pythonnative -SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ovs-dpdk;nobranch=1" +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ovs-dpdk;nobranch=1 \ +file://0001-automake-remove-static-key-word.patch \ +" SRCREV = "24eec4133f03b0a5a8f903577bc87603577150c0" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 2/2] Remove .bin sufix from RCW in machine config
From: Chunrong Guo * support _sben suffix RCW Signed-off-by: Chunrong Guo --- conf/machine/ls1012afrwy.conf | 2 +- conf/machine/ls1012ardb.conf| 3 ++- conf/machine/ls1043ardb.conf| 6 +++--- conf/machine/ls1046ardb.conf| 4 ++-- conf/machine/ls1088ardb-pb.conf | 4 ++-- conf/machine/ls1088ardb.conf| 4 ++-- conf/machine/ls2088ardb.conf| 4 ++-- conf/machine/lx2160ardb.conf| 4 ++-- 8 files changed, 16 insertions(+), 15 deletions(-) diff --git a/conf/machine/ls1012afrwy.conf b/conf/machine/ls1012afrwy.conf index bd154ac..13b6138 100644 --- a/conf/machine/ls1012afrwy.conf +++ b/conf/machine/ls1012afrwy.conf @@ -20,7 +20,7 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa" UBOOT_CONFIG[tfa] = "ls1012afrwy_tfa_defconfig,,u-boot-dtb.bin" UBOOT_CONFIG[tfa-secure-boot] = "ls1012afrwy_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" -RCWQSPI ?= "N_SSNP_3305/rcw_1000_default.bin" +RCWQSPI ?= "N_SSNP_3305/rcw_1000" KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frwy.dtb" KERNEL_DEFCONFIG ?= "defconfig" diff --git a/conf/machine/ls1012ardb.conf b/conf/machine/ls1012ardb.conf index f05507d..85b01af 100644 --- a/conf/machine/ls1012ardb.conf +++ b/conf/machine/ls1012ardb.conf @@ -20,7 +20,8 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa" UBOOT_CONFIG[tfa] = "ls1012ardb_tfa_defconfig,,u-boot-dtb.bin" UBOOT_CONFIG[tfa-secure-boot] = "ls1012ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" -RCWQSPI ?= "R_SPNH_3508/rcw_1000_default.bin" +RCWQSPI ?= "R_SPNH_3508/rcw_1000" +RCWQSPISEC ?= "R_SPNH_3508/rcw_1000" KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb" KERNEL_DEFCONFIG ?= "defconfig" diff --git a/conf/machine/ls1043ardb.conf b/conf/machine/ls1043ardb.conf index f9b0d3d..b00b987 100644 --- a/conf/machine/ls1043ardb.conf +++ b/conf/machine/ls1043ardb.conf @@ -24,9 +24,9 @@ KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1043a-rd KERNEL_DEFCONFIG ?= "defconfig" UEFI_NORBOOT ?= "LS1043ARDB_EFI_NORBOOT.fd" -RCWNOR ?= "RR_FQPP_1455/rcw_1600.bin" -RCWSD ?= "RR_FQPP_1455/rcw_1600_sdboot.bin" -RCWNAND ?= "RR_FQPP_1455/rcw_1600_nandboot.bin" +RCWNOR ?= "RR_FQPP_1455/rcw_1600" +RCWSD ?= "RR_FQPP_1455/rcw_1600_sdboot" +RCWNAND ?= "RR_FQPP_1455/rcw_1600_nandboot" QE_UCODE = "iram_Type_A_LS1021a_r1.0.bin" EXTRA_IMAGEDEPENDS += "fm-ucode rcw qe-ucode uefi atf" diff --git a/conf/machine/ls1046ardb.conf b/conf/machine/ls1046ardb.conf index 83309c9..b3000f0 100644 --- a/conf/machine/ls1046ardb.conf +++ b/conf/machine/ls1046ardb.conf @@ -29,8 +29,8 @@ SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0 115200;ttyLP0" SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" UEFI_NORBOOT ?= "LS1046ARDB_EFI_NORBOOT.fd" -RCWQSPI ?= "RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin" -RCWSD ?= "RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.bin" +RCWQSPI ?= "RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot" +RCWSD ?= "RR_FFSSPPPH_1133_5559/rcw_1800_sdboot" EXTRA_IMAGEDEPENDS += "fm-ucode rcw uefi atf" USE_VT = "0" diff --git a/conf/machine/ls1088ardb-pb.conf b/conf/machine/ls1088ardb-pb.conf index 3726efa..11fdf0d 100644 --- a/conf/machine/ls1088ardb-pb.conf +++ b/conf/machine/ls1088ardb-pb.conf @@ -25,8 +25,8 @@ KERNEL_DEFCONFIG ?= "defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" -RCWSD ?= "FCSSRR__0x1d_0x13/rcw_1600_sd.bin" -RCWQSPI ?= "FCSSRR__0x1d_0x13/rcw_1600_qspi.bin" +RCWSD ?= "FCSSRR__0x1d_0x13/rcw_1600_sd" +RCWQSPI ?= "FCSSRR__0x1d_0x13/rcw_1600_qspi" EXTRA_IMAGEDEPENDS += "mc-utils rcw management-complex atf" diff --git a/conf/machine/ls1088ardb.conf b/conf/machine/ls1088ardb.conf index 13c8bf2..0dc0308 100644 --- a/conf/machine/ls1088ardb.conf +++ b/conf/machine/ls1088ardb.conf @@ -25,8 +25,8 @@ KERNEL_DEFCONFIG ?= "defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" -RCWSD ?= "FC_PPP_H_0x1d_0x0d/rcw_1600_sd.bin" -RCWQSPI ?= "FC_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin" +RCWSD ?= "FC_PPP_H_0x1d_0x0d/rcw_1600_sd" +RCWQSPI ?= "FC_PPP_H_0x1d_0x0d/rcw_1600_qspi" EXTRA_IMAGEDEPENDS += "mc-utils rcw management-complex atf" USE_VT = "0" diff --git a/conf/machine/ls2088ardb.conf b/conf/machine/ls2088ardb.conf index 04f3bbd..929094e 100644 --- a/conf/machine/ls2088ardb.conf +++ b/conf/machine/ls2088ardb.conf @@ -19,8 +19,8 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa" UBOOT_CONFIG[tfa] = "ls2088ardb_tfa_defconfig,,u-boot-dtb.bin" UBOOT_CONFIG[tfa-secure-boot] = "ls2088ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" -RCWNOR ?= "_PP_HH_0x2a_0x41/rcw_1800.bin" -RCWQSPI?= "_PP_HH_0x2a_0x41/rcw_2000_qspi.bin" +RCWNOR ?= "_PP_HH_0x2a_0x41/rcw_1800" +RCWQSPI?= "_PP_HH_0x2a_0x41/rcw_2000_qspi" UEFI_NORBOOT ?= "LS2088ARDB_EFI_NORBOOT.fd" KERNEL_DEVICETREE ?= "freescale/fsl-ls2088a-rdb.dtb" diff --git a/conf/machine/lx2160ardb.conf b/conf/machine/lx2160ardb.conf index 44eba5d..3300488
[meta-freescale] [PATCH 2/2] ceetm: install json_print.h
From: Chunrong Guo *fix the below error: |fatal error: json_print.h: No such file or directory Signed-off-by: Chunrong Guo --- recipes-kernel/ceetm/ceetm_git.bb | 4 1 file changed, 4 insertions(+) diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb index 57fbbe4..8613e50 100644 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ b/recipes-kernel/ceetm/ceetm_git.bb @@ -11,6 +11,10 @@ S = "${WORKDIR}/git" EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" IPROUTE2_DIR="{STAGING_DIR_TARGET}"' +do_compile_prepend () { +cp ${RECIPE_SYSROOT}/usr/include/include/json_print.h ${RECIPE_SYSROOT}/usr/include +} + do_install(){ mkdir -p ${D}/${libdir}/tc cp ${S}/q_ceetm.so ${D}/${libdir}/tc/ -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 1/2] atf: add recipes
From: Chunrong Guo *update to lsdk 1812 tag include the following changes 4971f39 - nxp: Invalidates the output buffer memory to get random bytes a58ecfe - plat/nxp: Correct calculation of GIC Offset for LS1023 ba92b6a - nxp: Shift the soc_mem_access function before loading Fuse file 67faea4 - nxp:ls2088: Add support to return number of clusters based on personality 2d57313 - nxp/interconnect: Streamline interconnect driver bc0b955 - nxp:ls2088: Fix the call to get_gic_rd_base d2f5eb0 - nxp: Add DCSR ADDR define in Chassis 3 devices de0dfcc - nxp: Enable core timebase 2dd3986 - Corrected the usage of POLICY_PERF_WRIOP. 41b8f73 - ls2088a lx2160a: usage of new APIs of CCN driver 6f20e79 - ccn: Introduce API to set and read value of node register d2e6a39 - BL2_Chasis_3_2: Correct the BL2 image location in OCRAM. d3a7ae9 - nxp: clean up secondary core PSCI data offset calculation 7feae63 - nxp: clean up OCRAM layout 5c2ec36 - nxp: Drop DATA_LOC option d103a4f - nxp: ls2088a: Abort wake up if not by SGI15 d8000b3 - Setting retention control for LPM20 of LS1088 and LS2088 0430db9 - nxp: ls1012a: Fix generic timer clock bfe6a23 - nxp: Update ls1012 timer to use fixed 25 MHz for ARM generic timer 5d5480e - plat/nxp: Change CSFHDR_SZ to 0x3000 for all platforms 62ed791 - nxp/ls1012: Fix BL31 boot up issue ffc6895 - nxp: Change BL2_TEXT_LIMIT for SD Boot e301618 - nxp: Reduce default CSF HDR SZ for ls1088 and ls2088 81b4323 - nxp: drivers: ddr: Update workaround for A008511 a3ee152 - nxp/ls1012: Set SMMU Policy to 0 for ls1012 965e334 - nxp: Correct Policy checking for SMMU Signed-off-by: Chunrong Guo --- recipes-bsp/atf/atf/0001-Makefile-add-CC-gcc.patch | 28 .../atf/atf/0001-fix-fiptool-build-error.patch | 28 recipes-bsp/atf/atf_git.bb | 156 + 3 files changed, 212 insertions(+) create mode 100644 recipes-bsp/atf/atf/0001-Makefile-add-CC-gcc.patch create mode 100644 recipes-bsp/atf/atf/0001-fix-fiptool-build-error.patch create mode 100644 recipes-bsp/atf/atf_git.bb diff --git a/recipes-bsp/atf/atf/0001-Makefile-add-CC-gcc.patch b/recipes-bsp/atf/atf/0001-Makefile-add-CC-gcc.patch new file mode 100644 index 000..efa2749 --- /dev/null +++ b/recipes-bsp/atf/atf/0001-Makefile-add-CC-gcc.patch @@ -0,0 +1,28 @@ +From 3161524085339ae214f7dee17a98ccd6c442d66b Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Thu, 16 Aug 2018 17:38:04 +0800 +Subject: [PATCH] Makefile: add CC=gcc + + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Chunrong Guo +--- + plat/nxp/tools/Makefile | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/plat/nxp/tools/Makefile b/plat/nxp/tools/Makefile +index e648fd1..43d3b56 100644 +--- a/plat/nxp/tools/Makefile b/plat/nxp/tools/Makefile +@@ -32,6 +32,7 @@ endif + INCLUDE_PATHS := + + HOSTCC ?= gcc ++CC = gcc + + .PHONY: all clean distclean + +-- +2.7.4 + diff --git a/recipes-bsp/atf/atf/0001-fix-fiptool-build-error.patch b/recipes-bsp/atf/atf/0001-fix-fiptool-build-error.patch new file mode 100644 index 000..ffd9965 --- /dev/null +++ b/recipes-bsp/atf/atf/0001-fix-fiptool-build-error.patch @@ -0,0 +1,28 @@ +From a76ae26fdb673613f5f97872b7275c630b7b24b8 Mon Sep 17 00:00:00 2001 +From: BJ DevOps Team +Date: Wed, 16 May 2018 13:26:45 +0800 +Subject: [PATCH] fix fiptool build error + +Upstream-Status: Inappropriate [embedded specific] + +--- + tools/fiptool/Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/fiptool/Makefile b/tools/fiptool/Makefile +index e0e3923..f213f44 100644 +--- a/tools/fiptool/Makefile b/tools/fiptool/Makefile +@@ -19,7 +19,8 @@ ifeq (${DEBUG},1) + else + CFLAGS += -O2 + endif +-LDLIBS := -lcrypto ++ ++LDLIBS := -Wl,-rpath=${LIBPATH}/usr/lib -L${LIBPATH}/usr/lib -lcrypto + + ifeq (${V},0) + Q := @ +-- +1.8.3.1 + diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb new file mode 100644 index 000..45bd376 --- /dev/null +++ b/recipes-bsp/atf/atf_git.bb @@ -0,0 +1,156 @@ +DESCRIPTION = "ARM Trusted Firmware" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443" + +inherit deploy + +DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native uefi" +DEPENDS_append_qoriq-arm64 += "optee-os-qoriq" +do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" + +S = "${WORKDIR}/git" + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1" +SRCREV = "4971f394cf32e33e3a9ca23a4faa49d606af31c5" + +SRC_URI += "file://0001-fix-fiptool-build-error.patch \ +file://0001-Makefile-add-CC-gcc.patch \ +" +COMPATIBLE_MACHINE = "(qoriq)" +PLATFORM = "${MACHINE}" +PLATFORM_ls1088ardb-pb = "ls1088ardb" +# requires CROSS_COMPILE set by hand as there is no configure script +export CROSS_COMPILE="${TARGET_PREFIX}" +export ARCH="arm64" +# Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a
Re: [meta-freescale] glibc configure fails with e5500 / t1040 on master...
Please see https://patchwork.openembedded.org/patch/157986/ Thanks Chunrong -Original Message- From: Lautenschlager (US), David C [mailto:david.c.lautenschla...@boeing.com] Sent: 2019年1月18日 4:38 To: C.r. Guo ; Bob Cochran ; meta-freescale@yoctoproject.org Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on master... How do I apply this patch? -Original Message- From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of C.r. Guo Sent: Tuesday, January 15, 2019 3:49 AM To: Bob Cochran ; meta-freescale@yoctoproject.org Subject: Re: [meta-freescale] glibc configure fails with e5500 / t1040 on master... Hello all, You find patches about glibc support e5500 and e6500. https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fqoriq%2Fqoriq-components%2Fmeta-qoriq-demos%2Ftree%2Frecipes-core%2Fglibc%2Fglibc%2F0001-glibc-support-e5500-and-e6500.patch%3Fh%3Dthuddata=02%7C01%7Cchunrong.guo%40nxp.com%7Ce45ab523d356494ddb5308d67cbbafd6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636833542898403575sdata=IouF98OSvt5oKztWL5KMz4dE87etrk9zI0K02%2FMohm8%3Dreserved=0 I will submitted patches to poky . Thanks Chunrong -Original Message- From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran Sent: 2019年1月15日 15:08 To: meta-freescale@yoctoproject.org Subject: [meta-freescale] glibc configure fails with e5500 / t1040 on master... Hello, I was trying to build a t1040-based image using most recent master, but glibc is failing during configure. I went back and compared a successful build with sumo using glibc-2.27, but I'm scratching my head why it passes on sumo but fails on master. Here is the log.do_configure: DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common'] DEBUG: Executing shell function autotools_preconfigure DEBUG: Shell function autotools_preconfigure finished DEBUG: Executing python function autotools_aclocals DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common'] DEBUG: Python function autotools_aclocals finished DEBUG: Executing shell function do_configure NOTE: Running ../git/configure --build=x86_64-linux --host=powerpc64-oe-linux --target=powerpc64-oe-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib64 --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot --enable-kernel=3.2.0 --disable-profile --disable-debug --without-gd --enable-clocale=gnu --with-headers=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot/usr/include --without-selinux --enable-tunables --enable-bind-now --enable-stack-protector=strong --enable-stackguard-randomization --disable-crypt --with-default-link --with-cpu=e5500 --enable-nscd checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64-oe-linux-gnu checking for powerpc64-oe-linux-gcc... powerpc64-oe-linux-gcc -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether powerpc64-oe-linux-gcc -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot accepts -g... yes checking for gcc... gcc checking for powerpc64-oe-linux-readelf... powerpc64-oe-linux-readelf checking whether we are using the GNU C++ compiler... yes checking whether powerpc64-oe-linux-g++ -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot accepts -g... yes checking whether powerpc64-oe-linux-g++ -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot can link programs... no checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64 checking for use of fpu sysdeps directories... yes checking for -fstack-protector... (cached) no checking for -fstack-protector-strong... (cached) no checking for -fstack-protector-all... (cached) no checking for assembler and linker STT_GNU_IFUNC support... yes checking for gcc attribute ifunc support
Re: [meta-freescale] Building Yocto for the T4240RDB
Hello all, You can find patches in https://source.codeaurora.org/external/qoriq/qoriq-components/meta-qoriq-demos/tree/recipes-core/glibc/glibc/0001-glibc-support-e5500-and-e6500.patch?h=thud I will submit patches to poky layer Thanks Chunrong From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Lautenschlager (US), David C Sent: 2019年1月15日 5:56 To: meta-freescale@yoctoproject.org Subject: [meta-freescale] Building Yocto for the T4240RDB The last few releases of the Yocto/meta-freescale do not build for the T4240RDB. Is this processor still being supported? I thought it was an LTS product. What is the most recent release of meta-freescale that works for this processor. Is there anyone working on bringing it up to date? I would be happy to help. Thanks, David Lautenschlager -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] glibc configure fails with e5500 / t1040 on master...
Hello all, You find patches about glibc support e5500 and e6500. https://source.codeaurora.org/external/qoriq/qoriq-components/meta-qoriq-demos/tree/recipes-core/glibc/glibc/0001-glibc-support-e5500-and-e6500.patch?h=thud I will submitted patches to poky . Thanks Chunrong -Original Message- From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran Sent: 2019年1月15日 15:08 To: meta-freescale@yoctoproject.org Subject: [meta-freescale] glibc configure fails with e5500 / t1040 on master... Hello, I was trying to build a t1040-based image using most recent master, but glibc is failing during configure. I went back and compared a successful build with sumo using glibc-2.27, but I'm scratching my head why it passes on sumo but fails on master. Here is the log.do_configure: DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common'] DEBUG: Executing shell function autotools_preconfigure DEBUG: Shell function autotools_preconfigure finished DEBUG: Executing python function autotools_aclocals DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common'] DEBUG: Python function autotools_aclocals finished DEBUG: Executing shell function do_configure NOTE: Running ../git/configure --build=x86_64-linux --host=powerpc64-oe-linux --target=powerpc64-oe-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib64 --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot --enable-kernel=3.2.0 --disable-profile --disable-debug --without-gd --enable-clocale=gnu --with-headers=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot/usr/include --without-selinux --enable-tunables --enable-bind-now --enable-stack-protector=strong --enable-stackguard-randomization --disable-crypt --with-default-link --with-cpu=e5500 --enable-nscd checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64-oe-linux-gnu checking for powerpc64-oe-linux-gcc... powerpc64-oe-linux-gcc -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether powerpc64-oe-linux-gcc -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot accepts -g... yes checking for gcc... gcc checking for powerpc64-oe-linux-readelf... powerpc64-oe-linux-readelf checking whether we are using the GNU C++ compiler... yes checking whether powerpc64-oe-linux-g++ -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot accepts -g... yes checking whether powerpc64-oe-linux-g++ -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot can link programs... no checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64 checking for use of fpu sysdeps directories... yes checking for -fstack-protector... (cached) no checking for -fstack-protector-strong... (cached) no checking for -fstack-protector-all... (cached) no checking for assembler and linker STT_GNU_IFUNC support... yes checking for gcc attribute ifunc support... yes checking if compiler warns about alias for function with incompatible types... yes checking sysdep dirs... configure: error: The e5500 subspecies of powerpc64 is not supported. -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7Czhenhua.luo%40nxp.com%7Ce7675005dbba4c3b035908d67ab8451e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636831329182550625sdata=pJ7%2B0Bo0zQ1x441Rj7ubHG7KHAjnuTZCEh5ji4Q%2FdZo%3Dreserved=0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab
Hello Daiane, Please merge v2 patch and ignore some patches has [rocko] on subject. Thanks Chunrong -Original Message- From: angol...@gmail.com [mailto:angol...@gmail.com] On Behalf Of Daiane Angolini Sent: 2019年1月11日 22:43 To: C.r. Guo ; Otavio Salvador Cc: meta-freescale@yoctoproject.org Subject: Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab On Thu, Jan 10, 2019 at 1:50 PM Daiane Angolini wrote: > > On Thu, Jan 10, 2019 at 12:50 PM C.r. Guo wrote: > > > > From: Chunrong Guo > > > > *update to lsdk 1812 tag > > include the following changes: > > c7576ab - Resolved compile warning on ubuntu with > > aarch64-linux-gnu-g++ v7.3 > > Would you, please, rebase your patchset and send it again? > > I have faced conflicts at least on patch 6 and 11. Hi Chunrong Guo, I have created a PR with your v2. Could you, please take a look on this? https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fmeta-freescale%2Fpull%2F34%2Fcommitsdata=02%7C01%7Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=9NPU9%2BViDnJx%2B0WnyhptGj8c%2FasAvWOQtga4oN%2BbpXo%3Dreserved=0 I saw some patches has [rocko] on subject, could you, please elaborate what does it mean? Would it be a cherry pick to be backported to rocko? Thanks a lot, Daiane > > Thanks in advance, > Daiane > > > > Signed-off-by: Chunrong Guo > > --- > > dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | 2 > > +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git > > a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > index 4812ca3..cbf8e24 100644 > > --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > @@ -7,7 +7,7 @@ PR = "r2" > > DEPENDS = "libxml2 fmlib tclap" > > > > SRC_URI = > > "git://source.codeaurora.org/external/qoriq/qoriq-components/fmc;nobranch=1" > > -SRCREV = "09a497fe92aa6cf784140b9084bccf497700" > > +SRCREV = "c7576ab7fb6fb09b68ebc40531e5452fc89e5cd5" > > > > S = "${WORKDIR}/git" > > > > -- > > 2.7.4 > > > > -- > > ___ > > meta-freescale mailing list > > meta-freescale@yoctoproject.org > > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fl > > ists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7 > > Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d > > 3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=v6F > > hJ5qdNfbZZP4DBXZy3LbxPhRS21NfyzGX14sZ4Gg%3Dreserved=0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH] udev: add rule for t1024
From: Chunrong Guo *remove rule for t1023 Signed-off-by: Chunrong Guo --- recipes-core/udev/udev-rules-qoriq.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb index 152cec5..deeedab 100644 --- a/recipes-core/udev/udev-rules-qoriq.bb +++ b/recipes-core/udev/udev-rules-qoriq.bb @@ -13,7 +13,7 @@ S = "${WORKDIR}" RULE = "71-fsl-dpaa-persistent-networking.rules" RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" -RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules" +RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" RULE_ls1043a = "73-fsl-dpaa-persistent-networking.rules" RULE_ls1046a = "73-fsl-dpaa-persistent-networking.rules \ 74-ls1046a-xfi2-networking.rules \ -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab
Please ignore some patches has [rocko] on subject Thanks Chunrong -Original Message- From: angol...@gmail.com [mailto:angol...@gmail.com] On Behalf Of Daiane Angolini Sent: 2019年1月11日 22:43 To: C.r. Guo ; Otavio Salvador Cc: meta-freescale@yoctoproject.org Subject: Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab On Thu, Jan 10, 2019 at 1:50 PM Daiane Angolini wrote: > > On Thu, Jan 10, 2019 at 12:50 PM C.r. Guo wrote: > > > > From: Chunrong Guo > > > > *update to lsdk 1812 tag > > include the following changes: > > c7576ab - Resolved compile warning on ubuntu with > > aarch64-linux-gnu-g++ v7.3 > > Would you, please, rebase your patchset and send it again? > > I have faced conflicts at least on patch 6 and 11. Hi Chunrong Guo, I have created a PR with your v2. Could you, please take a look on this? https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fmeta-freescale%2Fpull%2F34%2Fcommitsdata=02%7C01%7Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=9NPU9%2BViDnJx%2B0WnyhptGj8c%2FasAvWOQtga4oN%2BbpXo%3Dreserved=0 I saw some patches has [rocko] on subject, could you, please elaborate what does it mean? Would it be a cherry pick to be backported to rocko? Thanks a lot, Daiane > > Thanks in advance, > Daiane > > > > Signed-off-by: Chunrong Guo > > --- > > dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | 2 > > +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git > > a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > index 4812ca3..cbf8e24 100644 > > --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb > > @@ -7,7 +7,7 @@ PR = "r2" > > DEPENDS = "libxml2 fmlib tclap" > > > > SRC_URI = > > "git://source.codeaurora.org/external/qoriq/qoriq-components/fmc;nobranch=1" > > -SRCREV = "09a497fe92aa6cf784140b9084bccf497700" > > +SRCREV = "c7576ab7fb6fb09b68ebc40531e5452fc89e5cd5" > > > > S = "${WORKDIR}/git" > > > > -- > > 2.7.4 > > > > -- > > ___ > > meta-freescale mailing list > > meta-freescale@yoctoproject.org > > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fl > > ists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7 > > Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d > > 3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=v6F > > hJ5qdNfbZZP4DBXZy3LbxPhRS21NfyzGX14sZ4Gg%3Dreserved=0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH v2 08/41] u-boot-qoriq: Upgrade version to 2018.09
From: Chunrong Guo *update to lsdk 1812 tag include the following changes c08de7c - SecureBoot_LX2160A: Correct the kernel header offset. 619d0d3 - ls2080ardb: check enablement of QSPI using DCFG_RCWSR15 0dfcc1f - ls1088a: Update the device tree for IFC/QSPI 8875034 - net/phy: Cortina CS4223 driver updates & bugfixes 88fa585 - mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops 2211378 - Revert "pci: layerscape: Add the dts fixup for EP and RC" f8358cf - armv8: fsl-layerscape: properly configure qdma ICID f24e259 - lx2160: Enable support of EMC2305 1a858e3 - armv8: emc2305: add support for fan controller f37025a - fsl-ls2088ardb: dts: enabling SATA node ff3e128 - board/ls1046aqds: Bypass xfi port fixup for KR mode on LS1046AQDS 2c3c67e - armv8: ls2088ardb: change default device tree in defconfig for TFABOOT 7f79b25 - armv8: ls1088aqds: add support for ifc-nor boot for TFABOOT c1b55a8 - detect ifc-nor flash at run-time 6c99ca4 - pci: layerscape: Add the dts fixup for EP and RC ccfc35d - pci: layerscape: Do not scan when PEX work in EP mode dd167bc - pci: layerscape: Modify the EP and RC mode judge method 26defec - armv8,lx2160a: Initialize ethernet array in serdes_init 2851185 - armv8: lx2160a: Update CONFIG_SYS_FSL_PEBUF_BASE cce8348 - board/ls2088ardb: Update the device tree for IFC/QSPI 830ac80 - Correct QSPI bootcommand for LS2088 TFA boot 899e696 - ls2088ardb: add QSPI support for TFA-BOOT a9fb32b - ls1043a: add support for nand-boot cmd for TFA c2b3374 - arm64: lx2160ardb: enable DM support for sata 0f80b76 - armv8: dts: fsl-lx2160a: add sata node support a10b3fc - board/lx2160a: Update xspi_bootcmd, sd_bootcmd env ee09465 - armv8:LX2160: Adds distro secure boot support. 9a7d1e0 - drivers/spi: Disable hybrid mode for SPANSION S25FS-S family 6b04587 - drivers/spi: Introduce functions to read/write any register a748abd - fsl_qspi: Modify handling of RDAR, WRAR, 4K_ERASE commands 2af4cbd - armv8: lx2160a: Modify dspi1 controller intrrupts property 612bc35 - Enable sata configs to Kconfig for all LayerScape boards 358229b - armv8: ls1043aqds: modify the qspi_bootcmd definition Signed-off-by: Chunrong Guo --- recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc | 19 ++ recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb | 79 -- recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb | 79 ++ 3 files changed, 98 insertions(+), 79 deletions(-) create mode 100644 recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb create mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb diff --git a/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc new file mode 100644 index 000..a3a554c --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc @@ -0,0 +1,19 @@ + +inherit fsl-u-boot-localversion + +LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1" +LIC_FILES_CHKSUM = " \ +file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ +file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ +file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ +file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ +file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ +" + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1 \ +" +SRCREV= "c08de7c3c92d45a824500ad936f4d72465c181ec" + +S = "${WORKDIR}/git" +PV_append = "+fslgit" +LOCALVERSION = "+fsl" diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb b/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb deleted file mode 100644 index 0ad754f..000 --- a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb +++ /dev/null @@ -1,79 +0,0 @@ -require recipes-bsp/u-boot/u-boot.inc -require u-boot-qoriq-common_${PV}.inc - -DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" -PROVIDES += "u-boot" - -INHIBIT_DEFAULT_DEPS = "1" -DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc" -DEPENDS_append_qoriq-arm64 = " change-file-endianess-native dtc-native tcl-native" -DEPENDS_append_qoriq-arm = " change-file-endianess-native dtc-native tcl-native" -DEPENDS_append_qoriq-ppc = " boot-format-native" - -python () { -if d.getVar("TCMODE", True) == "external-fsl": -return - -ml = d.getVar("MULTILIB_VARIANTS", True) -arch = d.getVar("OVERRIDES", True) - -if "e5500-64b:" in arch or "e6500-64b:" in arch: -if not "lib32" in ml: -raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") -sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' -sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') -workdir = d.getVar('WORKDIR').replace(sys_original,sys_multilib) -d.setVar('DEPENDS_append', ' lib32-gcc-cross-powerpc lib32-libgcc') -
[meta-freescale] [rocko][PATCH v2 08/41] u-boot-qoriq: Upgrade version to 2018.09
From: Chunrong Guo *update to lsdk 1812 tag include the following changes c08de7c - SecureBoot_LX2160A: Correct the kernel header offset. 619d0d3 - ls2080ardb: check enablement of QSPI using DCFG_RCWSR15 0dfcc1f - ls1088a: Update the device tree for IFC/QSPI 8875034 - net/phy: Cortina CS4223 driver updates & bugfixes 88fa585 - mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops 2211378 - Revert "pci: layerscape: Add the dts fixup for EP and RC" f8358cf - armv8: fsl-layerscape: properly configure qdma ICID f24e259 - lx2160: Enable support of EMC2305 1a858e3 - armv8: emc2305: add support for fan controller f37025a - fsl-ls2088ardb: dts: enabling SATA node ff3e128 - board/ls1046aqds: Bypass xfi port fixup for KR mode on LS1046AQDS 2c3c67e - armv8: ls2088ardb: change default device tree in defconfig for TFABOOT 7f79b25 - armv8: ls1088aqds: add support for ifc-nor boot for TFABOOT c1b55a8 - detect ifc-nor flash at run-time 6c99ca4 - pci: layerscape: Add the dts fixup for EP and RC ccfc35d - pci: layerscape: Do not scan when PEX work in EP mode dd167bc - pci: layerscape: Modify the EP and RC mode judge method 26defec - armv8,lx2160a: Initialize ethernet array in serdes_init 2851185 - armv8: lx2160a: Update CONFIG_SYS_FSL_PEBUF_BASE cce8348 - board/ls2088ardb: Update the device tree for IFC/QSPI 830ac80 - Correct QSPI bootcommand for LS2088 TFA boot 899e696 - ls2088ardb: add QSPI support for TFA-BOOT a9fb32b - ls1043a: add support for nand-boot cmd for TFA c2b3374 - arm64: lx2160ardb: enable DM support for sata 0f80b76 - armv8: dts: fsl-lx2160a: add sata node support a10b3fc - board/lx2160a: Update xspi_bootcmd, sd_bootcmd env ee09465 - armv8:LX2160: Adds distro secure boot support. 9a7d1e0 - drivers/spi: Disable hybrid mode for SPANSION S25FS-S family 6b04587 - drivers/spi: Introduce functions to read/write any register a748abd - fsl_qspi: Modify handling of RDAR, WRAR, 4K_ERASE commands 2af4cbd - armv8: lx2160a: Modify dspi1 controller intrrupts property 612bc35 - Enable sata configs to Kconfig for all LayerScape boards 358229b - armv8: ls1043aqds: modify the qspi_bootcmd definition Signed-off-by: Chunrong Guo --- recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc | 19 ++ recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb | 79 -- recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb | 79 ++ 3 files changed, 98 insertions(+), 79 deletions(-) create mode 100644 recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb create mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb diff --git a/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc new file mode 100644 index 000..a3a554c --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.09.inc @@ -0,0 +1,19 @@ + +inherit fsl-u-boot-localversion + +LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1" +LIC_FILES_CHKSUM = " \ +file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ +file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ +file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ +file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ +file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ +" + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1 \ +" +SRCREV= "c08de7c3c92d45a824500ad936f4d72465c181ec" + +S = "${WORKDIR}/git" +PV_append = "+fslgit" +LOCALVERSION = "+fsl" diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb b/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb deleted file mode 100644 index 0ad754f..000 --- a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb +++ /dev/null @@ -1,79 +0,0 @@ -require recipes-bsp/u-boot/u-boot.inc -require u-boot-qoriq-common_${PV}.inc - -DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" -PROVIDES += "u-boot" - -INHIBIT_DEFAULT_DEPS = "1" -DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc" -DEPENDS_append_qoriq-arm64 = " change-file-endianess-native dtc-native tcl-native" -DEPENDS_append_qoriq-arm = " change-file-endianess-native dtc-native tcl-native" -DEPENDS_append_qoriq-ppc = " boot-format-native" - -python () { -if d.getVar("TCMODE", True) == "external-fsl": -return - -ml = d.getVar("MULTILIB_VARIANTS", True) -arch = d.getVar("OVERRIDES", True) - -if "e5500-64b:" in arch or "e6500-64b:" in arch: -if not "lib32" in ml: -raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") -sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' -sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') -workdir = d.getVar('WORKDIR').replace(sys_original,sys_multilib) -d.setVar('DEPENDS_append', ' lib32-gcc-cross-powerpc lib32-libgcc') -
[meta-freescale] [PATCH v2 32/41] dpdk: set COMPATIBLE_MACHINE as qoriq
From: Chunrong Guo Signed-off-by: Chunrong Guo --- recipes-extended/dpdk/dpdk_17.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/dpdk/dpdk_17.11.bb b/recipes-extended/dpdk/dpdk_17.11.bb index 58558b4..f9fe91e 100644 --- a/recipes-extended/dpdk/dpdk_17.11.bb +++ b/recipes-extended/dpdk/dpdk_17.11.bb @@ -101,4 +101,4 @@ FILES_${PN}-dev += "${datadir}/mk ${datadir}/scripts \ FILES_${PN}-examples += "${datadir}/examples" FILES_${PN}-staticdev += "/usr/share/dpdk/cmdif/lib/*.a" -COMPATIBLE_MACHINE = "(ls2080ardb|ls2084ardb|ls2088a|ls1043a|ls1046a|ls1088a)" +COMPATIBLE_MACHINE = "(qoriq)" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH v2 13/41] spc: add recipes
From: Chunrong Guo *update to lsdk 1812 tag include the following changes 1a41424 - License updates 6aa1509 - Fixed Jump/Gosub instruction code f814f3e - Updated the LX2 Parser revision d7e3f30 - Set the blob version to 1.0 bd1b667 - Refactoring the makefile and net headers. 12b6a71 - Updates on some RA (Result Array) fields bf1a132 - Small install updates f45da58 - Updated Parser revisions according to platform 5799b9f - Parser IP block Rev fix for LS2 4de4651 - Add more validation and error messages and FAF names changed b8a2630 - Blob version fix 2707f30 - Dump the blob as array of bytes in a header 0eddcd2 - Display some runtime warnings 66c1e1e - Small fix for Ubuntu: include string.h 3b8d002 - Changes around debug layers and intermediate code generation 722ebd9 - Small updates (warning message for unsupported elem and removed base proto from another SP from blob) f486cba - VxLAN support and Blob protocols ID update 84bf344 - Small HW config file refactory: parser 5f6414c - Small fixes (prevproto type and load in AIOP) 2d37fad - Fixed protocol entry point offset in blob 58da088 - Add support to call from another SP (use: prevproto / nextproto) 9f22e3e - Add support to run SP before HW Parser (use: prevproto='none') 8852fb0 - Added configuration file 46fd66a - Added SP Parameters in Blob Generation 303354c - Added Blob Generation (initial version) d7efad8 - Memory map update for DPAA2 33af4c3 - HXS PDL update with new protocols c9e07ee - Fixed checksum calculation e686771 - Adding RA_GPR1 utility functions 8831a9c - FAF update according to Parser_Block_Guide_03.106 40c8e02 - Refactory the set faf high level xml instruction 8eb61a6 - Added support for FAF and new protocols 21dba55 - Added command to generate intermediate code Signed-off-by: Chunrong Guo --- recipes-dpaa2/spc/spc_git.bb | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 recipes-dpaa2/spc/spc_git.bb diff --git a/recipes-dpaa2/spc/spc_git.bb b/recipes-dpaa2/spc/spc_git.bb new file mode 100644 index 000..eceabf9 --- /dev/null +++ b/recipes-dpaa2/spc/spc_git.bb @@ -0,0 +1,38 @@ +SUMMARY = "Soft Parser Configuration tool" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=163b09a1c249a6ff2b28da1ceca2e0a8" + +DEPENDS = "libxml2 fmlib tclap" + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/spc;nobranch=1" +SRCREV = "1a414247ad3228bf60bfb53995a28930a8a29acc" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ +FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ +TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' +EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ +FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ +TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' + +EXTRA_OEMAKE_PLATFORM ?= "" + +do_compile () { +oe_runmake -C source +} + +do_install () { +install -d ${D}/${bindir} +install -m 755 ${S}/source/spc ${D}/${bindir} + +install -d ${D}${sysconfdir}/spc/config +install -m 644 ${S}${sysconfdir}/spc/config/* ${D}${sysconfdir}/spc/config + +} + +PARALLEL_MAKE = "" + +PACKAGE_ARCH = "${MACHINE_SOCARCH}" + +COMPATIBLE_MACHINE = "(qoriq-arm64)" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH v2 10/41] dce: update to 49389aa
From: Chunrong Guo *Update to lsdk 1812 tag include the following changes: 49389aa - .gitmodules: use codeaurora url 0c4eea9 - Makefile and gitmodules update 492eecd - dpdcei: Affine thread for FQDAN setup b2a48e8 - dce: Support LX2160 SOCs 62af9fe - dce: Userspace dce support for DPAA2 devices *qbman update to 383ceac Update to lsdk 1812 tag include the following changes: 383ceac - Support for the QBMAN 5.0 userspace. Signed-off-by: Chunrong Guo --- recipes-dpaa2/dce/dce_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-dpaa2/dce/dce_git.bb b/recipes-dpaa2/dce/dce_git.bb index 74dc48c..7313ca7 100644 --- a/recipes-dpaa2/dce/dce_git.bb +++ b/recipes-dpaa2/dce/dce_git.bb @@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=338308e2a663929309c9929ab9495bb5" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/dce;nobranch=1 \ git://source.codeaurora.org/external/qoriq/qoriq-components/qbman_userspace;nobranch=1;name=qbman;destsuffix=git/lib/qbman_userspace \ " -SRCREV = "8d6dd3286d93f2289e2467401b900378ade24a0f" -SRCREV_qbman = "75ff61a7ca6acdbdbb780161b053cbcbc990f1be" +SRCREV = "49389aa57cc94e0503f53c6b33e4b358ccf42eb5" +SRCREV_qbman = "383ceac0c09b1e38f2a8b1cf42822686b4cf15f3" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH v2 18/41] optee-os-qoriq: update to e93f053
From: Chunrong Guo *update to lsdk 1812 tag include the following changes e93f053 - Merge pull request #12 in DASH/optee_os from ~NXA18717/optee_os:optee_3.2.0 to optee_3.2.0 40670fe - plat-ls:add LX2160ARDB platform flavors c4ca171 - Updating MAINTAINERS for NXP LS-RDB Platforms *support ls1012afrwy 512mb and ls1012afrwy 1G Signed-off-by: Chunrong Guo --- recipes-security/optee/optee-os-qoriq_git.bb | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/recipes-security/optee/optee-os-qoriq_git.bb b/recipes-security/optee/optee-os-qoriq_git.bb index 5a68942..c8ebe2b 100644 --- a/recipes-security/optee/optee-os-qoriq_git.bb +++ b/recipes-security/optee/optee-os-qoriq_git.bb @@ -8,7 +8,7 @@ DEPENDS = "python-pycrypto-native" inherit deploy pythonnative -SRCREV = "5f6c95c085bb0dd750a7f5c464e5ebe6de0a99bd" +SRCREV = "e93f053213c574ec1b97f9e56b2f31692cd3723c" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/optee_os;nobranch=1 \ file://0001-allow-setting-sysroot-for-libgcc-lookup.patch \ " @@ -31,13 +31,21 @@ OPTEE_ARCH_aarch64 = "arm64" do_compile() { unset LDFLAGS oe_runmake all CFG_TEE_TA_LOG_LEVEL=0 +${OBJCOPY} -v -O binary ${B}/out/arm-plat-ls/core/tee.elf ${B}/out/arm-plat-ls/core/tee.bin + +if [ ${MACHINE} = ls1012afrwy ]; then +mv ${B}/out/arm-plat-ls/core/tee.bin ${B}/out/arm-plat-ls/core/tee_512mb.bin +oe_runmake CFG_DRAM0_SIZE=0x4000 all CFG_TEE_TA_LOG_LEVEL=0 +${OBJCOPY} -v -O binary ${B}/out/arm-plat-ls/core/tee.elf ${B}/out/arm-plat-ls/core/tee.bin +fi } do_install() { #install core on boot directory install -d ${D}/lib/firmware/ - -${OBJCOPY} -v -O binary ${B}/out/arm-plat-ls/core/tee.elf ${B}/out/arm-plat-ls/core/tee.bin +if [ ${MACHINE} = ls1012afrwy ]; then +install -m 644 ${B}/out/arm-plat-ls/core/tee_512mb.bin ${D}/lib/firmware/tee_${MACHINE}_512mb.bin +fi install -m 644 ${B}/out/arm-plat-ls/core/tee.bin ${D}/lib/firmware/tee_${MACHINE}.bin #install TA devkit install -d ${D}/usr/include/optee/export-user_ta/ @@ -52,7 +60,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" do_deploy() { install -d ${DEPLOYDIR}/optee for f in ${D}/lib/firmware/*; do -install -m 644 $f ${DEPLOYDIR}/optee/tee_${MACHINE}.bin +cp $f ${DEPLOYDIR}/optee/ done } -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [rocko][PATCH v2 07/41] uefi: update to 5b259f7
From: Chunrong Guo *Update to lsdk 1812 tag include the following changes: 5b259f7 - uefi-binaries: update for LSDK 1812-TC6 f87588d - uefi-binaries: update for LSDK 1812-TC5 5ae5001 - LSDK1812-TC4: binaries update 0c81f1f - uefi binaries: update 7bf60e6 - uefi binaries: update ea9630f - update binaries for LSDK 18.12 Signed-off-by: Chunrong Guo --- recipes-bsp/uefi/uefi_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index baf430d..4d08782 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" inherit deploy fsl-eula-unpack SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;fsl-eula=true;nobranch=1" -SRCREV= "e48de4f75d51efcc29cd47a6c295ae680b1babe9" +SRCREV= "5b259f75decbc478bcab0612d79a58562bef1838" S = "${WORKDIR}/git" -- 2.7.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale