[PATCH v10 0/9] bootstd: Convert rockchip and add various fixes and tweaks

Simon Glass sjg at chromium.org
Mon Apr 24 03:49:43 CEST 2023


This series converts rockchip boards over to use standard boot. It also
fixes various problems which have come up recently, showing differences
between the current implementation and the distroboot scripts.

This should get us closer to being able to turn down the scripts.

Changes in v10:
- Drop DISTRO_DEFAULTS and add BOOTSTD_DEFAULTS for all rockchip boards
  as suggested by Jonas Karlman <jonas at kwiboo.se>
- Adjust patch to always use standard boot

Changes in v9:
- Drop patches which enable BOOTSTD_DEFAULT

Changes in v8:
- Add new patch to adjust code ordering to work around compiler quirk
- Add new patch to use blk uclass device numbers to set efi bootdev
- Add cover letter

Changes in v7:
- Don't resync after defconfig changes

Changes in v6:
- Fix 'unable' typo
- Add new patch to report missing labels only when asked
- Add new patch to show a message sometimes if no bootflows are found
- Redo patch for the new approach

Changes in v5:
- Add new patch to tweak bootflow logic for device tree
- Add new patch to ensure PCI is set up first when using virtio
- Add new patch to support booting EFI where multiple options exist
- Drop patch to relax the argument requirements for bootflow scan

Changes in v4:
- Add back BOOT_TARGETS
- Rebase to -next
- Add new patch to use the same boot_targets for all boards

Changes in v3:
- Update rk3588 boards too

Changes in v2:
- Add new patch to move rockchip to standard boot

Mathew McBride (1):
  bootstd: Use blk uclass device numbers to set efi bootdev

Simon Glass (8):
  bootstd: Tweak bootflow logic for device tree
  virtio: Ensure PCI is set up first
  bootstd: Support booting EFI where multiple options exist
  bootstd: Report missing labels only when asked
  bootstd: Show a message sometimes if no bootflows are found
  bootstd: Adjust code ordering to work around compiler quirk
  rockchip: Move to standard boot
  rockchip: Use the same boot_targets for all boards

 arch/arm/Kconfig                  |  3 +-
 boot/bootdev-uclass.c             | 37 +++++++++++++-----
 boot/bootmeth_efi.c               | 49 +++++++++++++++---------
 cmd/bootflow.c                    |  3 ++
 drivers/virtio/virtio-uclass.c    |  6 +++
 include/bootdev.h                 |  2 +-
 include/configs/px30_common.h     |  3 +-
 include/configs/rk3036_common.h   |  4 +-
 include/configs/rk3066_common.h   |  4 +-
 include/configs/rk3128_common.h   |  3 +-
 include/configs/rk3188_common.h   |  4 +-
 include/configs/rk322x_common.h   |  4 +-
 include/configs/rk3288_common.h   |  4 +-
 include/configs/rk3308_common.h   |  3 +-
 include/configs/rk3328_common.h   |  3 +-
 include/configs/rk3368_common.h   |  6 +--
 include/configs/rk3568_common.h   |  5 +--
 include/configs/rk3588_common.h   |  5 +--
 include/configs/rockchip-common.h | 62 -------------------------------
 include/configs/rv1108_common.h   |  2 +-
 test/boot/bootdev.c               | 12 +++---
 21 files changed, 91 insertions(+), 133 deletions(-)

-- 
2.40.0.634.g4ca3ef3211-goog



More information about the U-Boot mailing list