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

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 8 04:38:02 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/dc51c4355d48e91ed8fd06d70f0bf71b0b4bc4d2

commit dc51c4355d48e91ed8fd06d70f0bf71b0b4bc4d2
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
    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 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 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