Which booti operations are essential when booting Linux directly from TF-A?

Joita Mitra joita.m at delopt.co.in
Thu Jun 11 09:29:47 CEST 2026


Hi,
I am investigating a direct Linux boot flow where ARM Trusted Firmware (TF-A) transfers control directly to Linux instead of booting U-Boot first.
Current flow:

BL2 -> BL31 -> U-Boot -> Linux

Target flow:

BL2 -> BL31 -> Linux

While studying the ARM64 boot flow in U-Boot, I examined:

cmd/booti.c
boot/bootm.c
boot/bootm_os.c

and observed that U-Boot performs significantly more work than simply jumping to the kernel entry point.
To replicate the required functionality inside TF-A, I am trying to identify which steps are essential.
Could you please clarify:

  1.  Which parts of the booti flow are mandatory before entering an ARM64 Linux kernel?
  2.
If Linux is already loaded at its final execution address, which parts of booti can safely be skipped?
  3.  Are there any minimal examples showing the required state that Linux expects when entered from firmware instead of U-Boot?

My goal is to reproduce only the minimum required Linux preparation steps inside TF-A.
At this stage, the most important unanswered question is not how to jump to Linux, but what exact environment U-Boot creates that Linux depends on.
Any pointers to the relevant source files or functions would be greatly appreciated.
Thank you.





[cid:9b7d87bd-47e2-45f8-aadf-b22a57c6c945]<http://www.delopt.co.in/>

Joita Mitra

Embedded Software Engineer

[cid:662cd72c-cb0a-4938-9038-6d7ccf6966d7] +91-7985313796

Fortune Serene, 3rd Floor, Plot No: 89/B, 90/A, West Avenue 9, Electronic City Phase 1,Bangalore 560100


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-1phtjfrk.png
Type: image/png
Size: 150836 bytes
Desc: Outlook-1phtjfrk.png
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260611/61d2fbea/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-nkkaekf2.png
Type: image/png
Size: 47920 bytes
Desc: Outlook-nkkaekf2.png
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260611/61d2fbea/attachment-0003.png>


More information about the U-Boot mailing list