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

Simon Glass sjg at chromium.org
Fri Sep 26 18:02:08 CEST 2025


This series attempts to migrate all sunxi boards to use standard boot,
along with a text environment.

According to Heinrich this should not affect bootmgr, since it is a
global bootmeth. FEL should be OK since it is also a global bootmeth and
is ordered before bootmgr.

Heinrich has a pending series which moves the ordering of bootmgr to
speed up the boot and we will talk that through in the coming days.

Changes in v8:
- Drop 'select' for USB

Changes in v7:
- Drop bootmgr-disable patch

Changes in v6:
- Drop patch to revert make efi_mgr bootmeth work for non-sandbox setups

Changes in v4:
- Reword Kconfig
- Add a name for the bootflow
- Drop UUID_GPT_SYSTEM and UUID_GPT_ESP definitions
- Drop special case for ARM64's devicetree subdir
- Drop unwanted quotations and indentation in KERNEL_COMPAT path

Changes in v2:
- Put the FEL bootmeth before all other global bootmeths
- Convert the other DISTRO_DEFAULTS in the Kconfig too
- Keep BOOTCMD_SUNXI_COMPAT
- Keep bootcmd_sunxi_compat if OLD_SUNXI_KERNEL_COMPAT is enabled

Simon Glass (4):
  sunxi: Add a bootmeth for FEL
  sunxi: Move to bootstd
  sunxi: Drop old distro boot variables
  sunxi: Move to text environment

 arch/arm/Kconfig               |   6 +-
 board/sunxi/sunxi.env          | 140 +++++++++++++++++++
 boot/Kconfig                   |  14 ++
 boot/Makefile                  |   1 +
 boot/bootmeth_fel.c            |  85 ++++++++++++
 include/configs/sunxi-common.h | 238 ---------------------------------
 6 files changed, 244 insertions(+), 240 deletions(-)
 create mode 100644 board/sunxi/sunxi.env
 create mode 100644 boot/bootmeth_fel.c

-- 
2.43.0

base-commit: 44c4919e9dd6c162b237633ba689441eca9a149c
branch: std8


More information about the U-Boot mailing list