From 5d495fa84ecf62ae7ab6d0e2f2b75c4a847dbfe9 Mon Sep 17 00:00:00 2001 From: Andrejs Cainikovs Date: Tue, 25 Jul 2023 13:09:55 +0200 Subject: linux-firmware: move linux-firmware to meta-toradex-bsp-common With the addition of Verdin AM62 with IW416 based WiFi module we need to get rid of meta-toradex-nxp dependency for TI based SoM. This change moves linux-firmware recipe from meta-toradex-nxp. Related-to: ELB-5247 Signed-off-by: Andrejs Cainikovs (cherry picked from commit 05c6a1ae9639ad990af1ff1fc52c5af290568ad8) --- .../linux-firmware/linux-firmware_%.bbappend | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-kernel/linux-firmware/linux-firmware_%.bbappend (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend new file mode 100644 index 0000000..b5a5254 --- /dev/null +++ b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend @@ -0,0 +1,29 @@ +IMX_FIRMWARE_SRC ?= "git://github.com/NXP/imx-firmware.git;protocol=https" +SRCBRANCH_imx-firmware = "lf-5.15.52_2.1.0" +SRC_URI += " \ + ${IMX_FIRMWARE_SRC};branch=${SRCBRANCH_imx-firmware};destsuffix=imx-firmware;name=imx-firmware \ +" + +SRCREV_imx-firmware = "b6f070e3d4cab23932d9e6bc29e3d884a7fd68f4" + +SRCREV_FORMAT = "default_imx-firmware" + +do_install:append () { + # Install NXP Connectivity SDIO8997 firmware + install -d ${D}${nonarch_base_libdir}/firmware/nxp + install -m 0644 ${WORKDIR}/imx-firmware/nxp/wifi_mod_para.conf ${D}${nonarch_base_libdir}/firmware/nxp + install -m 0644 ${WORKDIR}/imx-firmware/nxp/FwImage_8997_SD/ed_mac_ctrl_V3_8997.conf ${D}${nonarch_base_libdir}/firmware/nxp + install -m 0644 ${WORKDIR}/imx-firmware/nxp/FwImage_8997_SD/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp + install -m 0644 ${WORKDIR}/imx-firmware/nxp/FwImage_8997_SD/txpwrlimit_cfg_8997.conf ${D}${nonarch_base_libdir}/firmware/nxp + + # Upstream SDIO8997 driver firmware is located elsewhere + install -d ${D}${nonarch_base_libdir}/firmware/mrvl + ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin +} + +PACKAGES =+ " ${PN}-nxp89xx" + +FILES:${PN}-nxp89xx = " \ + ${nonarch_base_libdir}/firmware/nxp/* \ + ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ +" -- cgit v1.2.3