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 88D6CC3DA7A for ; Sat, 31 Dec 2022 14:49:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3CD5D8526F; Sat, 31 Dec 2022 15:49:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com 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; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="BHygMoNg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AFD078526F; Sat, 31 Dec 2022 15:49:34 +0100 (CET) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D0432851B5 for ; Sat, 31 Dec 2022 15:49:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=none smtp.helo=mail-wm1-x32e.google.com Received: by mail-wm1-x32e.google.com with SMTP id p1-20020a05600c1d8100b003d8c9b191e0so17331412wms.4 for ; Sat, 31 Dec 2022 06:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/r+c1Jxy6xruLxpPpICcwLvF2yQaeMuTfYl91AQH3NY=; b=BHygMoNgUoOc4MlOG7VYpHXArEEUSasDyyMnAQpNILZ3a1O2M3sYuXd4RHWQ9cOSx6 RelbdOI9r3fBRf1b2kje1Rkal9/Lc04uP3nqocgRDzHadxNjPNeLKWVnTLuYV1PMOD/j TsDzvGHNihuduLNgk+sMafuIQpNFj8g/jdZ3A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/r+c1Jxy6xruLxpPpICcwLvF2yQaeMuTfYl91AQH3NY=; b=PIbVgAqqlLFcEmgUOf1q2B4SX/DW8tEh+EqysLwC4akGICevhfJujay87J1++rV/QE ZstI7gWMoGSB5FkoDNGtLhiSzvaIvWZrICRe6u3vsOxhVmYBSd0H6mjMZJT25312MtTc 4yjehHg/e7jVdBiD5ZjWHohPwAuifc+wyuJutRgG28wV3REZsl/7O4019MZGXtRCRGUc kzl95HBMQxNAFyr5+Rt0Rv0uAeHJkEYv1LSMCjcgmCoXPt0dsjQpMXGo+UHTmSY6xdWE Ihu8dkaemzheWJ+ozRHLOmeZX0W6RUOBxvW8/M0uTkXPfsJ7C794qc42aJFxX5PBzN9p Ak4Q== X-Gm-Message-State: AFqh2kretF+4dqPxQx/SzAaybHXinRuJVIFgYB92ivu6D5AJ5Ll4XT/K sOJaSVRam2Tu5bpUIS6d5rW77+8v21YHjFAH X-Google-Smtp-Source: AMrXdXti6NEiVFKHYGbs8K0kZjX510uDuXVhUzWtPVmdTemLxNt/iTVeUgbi4g04+Wn0nRg/99NBQg== X-Received: by 2002:a05:600c:47d1:b0:3d3:496b:de9d with SMTP id l17-20020a05600c47d100b003d3496bde9dmr25180104wmo.34.1672498171376; Sat, 31 Dec 2022 06:49:31 -0800 (PST) Received: from pwmachine.localnet (82.65.121.78.rev.sfr.net. [78.121.65.82]) by smtp.gmail.com with ESMTPSA id p12-20020a05600c468c00b003cf5ec79bf9sm30265017wmo.40.2022.12.31.06.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Dec 2022 06:49:30 -0800 (PST) From: Francis Laniel To: u-boot@lists.denx.de, Marek Vasut Cc: Michael Nazzareno Trimarchi , Tom Rini , Aleksandar Gerasimovski , Holger Brunck , Simon Glass , Masahisa Kojima , Heinrich Schuchardt , Philippe Reynes , Ovidiu Panait , Ashok Reddy Soma Subject: Re: [RFC PATCH v5 24/24] DO NOT MERGE: only to make CI happy Date: Sat, 31 Dec 2022 15:49:30 +0100 Message-ID: <4795443.31r3eYUQgx@pwmachine> In-Reply-To: <2ac45941-1e7d-b2f8-a6ba-c7f9e4bbb9f3@denx.de> References: <20221101192029.10231-1-francis.laniel@amarulasolutions.com> <20221101192029.10231-25-francis.laniel@amarulasolutions.com> <2ac45941-1e7d-b2f8-a6ba-c7f9e4bbb9f3@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" 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.6 at phobos.denx.de X-Virus-Status: Clean Le vendredi 23 d=E9cembre 2022, 05:15:50 CET Marek Vasut a =E9crit : > On 11/1/22 20:20, Francis Laniel wrote: > > This commit set CONFIG_HUSH_PARSER_2021 as the default to trigger the CI > > with this parser. > >=20 > > Nonetheless, Some boards are not compatible with new 2021 hush parser: > >=20 > > 1. rcar3_ulcb: > > When built with CONFIG_HUSH_PARSER_2021, the u-boot.img file size > > exceeds the 1MB file limit of 890 bytes: > > aarch64: + rcar3_ulcb > > +u-boot.img exceeds file size limit: > > + limit: 0x100000 bytes > > + actual: 0x10037a bytes > > + excess: 0x37a bytes > > Some complementary work is then needed to use CONFIG_HUSH_PARSER_2021= =20 for > > this board. >=20 > Maybe this patch helps with ULCB ? >=20 > https://patchwork.ozlabs.org/project/uboot/patch/20221222211315.142860-1-= mar > ek.vasut@gmail.com/ Yes! Perfect! Thank you a lot for the recommendation! With this, I was able to compile the img and its size is smaller than 1MB: $ make rcar3_ulcb_defconfig =2E.. $ make menuconfig # To activate CONFIG_LTO $ CROSS_COMPILE=3Daarch64-linux-gnu- make -j$(nproc) =2E.. $ du -sh u-boot.img 996K u-boot.img I will add your patch to future version of this series and I will rebase wh= en=20 your patch would have been merged.