ipq806x: kernel crash log ramoops storage for R7800 and XR500
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 22 Feb 2022 18:11:23 +0000 (20:11 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 24 Feb 2022 19:45:12 +0000 (20:45 +0100)
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>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi

index fc869c9ec09551cdbd16745d7a0fd85aa2e53856..cca887bb3bc89844f917cc03e4069d0ddfd5577f 100644 (file)
                        reg = <0x5fe00000 0x200000>;
                        reusable;
                };
+
+               ramoops@42100000 {
+                       compatible = "ramoops";
+                       reg = <0x42100000 0x40000>;
+                       record-size = <0x4000>;
+                       console-size = <0x4000>;
+                       ftrace-size = <0x4000>;
+                       pmsg-size = <0x4000>;
+               };
        };
 
        aliases {