Hi Thomas,
I did not able to reproduce this issue on my side. Which GCC version are you using?
BR Jacky Bai From: Jacky Bai Sent: 2026年2月27日 17:08 To: Boyan Karatotev Boyan.Karatotev@arm.com; tf-a@lists.trustedfirmware.org; Thomas Bonnefille thomas.bonnefille@bootlin.com Subject: RE: [TF-A] Re: Kernel freezes at boot (commit fa28b3a)
Hi Boyan and Thomas,
Let me have a try on my side.
BR Jacky Bai From: Boyan Karatotev via TF-A <tf-a@lists.trustedfirmware.orgmailto:tf-a@lists.trustedfirmware.org> Sent: 2026年2月27日 16:59 To: tf-a@lists.trustedfirmware.orgmailto:tf-a@lists.trustedfirmware.org; Thomas Bonnefille <thomas.bonnefille@bootlin.commailto:thomas.bonnefille@bootlin.com> Subject: [TF-A] Re: Kernel freezes at boot (commit fa28b3a)
Hello Thomas,
Can you please share some logs of where you're seeing the hang and how you built tfa? Unfortunately, I have no way of reproducing what you're seeing since I have no access to a board. When the LTO patch was merged, all platforms in the CI were tested and confirmed working, so the problem is likely isolated to the platform's code. It's also likely that whatever went wrong has been a latent bug that LTO has uncovered as we've seen a few of these. I'll have a look when you post some logs but someone with access to the platform is more appropriate to debug this.
Thanks, Boyan ________________________________ From: Thomas Bonnefille via TF-A <tf-a@lists.trustedfirmware.orgmailto:tf-a@lists.trustedfirmware.org> Sent: 24 February 2026 6:02 PM To: tf-a@lists.trustedfirmware.orgmailto:tf-a@lists.trustedfirmware.org <tf-a@lists.trustedfirmware.orgmailto:tf-a@lists.trustedfirmware.org> Subject: [TF-A] Kernel freezes at boot (commit fa28b3a)
Hello, I'm currently working on an NXP i.MX93 and I'm having issues with the commit fa28b3a adding, by default, link-time optimization.
When using a commit more recent than fa28b3a my kernel freezes at some point (after 1.2s to 1.8s from boot), there are no logs indicating a problem, just a freeze. It doesn't always appear at the same time in boot but I've never been able to reach a shell.
Using master with this commit reverted results in a working system.
If you want to reproduce the issue, I did produce it with :
- Mainline Barebox 2025.09 (slightly modified but nothing that should interfere with TF-A) - Mainline Linux 6.18.13 with a simple embedded Buildroot initramfs loaded via TFTP
Regards, Thomas Bonnefille