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 53973C07E99 for ; Fri, 9 Jul 2021 11:22:29 +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 6BFA66008E for ; Fri, 9 Jul 2021 11:22:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6BFA66008E 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 CAFAF8322F; Fri, 9 Jul 2021 13:22:26 +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="LkJFV2QG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E1E278322F; Fri, 9 Jul 2021 13:22:24 +0200 (CEST) Received: from mail.nic.cz (mail.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 350EB82C30 for ; Fri, 9 Jul 2021 13:22:22 +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 C7236142595; Fri, 9 Jul 2021 13:22:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1625829741; bh=nCDMWDfe4C0UhwqvWh+iMKMfp18cZdjGsn170gEcYdE=; h=Date:From:To; b=LkJFV2QGY8nJYmRV1QCp1cflgRtSTGboXeVgboZhk/AkOnPx7OtVVMFaGsIiKafjN ZNCUYrtGdss2KvItcuLERmcVkMfFcWtjRxC6zu7s4pyMgXbLxfYpNKaANP8pBExJCm n8XA9bcQMqZziLlUrm6bH32Qgkw4AWF4StiGxJP4= Date: Fri, 9 Jul 2021 13:22:21 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Stefan Roese Cc: u-boot@lists.denx.de, Chris Packham , Baruch Siach , Dirk Eibach , Chris Packham , Dennis Gilmore , Mario Six , Jon Nettleton Subject: Re: [PATCH u-boot-mvebu 00/31] kwboot / kwbimage improvements Message-ID: <20210709132221.16dd91e3@dellmb> In-Reply-To: <0325eee7-7c6a-5e61-6e3d-229567b07000@denx.de> References: <20210708173032.27999-1-marek.behun@nic.cz> <0325eee7-7c6a-5e61-6e3d-229567b07000@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 Hi Stefan On Fri, 9 Jul 2021 08:05:40 +0200 Stefan Roese wrote: > > The main goal of this series is to correctly use BootROM's code > > for loading U-Boot from NOR / NAND: currently only SPL is read by > > BootROM and the main U-Boot is read by SPL. By using BootROM to also > > load main U-Boot we can reduce the size of SPL image, since it does > > not need to contain code for reading NOR / NAND. > > Before going into a review of the patches, let me ask about the > motivation of this patchset. Is the reduction of the SPL image size > the main motivation for this series? Or did you experiece some > problems with the SPL code for U-Boot proper loading? The motivation is reduction of SPL code size. Pali started working on something different (adding support for higher baudrates to kwboot, so that a bricked board can be booted over UART faster), and he is still working on it, but when he started studying the kwbimage/kwboot code and A38x documentation, he noticed that these things could be improved, so first he did this series. > BTW: This patch / mail subject "kwboot / kwbimage improvements" does > not really match its content AFAIU. Here, the SPL returns always back > to the BootROM for U-Boot proper loading part is missing. Or do I > misunderstand something? You are right, the subject of the series could have been better. I shall change it in v2. > > BTW2: Could you please list the affected MVEBU SoC's that are affected > by this series so that this is clear? OK. Marek