[PATCH 00/18] vbe: Series part D

Simon Glass sjg at chromium.org
Thu Aug 29 00:16:55 CEST 2024


Hi Peter,

On Wed, 28 Aug 2024 at 03:59, Peter Robinson <pbrobinson at gmail.com> wrote:
>
> Hi Simon,
>
> > This includes various patches towards implementing the VBE abrec
>
> What is abrec?

It's a VBE method which supports A, B and recovery images and permits
updating from SPL onwards. The idea is that you can safely update
without bricking a device.

>
> > bootmeth in U-Boot.
> >
> >
> > Simon Glass (18):
> >   sandbox: Add missing header file
> >   bootstd: Add stub for bootdev_setup_for_sibling_blk()
> >   gzip: Correct function comment for gunzip()
>
> Is this from upstream gzip code somewher?

I'm not sure, actually.

>
> >   fdtdec: Support separate BSS for all XPL builds

Needed so that VPL can use DDT

> >   tiny-printf: Correct return values

I can't remember, sorry.

> >   tpl: Support numbered aliases in device tree

The MMC needs to be accessed using its sequence number

> >   ram: Support driver model in TPL

That should say VPL...but again I'm not quite sure

> >   serial: Support debug UART in TPL

This allows debugging of the jump from TPL to VPL

> >   armv8: Support not having separate BSS

VPL doesn't want a separate BSS since SDRAM isn't available that early

> >   arm: cache: Drop a stale comment

Just something I noticed

> >   arm: Fix up a stale comment in sections.c

Another thing I noticed

> >   mmc: Support driver model in TPL

TPL needs to read VPL from MMC

> >   mmc: Add more debugging for SPL
> >   mmc: Log the error when init fails
> >   mmc: rockchip: Log some error returns
> >   mmc: rockchip: Allow clocks to be missing

These all help with debugging reading of VPL from the correct MMC device

> >   rockchip: mmc: Fix a missing colon

Just something I noticed

> >   rockchip: Provided SPL control over efuse presence

We don't want this driver in TPL or VPL

>
> I'm not sure what most of these patches have to do with VBE?

Basically there are a lot of little tweaks needed.

>
> >  arch/arm/cpu/armv8/u-boot-spl.lds   | 12 ++++++++++++
> >  arch/arm/lib/cache.c                |  2 --
> >  arch/arm/lib/sections.c             |  2 +-
> >  arch/sandbox/include/asm/sections.h |  1 +
> >  common/spl/spl_mmc.c                | 13 +++++++++++++
> >  drivers/core/Kconfig                |  8 ++++++++
> >  drivers/misc/Makefile               |  2 +-
> >  drivers/mmc/Kconfig                 | 12 ++++++++++++
> >  drivers/mmc/mmc.c                   |  2 +-
> >  drivers/mmc/rockchip_dw_mmc.c       | 10 ++++------
> >  drivers/mmc/rockchip_sdhci.c        | 11 +++++------
> >  drivers/ram/Kconfig                 |  9 +++++++++
> >  drivers/serial/Kconfig              |  7 +++++++
> >  include/bootdev.h                   |  8 ++++++++
> >  include/gzip.h                      |  6 ++++--
> >  lib/fdtdec.c                        |  2 +-
> >  lib/tiny-printf.c                   | 15 ++++++---------
> >  17 files changed, 93 insertions(+), 29 deletions(-)
> >
> > --
> > 2.34.1
> >

Regards,
SImon


More information about the U-Boot mailing list