Skip to contentSkip to conversation

Adding support for am62xx

PATCH In review Ryan Eatmon 3 participants 6 messages Mar 23, 2022 – Aug 13, 2025

lore
Share & tools
lore
#0 lore raw

v2 cover Adding support for am62xx

These patches add initial recipe support for am62xx.

--
v2: Changes based on feedback from mailing list:
- Made additional changes for am62xx in the packagegroups and ti-tisdk-makefile files.
- Changed the variable settings for the graphics to explicitly call out the am62xx.

Krunal Bhargav (1):
packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2

Nishanth Menon (1):
ti-tisdk-makefile: adding uboot r5 config variable for am62xx

 meta-arago-distro/conf/distro/include/arago-prefs.inc      | 7 +++++++
 .../packagegroup-arago-tisdk-addons-sdk-host.bb            | 4 ++++
 .../packagegroups/packagegroup-arago-tisdk-addons.bb       | 1 +
 .../ti-tisdk-makefile/Makefile_sysfw-image                 | 1 +
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb             | 6 ++++++
 5 files changed, 19 insertions(+)
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/2 ti-tisdk-makefile: adding uboot r5 config variable for am62xx

From: Nishanth Menon <[email protected]>

lets add support for the latest of TI SoC.

---
 .../packagegroup-arago-tisdk-addons-sdk-host.bb             | 4 ++++
 .../packagegroups/packagegroup-arago-tisdk-addons.bb        | 1 +
 .../ti-tisdk-makefile/Makefile_sysfw-image                  | 1 +
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb              | 6 ++++++
 4 files changed, 12 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +4 -0
index c44f95ca..062948d0 100644
@@ -57,6 +57,10 @@ UTILS_append_am64xx = " \
     pru-icss-src \
 "
 
+UTILS_append_am62xx = " \
+    pru-icss-src \
+"
+
 EXTRA_LIBS = ""
 
 EXTRA_LIBS_append_omap-a15 = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -0
index 099817c3..094c47a2 100644
@@ -65,6 +65,7 @@ UTILS_append_k3 = " mmc-utils \
 "
 
 UTILS_append_am64xx = " ti-rtos-firmware pru-icss"
+UTILS_append_am62xx = " ti-rtos-firmware pru-icss"
 UTILS_append_am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw"
 UTILS_append_j7 = " ti-rtos-firmware"
 UTILS_append_j7-evm = " pru-icss"
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image +1 -0
index aaf1f112..316483df 100644
@@ -12,6 +12,7 @@ SYSFW_SOC_am65xx-evm = am65x
 SYSFW_SOC_am65xx-hs-evm = am65x
 SYSFW_SOC_am64xx-evm = am64x
 SYSFW_SOC_am64xx-hs-evm = am64x
+SYSFW_SOC_am62xx-evm = am62x
 SYSFW_SOC_j7-evm = j721e
 SYSFW_SOC_j7-hs-evm = j721e
 SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM))
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +6 -0
index 7bda8eed..f0a044f7 100644
@@ -202,6 +202,10 @@ MAKEFILES_append_am64xx = " \
                         pru-icss \
 "
 
+MAKEFILES_append_am62xx = " \
+                        pru-icss \
+"
+
 # Use this to export kernel arch to ARCH
 #
 # We need to be very careful here. This class will also overwrite UBOOT_ARCH
@@ -239,6 +243,7 @@ PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g"
 PRU_ICSS_INSTALL_TARGET_am65xx = "pru-icss_install_am65x"
 PRU_ICSS_INSTALL_TARGET_j7 = "pru-icss_install_j721e"
 PRU_ICSS_INSTALL_TARGET_am64xx = "pru-icss_install_am64x"
+PRU_ICSS_INSTALL_TARGET_am62xx = "pru-icss_install_am62x"
 
 # Path to toolchains for the various cores in TI SOCs
 #
@@ -363,6 +368,7 @@ K3_UBOOT_MACHINE_R5_j7-evm = "j721e_evm_r5_config"
 K3_UBOOT_MACHINE_R5_j7-hs-evm = "j721e_hs_evm_r5_config"
 K3_UBOOT_MACHINE_R5_j7200-evm = "j7200_evm_r5_config"
 K3_UBOOT_MACHINE_R5_j721s2-evm = "j721s2_evm_r5_config"
