Skip to contentSkip to conversation

arm64: dts: msm8992: add pstore-ramoops support

PATCH New Jeremy McNicoll 2 participants 2 messages Mar 12, 2018 – Mar 14, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: msm8992: add pstore-ramoops support

With the addition of this ramoops node it enables post mortem analysis if a debug cable is not attached and/or not available.

All addresses and values were extracted from CAF AOSP marshmallow DR 1.6.

---
 arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts +15 -0
index 4542133..d1b62ef 100644
@@ -38,4 +38,19 @@
 			pinctrl-1 = <&blsp1_uart2_sleep>;
 		};
 	};
+
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		ramoops at 1ff00000 {
+			compatible = "ramoops";
+			reg = <0x0 0x1ff00000 0x0 0x40000>;
+			console-size = <0x10000>;
+			record-size = <0x10000>;
+			ftrace-size = <0x10000>;
+			pmsg-size = <0x20000>;
+		};
+	};
 };
Signature · 1 line
2.6.1
#1 lore raw

PATCH 1/1 arm64: dts: msm8992: add pstore-ramoops support

Quoted 6 lines · Jeremy McNicoll

With the addition of this ramoops node it enables post mortem analysis if a debug cable is not attached and/or not available.

All addresses and values were extracted from CAF AOSP marshmallow DR 1.6.

Regards,
Bjorn