From patchwork Thu Feb 6 14:40:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chirag Shilwant X-Patchwork-Id: 56774 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 BCBDCC02199 for ; Thu, 6 Feb 2025 14:40: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.web10.42562.1738852838868579724 for ; Thu, 06 Feb 2025 06:40:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PDMAyR6h; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: c-shilwant@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 516EeaaO3567997 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 6 Feb 2025 08:40:36 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738852836; bh=99nDSUBC6c7rcOw7uin3TBXielRzj4QB0bxXCOyLRFc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PDMAyR6hz+apu6PdwqtFrcpSaKD4EeqVondTCraNFDcD4p/8qs3AfSqC/PFyCeAAu V/B83nv047ieFYTLBoSFvjUYz9k992jcUNaTcMehQSbxI1kye5eJ5+6Hr0XF7qXSLV qZ1iAPKJF5KVs3U70d6d4vIWzOOqW+PhpOLyFtlk= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 516Eea7S041335; Thu, 6 Feb 2025 08:40:36 -0600 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 6 Feb 2025 08:40:35 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE114.ent.ti.com (157.170.170.25) 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; Thu, 6 Feb 2025 08:40:36 -0600 Received: from localhost (chirag-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.238]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 516EeZIl081731; Thu, 6 Feb 2025 08:40:35 -0600 From: Chirag Shilwant To: CC: Denys , Ryan Eatmon Subject: [meta-ti][master][PATCH v3 1/5] recipes-security: optee: Update to v4.5.0+ Date: Thu, 6 Feb 2025 20:10:17 +0530 Message-ID: <20250206144021.3007831-2-c-shilwant@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250206144021.3007831-1-c-shilwant@ti.com> References: <20250206144021.3007831-1-c-shilwant@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 ; Thu, 06 Feb 2025 14:40:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18281 Bump up SRCREV of optee-os to ef1ebdc23034a804a72da2207f1a825ce96a1464 Signed-off-by: Chirag Shilwant --- meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc index 0fab9c9a..89f7f818 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc @@ -1,5 +1,5 @@ -PV = "4.4.0+git" -SRCREV = "8f645256efc0dc66bd5c118778b0b50c44469ae1" +PV = "4.5.0+git" +SRCREV = "ef1ebdc23034a804a72da2207f1a825ce96a1464" SRC_URI:remove = " \ file://0001-checkconf.mk-do-not-use-full-path-to-generate-guard-.patch \ From patchwork Thu Feb 6 14:40:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chirag Shilwant X-Patchwork-Id: 56775 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 BF133C02194 for ; Thu, 6 Feb 2025 14:40: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.web10.42564.1738852844452611008 for ; Thu, 06 Feb 2025 06:40:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=r5mjBucV; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: c-shilwant@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 516EehFp3568005 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Feb 2025 08:40:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738852843; bh=xq+od4fOTn17lkYhgz3T6x+Mg88rvab+Rny3CCfObCA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=r5mjBucVQevaNa49qkCNXCb+1FEWbZFh9FK/8tATwKJuRy2sFOoKEJXQTxR7Q5GqS MoDTVbWC+lSvVllmf3MVB4Ja37lbkMCsPVDl1NEG/bb8SkH9yFw1rG3C4ao0MGEL7R CtFPv5zsXW7/1q2GPTC7dyY+Vx52K6B6qRy/ctxE= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 516Eehs3013667 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Feb 2025 08:40:43 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 6 Feb 2025 08:40:42 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE103.ent.ti.com (10.64.6.24) 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; Thu, 6 Feb 2025 08:40:43 -0600 Received: from localhost (chirag-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.238]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 516Eeg01070725; Thu, 6 Feb 2025 08:40:42 -0600 From: Chirag Shilwant To: CC: Denys , Ryan Eatmon Subject: [meta-ti][master][PATCH v3 2/5] trusted-firmware-a: Update to v2.12 release tag Date: Thu, 6 Feb 2025 20:10:18 +0530 Message-ID: <20250206144021.3007831-3-c-shilwant@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250206144021.3007831-1-c-shilwant@ti.com> References: <20250206144021.3007831-1-c-shilwant@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 ; Thu, 06 Feb 2025 14:40:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18282 Bump up to latest release tag (i.e. v2.12) Commit: https://github.com/ARM-software/arm-trusted-firmware/commit/4ec2948fe3f65dba2f19e691e702f7de2949179c Tag: https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12 Signed-off-by: Chirag Shilwant --- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc index ebb13bbd..df3cea23 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc @@ -1,5 +1,5 @@ -PV:k3 = "2.11+git" -SRCREV_tfa:k3 = "58b25570c9ef91753b14c2103f45f4be9dddb696" +PV:k3 = "2.12+git" +SRCREV_tfa:k3 = "4ec2948fe3f65dba2f19e691e702f7de2949179c" LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=83b7626b8c7a37263c6a58af8d19bee1" SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master" COMPATIBLE_MACHINE:k3 = "k3" From patchwork Thu Feb 6 14:40:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chirag Shilwant X-Patchwork-Id: 56778 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 A05BEC02196 for ; Thu, 6 Feb 2025 14:40:55 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web10.42566.1738852848347131235 for ; Thu, 06 Feb 2025 06:40:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FDF+jaxl; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: c-shilwant@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 516Eekgd2745997 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Feb 2025 08:40:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738852846; bh=kYxW4erkBs5IjVMTc/T1DL/cBMGnQIO6tH6lk2Z6XWw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FDF+jaxltVVgOKOeyfuKs7QyRm1hX91KeSx794JEZb3Tz6/0DX9CLrT1e7WikvKSG NLocsZGxP6gK4ZoggzQse88dT8EYDJXLIHKrXu5upZegSMJxY/a/8Plq6wZ8zwbAJn tDmUWbm0Hwk5ypcocOJ+AtNqfhZjqlG8JCBsxh5g= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 516Eeke6013014 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Feb 2025 08:40:46 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 6 Feb 2025 08:40:46 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE108.ent.ti.com (10.64.6.29) 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; Thu, 6 Feb 2025 08:40:46 -0600 Received: from localhost (chirag-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.238]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 516EejDL070747; Thu, 6 Feb 2025 08:40:45 -0600 From: Chirag Shilwant To: CC: Denys , Ryan Eatmon Subject: [meta-ti][master][PATCH v3 3/5] trusted-firmware-a: Switch TFA to TI fork Date: Thu, 6 Feb 2025 20:10:19 +0530 Message-ID: <20250206144021.3007831-4-c-shilwant@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250206144021.3007831-1-c-shilwant@ti.com> References: <20250206144021.3007831-1-c-shilwant@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 ; Thu, 06 Feb 2025 14:40:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18283 - While TFA patches for K3-based AM62L platform are under review upstream, temporarily switch to TI's GitHub fork for all K3 platforms to prevent disruptions and ensure timely bringup - Also update the LIC_FILES_CHKSUM since the license file changed between upstream TFA v2.12 [1] & the SRCREV in this commit [2][3] [1]: https://github.com/ARM-software/arm-trusted-firmware/blob/v2.12/docs/license.rst [2]: https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/license.rst [3]: https://github.com/TexasInstruments/arm-trusted-firmware/blob/ti-master/docs/license.rst License-Update: Updates w.r.t TFA Hob creation code Signed-off-by: Chirag Shilwant --- .../trusted-firmware-a/trusted-firmware-a-ti.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc index df3cea23..c628eb15 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc @@ -1,7 +1,7 @@ PV:k3 = "2.12+git" -SRCREV_tfa:k3 = "4ec2948fe3f65dba2f19e691e702f7de2949179c" -LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=83b7626b8c7a37263c6a58af8d19bee1" -SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master" +SRCREV_tfa:k3 = "5227171c079d0c7d22a6d37b5cec079c8c5bb4b1" +LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130" +SRC_URI:k3 = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https;name=tfa;branch=ti-master" COMPATIBLE_MACHINE:k3 = "k3" TFA_BUILD_TARGET:k3 = "all" TFA_INSTALL_TARGET:k3 = "bl31" From patchwork Thu Feb 6 14:40:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chirag Shilwant X-Patchwork-Id: 56777 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 A0591C02194 for ; Thu, 6 Feb 2025 14:40:55 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web10.42567.1738852850882163077 for ; Thu, 06 Feb 2025 06:40:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Cm3Y4aA4; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: c-shilwant@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 516Eense2746007 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 6 Feb 2025 08:40:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738852849; bh=Kk/JeSvaPkhR+1QsB8AjwNTKbLz/ZC85k9RM0hLMV+w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Cm3Y4aA4KX37LhvMt/nfxBnU6DMR6pqVOQV+31w/CnWf4+/nVe9bo5BqhyfIH3Bi/ 9A/UxBceB9si/YziYkOKM+QRUWYpnyULBcwi/m3bimfKwDZQnBrF08PGZ+rgDtSBc/ baNMUKszS8nTuPs1Tp2pMGnXjox+wuscz7WdzggU= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 516Een6N041433; Thu, 6 Feb 2025 08:40:49 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 6 Feb 2025 08:40:49 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE113.ent.ti.com (10.64.6.34) 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; Thu, 6 Feb 2025 08:40:49 -0600 Received: from localhost (chirag-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.238]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 516Eemtc070789; Thu, 6 Feb 2025 08:40:48 -0600 From: Chirag Shilwant To: CC: Denys , Ryan Eatmon Subject: [meta-ti][master][PATCH v3 4/5] meta-ti-bsp: Add Support for AM62L Date: Thu, 6 Feb 2025 20:10:20 +0530 Message-ID: <20250206144021.3007831-5-c-shilwant@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250206144021.3007831-1-c-shilwant@ti.com> References: <20250206144021.3007831-1-c-shilwant@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 ; Thu, 06 Feb 2025 14:40:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18284 - Add machine configuration for am62lxx-evm - Add TFA, OPTEE, firmware & u-boot overrides Signed-off-by: Chirag Shilwant --- meta-ti-bsp/conf/machine/am62lxx-evm.conf | 13 ++++++++++++ meta-ti-bsp/conf/machine/include/am62lxx.inc | 12 +++++++++++ meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 2 ++ .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 6 ++++++ .../trusted-firmware-a-ti.inc | 3 +++ meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 21 +++++++++++++++++++ .../optee/optee-os-ti-overrides.inc | 1 + 7 files changed, 58 insertions(+) create mode 100644 meta-ti-bsp/conf/machine/am62lxx-evm.conf create mode 100644 meta-ti-bsp/conf/machine/include/am62lxx.inc diff --git a/meta-ti-bsp/conf/machine/am62lxx-evm.conf b/meta-ti-bsp/conf/machine/am62lxx-evm.conf new file mode 100644 index 00000000..ff373238 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am62lxx-evm.conf @@ -0,0 +1,13 @@ +#@TYPE: Machine +#@NAME: AM62L EVM +#@DESCRIPTION: Machine configuration for the TI AM62L EVM + +require conf/machine/include/am62lxx.inc + +KERNEL_DEVICETREE_PREFIX = " \ + ti/k3-am62l \ +" + +KERNEL_DEVICETREE = "" + +UBOOT_MACHINE = "am62lx_evm_defconfig" diff --git a/meta-ti-bsp/conf/machine/include/am62lxx.inc b/meta-ti-bsp/conf/machine/include/am62lxx.inc new file mode 100644 index 00000000..d3bc81df --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/am62lxx.inc @@ -0,0 +1,12 @@ +require conf/machine/include/k3.inc +SOC_FAMILY:append = ":am62lxx" + +MACHINE_FEATURES += "screen" + +# Default tiboot3.bin on AM62L is for HS-FS +IMAGE_BOOT_FILES += "tiboot3-am62lx-hs-fs-evm.bin" + +TFA_BOARD = "am62l" +TFA_K3_SYSTEM_SUSPEND = "1" + +OPTEEMACHINE = "k3-am62lx" diff --git a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb index 0b6792b6..638138f4 100644 --- a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb +++ b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb @@ -31,6 +31,7 @@ PLAT_SFX:am65xx = "am65xx" PLAT_SFX:am64xx = "am64xx" PLAT_SFX:am62xx = "am62xx" PLAT_SFX:am62axx = "am62axx" +PLAT_SFX:am62lxx = "am62lxx" PLAT_SFX:am62pxx = "am62pxx" DM_FW_DIR = "ti-dm/${PLAT_SFX}" @@ -50,6 +51,7 @@ DM_FW_LIST:am65xx = "" DM_FW_LIST:am64xx = "" DM_FW_LIST:am62xx = "${DM_FIRMWARE}" DM_FW_LIST:am62axx = "${DM_FIRMWARE}" +DM_FW_LIST:am62lxx = "" DM_FW_LIST:am62pxx = "${DM_FIRMWARE}" do_install() { diff --git a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb index 12292c88..0d724862 100644 --- a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb @@ -26,4 +26,10 @@ do_deploy:k3r5() { install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${DEPLOYDIR}/ti-sysfw } +do_deploy:am62lxx(){ + install -d ${DEPLOYDIR}/ti-sysfw + install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw + install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw +} + addtask deploy before do_build after do_compile diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc index c628eb15..9971e960 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc @@ -7,5 +7,8 @@ TFA_BUILD_TARGET:k3 = "all" TFA_INSTALL_TARGET:k3 = "bl31" TFA_SPD:k3 = "opteed" +# For am62lxx, install bl1 & bl31 using TFA_INSTALL_TARGET +TFA_INSTALL_TARGET:am62lxx = "bl31 bl1" + EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" EXTRA_OEMAKE:append:k3 = "${@ ' K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 0e7e2c6e..41d4abdd 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc @@ -53,8 +53,10 @@ PLAT_SFX:am65xx = "am65xx" PLAT_SFX:am64xx = "am64xx" PLAT_SFX:am62xx = "am62xx" PLAT_SFX:am62axx = "am62axx" +PLAT_SFX:am62lxx = "am62lxx" PLAT_SFX:am62pxx = "am62pxx" +PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a" PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a" PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os" PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw" @@ -68,6 +70,7 @@ PACKAGECONFIG:append:j722s = " dm" PACKAGECONFIG:append:j742s2 = " dm" PACKAGECONFIG:append:am62xx = " dm" PACKAGECONFIG:append:am62axx = " dm" +PACKAGECONFIG:append:am62lxx = " ap-trusted-rom" PACKAGECONFIG:append:am62pxx = " dm" COMPATIBLE_MACHINE = "(ti-soc)" @@ -226,6 +229,16 @@ uboot_deploy_config:append:k3r5 () { done } +uboot_deploy_config:append:am62lxx () { + for f in ${B}/${config}/tiboot3-*.bin; do + if [ -f "$f" ]; then + f_base=$(basename $f) + install -m 644 $f ${DEPLOYDIR}/${f_base}-${type} + ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base} + fi + done +} + uboot_deploy:append:k3r5 () { for f in ${B}/tiboot3-*.bin; do if [ -f "$f" ]; then @@ -240,6 +253,14 @@ uboot_deploy:append:k3r5 () { done } +uboot_deploy:append:am62lxx () { + for f in ${B}/tiboot3*.bin; do + if [ -f "$f" ]; then + install -m 644 $f ${DEPLOYDIR}/ + fi + done +} + uboot_deploy_config:append () { cd ${DEPLOYDIR} if [ "x${SPL_UART_BINARY}" != "x" ]; then diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc index f131f1ff..5756f3ff 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc @@ -6,6 +6,7 @@ EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y" EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}" EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1" +EXTRA_OEMAKE:append:am62lxx = " CFG_TEE_CORE_LOG_LEVEL=1" EXTRA_OEMAKE:append:am62pxx = " CFG_TEE_CORE_LOG_LEVEL=1" EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1" EXTRA_OEMAKE:append:j722s = " CFG_TEE_CORE_LOG_LEVEL=1" From patchwork Thu Feb 6 14:40:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chirag Shilwant X-Patchwork-Id: 56776 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 A5806C0219C for ; Thu, 6 Feb 2025 14:40:55 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web10.42571.1738852853668312157 for ; Thu, 06 Feb 2025 06:40:53 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@ti.com header.s=ti-com-17Q1 header.b=kkAqQS6/; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: c-shilwant@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 516Eeq3w2746011 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Feb 2025 08:40:52 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738852852; bh=bMpsFK3OjF/kUFeCzkmsLA9lvDYmfZrorZ8hw/dPOLw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kkAqQS6/hTTzEW8XRRuO8VEslv/bo+QhY5DjdO28DTzLhy5QE4e3O8x00ODM0jsoU uU+SrziWHExvebrFuBt159JOBrOPXdHXRJxgBEwRgTO3j6Iun2dfpW5cvfrj1cmnaH zpQYVm65nblTNUPz8lpvfPZyNrm569mw4cerxeR8= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 516Eeqoj013710 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Feb 2025 08:40:52 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) 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; Thu, 6 Feb 2025 08:40:51 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE102.ent.ti.com (157.170.170.32) 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; Thu, 6 Feb 2025 08:40:51 -0600 Received: from localhost (chirag-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.238]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 516EepOW070836; Thu, 6 Feb 2025 08:40:51 -0600 From: Chirag Shilwant To: CC: Denys , Ryan Eatmon Subject: [meta-ti][master][PATCH v3 5/5] conf: machine: am62lxx-evm: Add logic to generate UBI filesystem images Date: Thu, 6 Feb 2025 20:10:21 +0530 Message-ID: <20250206144021.3007831-6-c-shilwant@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250206144021.3007831-1-c-shilwant@ti.com> References: <20250206144021.3007831-1-c-shilwant@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-MIME-Autoconverted: from 8bit to quoted-printable by fllvem-ot04.ext.ti.com id 516Eeq3w2746011 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 ; Thu, 06 Feb 2025 14:40:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18285 Add logic to generate UBI filesystem images which can be used to directly flash into the NAND’s file-system partition. Signed-off-by: Chirag Shilwant --- meta-ti-bsp/conf/machine/am62lxx-evm.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-ti-bsp/conf/machine/am62lxx-evm.conf b/meta-ti-bsp/conf/machine/am62lxx-evm.conf index ff373238..fc348c9b 100644 --- a/meta-ti-bsp/conf/machine/am62lxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62lxx-evm.conf @@ -4,6 +4,12 @@ require conf/machine/include/am62lxx.inc +IMAGE_FSTYPES += "ubifs ubi" + +MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8000" + +UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024" + KERNEL_DEVICETREE_PREFIX = " \ ti/k3-am62l \ "