Skip to content

UPSTREAM-PEND: soc: ti: k3: Boot image generation - #115

Merged
soumya-TI merged 10 commits into
TexasInstruments:v4.4.0-ti-nextfrom
soumya-TI:dev_backport_am62l
Oct 21, 2026
Merged

soumya-TI merged 10 commits into
TexasInstruments:v4.4.0-ti-nextfrom
soumya-TI:dev_backport_am62l

Conversation

@soumya-TI

Copy link
Copy Markdown
Collaborator

Back-port boot image generation backport

…ault

commit 823997d upstream.

Add CONFIG_TFA_PLATFORM as a generic string config for the TF-A PLAT
parameter. This allows platforms to specify their TF-A platform via
Kconfig instead of requiring board.cmake.

Add CONFIG_TFA_BUILD_FIP=y to ARM FVP board defconfigs.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
…pos...

commit d30a3f2 upstream.

Refactor TF-A CMake build logic add support for FIP image generation
as post build along with standalone build. Certain platform like TI SoCs
(AM62L,AM62x,AM64x) use TF-A build artefacts as prerequsite for boot
image generation.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
PR: 106763

Add Python scripts for generating TI K3 boot images:

- rom_image_gen.py: Generates ROM-bootable X.509 signed images
  (tiboot3.bin and tispl.bin) from SPL/BL1, TIFS, board config,
  and application binaries.
- ti_board_config.py: Converts YAML board configuration files
  (board-cfg, sec-cfg, pm-cfg, rm-cfg) to binary format for
  TI System Firmware (SYSFW).

These scripts enable generation of bootable images for
TI K3 SoC family.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
PR: 106763

Add TI signing key (custMpk.pem) for
generating X.509 certificates for TI K3 boot images.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
PR: 106763

Add YAML-based board configuration files for AM62L EVM:

- board-cfg.yaml: General board configuration
- sec-cfg.yaml: Security configuration
- schema.yaml: JSON schema for validating board config YAML files

These files are processed by ti_board_config.py to generate binary
blobs that are included in tiboot3.bin and tispl.bin boot images.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
…tion

PR: 106763

Add Kconfig options to control TI K3 boot image generation.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
… build

PR: 106763

TI SoCs like AM62lx, AM62x, AM64x use TARGET_BOARD paramter as
build parameter for TF-A build. Introduce TARGET_BOARD KConfig based
build configuration.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
PR: 106763

Add CMake infrastructure to generate TI K3 boot images
(tiboot3.bin and tispl.bin) during Zephyr build process.

Build targets:
- tiboot3: Builds tiboot3.bin
- tispl: Builds tispl.bin

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
PR: 106763

Set TFA_PLATFORM default to "k3low" for AM62L EVM in Kconfig.defconfig.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
…mages

PR: 106763

Update AM62L EVM documentation to describe the dual-stage boot
architecture and boot image generation process.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
@soumya-TI
soumya-TI merged commit bfd2cf2 into TexasInstruments:v4.4.0-ti-next Oct 21, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants