[PATCH v2 0/9] Handoff bloblist from previous boot stage
Raymond Mao
raymond.mao at linaro.org
Thu Dec 21 01:40:19 CET 2023
This patch set depends on another series:
"[PATCH v3 00/14] Support Firmware Handoff spec via bloblist".
This patch set implements Qemu-Arm platform custom functions to retrieve
the bloblist (aka. Transfer List) from previous loader via boot arguments
when CONFIG_OF_BOARD option is enabled and all boot arguments are compliant to
the register conventions defined in the Firmware Handoff spec v0.9.
Qemu-Arm platform custom function will load the FDT from the bloblist if it
exists.
Otherwise it fallbacks to get the FDT from the specified memory address.
If a platform vendor wish to have different behaviors for loading bloblist
or FDT from the previous boot stage, it is required to implement the custom
functions board_bloblist_from_boot_arg() and board_fdt_blob_setup().
Raymond Mao (9):
bloblist: add API to check the register conventions
bloblist: check bloblist with specified buffer size
bloblist: refactor of bloblist_reloc()
arm: armv7: save boot arguments
arm: armv8: save boot arguments
qemu-arm: Get bloblist from boot arguments
bloblist: Load the bloblist from the previous loader
fdt: update the document and Kconfig description
qemu-arm: get FDT from bloblist
arch/arm/cpu/armv7/start.S | 12 +++++
arch/arm/cpu/armv8/start.S | 14 ++++++
board/emulation/qemu-arm/qemu-arm.c | 45 +++++++++++++++++-
common/bloblist.c | 72 ++++++++++++++++++++---------
common/board_f.c | 8 +---
configs/qemu_arm64_defconfig | 3 ++
doc/develop/devicetree/control.rst | 6 +--
dts/Kconfig | 7 ++-
include/bloblist.h | 34 ++++++++++++--
test/bloblist.c | 8 ++--
10 files changed, 165 insertions(+), 44 deletions(-)
--
2.25.1
More information about the U-Boot
mailing list