Files
wlan-ap/patches/0100-sonicfi_rap63xc-211g-enable-pstore.patch

39 lines
1.0 KiB
Diff

From adbd8be88f9c5af3f79dc106bc0f2ace5eb50768 Mon Sep 17 00:00:00 2001
From: jackcybertan <jack.tsai@cybertan.com.tw>
Date: Thu, 21 Aug 2025 15:22:51 +0800
Subject: [PATCH] sonicfi_rap63xc-211g: enable pstore
Signed-off-by: jackcybertan <jack.tsai@cybertan.com.tw>
---
.../ramips/dts/mt7621_sonicfi_rap63xc-211g.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/target/linux/ramips/dts/mt7621_sonicfi_rap63xc-211g.dts b/target/linux/ramips/dts/mt7621_sonicfi_rap63xc-211g.dts
index b64ca5708b..d076d682c9 100755
--- a/target/linux/ramips/dts/mt7621_sonicfi_rap63xc-211g.dts
+++ b/target/linux/ramips/dts/mt7621_sonicfi_rap63xc-211g.dts
@@ -79,6 +79,20 @@
linux,code = <KEY_RESTART>;
};
};
+
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ ramoops: ramoops@ff80000 {
+ compatible = "ramoops";
+ reg = <0x0ff80000 0x80000>;
+ record-size = <0x20000>;
+ console-size = <0x20000>;
+ pmsg-size = <0x20000>;
+ };
+ };
};
&spi0 {
--
2.34.1