[PATCH 0/3] rpi: Convert to standard boot
Simon Glass
sjg at chromium.org
Mon Feb 20 02:10:40 CET 2023
This series moves Raspberry Pi boards over to use standard boot.
It also adds a few more default boot options to standard boot, which are
commonly used on ARM boards. These are needed for some distros to boot.
It also moves rpi over to use a text-based environment. Unfortunately it
is not possible to empty the header file due to several CFG options.
Fix the repeated "and and" while we are here.
Note that this reduces code size by about 9KB and rodata by about 4.5KB
for a total image-size saving of about 15KB. This is mostly because
HUSH_PARSER is not enabled anymore and the environment shrinks down by
almost 4KB. Hush is not actually needed anymore, since standard boot does
not use it. Also CMD_SYSBOOT is dropped since standard boot calls the
pxe_utils code directly in that case.
Simon Glass (3):
bootstd: Add support for booti and bootz
arm: rpi: Switch to standard boot
arm: rpi: Switch to a text environment
board/raspberrypi/rpi/rpi.env | 77 +++++++++++++++++++
boot/Kconfig | 2 +
configs/rpi_0_w_defconfig | 6 +-
configs/rpi_2_defconfig | 6 +-
configs/rpi_3_32b_defconfig | 6 +-
configs/rpi_3_b_plus_defconfig | 6 +-
configs/rpi_3_defconfig | 6 +-
configs/rpi_4_32b_defconfig | 8 +-
configs/rpi_4_defconfig | 8 +-
configs/rpi_arm64_defconfig | 8 +-
configs/rpi_defconfig | 6 +-
include/configs/rpi.h | 134 ---------------------------------
12 files changed, 109 insertions(+), 164 deletions(-)
create mode 100644 board/raspberrypi/rpi/rpi.env
--
2.39.2.637.g21b0678d19-goog
More information about the U-Boot
mailing list