mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1] ARM: dts: imx6q-prti6q: add pstore/ramoops node
@ 2020-10-08 11:07 Oleksij Rempel
  2020-10-09  7:19 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2020-10-08 11:07 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel, david

In some cases we have no UART access, but we still need to get barebox
messages. With ramoops enabled, we still can get barebox message from
running Linux by reading:
cat /sys/fs/pstore/console-ramoops-0

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/arm/dts/imx6qdl-prti6q.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-prti6q.dtsi b/arch/arm/dts/imx6qdl-prti6q.dtsi
index f2b36553d4..bfc059e34f 100644
--- a/arch/arm/dts/imx6qdl-prti6q.dtsi
+++ b/arch/arm/dts/imx6qdl-prti6q.dtsi
@@ -27,6 +27,17 @@
 		};
 	};
 
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		/* Address will be determined by the bootloader */
+		ramoops {
+			compatible = "ramoops";
+		};
+	};
+
 	reg_1v8: regulator-1v8 {
 		compatible = "regulator-fixed";
 		regulator-name = "1v8";
-- 
2.28.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-10-09  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 11:07 [PATCH v1] ARM: dts: imx6q-prti6q: add pstore/ramoops node Oleksij Rempel
2020-10-09  7:19 ` Sascha Hauer

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