From patchwork Fri Apr 25 15:26:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshul Dalal X-Patchwork-Id: 61902 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 8363FC369C2 for ; Fri, 25 Apr 2025 15:26:40 +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.web10.9210.1745594797727229709 for ; Fri, 25 Apr 2025 08:26:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=R9GKRawp; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: anshuld@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 53PFQX6x2974339 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Apr 2025 10:26:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1745594793; bh=Q4/9eDD/ZNLgx4Lr9Q8pu+bEosZOjIYaep8EBbre9MQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=R9GKRawpafo+IxB41B9KC6d15wl1xt8AXEHqTuZnuk9WoGN2GVpvGQuR6Tvxwehpt Hx02Q/Lks3clpzE7d7QRFbMTNbnRlPCU59xhb9HQRf1+eeQLr6uQuHLdrcu3rrmF29 vie/bgCqRpySsjQQUxb9q2+OVTyAL+fWkCyerKDw= 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 53PFQXFN017955 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 25 Apr 2025 10:26:33 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) 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; Fri, 25 Apr 2025 10:26:33 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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; Fri, 25 Apr 2025 10:26:33 -0500 Received: from localhost (dhcp-172-24-227-250.dhcp.ti.com [172.24.227.250]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 53PFQW8p105707; Fri, 25 Apr 2025 10:26:33 -0500 From: Anshul Dalal To: CC: Anshul Dalal , , , Subject: [PATCH v3 1/4] am62: apply u-boot config fragment on ti-falcon Date: Fri, 25 Apr 2025 20:56:07 +0530 Message-ID: <20250425152613.2470204-2-anshuld@ti.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250425152613.2470204-1-anshuld@ti.com> References: <20250425152613.2470204-1-anshuld@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 ; Fri, 25 Apr 2025 15:26:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18508 The am62x_r5_falcon.config fragment in u-boot enables falcon boot support for R5 SPL, this patch enables the config fragment for am62a, 62p, 62x and 62lp evms based on ti-falcon distro override. Signed-off-by: Anshul Dalal --- meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf | 2 ++ meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf | 2 ++ meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 2 ++ meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 2 ++ 4 files changed, 8 insertions(+) diff --git a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf index 2af3317e..ab14feef 100644 --- a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf @@ -9,3 +9,5 @@ SYSFW_CONFIG = "evm" SYSFW_SUFFIX = "hs-fs" UBOOT_MACHINE = "am62ax_evm_r5_defconfig" + +UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf index 36915381..849d6625 100644 --- a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf @@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm" SYSFW_SUFFIX = "hs-fs" UBOOT_MACHINE = "am62px_evm_r5_defconfig" + +UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf index 548369ca..a624a35d 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf @@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm" SYSFW_SUFFIX = "hs-fs" UBOOT_MACHINE = "am62x_evm_r5_defconfig" + +UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf index 52b69a72..851935db 100644 --- a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf @@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm" SYSFW_SUFFIX = "hs-fs" UBOOT_MACHINE = "am62x_lpsk_r5_defconfig" + +UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" From patchwork Fri Apr 25 15:26:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshul Dalal X-Patchwork-Id: 61903 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 83677C369D3 for ; Fri, 25 Apr 2025 15:26:40 +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.web11.9181.1745594797229588960 for ; Fri, 25 Apr 2025 08:26:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pypRW7OY; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: anshuld@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 53PFQZcZ2822640 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Apr 2025 10:26:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1745594795; bh=xB0tJsxD9odBpYvuwnia/zzciCsKRoEfuOS/xPKYN0I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pypRW7OYbhz0ZYXdGWjSN0r2FMojPR66YFA4jzE1jOw10Niacnj9huPwtn5hDGQR0 eiopkr//Rxsjg3ZuuwFJBfKCaGVk+uEg/TEsTZ2vHa9XpZoyw/DKWCKlT/N7IZHoq+ DGwYKsEqNRZwXv24FxzCC6JOaENK8xEBkOb27KdE= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 53PFQZbg042909 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 25 Apr 2025 10:26:35 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) 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; Fri, 25 Apr 2025 10:26:34 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE115.ent.ti.com (10.64.6.36) 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; Fri, 25 Apr 2025 10:26:34 -0500 Received: from localhost (dhcp-172-24-227-250.dhcp.ti.com [172.24.227.250]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 53PFQXXB094890; Fri, 25 Apr 2025 10:26:34 -0500 From: Anshul Dalal To: CC: Anshul Dalal , , , Subject: [PATCH v3 2/4] bsp: conf: machine: add ti-falcon.inc Date: Fri, 25 Apr 2025 20:56:08 +0530 Message-ID: <20250425152613.2470204-3-anshuld@ti.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250425152613.2470204-1-anshuld@ti.com> References: <20250425152613.2470204-1-anshuld@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 ; Fri, 25 Apr 2025 15:26:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18506 ti-falcon.inc configures the following things for enabling falcon boot: 1. Change fitImage class to kernel-fitimage-legacyhs 2. Update kernel and dtb address for falcon boot 3. Disable kernel compression Signed-off-by: Anshul Dalal --- meta-ti-bsp/conf/machine/include/k3.inc | 5 +++++ meta-ti-bsp/conf/machine/include/ti-falcon.inc | 5 +++++ meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 12 ++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 meta-ti-bsp/conf/machine/include/ti-falcon.inc diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index ea6a5028..2f8b17ca 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc @@ -56,3 +56,8 @@ TI_WKS_BOOTLOADER_APPEND ?= "" do_image_wic[depends] += "virtual/bootloader:do_deploy" SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" + +FALCON_INCLUDE = "" +FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc" + +require ${FALCON_INCLUDE} diff --git a/meta-ti-bsp/conf/machine/include/ti-falcon.inc b/meta-ti-bsp/conf/machine/include/ti-falcon.inc new file mode 100644 index 00000000..55a4daa6 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/ti-falcon.inc @@ -0,0 +1,5 @@ +KERNEL_CLASSES:remove = "kernel-fitimage" +KERNEL_CLASSES += "kernel-fitimage-legacyhs" +UBOOT_DTB_LOADADDRESS = "0x88000000" +UBOOT_LOADADDRESS = "0x82000000" +FIT_KERNEL_COMP_ALG = "none" 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 41d4abdd..baa05e78 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 @@ -373,4 +373,16 @@ do_deploy:append:am62pxx() { install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} } +do_install:append:ti-falcon() { + install -m 0644 ${B}/tispl_falcon.bin ${D}/boot +} + +FALCON_PKG = "" +FALCON_PKG:ti-falcon = "${PN}-falcon " + +PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} " +PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} " +PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} " +PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} " + TOOLCHAIN = "gcc" From patchwork Fri Apr 25 15:26:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshul Dalal X-Patchwork-Id: 61904 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 90800C369D8 for ; Fri, 25 Apr 2025 15:26:40 +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.9211.1745594798342199287 for ; Fri, 25 Apr 2025 08:26:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=d1MVvmN3; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: anshuld@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 53PFQarR2822648 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Apr 2025 10:26:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1745594796; bh=EwutzM5axP76KQXe2zn/d/EUdLcbunpiEzKKCcpGO5w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=d1MVvmN3S92ymusByT2hJaxn0riNmw9RSoafucm0+LDCj/ZXMuz3QPRBEga/H/f0E N97jXhPu83nKg63f9BvirU8ga5zC2T7rxBfJt3wSdNE8ME+ZtjeYUZLuPLHNMJKDLH FpG/gmwkAfq5Yq26Yg9tuqM5mQY6HTzziS4r6OXQ= 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 53PFQaqE017976 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 25 Apr 2025 10:26:36 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) 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; Fri, 25 Apr 2025 10:26:36 -0500 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; Fri, 25 Apr 2025 10:26:36 -0500 Received: from localhost (dhcp-172-24-227-250.dhcp.ti.com [172.24.227.250]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 53PFQZQE094905; Fri, 25 Apr 2025 10:26:35 -0500 From: Anshul Dalal To: CC: Anshul Dalal , , , Subject: [PATCH v3 3/4] bsp: u-boot: deploy tispl_falcon.bin to rootfs Date: Fri, 25 Apr 2025 20:56:09 +0530 Message-ID: <20250425152613.2470204-4-anshuld@ti.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250425152613.2470204-1-anshuld@ti.com> References: <20250425152613.2470204-1-anshuld@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 ; Fri, 25 Apr 2025 15:26:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18509 Falcon boot requires tispl_falcon.bin to be on the same filesystem partition as the fitImage. This patch creates a new u-boot package called 'u-boot-ti-staging-falcon' that is included in IMAGE_INSTALL when ti-falcon is enabled which allows us to deploy the required files to rootfs. Signed-off-by: Anshul Dalal --- meta-ti-bsp/conf/machine/include/ti-falcon.inc | 1 + meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/meta-ti-bsp/conf/machine/include/ti-falcon.inc b/meta-ti-bsp/conf/machine/include/ti-falcon.inc index 55a4daa6..0b938470 100644 --- a/meta-ti-bsp/conf/machine/include/ti-falcon.inc +++ b/meta-ti-bsp/conf/machine/include/ti-falcon.inc @@ -1,3 +1,4 @@ +IMAGE_INSTALL:append = " u-boot-ti-staging-falcon" KERNEL_CLASSES:remove = "kernel-fitimage" KERNEL_CLASSES += "kernel-fitimage-legacyhs" UBOOT_DTB_LOADADDRESS = "0x88000000" 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 baa05e78..1d754560 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 @@ -14,6 +14,8 @@ require u-boot-mergeconfig.inc FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" +FILES:${PN}-falcon = "boot/tispl_falcon.bin" + SUMMARY = "u-boot bootloader for TI devices" LICENSE = "GPL-2.0-or-later" From patchwork Fri Apr 25 15:26:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshul Dalal X-Patchwork-Id: 61905 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 9D8DFC369D7 for ; Fri, 25 Apr 2025 15:26:40 +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.web11.9185.1745594799274497769 for ; Fri, 25 Apr 2025 08:26:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=A6jt8PEZ; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: anshuld@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 53PFQbVl2822652 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Apr 2025 10:26:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1745594797; bh=aZRD+Mn94jZjA23AtNuHAU1ulmy87ozGYoueLF/iBys=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=A6jt8PEZbwr9rOKjKbtdbI9YeTcJHcYTmvP1WU6A58BH+sbg7g5jX9IDfTXPP5Xg4 LG1E9S+eS1xWLnvU++DOiD79gQEfnkx1Qs+pjREZEZuqvS4+bfrR0T06K8zr31v0Yj N8kIbpXv4Jvky2oOgzWoMUeBSkVmxhF8y99c520k= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 53PFQbGm017986 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 25 Apr 2025 10:26:37 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) 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; Fri, 25 Apr 2025 10:26:37 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE104.ent.ti.com (157.170.170.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; Fri, 25 Apr 2025 10:26:37 -0500 Received: from localhost (dhcp-172-24-227-250.dhcp.ti.com [172.24.227.250]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 53PFQaZt105755; Fri, 25 Apr 2025 10:26:37 -0500 From: Anshul Dalal To: CC: Anshul Dalal , , , Subject: [PATCH v3 4/4] bsp: tfa: add build flags for ti-falcon Date: Fri, 25 Apr 2025 20:56:10 +0530 Message-ID: <20250425152613.2470204-5-anshuld@ti.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250425152613.2470204-1-anshuld@ti.com> References: <20250425152613.2470204-1-anshuld@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 ; Fri, 25 Apr 2025 15:26:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18510 In falcon mode, ATF jumps straight to the linux kernel which requires a 2MiB aligned load address. Hence this patch changes the ATF jump address (PRELOADED_BL33_BASE) to a 2MiB aligned value 0x82000000 and the DTB address (K3_HW_CONFIG_BASE) to 0x88000000. These values are chosen to be consistent with the addresses used by u-boot when booting in the normal flow. Signed-off-by: Anshul Dalal --- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | 1 + 1 file changed, 1 insertion(+) 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 9541d605..9387d7f4 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 @@ -19,3 +19,4 @@ TFA_SPD:am62lxx = "" EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" +EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"