[PATCH u-boot-marvell 00/29] kwboot higher baudrate

Marek Behún marek.behun at nic.cz
Fri Aug 27 03:39:12 CEST 2021


On Fri, 27 Aug 2021 13:16:25 +1200
Chris Packham <judge.packham at gmail.com> wrote:

> On Thu, Aug 26, 2021 at 1:46 AM Marek Behún <marek.behun at nic.cz> wrote:
> >
> > 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  
> 
> 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=257577
  https://patchwork.ozlabs.org/project/uboot/patch/20210817050320.11983-1-xypron.glpk@gmx.de/
  https://patchwork.ozlabs.org/project/uboot/patch/20210817051158.13283-1-xypron.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


More information about the U-Boot mailing list