rpi: pass the Video Core logs DT parameter through
PATCH 1/1 rpi: pass the Video Core logs DT parameter through
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]>
--- board/raspberrypi/rpi/rpi.c | 3 +++ 1 file changed, 3 insertions(+)
board/raspberrypi/rpi/rpi.c +3 -0
@@ -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" );
Signature · 1 line
2.53.0
Quoted 5 lines · Peter Robinson
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]>
Quoted 18 lines
--- board/raspberrypi/rpi/rpi.c | 3 +++ 1 file changed, 3 insertions(+)board/raspberrypi/rpi/rpi.c +3
-0@@ -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" );
Hi Peter,
Quoted 24 lines · Matthias Brugger
Quoted 5 lines · Peter Robinson
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]>Quoted 12 lines
--- board/raspberrypi/rpi/rpi.c | 3 +++ 1 file changed, 3 insertions(+)board/raspberrypi/rpi/rpi.c +0
-0@@ -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" );
Quoted 7 lines
board/raspberrypi/rpi/rpi.c void update_fdt_from_fw(void *fdt, void *fw_fdt) · line 616
Quoted 6 lines
board/raspberrypi/rpi/rpi.c +3
-0+/* 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" );
Is this property in the schema? It looks like something ad-hoc.
Regards,
Simon