Skip to content

bootstd: sunxi: Migrate to standard boot

Simon Glass u-boot 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest4 patches 1 replyIn review
  2. v58 patches 24 repliesSuperseded
  3. v48 patches 13 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v38 patches19 repliesSuperseded
v28 patches10 repliesSuperseded
v16 patches5 repliesSuperseded

Changes in v8 from the cover letter

- Drop 'select' for USB

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sunxi: Add a bootmeth for FELboot/Kconfig boot/Makefile boot/bootmeth_fel.c+100 -00 replies
2/4sunxi: Move to bootstdarch/arm/Kconfig+4 -20 replies
3/4sunxi: Drop old distro boot variablesinclude/configs/sunxi-common.h+1 -740 replies
4/4sunxi: Move to text environmentboard/sunxi/sunxi.env include/configs/sunxi-common.h+140 -1650 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchMattijs Korpershoek
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

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

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
Signature · 4 lines
2.43.0

base-commit: 44c4919e9dd6c162b237633ba689441eca9a149c
branch: std8