Skip to contentSkip to conversation

Enabling LTO for the imx28 platforms?

DISCUSSION Tom Rini 2 participants 2 messages Nov 11 – Nov 12

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey,

Can you please test and then enable support for LTO on these platforms? They're very close to their binary size limit and while I have been pushing for people to look to reduce the size of new features when added, and tripping the limit here, I'm now looking at
https://lore.kernel.org/r/[email protected]
being a fix that pushes them over-limit. Thanks!

Signature · 1 line
Tom
#1 lore raw

Hi Tom,

Quoted 9 lines

Hey,

Can you please test and then enable support for LTO on these platforms? They're very close to their binary size limit and while I have been pushing for people to look to reduce the size of new features when added, and tripping the limit here, I'm now looking at
https://lore.kernel.org/r/[email protected]
being a fix that pushes them over-limit. Thanks!

I will look on that in the following days.

And indeed - for imx28 the binary (especially SPL) size is critical. When exceeded, due to ROM code design, the boot is broken and board gets bricked.

Signature · 10 lines
Best regards,

Lukasz Majewski

--
Nabla Software Engineering GmbH
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: [email protected]
Managing Director : Stefano Babic