kumquat-buildroot/boot/ti-k3-image-gen/Config.in
Xuanhao Shi 6134872d28 boot/ti-k3-image-gen: new package
This is the image generator that builds the initial boot binary,
tiboot3.bin, for the R5 core on TI's K3 family of devices.

This requires the R5 SPL output from the ti-k3-r5-loader package as
well as some boot firmware from ti-k3-boot-firmware.

Signed-off-by: Xuanhao Shi <x-shi@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Acked-by: Andrew Davis <afd@ti.com>
Tested-by: Bryan Brattlof <bb@ti.com>
Cc: Romain Naour <romain.naour@gmail.com>
Reviewed-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-22 12:01:08 +02:00

78 lines
2.3 KiB
Plaintext

config BR2_TARGET_TI_K3_IMAGE_GEN
bool "ti-k3-image-gen"
depends on BR2_TARGET_TI_K3_R5_LOADER
select BR2_TARGET_TI_K3_BOOT_FIRMWARE
# We need FIT support in uboot-tools, which is why we select a
# host package
select BR2_PACKAGE_HOST_UBOOT_TOOLS
select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT
help
Use TI's k3-image-gen to build a separate bare metal boot
binary from a separate SPL that is running on the R5 core.
https://git.ti.com/cgit/k3-image-gen/k3-image-gen/
if BR2_TARGET_TI_K3_IMAGE_GEN
choice
prompt "SoC family"
config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX
bool "am62ax"
config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X
bool "am62x"
config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X
bool "am64x"
config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X
bool "am65x"
endchoice
choice
prompt "Security type"
help
The target SoC security type option for image gen. Valid
options are "gp" for General Purpose devices, "hs-fs" for
High Security - Field Securable devices, or "hs" for High
Security - Security Enforcing devices. Note for all High
Security device variants the TI_SECURE_DEV_PKG environmental
variable must be defined at build time pointing to a valid
core-secdev-k3 folder location, otherwise the build will
fail, see
https://git.ti.com/cgit/security-development-tools/core-secdev-k3
config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP
bool "gp"
config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS
bool "hs-fs"
config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS
bool "hs"
endchoice
config BR2_TARGET_TI_K3_IMAGE_GEN_SOC
string
default "am62ax" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX
default "am62x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X
default "am64x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X
default "am65x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X
config BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE
string
default "ti-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX
default "ti-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X
default "ti-sci" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X
default "ti-sci" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X
config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE
string
default "gp" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP
default "hs-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS
default "hs" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS
endif