U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Handoff bloblist from previous boot stage
@ 2023-12-19 21:11 Raymond Mao
  2023-12-19 21:11 ` [PATCH 1/5] bloblist: add API to check the register conventions Raymond Mao
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Raymond Mao @ 2023-12-19 21:11 UTC (permalink / raw)
  To: u-boot, ilias.apalodimas, sjg, jwerner
  Cc: Raymond Mao, Tuomas Tynkkynen, Bin Meng, Nikhil M Jain,
	Baruch Siach, Heinrich Schuchardt, Michal Simek, Neil Armstrong,
	Sean Anderson

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 (5):
  bloblist: add API to check the register conventions
  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

 board/emulation/qemu-arm/Makefile        |  1 +
 board/emulation/qemu-arm/lowlevel_init.S | 19 +++++++
 board/emulation/qemu-arm/qemu-arm.c      | 66 +++++++++++++++++++++++-
 common/bloblist.c                        | 62 +++++++++++++++-------
 configs/qemu_arm64_defconfig             |  3 ++
 doc/develop/devicetree/control.rst       |  6 +--
 dts/Kconfig                              |  7 ++-
 include/bloblist.h                       | 28 ++++++++++
 8 files changed, 167 insertions(+), 25 deletions(-)
 create mode 100644 board/emulation/qemu-arm/lowlevel_init.S

-- 
2.25.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-12-20 20:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-19 21:11 [PATCH 0/5] Handoff bloblist from previous boot stage Raymond Mao
2023-12-19 21:11 ` [PATCH 1/5] bloblist: add API to check the register conventions Raymond Mao
2023-12-20 12:54   ` Ilias Apalodimas
2023-12-20 15:33     ` Raymond Mao
2023-12-19 21:11 ` [PATCH 2/5] qemu-arm: Get bloblist from boot arguments Raymond Mao
2023-12-20 11:03   ` Michal Simek
2023-12-20 15:36     ` Raymond Mao
2023-12-19 21:11 ` [PATCH 3/5] bloblist: Load the bloblist from the previous loader Raymond Mao
2023-12-20 10:57   ` Michal Simek
2023-12-20 14:53     ` Raymond Mao
2023-12-20 16:40       ` Michal Simek
2023-12-20 20:12         ` Raymond Mao
2023-12-19 21:11 ` [PATCH 4/5] fdt: update the document and Kconfig description Raymond Mao
2023-12-19 21:11 ` [PATCH 5/5] qemu-arm: get FDT from bloblist Raymond Mao
2023-12-20 10:55   ` Michal Simek
2023-12-20 13:08   ` Ilias Apalodimas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox