[PATCH 0/6] bootstd: sunxi: Migrate to standard boot

Simon Glass sjg at chromium.org
Tue Aug 13 14:17:17 CEST 2024


Hi Andre,

On Mon, 12 Aug 2024 at 10:00, Andre Przywara <andre.przywara at arm.com> wrote:
>
> On Wed,  7 Aug 2024 14:50:26 -0600
> Simon Glass <sjg at chromium.org> wrote:
>
> Hey Simon,
>
> > This series attempts to migrate all sunxi boards to use standard boot,
> > along with a text environment.
>
> Ah, many thanks for that! I figured that we need a bootmeth for FEL, but
> never got around to have a closer look.
> On a coarse glance, this looks roughly OK, and doing a super quick boot
> test on one board, it seems to still work(TM), though the priority of the
> FEL boot is not right?

Does it need to be the top priority, perhaps?

> And I guess ditching the old kernel support might be a bit controversial.
> I think this is about the vendor kernels, which some people still rely on?

OK, perhaps it is. It might be a little tricky to handle it, but I
suspect another bootmeth might be enough.

>
> I will have a closer look this week and give you a review, just wanted to
> acknowledge the series and thank you for your efforts.

OK thank you.

Regards,
Simon


>
> Cheers,
> Andre
>
> > Simon Glass (6):
> >   sunxi: Drop BOOTCMD_SUNXI_COMPAT
> >   sunxi: Add a bootmeth for FEL
> >   sunxi: Move to bootstd
> >   sunxi: Drop old distro boot variables
> >   env: Provide a work-around for unquoting fdtfile
> >   sunxi: Move to text environment
> >
> >  Makefile                                      |   1 +
> >  arch/arm/Kconfig                              |   2 +-
> >  arch/arm/include/asm/arch-sunxi/clock_sun4i.h |  10 -
> >  arch/arm/mach-sunxi/Kconfig                   |  12 -
> >  arch/arm/mach-sunxi/dram_sun4i.c              |   4 -
> >  board/sunxi/sunxi.env                         | 138 ++++++++++
> >  boot/Kconfig                                  |  14 ++
> >  boot/Makefile                                 |   1 +
> >  boot/bootmeth_fel.c                           |  81 ++++++
> >  configs/icnova-a20-swac_defconfig             |   1 -
> >  doc/usage/environment.rst                     |  12 +
> >  include/configs/sunxi-common.h                | 238 ------------------
> >  12 files changed, 248 insertions(+), 266 deletions(-)
> >  create mode 100644 board/sunxi/sunxi.env
> >  create mode 100644 boot/bootmeth_fel.c
> >
>


More information about the U-Boot mailing list