Skip to contentSkip to conversation

tisdk-core-bundle: Make DTB filter work with DRA7xx HS EVM

PATCH In review Andrew Davis 2 participants 6 messages Nov 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 tisdk-core-bundle: Make DTB filter work with DRA7xx HS EVM

Add these filters based on SoC, not board. This allows this to work with dra7xx-hs-evm and any other DRA7 based board. This also means we only need one line for all AM57x boards.

---
 meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc +2 -3
index 5f72e7b0..200ccf52 100644
@@ -18,9 +18,8 @@ TOOLCHAIN_CLEANUP_PACKAGES = "libgnutls-dev libgnutls-extra26 libgnutls-openssl2
 # picking up DTB files for devices with no DTB support.
 DTB_FILTER = "unknown"
 DTB_FILTER:ti33x = "am335x"
-DTB_FILTER:dra7xx-evm = "dra7"
-DTB_FILTER:am57xx-evm = "am57xx"
-DTB_FILTER:am57xx-hs-evm = "${DTB_FILTER:am57xx-evm}"
+DTB_FILTER:dra7xx = "dra7"
+DTB_FILTER:am57xx = "am57xx"
 DTB_FILTER:ti43x = "am43"
 DTB_FILTER:omapl138 = "da850"
 DTB_FILTER:am65xx = "am65"
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/5 packagegroup-arago-tisdk-addons: Remove leftover commented out packages

The package pruss-lld-apps is not coming back, and adding these based on the board and not the SoC is not a good example of how things should be done, remove these lines.

---
 .../packagegroups/packagegroup-arago-tisdk-addons.bb           | 3 ---
 1 file changed, 3 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +0 -3
index 9632cf18..58fffd26 100644
@@ -87,9 +87,6 @@ EXTRA_PACKAGES:omapl138 = " \
 "
 
 EXTRA_PACKAGES:append:omap-a15 = " ti-ipc-examples-linux"
-#EXTRA_PACKAGES:append:am335x-evm = " pruss-lld-apps"
-#EXTRA_PACKAGES:append:am437x-evm = " pruss-lld-apps"
-#EXTRA_PACKAGES:append:am57xx-evm = " pruss-lld-apps"
 
 RDEPENDS:${PN} = "\
     ${UTILS} \
Signature · 1 line
2.39.2
#2 lore raw

PATCH 3/5 omapconf: Drop OMAP4 as a COMPATIBLE_MACHINE

In reply to Andrew Davis

OMAP4 is not supported by this layer, drop this leftover compatible.

---
 meta-arago-test/recipes-devtools/omapconf/omapconf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-test/recipes-devtools/omapconf/omapconf_git.bb +1 -1
index edba8e12..53fd3e12 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=205c83c4e2242a765acb923fc766e914"
 
 PV = "1.75+git"
 
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|omap4"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
 
 BRANCH ?= "master"
 SRCREV = "ff07b6992bacb1e1586c72b7d2be469caee4a347"
Signature · 1 line
2.39.2
#3 lore raw

PATCH 4/5 meta-arago/all: Rename machine from omap-a15 to am57xx

In reply to Andrew Davis

The "omap-a15" is a bit of a legacy holdover and is confusing. This causes issues with mixed usage of 'dra7xx' and 'omap-a15'. For example all EVM using the AM57xx SoC family include dra7x.inc so both are always defined, then we use 'omap-a15' in several places where we really mean just 'am57xx'. 'dra7xx' can't be filtered for as needed like in the case of PRU.

AM57x is arguably the real superset device and DRA7x support is being removed, so rename all uses of the combined 'omap-a15' to 'am57xx'.

---
 .../recipes-core/images/tisdk-core-bundle.inc             | 3 +--
 .../packagegroups/packagegroup-arago-bootstrap.bb         | 2 +-
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb  | 2 +-
 .../packagegroup-arago-tisdk-addons-sdk-target.bb         | 2 +-
 .../packagegroups/packagegroup-arago-tisdk-addons.bb      | 8 ++++----
 .../packagegroups/packagegroup-arago-tisdk-multimedia.bb  | 2 +-
 meta-arago-distro/recipes-core/packagegroups/ti-world.bb  | 2 +-
 .../ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb            | 2 +-
 meta-arago-test/recipes-core/packagegroups/ti-test.bb     | 2 +-
 meta-arago-test/recipes-devtools/omapconf/omapconf_git.bb | 2 +-
 10 files changed, 13 insertions(+), 14 deletions(-)
meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc +1 -2
index 200ccf52..2e3a3072 100644
@@ -7,7 +7,7 @@ IMAGE_NAME_SUFFIX = ""
 
 inherit tisdk-bundle
 
-COMPATIBLE_MACHINE = "omapl138|ti33x|ti43x|omap-a15|k3"
+COMPATIBLE_MACHINE = "omapl138|ti33x|ti43x|am57xx|k3"
 
 # List of packages to remove from the host package.  This is usually due to
 # licensing issues and unneeded dependencies.
@@ -18,7 +18,6 @@ TOOLCHAIN_CLEANUP_PACKAGES = "libgnutls-dev libgnutls-extra26 libgnutls-openssl2
 # picking up DTB files for devices with no DTB support.
 DTB_FILTER = "unknown"
 DTB_FILTER:ti33x = "am335x"
-DTB_FILTER:dra7xx = "dra7"
 DTB_FILTER:am57xx = "am57xx"
 DTB_FILTER:ti43x = "am43"
 DTB_FILTER:omapl138 = "da850"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb +1 -1
index 3c05895a..a1b9636d 100644
@@ -42,7 +42,7 @@ UTILS:append:ti43x = " \
     omapconf \
 "
 
-UTILS:append:omap-a15 = " \
+UTILS:append:am57xx = " \
     omapconf \
 "
 
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +1 -1
index 2a4bc0eb..f309dc4a 100644
@@ -19,7 +19,7 @@ GSTREAMER_DEPS = " \
 GSTREAMER_DEPS:append:arago = " gstreamer1.0-libav"
 
 GSTREAMER_ACCEL_MM = ""
-#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:am57xx = "${@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} = "\
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -1
index 9f5e189e..95be18ba 100644
@@ -38,7 +38,7 @@ IPCDEV = " \
 	ti-ipc-staticdev \
 "
 
-EXTRA_PACKAGES:append:omap-a15 = " ${IPCDEV}"
+EXTRA_PACKAGES:append:am57xx = " ${IPCDEV}"
 EXTRA_PACKAGES:append:omapl138 = " ${IPCDEV}"
 
 RDEPENDS:${PN} = "\
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +4 -4
index 58fffd26..67f3de16 100644
@@ -42,7 +42,7 @@ UTILS:append:ti43x = " mmc-utils \
                        pru-icss \
 "
 
-UTILS:append:omap-a15 = " mmc-utils \
+UTILS:append:am57xx = " mmc-utils \
                           switch-config \
                           libdrm-omap \
                           stream-openmp \
@@ -72,8 +72,8 @@ UTILS:append:j721e = " pru-icss"
 
 UTILS:append:omapl138 = " ti-ipc-rtos-fw"
 
-UTILS:append:dra7xx = " \
-                        ${UTILS_DSP} \
+UTILS:append:am57xx = " \
+    ${UTILS_DSP} \
 "
 
 EXTRA_PACKAGES = " \
@@ -86,7 +86,7 @@ EXTRA_PACKAGES:omapl138 = " \
     protobuf \
 "
 
-EXTRA_PACKAGES:append:omap-a15 = " ti-ipc-examples-linux"
+EXTRA_PACKAGES:append:am57xx = " ti-ipc-examples-linux"
 
 RDEPENDS:${PN} = "\
     ${UTILS} \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +1 -1
index 6eb49b46..54690317 100644
@@ -26,7 +26,7 @@ MULTIMEDIA:append:dra7xx = " \
 
 ACCEL_MM = ""
 
-ACCEL_MM:append:omap-a15 = " \
+ACCEL_MM:append:am57xx = " \
     ipumm-fw \
 "
 
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +1 -1
index 64af6d93..25642831 100644
@@ -8,7 +8,7 @@ inherit packagegroup
 INSANE_SKIP:${PN} += "dev-deps"
 
 CHROMIUM = ""
-CHROMIUM:append:omap-a15 = "\
+CHROMIUM:append:am57xx = "\
     chromium-ozone-wayland \
 "
 CHROMIUM:append:k3 = "\
meta-arago-extras/recipes-graphics/ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb +1 -1
index c2076099..936e61e8 100644
@@ -3,7 +3,7 @@ SUMMARY = "Test application for GC320 2D API"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://dra7x-sdk-ti-gc320-tests_manifest.html;md5=22a001855467f373c47f45de5330e3c9"
 
