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,24 @@
|
||||
DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
|
||||
|
||||
PV:append = "+git"
|
||||
|
||||
S = "${WORKDIR}/git/debugss_module/debugss-mod"
|
||||
|
||||
inherit module
|
||||
|
||||
PLATFORM = ""
|
||||
PLATFORM:dra7xx = "DRA7xx_PLATFORM"
|
||||
|
||||
EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
SRC_URI += "\
|
||||
file://0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch \
|
||||
file://0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch \
|
||||
"
|
||||
@@ -0,0 +1,8 @@
|
||||
# This corresponds to version 1.4.0
|
||||
SRCREV = "816485e68430bbec643eac9498bfa5303eb2c2e1"
|
||||
PV = "1.4.0"
|
||||
INC_PR = "r2"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/sdo-emu/dsptop.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
BRANCH = "master"
|
||||
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION = "TI dsptop utility."
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
|
||||
|
||||
DEPENDS = "libulm ncurses"
|
||||
|
||||
PR = "${INC_PR}.2"
|
||||
|
||||
S = "${WORKDIR}/git/dsptop"
|
||||
|
||||
DEVICE = ""
|
||||
DEVICE:dra7xx = "DRA7xx"
|
||||
|
||||
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
chown -R root:root ${D}
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS:${PN} = "debugss-module-drv bash"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
@@ -0,0 +1,32 @@
|
||||
From 5a514f6a6bb1c49bdbaf8eabc1776f54851227af Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Sun, 4 Aug 2024 11:17:28 -0500
|
||||
Subject: [PATCH] debugss_kmodule: Add include for mod_devicetable.h
|
||||
|
||||
Add include for <linux/mod_devicetable.h> to fix compile error:
|
||||
|
||||
git/debugss_module/debugss-mod/debugss_kmodule.c:1149:34: error:
|
||||
array type has incomplete element type 'struct of_device_id'
|
||||
|
||||
Upstream-Status: Inactive-Upstream
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
debugss_kmodule.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/debugss_kmodule.c b/debugss_kmodule.c
|
||||
index 6fac61d..9e084eb 100644
|
||||
--- a/debugss_kmodule.c
|
||||
+++ b/debugss_kmodule.c
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <linux/of_device.h>
|
||||
#include "debugss_kmodule.h"
|
||||
|
||||
+#include <linux/mod_devicetable.h>
|
||||
+
|
||||
/* un-comment the line below to enable printing for kernel debug messages */
|
||||
//#define DEBUGSS_DRV_DEBUG
|
||||
|
||||
--
|
||||
2.17.1
|
||||
@@ -0,0 +1,58 @@
|
||||
From aaddf1fa8b92db23ae2ebc83826c2bb5f5c87c35 Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Thu, 3 Oct 2024 14:25:18 -0500
|
||||
Subject: [PATCH] debugss_kmodule: kernel 6.11 changed return value for remove
|
||||
slot
|
||||
|
||||
In kernel version 6.11 the function footprint changed for the remove
|
||||
slot to return a void instead of an int. [1]
|
||||
|
||||
Add ifdef checking code to look for kernel version and pick the correct
|
||||
return code.
|
||||
|
||||
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/platform_device.h?id=0edb555a65d1ef047a9805051c36922b52a38a9d
|
||||
|
||||
Upstream-Status: Inactive-Upstream [lastcommit: 2021-04-20]
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
debugss_kmodule.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/debugss_kmodule.c b/debugss_kmodule.c
|
||||
index 9e084eb..4191be8 100644
|
||||
--- a/debugss_kmodule.c
|
||||
+++ b/debugss_kmodule.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "debugss_kmodule.h"
|
||||
|
||||
#include <linux/mod_devicetable.h>
|
||||
+#include <linux/version.h>
|
||||
|
||||
/* un-comment the line below to enable printing for kernel debug messages */
|
||||
//#define DEBUGSS_DRV_DEBUG
|
||||
@@ -1132,7 +1133,11 @@ static int dra7xx_debugss_probe(struct platform_device *pdev)
|
||||
return retval;
|
||||
}
|
||||
|
||||
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
|
||||
static int dra7xx_debugss_remove(struct platform_device *pdev)
|
||||
+#else
|
||||
+static void dra7xx_debugss_remove(struct platform_device *pdev)
|
||||
+#endif
|
||||
{
|
||||
__D("%s:\n",__FUNCTION__);
|
||||
|
||||
@@ -1145,7 +1150,9 @@ static int dra7xx_debugss_remove(struct platform_device *pdev)
|
||||
/* Un-prepare debugSS clock */
|
||||
clk_disable_unprepare(sys_clk_in1);
|
||||
|
||||
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
|
||||
return 0;
|
||||
+#endif
|
||||
}
|
||||
|
||||
static const struct of_device_id dra7xx_debugss_of_match[] = {
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
SUMMARY = "TI Usage & Load Monitor Implementation"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
|
||||
|
||||
inherit features_check
|
||||
|
||||
REQUIRED_MACHINE_FEATURES = "dsp"
|
||||
|
||||
DEPENDS = "ti-cgt6x-native"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/git/dsptop/ulm"
|
||||
|
||||
DEVICE=""
|
||||
DEVICE:dra7xx = "DRA7xx"
|
||||
|
||||
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake arm XPORT_ONLY CC="${CC}"
|
||||
oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${includedir}
|
||||
install -d ${D}${libdir}
|
||||
install -d ${D}${datadir}/ti/ulm
|
||||
cp -f tiulm.h ${D}${includedir}
|
||||
cp -f release/libtiulm.a ${D}${libdir}
|
||||
cp -f tiulm.h ${D}${datadir}/ti/ulm
|
||||
cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FILES:${PN}-dev += "\
|
||||
${datadir}/ti/ulm \
|
||||
"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
PARALLEL_MAKE= ""
|
||||
|
||||
# Disable the "buildpaths" check while we figure out how we are
|
||||
# going to address this issue.
|
||||
#
|
||||
# The ti-cgt6x compiler is a custom TI compiler for the TI C6000
|
||||
# Digital Signal Processor(DSP) platform. It does not currently
|
||||
# support reproducible builds and is provided via a binary blob
|
||||
# download that we cannot patch in the recipe to address the
|
||||
# issue.
|
||||
INSANE_SKIP:${PN}-dev += "buildpaths"
|
||||
Reference in New Issue
Block a user