From patchwork Wed Mar 30 12:53:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 6052 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F387C433FE for ; Wed, 30 Mar 2022 12:54:00 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web08.6772.1648644839602132725 for ; Wed, 30 Mar 2022 05:54:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=GuIu5YwU; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: reatmon@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22UCrvG5088566; Wed, 30 Mar 2022 07:53:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1648644837; bh=IiBUS75CR/4rep5qO9TVDEDTyo2E2p4egyZVZpZyUZg=; h=From:To:Subject:Date; b=GuIu5YwUUqVfhwdZZ6AT5Y5l3QpkOv0eLoFqbEV4t7FkHhxPqXqCOGf/wJPOfJQx7 P5TEnwqBJf3rNQ7fLofx6zUGjYwECjYqXvEAonuso6kyRnSfVsWMrsT/XmP01WwvHV XXRKpZCc0pa2zQJ3WreAJ1NLrgU1leGherUzbGdY= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22UCrvBT108654 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Mar 2022 07:53:57 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 30 Mar 2022 07:53:57 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 30 Mar 2022 07:53:57 -0500 Received: from uda0214219 (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22UCrvg9032536; Wed, 30 Mar 2022 07:53:57 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1nZXpk-0008Sm-SW; Wed, 30 Mar 2022 07:53:56 -0500 From: Ryan Eatmon To: Yogesh Siraswar , Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master/dunfell][PATCH v3 1/2] meta-arago-distro: add initial support for am62xx Date: Wed, 30 Mar 2022 07:53:55 -0500 Message-ID: <20220330125356.32492-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Mar 2022 12:54:00 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13766 From: Nishanth Menon 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 Signed-off-by: Ryan Eatmon Reviewed-by: Denys Dmytriyenko --- .../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__ From patchwork Wed Mar 30 12:53:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 6051 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F35AC433EF for ; Wed, 30 Mar 2022 12:54:00 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web11.6822.1648644839603859503 for ; Wed, 30 Mar 2022 05:54:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=gSobm2Ci; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: reatmon@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22UCrvkZ014890; Wed, 30 Mar 2022 07:53:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1648644837; bh=sHh5Lz1WkXRwcmK5Y2vuRaIBtN0l0p5WCaP8GN3cq9Y=; h=From:To:Subject:Date:In-Reply-To:References; b=gSobm2Cihoq9hFWNZ8BQ5vF/cF1wZLQoN20UjEJ0o+Vuyc/uLElA9YIlhNVwOYK+Y JjoDYVsmpFJHyom9BWIxqm6T3bVJkNuc9XaeaYYsSudyRxND7fp7uVGJgpWoOX4z/4 go/5/U7nhsHOR5z5Am06AbN9UiGzkUqFH5BeU3Pk= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22UCrvNO018204 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Mar 2022 07:53:57 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 30 Mar 2022 07:53:57 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 30 Mar 2022 07:53:57 -0500 Received: from uda0214219 (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22UCrvgZ053136; Wed, 30 Mar 2022 07:53:57 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1nZXpl-0008So-1J; Wed, 30 Mar 2022 07:53:57 -0500 From: Ryan Eatmon To: Yogesh Siraswar , Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master/dunfell][PATCH v3 2/2] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2 Date: Wed, 30 Mar 2022 07:53:56 -0500 Message-ID: <20220330125356.32492-2-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220330125356.32492-1-reatmon@ti.com> References: <20220330125356.32492-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Mar 2022 12:54:00 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13765 From: Krunal Bhargav Signed-off-by: Krunal Bhargav Signed-off-by: Ryan Eatmon Reviewed-by: Denys Dmytriyenko --- 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"