All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Add support for DT overlays handoff
@ 2025-07-04 13:41 Raymond Mao
  2025-07-04 13:42 ` [PATCH v2 1/6] bloblist: add blob type for DT overlay Raymond Mao
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Raymond Mao @ 2025-07-04 13:41 UTC (permalink / raw)
  To: u-boot
  Cc: michal.simek, venkatesh.abbarapu, Raymond Mao, Tom Rini,
	Simon Glass, Ilias Apalodimas, Dan Carpenter, Harrison Mutai,
	Andrew Goodbody, Patrick Rudolph, Levi Yun, Evgeny Bachinin,
	Matthias Brugger, Casey Connolly, Lad Prabhakar, Marek Vasut

The series include refactoring on bloblist and fdtdec to support handoff
of multiple DT overlays and applying them into the DT base during setup.
All changes are aligned to the spec update for supporting DT overlay
handoff[1].

Notes for testing:

Currently DT overlay is not yet enabled in TF-A, but with the test patches
I provided for TF-A and OP-TEE build, importing a DT overlay blob file from
QEMU to TF-A reserved memory is supported.
Follow below instructions to build and run for test:
$ repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml
Replace your local qemu_v8.xml with [2], which contains all necessary
changes in both TF-A and OP-TEE build.
$ repo sync
$ cd build
$ make toolchains
$ make ARM_FIRMWARE_HANDOFF=y all
Copy and rename your DT overlay blob as 'qemu_v8.dtb' into out/bin
$ make ARM_FIRMWARE_HANDOFF=y run-only

[1] Add Transfer Entry for Devicetree Overlay
https://github.com/FirmwareHandoff/firmware_handoff/pull/74

[2] https://github.com/raymo200915/optee_manifest/blob/dt_overlay_handoff/qemu_v8.xml

Raymond Mao (6):
  bloblist: add blob type for DT overlay
  bloblist: add helper functions
  bloblist: fix a potential negative size for memmove
  bloblist: expose 'expand_by' as an output argument
  bloblist: add API for applying blobs with specified tag
  fdtdec: apply DT overlays from bloblist

 common/bloblist.c      | 83 +++++++++++++++++++++++++++++++++++++-----
 include/bloblist.h     | 44 +++++++++++++++++++++-
 lib/fdtdec.c           | 81 +++++++++++++++++++++++++++++++++++++++++
 test/common/bloblist.c | 17 ++++++---
 4 files changed, 208 insertions(+), 17 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2025-07-11 17:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-04 13:41 [PATCH v2 0/6] Add support for DT overlays handoff Raymond Mao
2025-07-04 13:42 ` [PATCH v2 1/6] bloblist: add blob type for DT overlay Raymond Mao
2025-07-04 13:42 ` [PATCH v2 2/6] bloblist: add helper functions Raymond Mao
2025-07-04 13:42 ` [PATCH v2 3/6] bloblist: fix a potential negative size for memmove Raymond Mao
2025-07-04 13:42 ` [PATCH v2 4/6] bloblist: expose 'expand_by' as an output argument Raymond Mao
2025-07-04 13:42 ` [PATCH v2 5/6] bloblist: add API for applying blobs with specified tag Raymond Mao
2025-07-04 13:42 ` [PATCH v2 6/6] fdtdec: apply DT overlays from bloblist Raymond Mao
2025-07-11 15:45   ` Tom Rini
2025-07-11 17:36     ` Raymond Mao
2025-07-11 15:45 ` [PATCH v2 0/6] Add support for DT overlays handoff Tom Rini
2025-07-11 17:41   ` Raymond Mao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.