Skip to contentSkip to conversation

cnm-wave-fw: lock the compatiable machine to j721s2

PATCH Superseded Ryan Eatmon 2 participants 3 messages Feb 3, 2022 – Feb 4, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cnm-wave-fw: lock the compatiable machine to j721s2

The orignal recipe listed the compatible platforms to all of j7, but at this time it is limited to j721s2.

---
 recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 2 +-
 recipes-kernel/linux/kernel-rdepends.inc   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +1 -1
index 3dd0f4f4..0f09dbb6 100644
@@ -13,7 +13,7 @@ PR = "${INC_PR}.1"
 
 CLEANBROKEN = "1"
 
-COMPATIBLE_MACHINE = "j7"
+COMPATIBLE_MACHINE = "j721s2"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
recipes-kernel/linux/kernel-rdepends.inc +1 -1
index 2a6302af..adcf967a 100644
@@ -44,4 +44,4 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
 
 # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cnm-wave-fw"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2 = " cnm-wave-fw"
Signature · 1 line
2.17.1
#1 lore raw

This patch is incorrect - see below.

Quoted 14 lines · Ryan Eatmon via lists.yoctoproject.org

The orignal recipe listed the compatible platforms to all of j7, but at this time it is limited to j721s2.

---
 recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 2 +-
 recipes-kernel/linux/kernel-rdepends.inc   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +0 -0
index 3dd0f4f4..0f09dbb6 100644

recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb PR = "${INC_PR}.1" · line 16

Quoted 5 lines
recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +1 -1
@@ -13,7 +13,7 @@ PR = "${INC_PR}.1"
 
 CLEANBROKEN = "1"
 
-COMPATIBLE_MACHINE = "j7"
+COMPATIBLE_MACHINE = "j721s2"

There were no j721s2 SoC family defined, only j721s2-evm and j721s2-evm-k3r5 machines.

recipes-kernel/linux/kernel-rdepends.inc RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw" · line 47

Quoted 12 lines
recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +0 -0
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
recipes-kernel/linux/kernel-rdepends.inc +1 -1
index 2a6302af..adcf967a 100644
@@ -44,4 +44,4 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
 
 # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cnm-wave-fw"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2 = " cnm-wave-fw"

Same here.

Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#2 lore raw

I was trying to leave it open for a future j721s2-hs-evm. I can make it more... verbose if required.

Quoted 43 lines · Denys Dmytriyenko

This patch is incorrect - see below.

Quoted 14 lines · Ryan Eatmon via lists.yoctoproject.org

The orignal recipe listed the compatible platforms to all of j7, but at this time it is limited to j721s2.

---
  recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 2 +-
  recipes-kernel/linux/kernel-rdepends.inc   | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +0 -0
index 3dd0f4f4..0f09dbb6 100644

recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb PR = "${INC_PR}.1" · line 16

Quoted 5 lines
recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +1 -1
@@ -13,7 +13,7 @@ PR = "${INC_PR}.1"
 
  CLEANBROKEN = "1"
 
-COMPATIBLE_MACHINE = "j7"
+COMPATIBLE_MACHINE = "j721s2"

There were no j721s2 SoC family defined, only j721s2-evm and j721s2-evm-k3r5 machines.

recipes-kernel/linux/kernel-rdepends.inc RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw" · line 47

Quoted 12 lines
recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +0 -0
  PACKAGE_ARCH = "${MACHINE_ARCH}"
 
recipes-kernel/linux/kernel-rdepends.inc +1 -1
index 2a6302af..adcf967a 100644
@@ -44,4 +44,4 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw"
  RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
 
  # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cnm-wave-fw"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2 = " cnm-wave-fw"

Same here.

Signature · 2 lines
Ryan Eatmon
[email protected]