Skip to contentSkip to conversation

packagegroup-arago-gst: Disable vpe and ducati gstreamer plugins

PATCH In review Andrew Davis 1 participant 3 messages Dec 17, 2024 – Dec 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 packagegroup-arago-gst: Disable vpe and ducati gstreamer plugins

These are not buildable due to missing dependencies, not due to the BSP version or missing hardware. So do not disable the MACHINE_FEATURE for the hardware, instead simply remove them from the builds until they can be fixed.

---
 meta-arago-distro/conf/distro/include/branding-core.inc       | 3 ---
 meta-arago-distro/conf/distro/include/branding-ltsprep.inc    | 3 ---
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
 3 files changed, 2 insertions(+), 8 deletions(-)
meta-arago-distro/conf/distro/include/branding-core.inc +0 -3
index 1d52ed60..48fe36e1 100644
@@ -8,9 +8,6 @@
 # Raise priority for sample IPC FW images
 ALTERNATIVE_PRIORITY:pn-ti-ipc-rtos = "15"
 
-# Remove mmip - DRM allocator, KMS sink, Wayland sink need porting to GST 1.18
-MACHINE_FEATURES:remove = "mmip"
-
 # GC320 support requires out-of-tree drivers not available in until LTS prep is
 # complete. Disable for now.
 # Remove gc320 - the driver fails to build with gcc12
meta-arago-distro/conf/distro/include/branding-ltsprep.inc +0 -3
index 72bfe0dc..415eee8d 100644
@@ -1,8 +1,5 @@
 TI_PREFERRED_BSP = "ti-6_12"
 
-# Remove mmip - DRM allocator, KMS sink, Wayland sink need porting to GST 1.18
-MACHINE_FEATURES:remove = "mmip"
-
 # GC320 support requires out-of-tree drivers not available in until LTS prep is
 # complete. Disable for now.
 MACHINE_FEATURES:remove = "gc320"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index 3bc3bfc1..0aee4773 100644
@@ -22,8 +22,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
 "
 
 GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
 
 RDEPENDS:${PN} = "\
     ${GSTREAMER_DEPS} \
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 branding: Disable missing hardware support in the BSP layer

Currently MACHINE_FEATURES are disabled based on branding, but the branding is not what determines if these are functional, the BSP version does. While we do select the BSP version here, what is supported or not by a given version is a property of the BSP layer. Disabling missing MACHINE_FEATURES for each version should be handled there.

---
 meta-arago-distro/conf/distro/include/branding-core.inc    | 5 -----
 meta-arago-distro/conf/distro/include/branding-ltsprep.inc | 4 ----
 2 files changed, 9 deletions(-)
meta-arago-distro/conf/distro/include/branding-core.inc +0 -5
index 48fe36e1..3eed685a 100644
@@ -7,8 +7,3 @@
 
 # Raise priority for sample IPC FW images
 ALTERNATIVE_PRIORITY:pn-ti-ipc-rtos = "15"
-
-# GC320 support requires out-of-tree drivers not available in until LTS prep is
-# complete. Disable for now.
-# Remove gc320 - the driver fails to build with gcc12
-MACHINE_FEATURES:remove = "gc320"
meta-arago-distro/conf/distro/include/branding-ltsprep.inc +0 -4
index 415eee8d..21e33662 100644
@@ -1,5 +1 @@
 TI_PREFERRED_BSP = "ti-6_12"
-
-# GC320 support requires out-of-tree drivers not available in until LTS prep is
-# complete. Disable for now.
-MACHINE_FEATURES:remove = "gc320"
Signature · 1 line
2.39.2
#2 lore raw

Re: [meta-arago][scarthgap/master][PATCH 2/2] branding: Disable missing hardware support in the BSP layer

Quoted 30 lines · Andrew Davis

Currently MACHINE_FEATURES are disabled based on branding, but the branding is not what determines if these are functional, the BSP version does. While we do select the BSP version here, what is supported or not by a given version is a property of the BSP layer. Disabling missing MACHINE_FEATURES for each version should be handled there.

---
  meta-arago-distro/conf/distro/include/branding-core.inc    | 5 -----
  meta-arago-distro/conf/distro/include/branding-ltsprep.inc | 4 ----
  2 files changed, 9 deletions(-)
meta-arago-distro/conf/distro/include/branding-core.inc +0 -5
index 48fe36e1..3eed685a 100644
@@ -7,8 +7,3 @@
 
  # Raise priority for sample IPC FW images
  ALTERNATIVE_PRIORITY:pn-ti-ipc-rtos = "15"
-
-# GC320 support requires out-of-tree drivers not available in until LTS prep is
-# complete. Disable for now.
-# Remove gc320 - the driver fails to build with gcc12
-MACHINE_FEATURES:remove = "gc320"
meta-arago-distro/conf/distro/include/branding-ltsprep.inc +0 -0
index 415eee8d..21e33662 100644

meta-arago-distro/conf/distro/include/branding-ltsprep.inc line 5

Quoted 5 lines
meta-arago-distro/conf/distro/include/branding-ltsprep.inc +0 -4
@@ -1,5 +1 @@
  TI_PREFERRED_BSP = "ti-6_12"
-
-# GC320 support requires out-of-tree drivers not available in until LTS prep is
-# complete. Disable for now.
-MACHINE_FEATURES:remove = "gc320"

This has a equal opposite patch[0] over in meta-ti disabling these in the BSP layer. That will need to go in first to prevent GC320 support from being enabled in the meantime (gc320 doesn't build that would cause failures).

[0] https://lists.yoctoproject.org/g/meta-ti/message/18126

Andrew