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 X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1979C07E99 for ; Fri, 9 Jul 2021 14:08:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B25CF6138C for ; Fri, 9 Jul 2021 14:08:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B25CF6138C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CC4418329D; Fri, 9 Jul 2021 16:08:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none 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="AfkdC1fE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A31A0832A3; Fri, 9 Jul 2021 16:08:19 +0200 (CEST) Received: from mail.nic.cz (lists.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0B256832A7 for ; Fri, 9 Jul 2021 16:08:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none 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 A1E15141FB3; Fri, 9 Jul 2021 16:08:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1625839696; bh=qojnJkXbc3t0y2utRX5Dwn4ftq/JJ/xxyOtbqItgwm8=; h=Date:From:To; b=AfkdC1fERu7qbQJyl2Bu+OFYcjvZ0iHAG4lduT1ZxeVKVIKuRQO5nV8tZm2294wQM yXEtBybsnFd5IN2bBz3G7bgX6+3qM7/c/sgZ9J/f6CT0vxVRXQsbWyY8Khv6XqomEo MvaHufFfVtKUzC21V5fKq5onFm6860MONpgxEIKo= Date: Fri, 9 Jul 2021 16:08:16 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Stefan Roese Cc: u-boot@lists.denx.de, Chris Packham , Baruch Siach , Chris Packham , Dennis Gilmore , Mario Six , Jon Nettleton , pali@kernel.org Subject: Re: [PATCH u-boot-mvebu 00/31] kwboot / kwbimage improvements Message-ID: <20210709160816.3feb8869@dellmb> In-Reply-To: <9b9a714a-6003-fb0e-7dab-d9fce725f116@denx.de> References: <20210708173032.27999-1-marek.behun@nic.cz> <0325eee7-7c6a-5e61-6e3d-229567b07000@denx.de> <20210709132221.16dd91e3@dellmb> <9b9a714a-6003-fb0e-7dab-d9fce725f116@denx.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On Fri, 9 Jul 2021 14:35:15 +0200 Stefan Roese wrote: > Thanks. And could you please also do one (or more) boot-time > comparisons, old vs. new version? This way we can see, if and how the > boot-time is affected (perhaps improved, which would be great) by this > patch series. For Turris Omnia, the size of the u-boot-spl.kwb binary decreases by ~37 KiB, mainly due to not needing padding anymore. The size of the SPL binary itself (u-boot-spl.bin) decreases by 7.5 KiB (due to code reduction - no SPI NOR code). Unfortunately the boot time increases by 815 ms, from 2341 ms (on average) to 3156 ms (on average). This is probably because BootROM read the memory differently (lower frequency or some other reason). I think this 815 ms increase in boot time into U-Boot prompt is worth the 37 KiB saved space for U-Boot code (mainly because on Omnia we have 960 KiB for U-Boot and currently we are at 860 KiB, so enabling some other features in the future may push us to the limit), but others may not agree. I am going to put this information also into v2 cover letter. Marek