[openwrt/openwrt] rampis: mt7621: Convert Edgerouter-X dts to single kernel config

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 28 10:57:15 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/4b9e9a03108258bffef7d779cb965f5b91608dd7

commit 4b9e9a03108258bffef7d779cb965f5b91608dd7
Author: Tim Lunn <tim at feathertop.org>
AuthorDate: Wed Apr 17 10:49:49 2024 +1000

    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 <tim at feathertop.org>
    Tested-by: Mauri Sandberg <maukka at ext.kapsi.fi>
    Link: https://github.com/openwrt/openwrt/pull/15194
    (cherry picked from commit dc51c4355d48e91ed8fd06d70f0bf71b0b4bc4d2)
    Link: https://github.com/openwrt/openwrt/pull/17097
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi
index 7648e42982..40433c1c43 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi
+++ b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi
@@ -105,13 +105,8 @@
 		};
 
 		partition at 140000 {
-			label = "kernel1";
-			reg = <0x140000 0x300000>;
-		};
-
-		partition at 440000 {
-			label = "kernel2";
-			reg = <0x440000 0x300000>;
+			label = "kernel";
+			reg = <0x140000 0x600000>;
 		};
 
 		partition at 740000 {




More information about the lede-commits mailing list