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>
Thu, 28 Nov 2024 18:46:24 +0000 (18:46 +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
(cherry picked from commit dc51c4355d48e91ed8fd06d70f0bf71b0b4bc4d2)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi

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