diff mbox series

[v11,03/17] package/ti-k3-image-gen: disable HS-FS for AM65 SOC

Message ID 20240403195403.1359007-4-romain.naour@smile.fr
State Superseded
Headers show
Series Add support for AM62x-SK HS-FS devices | expand

Commit Message

Romain Naour April 3, 2024, 7:53 p.m. UTC
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>

It seems that some TI K3 SoC variant doesn't provide all SECTYPE.

For example: AM65 provide only GP or HS, there is no HS-FS.

This can be checked in meta-ti:

meta-ti-bsp/conf/machine/include/am65xx.inc:IMAGE_BOOT_FILES +=
"tiboot3-am65x_sr2-gp-evm.bin"
meta-ti-bsp/conf/machine/include/am65xx.inc:IMAGE_BOOT_FILES +=
"tiboot3-am65x_sr2-hs-evm.bin"

So BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS must not be selected if
BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X is used.

Note: The HS_FS and HS SECTYPE are currently broken in Buildroot
since the package ti-k3-core-secdev needed to sign binaries is
missing [1]. Since this tool is nowaday legacy and superseded by
uboot's binman tool, HS_FS and HS SECTYPE will be fixed by using
binman with the version bump to u-boot 2024.01.

[1] http://lists.busybox.net/pipermail/buildroot/2023-November/680216.html

Suggested-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
v11: moved at the begining of this patch series before any refactoring/rework.

Added in v7
---
 boot/ti-k3-image-gen/Config.in | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/boot/ti-k3-image-gen/Config.in b/boot/ti-k3-image-gen/Config.in
index d76cef82e9..eb0f589fa7 100644
--- a/boot/ti-k3-image-gen/Config.in
+++ b/boot/ti-k3-image-gen/Config.in
@@ -48,6 +48,7 @@  config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP
 
 config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS
 	bool "hs-fs"
+	depends on !BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X
 
 config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS
 	bool "hs"