mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] make dtb from 1st stage loader available in barebox
@ 2024-12-09 14:28 Sascha Hauer
  2024-12-09 14:28 ` [PATCH 1/3] fdt: Add function to check if a pointer contains a fdt Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2024-12-09 14:28 UTC (permalink / raw)
  To: open list:BAREBOX

When barebox is chainloaded from another bootloader it usually gets
passed a device tree from the previous bootloader. While this external
device tree is normally not used by barebox, its contents can still be
interesting, so store the device tree at /external-devicetree when
found. This needs board support to pass the external device tree in
handoff data, i.e. a board has to call
handoff_data_add(HANDOFF_DATA_EXTERNAL_DT, dtb, size);
This series adds beagleplay support for this feature as an example.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (3):
      fdt: Add function to check if a pointer contains a fdt
      store external device tree as file
      ARM: beagleplay: put external device tree into handoff data

 arch/arm/boards/beagleplay/lowlevel.c | 14 ++++++++++----
 common/startup.c                      |  8 ++++++++
 include/compressed-dtb.h              | 24 ++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 4 deletions(-)
---
base-commit: 873b572763d38ab4100d218d0a3614f79b596077
change-id: 20241209-ext-dt-handoff-0594e0ae33b2

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2024-12-16  8:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-09 14:28 [PATCH 0/3] make dtb from 1st stage loader available in barebox Sascha Hauer
2024-12-09 14:28 ` [PATCH 1/3] fdt: Add function to check if a pointer contains a fdt Sascha Hauer
2024-12-09 14:28 ` [PATCH 2/3] store external device tree as file Sascha Hauer
2024-12-09 14:28 ` [PATCH 3/3] ARM: beagleplay: put external device tree into handoff data Sascha Hauer
2024-12-16  8:31 ` [PATCH 0/3] make dtb from 1st stage loader available in barebox Sascha Hauer

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