Skip to contentSkip to conversation

linux-firmware-arago: correct removal of overlapping FW

PATCH Superseded Denys Dmytriyenko 3 participants 4 messages Sep 25, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 linux-firmware-arago: correct removal of overlapping FW

From: Denys Dmytriyenko <[email protected]>

Use the correct variable, instead of hard-coding /lib/firmware, when removing firmware images that overlap with the ones from meta-ti-bsp. This way it will work properly even when usrmerge is enabled.

---
v2 - separate patches for master and scarthgap

 .../recipes-kernel/linux-firmware/linux-firmware-arago.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc +4 -3
index 43c54575..30bf399d 100644
@@ -1,6 +1,7 @@
-PR:append = ".arago2"
+PR:append = ".arago3"
 
+# meta-ti-bsp packages newer versions on these
 do_install:append() {
-	rm -rf  ${D}/lib/firmware/ti-connectivity/
-	rm -rf  ${D}/lib/firmware/cadence/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware//ti-connectivity/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware//cadence/
 }
Signature · 1 line
2.25.1
#1 lore raw

meta-arago / na / 20250925193019.2938469-1-denis

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [master][PATCH v2] linux-firmware-arago: correct removal of overlapping FW
WARN: Commit message does not include file/recipe name: linux-firmware-arago: correct removal of overlapping FW. (COMMIT-MESSAGE-2)
patch

WARN: Revised patch missing a comment. (REVISION-1)
patch

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [master][PATCH v2] linux-firmware-arago: correct removal of overlapping FW
- Submitter: From: Denys Dmytriyenko <[email protected]>
From: Denys Dmytriyenko <[email protected]>
- Date: Date: Thu, 25 Sep 2025 15:30:19 -0400
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: c7753a67a6e1bcb35152ed4024885a47bbbc2428

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: ti-test: Make opencl-cts dependent on DISTRO_FEATURES
- Commit SHA: d3532063218f5c47b5e912554a0b236eb25e61f4

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

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

#2 lore raw
In reply to Denys Dmytriyenko
Quoted 18 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Use the correct variable, instead of hard-coding /lib/firmware, when removing firmware images that overlap with the ones from meta-ti-bsp. This way it will work properly even when usrmerge is enabled.

---
v2 - separate patches for master and scarthgap

  .../recipes-kernel/linux-firmware/linux-firmware-arago.inc | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc +0 -0
index 43c54575..30bf399d 100644

meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc line 6

Quoted 9 lines
meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc +4 -3
@@ -1,6 +1,7 @@
-PR:append = ".arago2"
+PR:append = ".arago3"
 
+# meta-ti-bsp packages newer versions on these
  do_install:append() {
-	rm -rf  ${D}/lib/firmware/ti-connectivity/
-	rm -rf  ${D}/lib/firmware/cadence/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware//ti-connectivity/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware//cadence/

"//" double slash, probably doesn't hurt but does look odd..

Andrew

Quoted 1 line
meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc +0 -0
  }
#3 lore raw
Quoted 14 lines · Andrew Davis via lists.yoctoproject.org
Quoted 13 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Use the correct variable, instead of hard-coding /lib/firmware, when removing firmware images that overlap with the ones from meta-ti-bsp. This way it will work properly even when usrmerge is enabled.

---
v2 - separate patches for master and scarthgap

 .../recipes-kernel/linux-firmware/linux-firmware-arago.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Quoted 15 lines

meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc line 5

Quoted 13 lines
meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc +4 -3
index 43c54575..30bf399d 100644
@@ -1,6 +1,7 @@
-PR:append = ".arago2"
+PR:append = ".arago3"
+# meta-ti-bsp packages newer versions on these
 do_install:append() {
-	rm -rf  ${D}/lib/firmware/ti-connectivity/
-	rm -rf  ${D}/lib/firmware/cadence/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware//ti-connectivity/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware//cadence/

"//" double slash, probably doesn't hurt but does look odd..

Oops, v3 is coming.