diff options
| author | Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> | 2025-04-30 11:16:20 -0300 |
|---|---|---|
| committer | Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> | 2025-05-14 18:12:22 -0300 |
| commit | 503d1d931be10c869702eae0425428fdbcdb953b (patch) | |
| tree | 14f07bab3f26eefcb38633956faf3a9ffa50f06d | |
| parent | a4f1b4d4a0014e27fbb545f8ff1051641edda797 (diff) | |
| download | meta-freescale-503d1d931be10c869702eae0425428fdbcdb953b.tar.gz | |
ethos-u-firmware: Add recipe to ethos-u-firmware
This firmware is used on imx93 machines.
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
| -rw-r--r-- | recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb new file mode 100644 index 000000000..10afa6170 --- /dev/null +++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" | ||
| 2 | DESCRIPTION = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" | ||
| 3 | LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "\ | ||
| 5 | file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \ | ||
| 6 | file://LICENSE-GPL-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 7 | file://LICENSE-BSD-3.txt;md5=0858ec9c7a80c4a2cf16e4f825a2cc91 \ | ||
| 8 | " | ||
| 9 | |||
| 10 | SRC_URI = "${ETHOS_U_FIRMWARE_SRC};branch=${SRCBRANCH}" | ||
| 11 | ETHOS_U_FIRMWARE_SRC ?= "git://github.com/nxp-imx/ethos-u-firmware.git;protocol=https" | ||
| 12 | SRCBRANCH = "lf-6.12.3_1.0.0" | ||
| 13 | SRCREV = "3dbedc11bd2a4ba56af9fbe9d285b5bf13f1a088" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | ETHOS_U_FIRMWARE = "ethosu_firmware" | ||
| 18 | ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9" | ||
| 19 | ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11" | ||
| 20 | ETHOS_U_FIRMWARE:imx93-14x14-lpddr4x-evk = "ethosu_firmware_14x14" | ||
| 21 | |||
| 22 | do_install () { | ||
| 23 | install -d ${D}${nonarch_base_libdir}/firmware | ||
| 24 | install -m 0644 ${S}/${ETHOS_U_FIRMWARE} ${D}${nonarch_base_libdir}/firmware/ethosu_firmware | ||
| 25 | } | ||
| 26 | |||
| 27 | FILES:${PN} = "${nonarch_base_libdir}/firmware/*" | ||
| 28 | INSANE_SKIP:${PN} = "arch" | ||
| 29 | |||
| 30 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp)" | ||
