[Buildroot] [PATCH v11 17/17] package/ti-k3: switch AM62x/AM62Ax/AM64x to HS-FS by default

Romain Naour romain.naour at smile.fr
Wed Apr 3 19:53:51 UTC 2024


>From Andreas Dannenberg (TI K3 architect) [1]:

  "HS-FS should be the default for all TI AM6x devices. This is our
  "production silicon" and what's used for (almost) all projects,
  especially new projects. This being said having support for GP device
  variants still is desirable for existing boards/projects, such as the
  current BeaglePlay boards (amongst earlier version of TI starter kit
  EVMs for AM6x)."

See further details on e2e Forum [2]:

  "Unfortunately with this transition any existing GP device based AM62x
  (and AM64x) boards will no longer boot with MMC/SD card images generated"

For such existing GP device based AM62x (and AM64x) boards we have
to switch back to BR2_PACKAGE_TI_K3_SECTYPE_GP.

[1] https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1210443/faq-am625-generating-sitara-am62x-am62ax-am64x-gp-device-bootable-mmc-sd-card-images-using-sdk-v8-6-and-yocto
[2] http://lists.busybox.net/pipermail/buildroot/2024-February/685821.html

Signed-off-by: Romain Naour <romain.naour at smile.fr>
---
 configs/ti_am62x_sk_defconfig | 1 +
 configs/ti_am64x_sk_defconfig | 1 +
 package/ti-k3/Config.in       | 4 ++++
 3 files changed, 6 insertions(+)

diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig
index a31a712f32..b062947527 100644
--- a/configs/ti_am62x_sk_defconfig
+++ b/configs/ti_am62x_sk_defconfig
@@ -16,6 +16,7 @@ BR2_PACKAGE_LINUX_FIRMWARE=y
 BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y
 BR2_PACKAGE_TI_K3=y
 BR2_PACKAGE_TI_K3_SOC_AM62X=y
+BR2_PACKAGE_TI_K3_SECTYPE_GP=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig
index 0f13de302e..1024f3f7d7 100644
--- a/configs/ti_am64x_sk_defconfig
+++ b/configs/ti_am64x_sk_defconfig
@@ -16,6 +16,7 @@ BR2_PACKAGE_LINUX_FIRMWARE=y
 BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y
 BR2_PACKAGE_TI_K3=y
 BR2_PACKAGE_TI_K3_SOC_AM64X=y
+BR2_PACKAGE_TI_K3_SECTYPE_GP=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
diff --git a/package/ti-k3/Config.in b/package/ti-k3/Config.in
index 1c48f1cb55..44f773eb8d 100644
--- a/package/ti-k3/Config.in
+++ b/package/ti-k3/Config.in
@@ -25,6 +25,10 @@ endchoice
 
 choice
 	prompt "Security type"
+	default BR2_PACKAGE_TI_K3_SECTYPE_HS_FS if BR2_PACKAGE_TI_K3_SOC_AM62AX
+	default BR2_PACKAGE_TI_K3_SECTYPE_HS_FS if BR2_PACKAGE_TI_K3_SOC_AM62X
+	default BR2_PACKAGE_TI_K3_SECTYPE_HS_FS if BR2_PACKAGE_TI_K3_SOC_AM64X
+	default BR2_PACKAGE_TI_K3_SECTYPE_GP
 	help
 	  The target SoC security type option.
 
-- 
2.44.0




More information about the buildroot mailing list