aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2022-02-22 20:11:23 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-02-24 20:45:12 +0100
commitcf346dfadf5b8a40ae814b6fc171d6a4c4b64b9c (patch)
tree33d1cba8a51a6e5aa5e3c74e06665223e3ec3289
parent97158fe10e6090a8b21629df130734bac53f87ee (diff)
downloadupstream-cf346dfadf5b8a40ae814b6fc171d6a4c4b64b9c.tar.gz
upstream-cf346dfadf5b8a40ae814b6fc171d6a4c4b64b9c.tar.bz2
upstream-cf346dfadf5b8a40ae814b6fc171d6a4c4b64b9c.zip
ipq806x: kernel crash log ramoops storage for R7800 and XR500
Define the kernel crash log storage ramoops/pstore feature for R7800 and its sister XR500. Reference to the ramoops admin guide in upstream Linux: https://www.kernel.org/doc/html/v5.10/admin-guide/ramoops.html Tested with R7800. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
-rw-r--r--target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi
index fc869c9ec0..cca887bb3b 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi
@@ -13,6 +13,15 @@
reg = <0x5fe00000 0x200000>;
reusable;
};
+
+ ramoops@42100000 {
+ compatible = "ramoops";
+ reg = <0x42100000 0x40000>;
+ record-size = <0x4000>;
+ console-size = <0x4000>;
+ ftrace-size = <0x4000>;
+ pmsg-size = <0x4000>;
+ };
};
aliases {