Skip to contentSkip to conversation

linux-firmware: Breakout iwlwifi-ty package

PATCH In review Ryan Eatmon 2 participants 3 messages Oct 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-firmware: Breakout iwlwifi-ty package

The breakout of iwlwifi-ty [1] was not accepted as a backport for wrynose. Rather than making a mixin layer [2] a dependency for meta-ti-test to build, we will simply carry the needed change to break out the required firmware into its own package.

There is a little goofiness with needing to define an iwlwifi-misc-minus-ty package and clearing the iwlwifi-misc package since the FILES variable is processed in order of definition in the file. The iwlwifi-misc package was still sucking in the ty firmware, so it needed a little brute force to make it do what was needed.

[1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-kernel/linux-firmware?id=f03f023e6ce8078e0d5c505195a9af18faebdc28
[2] https://git.yoctoproject.org/meta-lts-mixins/log/?h=wrynose/linux-firmware

---
 .../linux-firmware/linux-firmware-ti.inc      | 20 +++++++++++++++++++
 .../linux-firmware/linux-firmware_%.bbappend  |  4 ++++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-ti-test/recipes-kernel/linux-firmware/linux-firmware-ti.inc
 create mode 100644 meta-ti-test/recipes-kernel/linux-firmware/linux-firmware_%.bbappend
meta-ti-test/recipes-kernel/linux-firmware/linux-firmware-ti.inc new file +20 -0
new file mode 100644
index 00000000..3ebba812
@@ -0,0 +1,20 @@
+PACKAGES += " \
+    ${PN}-iwlwifi-ty \
+    ${PN}-iwlwifi-misc-minus-ty \
+"
+
+LICENSE:${PN}-iwlwifi-ty    = "Firmware-iwlwifi_firmware"
+LICENSE:${PN}-iwlwifi-misc-minus-ty = "Firmware-iwlwifi_firmware"
+
+FILES:${PN}-iwlwifi-ty    = " \
+    ${nonarch_base_libdir}/firmware/iwlwifi-ty-*.ucode* ${nonarch_base_libdir}/firmware/intel/iwlwifi/iwlwifi-ty-*.ucode* \
+    ${nonarch_base_libdir}/firmware/iwlwifi-ty-*.pnvm* ${nonarch_base_libdir}/firmware/intel/iwlwifi/iwlwifi-ty-*.pnvm* \
+"
+FILES:${PN}-iwlwifi-misc  = ""
+FILES:${PN}-iwlwifi-misc-minus-ty = " \
+    ${nonarch_base_libdir}/firmware/iwlwifi-*.ucode* ${nonarch_base_libdir}/firmware/intel/iwlwifi/iwlwifi-*.ucode* \
+    ${nonarch_base_libdir}/firmware/iwlwifi-*.pnvm* ${nonarch_base_libdir}/firmware/intel/iwlwifi/iwlwifi-*.pnvm* \
+"
+
+RDEPENDS:${PN}-iwlwifi-ty    = "${PN}-iwlwifi-license"
+RDEPENDS:${PN}-iwlwifi-misc += "${PN}-iwlwifi-misc-minus-ty"
meta-ti-test/recipes-kernel/linux-firmware/linux-firmware_%.bbappend new file +4 -0
new file mode 100644
index 00000000..ca8e229d
@@ -0,0 +1,4 @@
+LINUX_FIRMWARE_TI = ""
+LINUX_FIRMWARE_TI:ti-soc = "linux-firmware-ti.inc"
+
+require ${LINUX_FIRMWARE_TI}
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 ti-test: Fix inclusion for iwlwifi-ty package

Move the iwlwifi-misc dependency over to iwlwifi-ty, but make it hidden behind building a ti-soc since the bbappend that creates iwlwifi-ty is also gated by the ti-soc override.

---
 meta-ti-test/recipes-core/packagegroups/ti-test.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-ti-test/recipes-core/packagegroups/ti-test.bb +4 -1
index 81f38ae5..258ae9a4 100644
@@ -115,7 +115,6 @@ TI_TEST_NETWORKING = "\
     iproute2-bridge \
     iproute2-devlink \
     iproute2-tc \
-    linux-firmware-iwlwifi-misc \
     lldpd \
     mstpd \
     netperf \
@@ -124,6 +123,10 @@ TI_TEST_NETWORKING = "\
     xdp-tools-ti \
 "
 
+TI_TEST_NETWORKING:append:ti-soc = " \
+    linux-firmware-iwlwifi-ty \
+"
+
 TI_TEST_STORAGE = "\
     dosfstools \
     fio \
Signature · 1 line
2.43.0
#2 lore raw
In reply to Ryan Eatmon

meta-ti / na / 20261028165724.2776953-1-reatmon

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
wrynose
=====================
Summary:
- Patch Series: [meta-ti][wrynose][PATCH 1/2] linux-firmware: Breakout iwlwifi-ty package
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Wed, 28 Oct 2026 11:57:23 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: e20aed4435608f48235a216e86a2a65d60801b14

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: wrynose-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: ti-test: Fix inclusion for iwlwifi-ty package
- Commit SHA: edd750eef0c2755a8e78db4cfa273bc446fcb9e1

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
wrynose
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
wrynose - PASS
=====================
All checks passed