Skip to content

add support for falcon mode builds

Anshul Dalal yocto-meta-ti 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 11 repliesSuperseded

Changes in v3 from the cover letter

* Better handling of u-boot-ti-staging-falcon package for non ti-falcon builds
* Add TFA build commands since upstream changes were rejected:
https://lore.kernel.org/u-boot/20250417113013.mrlhl65farooaiq2@extradite/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4am62: apply u-boot config fragment on ti-falconmeta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +1 more+8 -00 replies
2/4bsp: conf: machine: add ti-falcon.incmeta-ti-bsp/conf/machine/include/k3.inc meta-ti-bsp/conf/machine/include/ti-falcon.inc meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc+22 -00 replies
3/4bsp: u-boot: deploy tispl_falcon.bin to rootfsmeta-ti-bsp/conf/machine/include/ti-falcon.inc meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc+3 -00 replies
4/4bsp: tfa: add build flags for ti-falconmeta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] add support for falcon mode builds

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

---
Changes in v3:
* Better handling of u-boot-ti-staging-falcon package for non ti-falcon builds
* Add TFA build commands since upstream changes were rejected:
https://lore.kernel.org/u-boot/20250417113013.mrlhl65farooaiq2@extradite/
v2:
https://lore.kernel.org/yocto-meta-ti/[email protected]/
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/[email protected]/

Anshul Dalal (4):
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
bsp: tfa: add build flags for ti-falcon

 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 ++++++
 .../trusted-firmware-a/trusted-firmware-a-ti.inc   |  1 +
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc       | 14 ++++++++++++++
 8 files changed, 34 insertions(+)
 create mode 100644 meta-ti-bsp/conf/machine/include/ti-falcon.inc