+K3_UBOOT_MACHINE_R5_am62xx-evm = "am62xx_evm_r5_config"
 
 do_install_append_k3() {
     cat >> ${D}/Rules.make << __EOF__
Signature · 1 line
2.17.1
#2 lore raw

Re: [meta-arago][master/dunfell][PATCH v2 1/2] ti-tisdk-makefile: adding uboot r5 config variable for am62xx

Quoted 1 line

ti-tisdk-makefile: adding uboot r5 config variable for am62xx

The patch below does a lot more than what the subject says...

And this patchset depends on the corresponding change in meta-ti, which needs some more work.

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

From: Nishanth Menon <[email protected]>

lets add support for the latest of TI SoC.

---
 .../packagegroup-arago-tisdk-addons-sdk-host.bb             | 4 ++++
 .../packagegroups/packagegroup-arago-tisdk-addons.bb        | 1 +
 .../ti-tisdk-makefile/Makefile_sysfw-image                  | 1 +
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb              | 6 ++++++
 4 files changed, 12 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +4 -0
index c44f95ca..062948d0 100644
@@ -57,6 +57,10 @@ UTILS_append_am64xx = " \
     pru-icss-src \
 "
 
+UTILS_append_am62xx = " \
+    pru-icss-src \
+"
+
 EXTRA_LIBS = ""
 
 EXTRA_LIBS_append_omap-a15 = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -0
index 099817c3..094c47a2 100644
@@ -65,6 +65,7 @@ UTILS_append_k3 = " mmc-utils \
 "
 
 UTILS_append_am64xx = " ti-rtos-firmware pru-icss"
+UTILS_append_am62xx = " ti-rtos-firmware pru-icss"
 UTILS_append_am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw"
 UTILS_append_j7 = " ti-rtos-firmware"
 UTILS_append_j7-evm = " pru-icss"
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image +1 -0
index aaf1f112..316483df 100644
@@ -12,6 +12,7 @@ SYSFW_SOC_am65xx-evm = am65x
 SYSFW_SOC_am65xx-hs-evm = am65x
 SYSFW_SOC_am64xx-evm = am64x
 SYSFW_SOC_am64xx-hs-evm = am64x
+SYSFW_SOC_am62xx-evm = am62x
 SYSFW_SOC_j7-evm = j721e
 SYSFW_SOC_j7-hs-evm = j721e
 SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM))
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +6 -0
index 7bda8eed..f0a044f7 100644
@@ -202,6 +202,10 @@ MAKEFILES_append_am64xx = " \
                         pru-icss \
 "
 
+MAKEFILES_append_am62xx = " \
+                        pru-icss \
+"
+
 # Use this to export kernel arch to ARCH
 #
 # We need to be very careful here. This class will also overwrite UBOOT_ARCH
@@ -239,6 +243,7 @@ PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g"
 PRU_ICSS_INSTALL_TARGET_am65xx = "pru-icss_install_am65x"
 PRU_ICSS_INSTALL_TARGET_j7 = "pru-icss_install_j721e"
 PRU_ICSS_INSTALL_TARGET_am64xx = "pru-icss_install_am64x"
+PRU_ICSS_INSTALL_TARGET_am62xx = "pru-icss_install_am62x"
 
 # Path to toolchains for the various cores in TI SOCs
 #
@@ -363,6 +368,7 @@ K3_UBOOT_MACHINE_R5_j7-evm = "j721e_evm_r5_config"
 K3_UBOOT_MACHINE_R5_j7-hs-evm = "j721e_hs_evm_r5_config"
 K3_UBOOT_MACHINE_R5_j7200-evm = "j7200_evm_r5_config"
 K3_UBOOT_MACHINE_R5_j721s2-evm = "j721s2_evm_r5_config"
+K3_UBOOT_MACHINE_R5_am62xx-evm = "am62xx_evm_r5_config"
 
 do_install_append_k3() {
     cat >> ${D}/Rules.make << __EOF__
Signature · 1 line
2.17.1
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
#3 lore raw

Re: [meta-arago][master/dunfell][PATCH v2 1/2] ti-tisdk-makefile: adding uboot r5 config variable for am62xx

Quoted 6 lines · Denys Dmytriyenko
Quoted 1 line

ti-tisdk-makefile: adding uboot r5 config variable for am62xx

The patch below does a lot more than what the subject says...

And this patchset depends on the corresponding change in meta-ti, which needs some more work.

I will clean up the commit message and submit a v3 once we have closed on the meta-ti patches.

Quoted 88 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 85 lines

From: Nishanth Menon <[email protected]>

lets add support for the latest of TI SoC.

---
  .../packagegroup-arago-tisdk-addons-sdk-host.bb             | 4 ++++
  .../packagegroups/packagegroup-arago-tisdk-addons.bb        | 1 +
  .../ti-tisdk-makefile/Makefile_sysfw-image                  | 1 +
  .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb              | 6 ++++++
  4 files changed, 12 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +4 -0
index c44f95ca..062948d0 100644
@@ -57,6 +57,10 @@ UTILS_append_am64xx = " \
      pru-icss-src \
  "
 
+UTILS_append_am62xx = " \
+    pru-icss-src \
+"
+
  EXTRA_LIBS = ""
 
  EXTRA_LIBS_append_omap-a15 = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -0
index 099817c3..094c47a2 100644
@@ -65,6 +65,7 @@ UTILS_append_k3 = " mmc-utils \
  "
 
  UTILS_append_am64xx = " ti-rtos-firmware pru-icss"
+UTILS_append_am62xx = " ti-rtos-firmware pru-icss"
  UTILS_append_am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw"
  UTILS_append_j7 = " ti-rtos-firmware"
  UTILS_append_j7-evm = " pru-icss"
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image +1 -0
index aaf1f112..316483df 100644
@@ -12,6 +12,7 @@ SYSFW_SOC_am65xx-evm = am65x
  SYSFW_SOC_am65xx-hs-evm = am65x
  SYSFW_SOC_am64xx-evm = am64x
  SYSFW_SOC_am64xx-hs-evm = am64x
+SYSFW_SOC_am62xx-evm = am62x
  SYSFW_SOC_j7-evm = j721e
  SYSFW_SOC_j7-hs-evm = j721e
  SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM))
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +6 -0
index 7bda8eed..f0a044f7 100644
@@ -202,6 +202,10 @@ MAKEFILES_append_am64xx = " \
                          pru-icss \
  "
 
