meta-arago.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx
@ 2022-03-30 12:53 Ryan Eatmon
  2022-03-30 12:53 ` [meta-arago][master/dunfell][PATCH v3 2/2] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2 Ryan Eatmon
  2022-03-30 16:44 ` [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx Denys Dmytriyenko
  0 siblings, 2 replies; 4+ messages in thread
From: Ryan Eatmon @ 2022-03-30 12:53 UTC (permalink / raw)
  To: Yogesh Siraswar, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago

From: Nishanth Menon <nm@ti.com>

lets add support for the latest of TI SoC.

ti-tisdk-makefile: adding uboot r5 config variable for am62xx
packagegroup-arago-tisdk-addons: Add needed am62xx entries

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../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(+)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
index c44f95ca..062948d0 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
@@ -57,6 +57,10 @@ UTILS_append_am64xx = " \
     pru-icss-src \
 "
 
+UTILS_append_am62xx = " \
+    pru-icss-src \
+"
+
 EXTRA_LIBS = ""
 
 EXTRA_LIBS_append_omap-a15 = " \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
index 099817c3..094c47a2 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -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"
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
index aaf1f112..316483df 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
@@ -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))
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index 7bda8eed..f0a044f7 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -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__
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-arago][master/dunfell][PATCH v3 2/2] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2
  2022-03-30 12:53 [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx Ryan Eatmon
@ 2022-03-30 12:53 ` Ryan Eatmon
  2022-03-30 16:44   ` Denys Dmytriyenko
  2022-03-30 16:44 ` [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx Denys Dmytriyenko
  1 sibling, 1 reply; 4+ messages in thread
From: Ryan Eatmon @ 2022-03-30 12:53 UTC (permalink / raw)
  To: Yogesh Siraswar, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago

From: Krunal Bhargav <k-bhargav@ti.com>

Signed-off-by: Krunal Bhargav <k-bhargav@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index a356c76c..f9fab020 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -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"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx
  2022-03-30 12:53 [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx Ryan Eatmon
  2022-03-30 12:53 ` [meta-arago][master/dunfell][PATCH v3 2/2] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2 Ryan Eatmon
@ 2022-03-30 16:44 ` Denys Dmytriyenko
  1 sibling, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2022-03-30 16:44 UTC (permalink / raw)
  To: reatmon; +Cc: Yogesh Siraswar, Praneeth Bajjuri, meta-arago

On Wed, Mar 30, 2022 at 07:53:55AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> From: Nishanth Menon <nm@ti.com>
> 
> lets add support for the latest of TI SoC.
> 
> ti-tisdk-makefile: adding uboot r5 config variable for am62xx
> packagegroup-arago-tisdk-addons: Add needed am62xx entries
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>

This won't apply to master as is, so dunfell-only for now.

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>


> ---
>  .../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(+)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
> index c44f95ca..062948d0 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
> @@ -57,6 +57,10 @@ UTILS_append_am64xx = " \
>      pru-icss-src \
>  "
>  
> +UTILS_append_am62xx = " \
> +    pru-icss-src \
> +"
> +
>  EXTRA_LIBS = ""
>  
>  EXTRA_LIBS_append_omap-a15 = " \
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> index 099817c3..094c47a2 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> @@ -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"
> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
> index aaf1f112..316483df 100644
> --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
> @@ -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))
> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> index 7bda8eed..f0a044f7 100644
> --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> @@ -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__
> -- 
> 2.17.1
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#13766): https://lists.yoctoproject.org/g/meta-arago/message/13766
> Mute This Topic: https://lists.yoctoproject.org/mt/90130362/3617104
> Group Owner: meta-arago+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [denis@denix.org]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
> 

-- 
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-arago][master/dunfell][PATCH v3 2/2] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2
  2022-03-30 12:53 ` [meta-arago][master/dunfell][PATCH v3 2/2] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2 Ryan Eatmon
@ 2022-03-30 16:44   ` Denys Dmytriyenko
  0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2022-03-30 16:44 UTC (permalink / raw)
  To: reatmon; +Cc: Yogesh Siraswar, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago

On Wed, Mar 30, 2022 at 07:53:56AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> From: Krunal Bhargav <k-bhargav@ti.com>
> 
> Signed-off-by: Krunal Bhargav <k-bhargav@ti.com>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>


> ---
>  meta-arago-distro/conf/distro/include/arago-prefs.inc | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> index a356c76c..f9fab020 100644
> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> @@ -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"
> -- 
> 2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-30 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 12:53 [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx Ryan Eatmon
2022-03-30 12:53 ` [meta-arago][master/dunfell][PATCH v3 2/2] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2 Ryan Eatmon
2022-03-30 16:44   ` Denys Dmytriyenko
2022-03-30 16:44 ` [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx Denys Dmytriyenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).