From patchwork Wed Mar 5 16:15:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 58364 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 1E117C282E5 for ; Wed, 5 Mar 2025 16:15:45 +0000 (UTC) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) by mx.groups.io with SMTP id smtpd.web11.17198.1741191336544492517 for ; Wed, 05 Mar 2025 08:15:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SNIWJPtJ; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: a-christidis@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 525GFZ3P3996031 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 5 Mar 2025 10:15:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1741191335; bh=7UAKrHv9X8kxtiof7dpSy6AlMUQDODU/Q4szy4xSypY=; h=From:To:Subject:Date:In-Reply-To:References; b=SNIWJPtJ5kF7igw1bsPkuQq7xF6zJm2pwJITt/G4hyo/1JVHZxfz3rL0D3hhbp4X3 LY3UZKW3VUMYpNfZ/DdHP+XBubDzN4flmU3k7+86ZlxUeuuYhsg032E9HrG9lrRWFb E60H3CsfTNIof7MlnYFe0oQScHfd2Xl8BDYTWiqU= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 525GFZDi043428 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 5 Mar 2025 10:15:35 -0600 Received: from lewvowa02.ent.ti.com (10.180.75.80) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 5 Mar 2025 10:15:35 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) by lewvowa02.ent.ti.com (10.180.75.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2507.34; Wed, 5 Mar 2025 10:15:35 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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.2507.23 via Frontend Transport; Wed, 5 Mar 2025 10:15:35 -0600 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 525GFZPI059162 for ; Wed, 5 Mar 2025 10:15:35 -0600 From: To: Subject: [meta-ti][scarthgap/master][PATCH v2 1/3] recipes-graphics : port gc320 driver to work on kernel 6.12 Date: Wed, 5 Mar 2025 10:15:33 -0600 Message-ID: <20250305161535.351340-2-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250305161535.351340-1-a-christidis@ti.com> References: <20250305161535.351340-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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, 05 Mar 2025 16:15:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18348 From: Antonios Christidis Changes made on the gc320 kernel mode driver in order to work with kernel 6.12. There is no other change in functionality with this update, and the driver version remains the same. Signed-Off-By: Antonios Christidis --- .../recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb index 818ed683..a6dc3e25 100644 --- a/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb +++ b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb @@ -8,9 +8,9 @@ inherit module features_check REQUIRED_MACHINE_FEATURES = "gc320" # Need to branch out with ${PV} var -BRANCH = "ti-${PV}-k5.10" +BRANCH = "ti-${PV}-k6.12" -SRCREV = "e2a10f31e255a65ec30a6e10b890e77d7e9cb107" +SRCREV = "83afddf9dbf6a8458267b4dae21ee35bfb11f3d1" SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}" From patchwork Wed Mar 5 16:15:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 58365 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 0B863C19F32 for ; Wed, 5 Mar 2025 16:15:45 +0000 (UTC) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) by mx.groups.io with SMTP id smtpd.web11.17196.1741191336434022955 for ; Wed, 05 Mar 2025 08:15:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=U5Ib/zV8; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: a-christidis@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 525GFZPJ3363251 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 5 Mar 2025 10:15:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1741191335; bh=P35R6ChJTsT8TTTjzAPqpC5aB7B6SWyZ5G/ehcDbP8w=; h=From:To:Subject:Date:In-Reply-To:References; b=U5Ib/zV8g7V5YmZf/x/fkdwikCrB4vP7HlbVhuH81Q9oh3uoJp0SnnllE39Q6N3gj wHQUFXwszF9j9L7Yt5giP240CWtmvk3uX6TxdaNFbKFVpRIAqzxzrfzABXWPPmb6Ts moIppjGTog4qETC03s1a/e0WOXEbi3ZGRhmHQamE= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 525GFZJa016658 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 5 Mar 2025 10:15:35 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) 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.2507.23; Wed, 5 Mar 2025 10:15:35 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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.2507.23 via Frontend Transport; Wed, 5 Mar 2025 10:15:35 -0600 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 525GFZPJ059162 for ; Wed, 5 Mar 2025 10:15:35 -0600 From: To: Subject: [meta-ti][scarthgap/master][PATCH v2 2/3] recipes-graphics : port gc320 libs to work on kernel 6.12 Date: Wed, 5 Mar 2025 10:15:34 -0600 Message-ID: <20250305161535.351340-3-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250305161535.351340-1-a-christidis@ti.com> References: <20250305161535.351340-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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, 05 Mar 2025 16:15:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18346 From: Antonios Christidis The user mode libraries needed recompiling with the scarthgap revision of gcc to remove all the warning about 32bit API usage during the linking stage, New SRCREV and branch includes this changes. Versions of the libraries remain the same. Signed-Off-By: Antonios Christidis --- v2: ti-gc320-libs - No longer include within the ${PN} package /usr/include files and symb link to library file. This is done by not changing the FILES/PACKAGES variables, thus creating a -dev package including the above. .../recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb index 807f421c..97c82a6e 100644 --- a/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +++ b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb @@ -11,10 +11,10 @@ COMPATIBLE_MACHINE = "omap-a15" CLEANBROKEN = "1" -BRANCH = "ti-${PV}" +BRANCH = "ti-${PV}-scarthgap" SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-libs.git;protocol=https;branch=${BRANCH}" -SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5" +SRCREV = "85c175e8425c33dda6e272aeb45afe0f69a79096" RRECOMMENDS:${PN} = "ti-gc320-driver" @@ -41,6 +41,10 @@ EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir}" do_install() { oe_runmake install chown -R root:root ${D} + mkdir lib } -INSANE_SKIP:${PN} += "ldflags" +# FILES:${PN} = "${libdir}" +# FILES:${PN}-dev = "/usr/include" + +INSANE_SKIP:${PN} += "ldflags already-stripped dev-so" From patchwork Wed Mar 5 16:15:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 58363 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 12079C282DE for ; Wed, 5 Mar 2025 16:15:45 +0000 (UTC) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) by mx.groups.io with SMTP id smtpd.web11.17197.1741191336524821976 for ; Wed, 05 Mar 2025 08:15:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oPxjomoC; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: a-christidis@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 525GFZRT3363249 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 5 Mar 2025 10:15:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1741191335; bh=tdMlSuFisKxMSsVZn+XyKAp8N1wkdGFTNLl0DlvnuaM=; h=From:To:Subject:Date:In-Reply-To:References; b=oPxjomoCqXvlZPhYTbPqZhAWH87JYllfjpCe6vlGF/7S4YZ+mN/R18R9rSRH+4UC1 1VdM839mN1L/SwxHpVsnAGFOW1jy8+8ZY+dDbHpjNyDr4tKufhcoXAnePWedjUSzm7 jwGugNIa9hsoQM2X2s3xWwC63UhlsuSR89ik3i/k= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 525GFZCo043425 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 5 Mar 2025 10:15:35 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 5 Mar 2025 10:15:35 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 5 Mar 2025 10:15:35 -0600 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 525GFZPK059162 for ; Wed, 5 Mar 2025 10:15:35 -0600 From: To: Subject: [meta-ti][scarthgap/master][PATCH v2 3/3] conf: machine: am57xx-evm : Enable gc320 machine feature for am57xx Date: Wed, 5 Mar 2025 10:15:35 -0600 Message-ID: <20250305161535.351340-4-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250305161535.351340-1-a-christidis@ti.com> References: <20250305161535.351340-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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, 05 Mar 2025 16:15:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18347 From: Antonios Christidis MACHINE_FEATURE gc320 already gets set on omap-a15.inc. But ti-bsp.inc file, removes the feature. So, remove that portion of functionality from ti-bsp, in order to allow the building of gc320. Signed-Off-By: Antonios Christidis --- meta-ti-bsp/conf/machine/include/ti-bsp.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc index 32beacee..4f458d96 100644 --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc @@ -59,7 +59,7 @@ BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_12 = "24%" BSP_MESA_PVR_VERSION:bsp-ti-6_12 = "24%" # GC320 support requires out-of-tree drivers not yet available in 6.12 -MACHINE_FEATURES:remove:bsp-ti-6_12 = "gc320" +#MACHINE_FEATURES:remove:bsp-ti-6_12 = "gc320" # ========== # ti-6_6