Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
From 2eff97fe2345d8255869224404322d23193f1115 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 7 Jan 2023 21:59:15 -0800
|
||||
Subject: [PATCH] Fix return value of void* functions
|
||||
|
||||
This is found with clang
|
||||
|
||||
Fixes
|
||||
error: non-void function does not return a value [-Werror,-Wreturn-type]
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
test/hsm/hsm_test.c | 1 +
|
||||
test/she/src/she_test_storage_manager.c | 1 +
|
||||
test/v2x/v2x_test.c | 1 +
|
||||
3 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/test/hsm/hsm_test.c b/test/hsm/hsm_test.c
|
||||
index 9f29ca9..01820b8 100644
|
||||
--- a/test/hsm/hsm_test.c
|
||||
+++ b/test/hsm/hsm_test.c
|
||||
@@ -391,6 +391,7 @@ static uint32_t nvm_status;
|
||||
static void *hsm_storage_thread(void *arg)
|
||||
{
|
||||
seco_nvm_manager(NVM_FLAGS_HSM, &nvm_status);
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
|
||||
diff --git a/test/she/src/she_test_storage_manager.c b/test/she/src/she_test_storage_manager.c
|
||||
index 32a4cb9..68cdba7 100644
|
||||
--- a/test/she/src/she_test_storage_manager.c
|
||||
+++ b/test/she/src/she_test_storage_manager.c
|
||||
@@ -28,6 +28,7 @@ static uint32_t nvm_status;
|
||||
static void *she_storage_thread(void *arg)
|
||||
{
|
||||
seco_nvm_manager(NVM_FLAGS_SHE, &nvm_status);
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
|
||||
diff --git a/test/v2x/v2x_test.c b/test/v2x/v2x_test.c
|
||||
index aeb3d2a..5f02354 100644
|
||||
--- a/test/v2x/v2x_test.c
|
||||
+++ b/test/v2x/v2x_test.c
|
||||
@@ -181,6 +181,7 @@ static uint32_t nvm_status;
|
||||
static void *v2x_hsm_storage_thread(void *arg)
|
||||
{
|
||||
seco_nvm_manager(NVM_FLAGS_V2X | NVM_FLAGS_HSM, &nvm_status);
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
2.39.0
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
From 9e89d173a7fab97c913960344ae01dfa409b6258 Mon Sep 17 00:00:00 2001
|
||||
From: Cristinel Panfir <cristinel.panfir@nxp.com>
|
||||
Date: Mon, 27 Jul 2020 18:55:30 +0000
|
||||
Subject: [PATCH] Makefile: Fix LIBDIR for multilib
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
|
||||
---
|
||||
Makefile | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index b16cebf..492d700 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -4,7 +4,8 @@ all: she_test hsm_test v2x_test she_lib.a seco_nvm_manager.a hsm_lib.a
|
||||
CFLAGS = -O1 -Werror -fPIC
|
||||
DESTDIR ?= export
|
||||
BINDIR ?= /usr/bin
|
||||
-LIBDIR ?= /usr/lib
|
||||
+base_libdir ?= /lib
|
||||
+LIBDIR ?= /usr/$(base_libdir)
|
||||
INCLUDEDIR ?= /usr/include
|
||||
|
||||
ifdef COVERAGE
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From b62f020ea723dc33f28e5e865d0ddd13219971c9 Mon Sep 17 00:00:00 2001
|
||||
From: Cristinel Panfir <cristinel.panfir@nxp.com>
|
||||
Date: Mon, 29 Mar 2021 15:24:42 +0300
|
||||
Subject: [PATCH] Makefile: Add v2x test to the installed-binaries
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
|
||||
[regenerate the patch to be applied after meta-imx patches]
|
||||
Signed-off-by: Fausto Chiatante <fausto.chiatante@nxp.com>
|
||||
|
||||
---
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 25ad333..a397814 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -61,9 +61,9 @@ hsm_doc: include/hsm/hsm_api.h
|
||||
cp doc/latex/refman.pdf doc/hsm_api_document.pdf
|
||||
rm -rf doc/latex/
|
||||
|
||||
-install: hsm_test she_test she_lib.a seco_nvm_manager.a hsm_lib.a
|
||||
+install: hsm_test she_test v2x_test she_lib.a seco_nvm_manager.a hsm_lib.a
|
||||
mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCLUDEDIR)
|
||||
cp seco_nvm_manager.a hsm_lib.a she_lib.a $(DESTDIR)$(LIBDIR)
|
||||
- cp hsm_test she_test $(DESTDIR)$(BINDIR)
|
||||
+ cp hsm_test she_test v2x_test $(DESTDIR)$(BINDIR)
|
||||
cp -a include/* $(DESTDIR)$(INCLUDEDIR)
|
||||
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 59608dcb0f0a6f6d8154b1d331c2403d7c1143eb Mon Sep 17 00:00:00 2001
|
||||
From: Cristinel Panfir <cristinel.panfir@nxp.com>
|
||||
Date: Fri, 5 Feb 2021 19:27:00 +0200
|
||||
Subject: [PATCH] Makefile: Fix install to clear host-user-contaminated
|
||||
warnings [HSM-483]
|
||||
|
||||
WARNING: imx-seco-libs-git-r0 do_package_qa: QA Issue:
|
||||
imx-seco-libs: /usr/lib/hsm_lib.a is owned by uid 26292, which is the same as the user running bitbake. This may be due to host contamination
|
||||
imx-seco-libs: /usr/lib/she_lib.a is owned by uid 26292, which is the same as the user running bitbake. This may be due to host contamination
|
||||
imx-seco-libs: /usr/lib/seco_nvm_manager.a is owned by uid 26292, which is the same as the user running bitbake.
|
||||
This may be due to host contamination [host-user-contaminated]
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 492d700..25ad333 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -63,7 +63,7 @@ hsm_doc: include/hsm/hsm_api.h
|
||||
|
||||
install: hsm_test she_test she_lib.a seco_nvm_manager.a hsm_lib.a
|
||||
mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCLUDEDIR)
|
||||
- cp -a seco_nvm_manager.a hsm_lib.a she_lib.a $(DESTDIR)$(LIBDIR)
|
||||
+ cp seco_nvm_manager.a hsm_lib.a she_lib.a $(DESTDIR)$(LIBDIR)
|
||||
cp hsm_test she_test $(DESTDIR)$(BINDIR)
|
||||
cp -a include/* $(DESTDIR)$(INCLUDEDIR)
|
||||
|
||||
--
|
||||
2.25.1
|
||||
@@ -0,0 +1,27 @@
|
||||
# Copyright 2019-22 NXP
|
||||
|
||||
SUMMARY = "NXP i.MX SECO library"
|
||||
DESCRIPTION = "Library for NXP i.MX Security Controller Subsystem"
|
||||
SECTION = "base"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011"
|
||||
|
||||
DEPENDS = "zlib"
|
||||
|
||||
SRCBRANCH = "lf-6.6.3_1.0.0"
|
||||
SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \
|
||||
file://0001-Makefile-Fix-LIBDIR-for-multilib.patch \
|
||||
file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch \
|
||||
file://0001-add-v2x_test-to-the-installed-binaries.patch \
|
||||
file://0001-Fix-return-value-of-void-functions.patch"
|
||||
SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
do_install () {
|
||||
oe_runmake DESTDIR=${D} BINDIR=${bindir} LIBDIR=${libdir} install
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)"
|
||||
@@ -0,0 +1,26 @@
|
||||
# Copyright 2019-2022 NXP
|
||||
|
||||
SUMMARY = "NXP i.MX SECO firmware"
|
||||
DESCRIPTION = "Firmware for i.MX Security Controller Subsystem"
|
||||
SECTION = "base"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a"
|
||||
|
||||
inherit fsl-eula-unpack use-imx-security-controller-firmware deploy
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
|
||||
SRC_URI[sha256sum] = "9b04be33814a9cbda9bbfcb6711585cf7e4ed2527793813c95230f350323cba7"
|
||||
|
||||
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
do_install[noexec] = "1"
|
||||
|
||||
addtask deploy after do_install
|
||||
do_deploy () {
|
||||
# Deploy i.MX8 SECO firmware files
|
||||
install -m 0644 ${S}/firmware/seco/${SECO_FIRMWARE_NAME} ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)"
|
||||
Reference in New Issue
Block a user