On 09/02/2026 13:55, Peter Robinson wrote:
Pass the VC logs DT parameter through to the kernel
device tree. This is used by the vclog tool and is
a useful debugging tool.

Signed-off-by: Peter Robinson <[email protected]>

Acked-by: Matthias Brugger <[email protected]>

---
  board/raspberrypi/rpi/rpi.c | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index f9b643555dd..7256d66a9a6 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -608,6 +608,9 @@ void  update_fdt_from_fw(void *fdt, void *fw_fdt)
        /* warnings from the firmware (if any) */
        copy_property(fdt, fw_fdt, "/chosen", "user-warnings");
+ /* firmware logs - used by the vclog utility */
+       copy_property(fdt, fw_fdt, "/chosen", "log");
+
        /* address of the PHY device as provided by the firmware  */
        copy_property(fdt, fw_fdt, "ethernet0/mdio@e14/ethernet-phy@1", "reg");

Reply via email to