From: Tim Lunn Date: Wed, 17 Apr 2024 00:49:49 +0000 (+1000) Subject: rampis: mt7621: Convert Edgerouter-X dts to single kernel config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dc51c4355d48e91ed8fd06d70f0bf71b0b4bc4d2;p=openwrt%2Fstaging%2Fnbd.git rampis: mt7621: Convert Edgerouter-X dts to single kernel config The OEM layout for Edgerouter X provides for two 3MB kernel slots. As of linux 6.1 the kernel images no longer fit and as such Edgerouter X builds have been disabled in Main. Revise the layout to make kernel1 slot 6MB and drop kernel2 slot. This patch applies the required changes to the dts file. Signed-off-by: Tim Lunn Tested-by: Mauri Sandberg Link: https://github.com/openwrt/openwrt/pull/15194 Signed-off-by: Petr Štetiar --- diff --git a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi index 0902ad56b9..dc9908ba34 100644 --- a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi +++ b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi @@ -100,13 +100,8 @@ }; partition@140000 { - label = "kernel1"; - reg = <0x140000 0x300000>; - }; - - partition@440000 { - label = "kernel2"; - reg = <0x440000 0x300000>; + label = "kernel"; + reg = <0x140000 0x600000>; }; partition@740000 {