Re: linux-fslc-lts-4.19
Bas Mevissen
On 8/19/19 2:18 PM, Andy Pont wrote:
Bas wrote...No, looks fine. Just tip of Warrior branch.Ah, I assumed the default to be at the 4.9-2.3.x-imx branch. That one is based upon 4.9.166, which is much more close to the latest upstream.Now I’m wondering if I have the wrong version of meta-freescale. The recipes-kernel/linux directory contains the following files: I guess I could use linux-imx_4.9.123 to get me a bit further forward or bbappend linux-fslc-imx_4.9-1.0.x.bb and pull the latest SRVREV out of git://github.com/Freescale/linux-fslc.gitThat one seems to be targeted by NXP at supporting the i.MX8 series (only). Maybe Otavio can shed some light on what best to use. The most recent FSL Community work seems to be done at the 4.9-2.3.x-imx branch (just a week ago). Maybe postpone that update and stick to 4.9.67 and work on the stuff you need to do.A recent kernel from a longterm branch is probable the best to have. However, I feel that it is mostly important later in the development. Starting with defaults usually gets you going without too much hassle.The default 4.9.67 boots and I have run the initial tests on it successfully. I was looking to update it to something that would be a better long term option if this test exercise turns into a full product development. Having built the 4.19.66 kernel with the changed KERNEL_DEVICETREE setting I now have a compile issue with the Vivante drivers which appears to come from some DMA related functions having moved header file somewhere along the way.My bet would be to stick to something 4.9-ish (or possible 4.14 from 4.14-2.0.x-imx branch) as they will be supported for a very long time, see <https://www.kernel.org/category/releases.html> and will stay most likely compatible with your current Vivante drivers. -Andy.-- bas. |
|
Re: linux-fslc-lts-4.19
Andy Pont <andy.pont@...>
Bas wrote...
Now I’m wondering if I have the wrong version of meta-freescale. The recipes-kernel/linux directory contains the following files: linux-qoriq_4.19.bb linux-imx_4.9.123.bb linux-fslc-lts-4.19.bb linux-fslc-imx_4.9-1.0.x.bb linux-qoriq_4.14.bb linux-imx-headers_4.9.123.bb linux-fslc-imx-rt_4.1-2.0.x.bb linux-fslc_5.0.bb linux-imx-mfgtool_4.9.123.bb I guess I could use linux-imx_4.9.123 to get me a bit further forward or bbappend linux-fslc-imx_4.9-1.0.x.bb and pull the latest SRVREV out of git://github.com/Freescale/linux-fslc.git The default 4.9.67 boots and I have run the initial tests on it successfully. I was looking to update it to something that would be a better long term option if this test exercise turns into a full product development. Having built the 4.19.66 kernel with the changed KERNEL_DEVICETREE setting I now have a compile issue with the Vivante drivers which appears to come from some DMA related functions having moved header file somewhere along the way. -Andy.
|
|
Re: linux-fslc-lts-4.19
Bas Mevissen
On 8/19/19 1:35 PM, Andy Pont wrote:
Bas wrote...Ah, I assumed the default to be at the 4.9-2.3.x-imx branch. That one is based upon 4.9.166, which is much more close to the latest upstream.You need to specify KERNEL_DEVICETREE=imx6qp-sabresd.dts in your local.confI can try adding that and seeing if it resolves the problem. With the 4.9.67b kernel that is being built, the Timesys Vigiles service reports a large number of kernel issues that have been fixed in later versions.A recent kernel from a longterm branch is probable the best to have. However, I feel that it is mostly important later in the development. Starting with defaults usually gets you going without too much hassle. For small, short-lived projects, starting with any LTS kernel is fine as long as you get to a recent one before release. With larger and long-living developments, you have to cater for major kernel version jumps anyway. -Andy. |
|
Re: linux-fslc-lts-4.19
Andy Pont <andy.pont@...>
Bas wrote...
I can try adding that and seeing if it resolves the problem.
By default it is building a kernel that, according to uname, is 4.9.67 which is along way behind the information on the front page of www.kernel.org that has the latest 4.9.x kernel at 4.9.189. With the 4.9.67b kernel that is being built, the Timesys Vigiles service reports a large number of kernel issues that have been fixed in later versions. -Andy. |
|
Re: linux-fslc-lts-4.19
Bas Mevissen
On 8/19/19 12:01 PM, Andy Pont wrote:
I am trying to create a Yocto Warrior buid for the i.MX6Q SABRE SDP board that I have using the linux-fslc-lts-4.19 kernel. In my local.conf file I have the following:You need to specify KERNEL_DEVICETREE=imx6qp-sabresd.dts in your local.conf The reason is that the default DTS file (imx6qp-sabresd-btwifi.dts in this case) is not available in the kernel version you choose. It also makes me wonder why you are using the linux-fslc-lts-4.19 instead of the default. -Andy.-- bas. |
|
linux-fslc-lts-4.19
Andy Pont <andy.pont@...>
I am trying to create a Yocto Warrior buid for the i.MX6Q SABRE SDP board that I have using the linux-fslc-lts-4.19 kernel. In my local.conf file I have the following: MACHINE = “imx6qdlsabresd” DISTRO = "fslc-framebuffer” PREFERRED_PROVIDER_virtual/kernel = "linux-fslc-lts-4.19” When I try to build it fails saying it doesn’t know how to build imx6qp-sabresd-btwifi.dtb make[3]: *** No rule to make target 'arch/arm/boot/dts/imx6qp-sabresd-btwifi.dtb'. Stop. Is there some magic needed to only get it to use the default DTS file? -Andy.
|
|
Re: [PATCH 01/14] uefi: remove fsl-eula-unpack class
C.r. Guo <chunrong.guo@...>
pings
toggle quoted message
Show quoted text
-----Original Message-----
From: C.r. Guo Sent: 2019年8月12日 11:33 To: meta-freescale@... Cc: C.r. Guo <chunrong.guo@...> Subject: [PATCH 01/14] uefi: remove fsl-eula-unpack class From: Chunrong Guo <chunrong.guo@...> Signed-off-by: Chunrong Guo <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 |
|
[PATCH] ceetm: fix the building warning
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <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 <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 0000000..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 <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 <nxa13725@...> +--- + 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 |
|
[PATCH 14/14] openssl-qoriq: update recipes
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
*fix missing dependency on hostperl-runtime-native *drop Python dependency in ptest Signed-off-by: Chunrong Guo <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 |
|
[PATCH 13/14] secure-obj: update recipes
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
*drop Python dependency in RDEPENDS *mp_verify and *_app will be install Signed-off-by: Chunrong Guo <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 |
|
[PATCH 12/14] optee-os-qoriq: Fix alignment of data for mempool_alloc_pool()
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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 0000000..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 <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 <joakim.bech@...> +Tested-by: Joakim Bech <joakim.bech@...> (QEMU v8) +Acked-by: Jerome Forissier <jerome.forissier@...> +Signed-off-by: Jens Wiklander <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: a block of memory to carve out items from ++ * @data: a block of memory to carve out items from, must ++ * have an alignment of MEMPOOL_ALIGN. + * @size: size fo the block of memory + * @release_mem: function to call when the pool has been emptied, + * ignored if NULL. +diff --git a/lib/libutils/ext/mempool.c b/lib/libutils/ext/mempool.c +index f977699..6d38590 100644 +--- a/lib/libutils/ext/mempool.c ++++ b/lib/libutils/ext/mempool.c +@@ -53,7 +53,6 @@ + * So the potential fragmentation is mitigated. + */ + +-#define POOL_ALIGN __alignof__(long) + + struct mempool { + size_t size; /* size of the memory pool, in bytes */ +@@ -130,8 +129,8 @@ mempool_alloc_pool(void *data, size_t size, + { + struct mempool *pool = calloc(1, sizeof(*pool)); + +- COMPILE_TIME_ASSERT(POOL_ALIGN >= __alignof__(struct mempool_item)); +- assert(!((vaddr_t)data & (POOL_ALIGN - 1))); ++ COMPILE_TIME_ASSERT(MEMPOOL_ALIGN >= __alignof__(struct mempool_item)); ++ assert(!((vaddr_t)data & (MEMPOOL_ALIGN - 1))); + + if (pool) { + pool->size = size; +@@ -163,13 +162,13 @@ void *mempool_alloc(struct mempool *pool, size_t size) + pool->last_offset); + offset = pool->last_offset + last_item->size; + +- offset = ROUNDUP(offset, POOL_ALIGN); ++ offset = ROUNDUP(offset, MEMPOOL_ALIGN); + if (offset > pool->size) + goto error; + } + + size = sizeof(struct mempool_item) + size; +- size = ROUNDUP(size, POOL_ALIGN); ++ size = ROUNDUP(size, MEMPOOL_ALIGN); + if (offset + size > pool->size) + goto error; + +-- +2.7.4 + diff --git a/recipes-security/optee/optee-os-qoriq_git.bb b/recipes-security/optee/optee-os-qoriq_git.bb index 7ac00f0..fb27cf1 100644 --- a/recipes-security/optee/optee-os-qoriq_git.bb +++ b/recipes-security/optee/optee-os-qoriq_git.bb @@ -11,6 +11,7 @@ inherit deploy pythonnative 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 \ + file://0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch \ " S = "${WORKDIR}/git" -- 2.7.4 |
|
[PATCH 11/14] ls2080ardb: remove dpl-examples
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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 |
|
[PATCH 10/14] dpl-examples: remove recipes
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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..0000000 --- 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 |
|
[PATCH 09/14] hyperrelay: remove recipes
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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..0000000 --- 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 |
|
[PATCH 08/14] inphi: remove fsl-eula-unpack class
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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 |
|
[PATCH 07/14] ls2-phy: remove fsl-eula-unpack class
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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 |
|
[PATCH 06/14] qe-ucode: remove fsl-eula-unpack class
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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= "57401f6dff6507055558eaa6838116baa8a2fd46" S = "${WORKDIR}/git" -- 2.7.4 |
|
[PATCH 05/14] ppfe-firmware: remove fsl-eula-unpack class
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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 |
|
[PATCH 04/14] fm-ucode: remove fsl-eula-unpack class
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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 |
|
[PATCH 03/14] mc: remove fsl-eula-unpack class
C.r. Guo <chunrong.guo@...>
From: Chunrong Guo <chunrong.guo@...>
Signed-off-by: Chunrong Guo <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 |
|