diff --git a/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts b/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts index fccf8348c71ee8..035393e28ee8d5 100644 --- a/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts +++ b/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts @@ -298,7 +298,7 @@ */ partition@2c0000 { label = "kernel"; - reg = <0x2c0000 0x400000>; + reg = <0x2c0000 0x600000>; }; /* ubi partition is the result of squashing @@ -308,9 +308,9 @@ * - overlay * - obr */ - partition@6c0000 { + partition@8c0000 { label = "ubi"; - reg = <0x6C0000 0x6f00000>; + reg = <0x8c0000 0x6d00000>; }; }; }; diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk index 3bd8bcb158c0e5..2196f57436b574 100644 --- a/target/linux/mediatek/image/mt7622.mk +++ b/target/linux/mediatek/image/mt7622.mk @@ -345,7 +345,7 @@ define Device/xiaomi_redmi-router-ax6s IMAGES += factory.bin BLOCKSIZE := 128k PAGESIZE := 2048 - KERNEL_SIZE := 4096k + KERNEL_SIZE := 6144k KERNEL_INITRAMFS_SUFFIX := -recovery.itb IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata