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.3 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 D77CDC432BE for ; Fri, 27 Aug 2021 01:39:24 +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 0658960EE0 for ; Fri, 27 Aug 2021 01:39:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0658960EE0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B536C83213; Fri, 27 Aug 2021 03:39:21 +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="waT0xbQ/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B295C83210; Fri, 27 Aug 2021 03:39:19 +0200 (CEST) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 BC0A483213 for ; Fri, 27 Aug 2021 03:39:13 +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 thinkpad (unknown [172.20.6.87]) by mail.nic.cz (Postfix) with ESMTPSA id 2087C140984; Fri, 27 Aug 2021 03:39:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1630028353; bh=ma98UE7RzWCbc7A2DndI55ncQOTNCP04eDUxlKQSkUY=; h=Date:From:To; b=waT0xbQ/z+RNgz00a4cOWHQC+6scO4+kjnXe9Ib66XxMXYPRgUg79ks0wbCJ6xWLX 0UMSunfiQ8LMkEXaa0DL72wZchh15V0Oem8odLnvIHO1qPKxKCqy5AiJ8Uc1JSBklI S2bBwz/lknXgZ9ENfqR/F+KBTU2bCBD27g6Pc7I8= Date: Fri, 27 Aug 2021 03:39:12 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Chris Packham Cc: Stefan Roese , u-boot , Pavol =?UTF-8?B?Um9ow6Fy?= , Baruch Siach , Dennis Gilmore , Mario Six , Jon Nettleton Subject: Re: [PATCH u-boot-marvell 00/29] kwboot higher baudrate Message-ID: <20210827033912.74fd4d05@thinkpad> In-Reply-To: References: <20210825134634.3959-1-marek.behun@nic.cz> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 27 Aug 2021 13:16:25 +1200 Chris Packham wrote: > On Thu, Aug 26, 2021 at 1:46 AM Marek Beh=C3=BAn wro= te: > > > > Hello Stefan and others, > > > > this series adds support for booting Marvell platforms via UART (those > > bootable with kwboot) at higher baudrates. > > > > Tested on Turris Omnia up to 5.15 MBd, which is 44x faster than > > 115200 Bd. > > > > The user can direct kwboot to use higher baudrate via the -B option. > > (BTW this option was there before but did not work with the -b option.) > > > > Only the payload part of the KWB image is uploaded at this higher > > baudrate. The header part is still uploaded at 115200 Bd, since the code > > that changes baudrate is injected into header as a binary extension. > > (The payload part makes up majority of the binary, though. On Turris > > Omnia the payload currently makes ~87%.) > > > > The series also contains various other fixes, refactors and improvements > > of the code, upon which the main change is done. > > > > Marek & Pali =20 >=20 > What tree/sha is this series based on. I've tried to apply them out of > patchwork and it fails at "tools: kwbimage: Simplify iteration over > version 1 optional headers" Applies to master and to u-boot-marvell, but you need the 6 additional patches for kwbimage/kwboot that are on patchwork but not yet applied to u-boot-marvell: https://patchwork.ozlabs.org/project/uboot/list/?series=3D257577 https://patchwork.ozlabs.org/project/uboot/patch/20210817050320.11983-1-x= ypron.glpk@gmx.de/ https://patchwork.ozlabs.org/project/uboot/patch/20210817051158.13283-1-x= ypron.glpk@gmx.de/ Also some more fixes were yet needed, which I will sent in v2. To make it simpler for you I pushed v2 into https://gitlab.nic.cz/turris/turris-omnia-uboot branch kwboot-baudrate-improvements Marek