+MAKEFILES_append_am62xx = " \
+                        pru-icss \
+"
+
  # Use this to export kernel arch to ARCH
  #
  # We need to be very careful here. This class will also overwrite UBOOT_ARCH
@@ -239,6 +243,7 @@ PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g"
  PRU_ICSS_INSTALL_TARGET_am65xx = "pru-icss_install_am65x"
  PRU_ICSS_INSTALL_TARGET_j7 = "pru-icss_install_j721e"
  PRU_ICSS_INSTALL_TARGET_am64xx = "pru-icss_install_am64x"
+PRU_ICSS_INSTALL_TARGET_am62xx = "pru-icss_install_am62x"
 
  # Path to toolchains for the various cores in TI SOCs
  #
@@ -363,6 +368,7 @@ K3_UBOOT_MACHINE_R5_j7-evm = "j721e_evm_r5_config"
  K3_UBOOT_MACHINE_R5_j7-hs-evm = "j721e_hs_evm_r5_config"
  K3_UBOOT_MACHINE_R5_j7200-evm = "j7200_evm_r5_config"
  K3_UBOOT_MACHINE_R5_j721s2-evm = "j721s2_evm_r5_config"
+K3_UBOOT_MACHINE_R5_am62xx-evm = "am62xx_evm_r5_config"
 
  do_install_append_k3() {
      cat >> ${D}/Rules.make << __EOF__
Signature · 1 line
2.17.1
Signature · 2 lines
Ryan Eatmon
[email protected]
#4 lore raw

PATCH v2 2/2 packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2

In reply to Ryan Eatmon

From: Krunal Bhargav <[email protected]>

---
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 7 +++++++
 1 file changed, 7 insertions(+)
meta-arago-distro/conf/distro/include/arago-prefs.inc +7 -0
index a356c76c..f9fab020 100644
@@ -21,6 +21,13 @@ PREFERRED_PROVIDER_virtual/libgles2_j7 = "ti-img-rogue-umlibs"
 PREFERRED_PROVIDER_virtual/libgbm_j7 = "ti-img-rogue-umlibs"
 PREFERRED_PROVIDER_virtual/gpudriver_j7 = "ti-img-rogue-driver"
 
+# am62xx has a Rogue GPU core
+PREFERRED_PROVIDER_virtual/egl_am62xx = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1_am62xx = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2_am62xx = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgbm_am62xx = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/gpudriver_am62xx = "ti-img-rogue-driver"
+
 # This is required when using keystone devices with graphical support
 # such as Qt5
 PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"
Signature · 1 line
2.17.1
#5 lore raw
In reply to Ryan Eatmon

meta-arago / na / 20220323210750.3959-1-reatmon

PRC Results: FAIL

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

=========================================================
apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master/dunfell][PATCH v2 0/2] Adding support for am62xx
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Wed, 23 Mar 2022 16:07:48 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 106e0a7af5e893e8c85094e2a5d6dfc85bb6ebc6

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202508010100
- Commit SHA: 644f8b47f0eef26bda636717f5838871ec67d138

Patches
----------------------------------------
FAIL - [meta-arago][master/dunfell][PATCH v2 1/2] ti-tisdk-makefile: adding uboot r5 config variable for am62xx
Applying: ti-tisdk-makefile: adding uboot r5 config variable for am62xx
Patch failed at 0001 ti-tisdk-makefile: adding uboot r5 config variable for am62xx
error: meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb: does not exist in index
error: patch failed: meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb:65
error: meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb: patch does not apply
error: meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image: does not exist in index
error: meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb: does not exist in index

dunfell
=====================
Summary:
- Patch Series: [meta-arago][master/dunfell][PATCH v2 0/2] Adding support for am62xx
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Wed, 23 Mar 2022 16:07:48 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 106e0a7af5e893e8c85094e2a5d6dfc85bb6ebc6

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: dunfell
- Commit Author: Randolph Sapp <[email protected]>
- Commit Subject: meta-arago-distro: linux-firmware: remove cadence firmware
- Commit SHA: 86d19ced20934c8383c8a39f88d97c72e7e929ee

Patches
----------------------------------------
FAIL - [meta-arago][master/dunfell][PATCH v2 1/2] ti-tisdk-makefile: adding uboot r5 config variable for am62xx
Applying: ti-tisdk-makefile: adding uboot r5 config variable for am62xx
Patch failed at 0001 ti-tisdk-makefile: adding uboot r5 config variable for am62xx
error: patch failed: meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb:65
error: meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb: patch does not apply
error: patch failed: meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image:12
error: meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image: patch does not apply
error: patch failed: meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb:239
error: meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb: patch does not apply