mbox series

[v2,0/3] add support for falcon mode builds

Message ID 20250417113614.1780603-1-anshuld@ti.com
Headers show
Series add support for falcon mode builds | expand

Message

Anshul Dalal April 17, 2025, 11:36 a.m. UTC
Falcon mode[1] in u-boot enables us to bypass proper u-boot when booting hence
reducing boot time.

This patch set adds support for falcon mode on am62 evms depending on the
`ti-falcon` distro override which can be added by appending to local.conf with
the follows:

  DISTROOVERRIDES:append = ":ti-falcon"

Build process remains un-changed if the override is not present.

The override enables the usage of the falcon config fragment during r5 build
process as well as deploying the associated tispl_falcon.bin to rootfs's boot
directory.

For secure boot since the R5 core is slower compared to A53 cores,
authenticating as well as decompressing the signed fitImage from oe-core takes
multiple seconds, therefore we opt for using legacyhs-fitimage instead which
allows the authentication to be deferred to tifs.

[1]:
https://docs.u-boot.org/en/latest/develop/falcon.html

Signed-off-by: Anshul Dalal <anshuld@ti.com>
---
Changes in v2:
 * Add cover letter describing the patch set
 * Add default empty string for 'FALCON_INCLUDE' preventing recipie parsing
   error when ti-falcon is not set
v1:
https://lore.kernel.org/yocto-meta-ti/20250415093645.435281-1-anshuld@ti.com/

Anshul Dalal (3):
  am62: apply u-boot config fragment on ti-falcon
  bsp: conf: machine: add ti-falcon.inc
  bsp: u-boot: deploy tispl_falcon.bin to rootfs

 meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf   |  2 ++
 meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf   |  2 ++
 meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf    |  2 ++
 meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf |  2 ++
 meta-ti-bsp/conf/machine/include/k3.inc          |  5 +++++
 meta-ti-bsp/conf/machine/include/ti-falcon.inc   |  6 ++++++
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc     | 11 +++++++++++
 7 files changed, 30 insertions(+)
 create mode 100644 meta-ti-bsp/conf/machine/include/ti-falcon.inc