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,38 @@
|
||||
SUMMARY = "The Linux driver stack for Arm(R) Ethos(TM)-U NPU"
|
||||
DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \
|
||||
an example of how a rich operating system like Linux can dispatch \
|
||||
inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \
|
||||
Cortex-M of choice and an Arm Ethos-U NPU."
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
|
||||
|
||||
DEPENDS = "flatbuffers python3-pybind11 python3-pybind11-native"
|
||||
|
||||
SRC_URI = "${ETHOS_U_SRC};branch=${SRCBRANCH}"
|
||||
ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=https"
|
||||
SRCBRANCH = "lf-6.6.23_2.0.0"
|
||||
SRCREV = "2acb7e2626fe3ff8764019e385829105a6e210bb"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake setuptools3
|
||||
|
||||
SETUPTOOLS_BUILD_ARGS = "build_ext --library-dirs ${B}/driver_library"
|
||||
|
||||
do_configure() {
|
||||
cmake_do_configure
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
cmake_do_compile
|
||||
setuptools3_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cmake_do_install
|
||||
setuptools3_do_install
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} = "flatbuffers python3-numpy python3-pillow"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
# this depends on machine specific firmware
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
# This must be ELF,
|
||||
# rename and copy to /lib/firmware/ethosu_firmware
|
||||
# name is currently compiled fix into the driver
|
||||
ETHOS_U_FIRMWARE:tqma93xx = "ethosu_apps_rpmsg.elf"
|
||||
|
||||
# appending to SRC_URI and overwriting do_install keeps license handling intact
|
||||
SRC_URI:append:tqma93xx = " file://${ETHOS_U_FIRMWARE}"
|
||||
|
||||
do_install:tqma93xx () {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware
|
||||
install -m 0644 ${WORKDIR}/${ETHOS_U_FIRMWARE} ${D}${nonarch_base_libdir}/firmware/ethosu_firmware
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU"
|
||||
DESCRIPTION = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU"
|
||||
LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \
|
||||
file://LICENSE-GPL-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSE-BSD-3.txt;md5=0858ec9c7a80c4a2cf16e4f825a2cc91 \
|
||||
"
|
||||
|
||||
SRC_URI = "${ETHOS_U_FIRMWARE_SRC};branch=${SRCBRANCH}"
|
||||
ETHOS_U_FIRMWARE_SRC ?= "git://github.com/nxp-imx/ethos-u-firmware.git;protocol=https"
|
||||
SRCBRANCH = "lf-6.6.23_2.0.0"
|
||||
SRCREV = "bd12be9d5e61a12641fe284d323ff964c9c7a080"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
ETHOS_U_FIRMWARE = "ethosu_firmware"
|
||||
ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9"
|
||||
ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11"
|
||||
ETHOS_U_FIRMWARE:imx93-14x14-lpddr4x-evk = "ethosu_firmware_14x14"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware
|
||||
install -m 0644 ${S}/${ETHOS_U_FIRMWARE} ${D}${nonarch_base_libdir}/firmware/ethosu_firmware
|
||||
}
|
||||
|
||||
FILES:${PN} = "${nonarch_base_libdir}/firmware/*"
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"
|
||||
Reference in New Issue
Block a user