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

Simon Glass sjg at chromium.org
Wed Nov 13 16:09:30 CET 2024


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

Unfortunately a late-breaking problem has come up with bootmgr. There
are two ways to fix this, both included in this series:

   - Drop bootmgr for sunxi
   - Change efi_mgr bootmeth back to sandbox-only

Based on the mailing-list discussion I have selected the first one and
marked the second as RFC.

Changes in v5:
- Add new patch to drop bootmgr for sunxi

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 v3:
- Drop wip (work-in-progress) comment in commit
- Fix 'supressed' typo
- Use backquotes to highlight DEFAULT_DEVICE_TREE

Changes in v2:
- Add new patch to resolve BOOTSTD->BLK recursion with Kconfig
- 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 (8):
  bootstd: Avoid depending on BLK
  sunxi: Add a bootmeth for FEL
  efi_loader: bootstd: Drop bootmgr for sunxi
  RFC: Revert "bootstd: Make efi_mgr bootmeth work for non-sandbox
    setups"
  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                              |  10 +-
 board/sunxi/sunxi.env                         | 140 +++++++++++
 boot/Kconfig                                  |  18 +-
 boot/Makefile                                 |   1 +
 boot/bootmeth_efi_mgr.c                       |  18 +-
 boot/bootmeth_fel.c                           |  84 +++++++
 .../gardena-smart-gateway-mt7688_defconfig    |   1 +
 doc/usage/environment.rst                     |  12 +
 include/configs/sunxi-common.h                | 238 ------------------
 10 files changed, 261 insertions(+), 262 deletions(-)
 create mode 100644 board/sunxi/sunxi.env
 create mode 100644 boot/bootmeth_fel.c

-- 
2.34.1



More information about the U-Boot mailing list