]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: mt7622: enable CONFIG_MTD_VIRT_CONCAT 22555/head
authorHan Sol Jin <jhs@jinhansol.com>
Fri, 20 Mar 2026 08:42:30 +0000 (01:42 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 31 May 2026 22:32:38 +0000 (00:32 +0200)
Some devices have a ton of unused space found in other partitions that
can be used to expand rootfs_data.

In particular, the D-Link DIR-X3260 device can squeeze another ~24MiB
from its backup partition, with a few tricks, allowing for ~48MiB of
usable space rather than ~24MiB by itself.

As of v25.12.1, with the official release build config, this gives us
~35MiB of rootfs_data, where without it there would only be ~11MiB.

Enable this config to allow this function.

Signed-off-by: Han Sol Jin <jhs@jinhansol.com>
Link: https://github.com/openwrt/openwrt/pull/22555
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/mediatek/mt7622/config-6.18

index d19a0121cebe1e640540090093d56c5d784d7cd6..136c192bc651bb9a80eb6a42e48baba8d2920272 100644 (file)
@@ -286,6 +286,7 @@ CONFIG_MTD_UBI_BLOCK=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_NVMEM=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_VIRT_CONCAT=y
 # CONFIG_MTK_CMDQ is not set
 CONFIG_MTK_CPUX_TIMER=y
 # CONFIG_MTK_CQDMA is not set