rampis: mt7621: Convert Edgerouter-X dts to single kernel config
authorTim Lunn <tim@feathertop.org>
Wed, 17 Apr 2024 00:49:49 +0000 (10:49 +1000)
committerPetr Štetiar <ynezz@true.cz>
Fri, 8 Nov 2024 12:37:01 +0000 (12:37 +0000)
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@feathertop.org>
Tested-by: Mauri Sandberg <maukka@ext.kapsi.fi>
Link: https://github.com/openwrt/openwrt/pull/15194
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi

index 0902ad56b961ff8eeb3caab9737f2a7999a5b20d..dc9908ba34c6a1006187dd9287bc125bf2e947a3 100644 (file)
                };
 
                partition@140000 {
-                       label = "kernel1";
-                       reg = <0x140000 0x300000>;
-               };
-
-               partition@440000 {
-                       label = "kernel2";
-                       reg = <0x440000 0x300000>;
+                       label = "kernel";
+                       reg = <0x140000 0x600000>;
                };
 
                partition@740000 {