From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A95DC41535 for ; Tue, 19 Dec 2023 14:37:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 771928715C; Tue, 19 Dec 2023 15:37:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.b="nEApgaQj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7D7B98700D; Tue, 19 Dec 2023 15:37:32 +0100 (CET) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E65AD86BF7 for ; Tue, 19 Dec 2023 15:37:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.behun@nic.cz Received: from dellmb (unknown [IPv6:2001:1488:fffe:6:8747:7254:5571:3010]) by mail.nic.cz (Postfix) with ESMTPSA id BD3A81C0CA1; Tue, 19 Dec 2023 15:37:28 +0100 (CET) Authentication-Results: mail.nic.cz; auth=pass smtp.auth=marek.behun@nic.cz smtp.mailfrom=marek.behun@nic.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1702996648; bh=3MvEUsbplw/jDMfEuKjD+ZJY6UOL8Bnc8OWmez0XJQU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From:Reply-To: Subject:To:Cc; b=nEApgaQjC5yuyzd9tFfD5VCJTIGiK0/naL45ymRp1BoQA1tAM0Tv7zrGPTuCBpqHa 8NIgXXn+fEzlTQkHu7rKE01W15qNnFqdU4o20V5fELAao3MnG2jZcnlULbCWAttdWe czKqNWglYIILk4a9+zUW/Y2rDxoF+H0T8vH0ACvU= Date: Tue, 19 Dec 2023 15:37:28 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Maxim Uvarov Cc: u-boot@lists.denx.de, pbrobinson@gmail.com, ilias.apalodimas@linaro.org, trini@konsulko.com, goldsimon@gmx.de Subject: Re: [PATHv11 28/43] configs/turris_omnia_defconfig: enable LTO Message-ID: <20231219153728.7e39b826@dellmb> In-Reply-To: <20231219103833.2c211ae0@dellmb> References: <20231127125726.3735-1-maxim.uvarov@linaro.org> <20231127125726.3735-29-maxim.uvarov@linaro.org> <20231219103833.2c211ae0@dellmb> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Action: no action X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: WHITELISTED_IP X-Rspamd-Server: mail X-Spamd-Bar: / X-Rspamd-Queue-Id: BD3A81C0CA1 X-Spamd-Result: default: False [-0.10 / 20.00]; MIME_GOOD(-0.10)[text/plain]; WHITELISTED_IP(0.00)[2001:1488:fffe:6:8747:7254:5571:3010]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVRCPT(0.00)[gmail.com,gmx.de]; ASN(0.00)[asn:25192, ipnet:2001:1488::/32, country:CZ]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com] X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Tue, 19 Dec 2023 10:38:33 +0100 Marek Beh=C3=BAn wrote: > On Mon, 27 Nov 2023 18:57:11 +0600 > Maxim Uvarov wrote: >=20 > > 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 > >=20 > > Signed-off-by: Maxim Uvarov > > --- > > configs/turris_omnia_defconfig | 1 + > > 1 file changed, 1 insertion(+) > >=20 > > diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defc= onfig > > index afcd4a1eb7..4e965c795a 100644 > > --- a/configs/turris_omnia_defconfig > > +++ b/configs/turris_omnia_defconfig > > @@ -118,3 +118,4 @@ CONFIG_USB_EHCI_HCD=3Dy > > CONFIG_WDT=3Dy > > CONFIG_WDT_ORION=3Dy > > CONFIG_EXT4_WRITE=3Dy > > +CONFIG_LTO=3Dy =20 >=20 > I finally tested it and LTO is currently broken on Omnia: >=20 > Missing DTB > spl_init() failed: -2 > ### ERROR ### Please RESET the board ### >=20 > Marek I take it back, it was cause by my toolchain. Seems that LTO can be enabled on omnia. Is this patchset still active? Or should I send a separate patch to u-boot-marvell? Marek