-COMPATIBLE_MACHINE = "omap-a15"
+COMPATIBLE_MACHINE = "am57xx"
 
 DEPENDS = "ti-gc320-libs"
 
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -1
index cb779123..f47cebe1 100644
@@ -115,7 +115,7 @@ TI_TEST_TI_TOOLS:append:ti43x = " \
     switch-config \
 "
 
-TI_TEST_TI_TOOLS:append:omap-a15 = " \
+TI_TEST_TI_TOOLS:append:am57xx = " \
     omapconf \
     pru-icss \
     switch-config \
meta-arago-test/recipes-devtools/omapconf/omapconf_git.bb +1 -1
index 53fd3e12..84226dd8 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=205c83c4e2242a765acb923fc766e914"
 
 PV = "1.75+git"
 
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
 
 BRANCH ?= "master"
 SRCREV = "ff07b6992bacb1e1586c72b7d2be469caee4a347"
Signature · 1 line
2.39.2
#4 lore raw

PATCH 5/5 packagegroups: Substitute am57xx for remaining dra7xx uses

In reply to Andrew Davis

The AM57xx SoC family include dra7x.inc and so also have dra7xx set, this means anything build for DRA7xx would also be built for AM57xx. DRA7x support is being removed so set these to filter based on 'am57xx' so that AM57xx board images will continue to contain these packages after the dra7x.inc file is removed.

---
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 2 +-
 .../packagegroup-arago-tisdk-addons-sdk-target.bb             | 4 ++--
 .../packagegroups/packagegroup-arago-tisdk-multimedia.bb      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +1 -1
index f309dc4a..5240b459 100644
@@ -20,7 +20,7 @@ GSTREAMER_DEPS:append:arago = " gstreamer1.0-libav"
 
 GSTREAMER_ACCEL_MM = ""
 #GSTREAMER_ACCEL_MM:am57xx = "${@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:append:am57xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
 
 RDEPENDS:${PN} = "\
     ${GSTREAMER_DEPS} \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +2 -2
index 95be18ba..54c7c4c9 100644
@@ -15,7 +15,7 @@ UTILS = " \
 
 UTILS:append:ti33x = " can-utils-dev"
 UTILS:append:ti43x = " can-utils-dev"
-UTILS:append:dra7xx = " can-utils-dev \
+UTILS:append:am57xx = " can-utils-dev \
                         elfutils-dev \
                         elfutils-staticdev \
 "
@@ -26,7 +26,7 @@ UTILS:append:k3 = "\
 "
 
 EXTRA_LIBS = ""
-EXTRA_LIBS:append:dra7xx = " libulm-dev \
+EXTRA_LIBS:append:am57xx = " libulm-dev \
                              libulm-staticdev \
                              gdbserver-c6x-dev \
 "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +1 -1
index 54690317..b292502f 100644
@@ -20,7 +20,7 @@ MULTIMEDIA:append:arago = " ffmpeg mpv"
 
 MULTIMEDIA:omapl138 = ""
 
-MULTIMEDIA:append:dra7xx = " \
+MULTIMEDIA:append:am57xx = " \
     vis \
 "
 
Signature · 1 line
2.39.2
#5 lore raw
In reply to Andrew Davis

meta-arago / na / 20251107214128.1491466-1-afd

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-arago][master][PATCH 5/5] packagegroups: Substitute am57xx for remaining dra7xx uses
WARN: Commit message should not include directory path to recipe: packagegroups: Substitute am57xx for remaining dra7xx uses.
packagegroups: (COMMIT-MESSAGE-3)
patch

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 1/5] tisdk-core-bundle: Make DTB filter work with DRA7xx HS EVM
- Submitter: From: Andrew Davis <[email protected]>
- Date: Date: Fri, 7 Nov 2025 15:41:24 -0600
- Num Patches: 5
- Mailing List (public inbox) Commit SHA: 48a92afdaa8f0e497f8600b8496afae90ae1d6e5

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: packagegroup-arago-tisdk-graphics*: Add DISTRO_FEATURE check for some packages
- Commit SHA: 18d215b03c65ba448bf38dc3dd98efe8a17c25bf

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

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