]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic
authorZane Li <Zane_Li@wiwynn.com>
Tue, 16 Sep 2025 03:40:35 +0000 (11:40 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Mon, 13 Oct 2025 00:51:14 +0000 (11:21 +1030)
Reserve a ramoops memory region in the Yosemite4 device tree so that
kernel panic logs can be preserved across reboots. This helps with
post-mortem debugging and crash analysis.

Signed-off-by: Zane Li <zane_li@wiwynn.com>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts

index 60b98d602e805e94cb7e844c0a59d64c86c92e13..e4172be84e7fe5cadee82ed2e2787cc5177d9fe9 100644 (file)
                reg = <0x80000000 0x80000000>;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+               ramoops@b8dfa000 {
+                       compatible = "ramoops";
+                       reg = <0xb8dfa000 0x6000>;
+                       record-size = <0x2000>;
+                       console-size = <0x2000>;
+                       pmsg-size = <0x2000>;
+                       max-reason = <1>;
+               };
+       };
+
        iio-hwmon {
                compatible = "iio-hwmon";
                io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,