From afc4bc891eb8adc6740c5107c8a1f6907a9f37ca Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Mon, 10 Aug 2020 22:09:18 +0800 Subject: [PATCH] ramips: improve ramoops support (cherry picked from commit b8874d9057a75778eb996f43366f72c742031405) --- target/linux/ramips/dts/mt7621.dtsi | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 0f7ca13da7..b658532958 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -33,13 +33,19 @@ compatible = "mti,cpu-interrupt-controller"; }; - ramoops@3f00000 { - compatible = "ramoops"; - reg = <0x3f00000 0x100000>; + reserved-memory { + #address-cells = <0x1>; + #size-cells = <0x1>; + ranges; - record-size = <0x20000>; - console-size = <0x20000>; - ftrace-size = <0x40000>; + ramoops@3f00000 { + compatible = "ramoops"; + reg = <0x3f00000 0x80000>; + + record-size = <0x10000>; + console-size = <0x10000>; + ftrace-size = <0x20000>; + }; }; aliases {