From: Anshul Dalal <anshuld@ti.com>
To: <u-boot@lists.denx.de>
Cc: Anshul Dalal <anshuld@ti.com>, <vigneshr@ti.com>,
<trini@konsulko.com>, <afd@ti.com>, <m-chawdhry@ti.com>,
<n-francis@ti.com>, <b-liu@ti.com>
Subject: [PATCH v2 1/8] spl: Kconfig: allow K3 devices to use falcon mode
Date: Tue, 11 Mar 2025 15:27:50 +0530 [thread overview]
Message-ID: <20250311095758.3383047-2-anshuld@ti.com> (raw)
In-Reply-To: <20250311095758.3383047-1-anshuld@ti.com>
Falcon mode was disabled for TI_SECURE_DEVICE at commit e95b9b4437bc
("ti_armv7_common: Disable Falcon Mode on HS devices") for older 32-bit
HS devices and can be enabled on K3 devices.
For secure boot, the kernel with x509 headers can be packaged in a fit
container (fitImage) signed with TIFS keys for authentication.
We also set the default SPL_PAYLOAD_ARGS_ADDR which holds the DTB to
match ATF's K3_HW_CONFIG_BASE.
Signed-off-by: Anshul Dalal <anshuld@ti.com>
---
common/spl/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 21a5cefee7a..caa6c50c176 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1148,7 +1148,7 @@ config SPL_ONENAND_SUPPORT
config SPL_OS_BOOT
bool "Activate Falcon Mode"
- depends on !TI_SECURE_DEVICE
+ depends on !TI_SECURE_DEVICE || ARCH_K3
help
Enable booting directly to an OS from SPL.
for more info read doc/README.falcon
@@ -1156,6 +1156,7 @@ config SPL_OS_BOOT
config SPL_PAYLOAD_ARGS_ADDR
hex "Address in memory to load 'args' file for Falcon Mode to"
depends on SPL_OS_BOOT || SPL_LOAD_FIT_OPENSBI_OS_BOOT
+ default 0x82000000 if ARCH_K3
default 0x88000000 if ARCH_OMAP2PLUS
default 0x99000000 if ARCH_SC5XX && SC59X_64
default 0xA0000000 if ARCH_SC5XX && TARGET_SC594_SOM_EZKIT
--
2.43.0
next prev parent reply other threads:[~2025-03-11 9:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-11 9:57 [PATCH v2 0/8] Add falcon support for am62a, 62p and 62x Anshul Dalal
2025-03-11 9:57 ` Anshul Dalal [this message]
2025-03-11 9:57 ` [PATCH v2 2/8] mach-k3: fix reading size and addr from fdt on R5 Anshul Dalal
2025-03-11 9:57 ` [PATCH v2 3/8] arm: dts: am62a: allow booting from eMMC Anshul Dalal
2025-03-11 9:57 ` [PATCH v2 4/8] arch: arm: k3-binman: add fit for falcon boot Anshul Dalal
2025-03-11 9:57 ` [PATCH v2 5/8] mach-k3: add eMMC FS boot support for am62[ap] Anshul Dalal
2025-03-11 9:57 ` [PATCH v2 6/8] mach-k3: sysfw-loader: update img_hdr for falcon Anshul Dalal
2025-03-11 9:57 ` [PATCH v2 7/8] config: add falcon boot config fragment for am62x Anshul Dalal
2025-03-11 9:57 ` [PATCH v2 8/8] mach-k3: common: add falcon support for 62[axp] Anshul Dalal
2025-04-03 22:08 ` [PATCH v2 0/8] Add falcon support for am62a, 62p and 62x Anshul Dalal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250311095758.3383047-2-anshuld@ti.com \
--to=anshuld@ti.com \
--cc=afd@ti.com \
--cc=b-liu@ti.com \
--cc=m-chawdhry@ti.com \
--cc=n-francis@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox