
19 Dec
2023
19 Dec
'23
10:38 a.m.
On Mon, 27 Nov 2023 18:57:11 +0600 Maxim Uvarov maxim.uvarov@linaro.org wrote:
Decrease allowed binary size to fit lwip code. u-boot-with-spl.kwb exceeds file size limit: limit: 0xf6000 bytes actual: 0xf8600 bytes excess: 0x2600 bytes
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
configs/turris_omnia_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig index afcd4a1eb7..4e965c795a 100644 --- a/configs/turris_omnia_defconfig +++ b/configs/turris_omnia_defconfig @@ -118,3 +118,4 @@ CONFIG_USB_EHCI_HCD=y CONFIG_WDT=y CONFIG_WDT_ORION=y CONFIG_EXT4_WRITE=y +CONFIG_LTO=y
I finally tested it and LTO is currently broken on Omnia:
Missing DTB spl_init() failed: -2 ### ERROR ### Please RESET the board ###
Marek