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,31 @@
|
||||
From fb1fe93a2bab083652a65804be5ddd37a7e86a9f Mon Sep 17 00:00:00 2001
|
||||
From: Chunrong Guo <chunrong.guo@nxp.com>
|
||||
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@lsv07004.swis.us-cdc01.nxp.com>
|
||||
---
|
||||
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
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
From 1eeee62be6f4f4c0564a1ebbf47b5d1ebd7ab282 Mon Sep 17 00:00:00 2001
|
||||
From: Ting Liu <ting.liu@nxp.com>
|
||||
Date: Thu, 15 Apr 2021 14:43:31 +0530
|
||||
Subject: [PATCH] use new api tc_print_rate
|
||||
|
||||
Fix the build issue due to api change in iproute2:
|
||||
| dpaa1_ceetm.c:637:4: error: too few arguments to function 'print_rate'
|
||||
| print_rate(buf, sizeof(buf), qopt->rate);
|
||||
| ^~~~~~~~~~
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
||||
---
|
||||
dpaa1_ceetm.c | 12 ++++--------
|
||||
dpaa2_ceetm.c | 6 ++----
|
||||
2 files changed, 6 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/dpaa1_ceetm.c b/dpaa1_ceetm.c
|
||||
index 15a2cd8..347e79a 100644
|
||||
--- a/dpaa1_ceetm.c
|
||||
+++ b/dpaa1_ceetm.c
|
||||
@@ -634,11 +634,9 @@ int dpaa1_ceetm_print_qopt(struct qdisc_util *qu, FILE *f,
|
||||
fprintf(f, "type root");
|
||||
|
||||
if (qopt->shaped) {
|
||||
- print_rate(buf, sizeof(buf), qopt->rate);
|
||||
- fprintf(f, " shaped rate %s ", buf);
|
||||
+ tc_print_rate(PRINT_FP, NULL, " shaped rate %s ", qopt->rate);
|
||||
|
||||
- print_rate(buf, sizeof(buf), qopt->ceil);
|
||||
- fprintf(f, "ceil %s ", buf);
|
||||
+ tc_print_rate(PRINT_FP, NULL, "ceil %s ", qopt->ceil);
|
||||
|
||||
fprintf(f, "overhead %u ", qopt->overhead);
|
||||
|
||||
@@ -692,11 +690,9 @@ int dpaa1_ceetm_print_copt(struct qdisc_util *qu, FILE *f,
|
||||
fprintf(f, "type root ");
|
||||
|
||||
if (copt->shaped) {
|
||||
- print_rate(buf, sizeof(buf), copt->rate);
|
||||
- fprintf(f, "shaped rate %s ", buf);
|
||||
+ tc_print_rate(PRINT_FP, NULL, "shaped rate %s ", copt->rate);
|
||||
|
||||
- print_rate(buf, sizeof(buf), copt->ceil);
|
||||
- fprintf(f, "ceil %s ", buf);
|
||||
+ tc_print_rate(PRINT_FP, NULL, "ceil %s ", copt->ceil);
|
||||
|
||||
} else {
|
||||
fprintf(f, "unshaped tbl %d", copt->tbl);
|
||||
diff --git a/dpaa2_ceetm.c b/dpaa2_ceetm.c
|
||||
index 6b1b033..0505046 100644
|
||||
--- a/dpaa2_ceetm.c
|
||||
+++ b/dpaa2_ceetm.c
|
||||
@@ -516,11 +516,9 @@ int dpaa2_ceetm_print_copt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
||||
fprintf(f, "type root ");
|
||||
|
||||
if (copt->shaped) {
|
||||
- print_rate(buf, sizeof(buf), copt->shaping_cfg.cir);
|
||||
- fprintf(f, "CIR %s ", buf);
|
||||
+ tc_print_rate(PRINT_FP, NULL, "CIR %s ", copt->shaping_cfg.cir);
|
||||
|
||||
- print_rate(buf, sizeof(buf), copt->shaping_cfg.eir);
|
||||
- fprintf(f, "EIR %s ", buf);
|
||||
+ tc_print_rate(PRINT_FP, NULL, "EIR %s ", copt->shaping_cfg.eir);
|
||||
|
||||
fprintf(f, "CBS %d EBS %d ", copt->shaping_cfg.cbs, copt->shaping_cfg.ebs);
|
||||
|
||||
--
|
||||
2.25.1
|
||||
|
||||
29
sources/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb
Normal file
29
sources/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
DESCRIPTION = "CEETM TC QDISC"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
SRC_URI = "git://github.com/nxp-qoriq/ceetm;protocol=https;nobranch=1"
|
||||
SRCREV = "27218bc625e83458db2301f6c07de133cb5f6792"
|
||||
SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \
|
||||
file://0001-use-new-api-tc_print_rate.patch \
|
||||
"
|
||||
DEPENDS = "iproute2"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
export IPROUTE2_DIR="${STAGING_DIR_TARGET}"
|
||||
WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
|
||||
export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
|
||||
|
||||
LDFLAGS += "${TOOLCHAIN_OPTIONS}"
|
||||
|
||||
do_install(){
|
||||
mkdir -p ${D}/${libdir}/tc
|
||||
cp ${S}/q_ceetm.so ${D}/${libdir}/tc/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir}/tc"
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "(qoriq)"
|
||||
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
|
||||
Reference in New Issue
Block a user