From f13150d12fb32cec7b8d6504efc46824794f6838 Mon Sep 17 00:00:00 2001 From: Han Sol Jin Date: Fri, 20 Mar 2026 01:42:30 -0700 Subject: [PATCH] mediatek: mt7622: enable CONFIG_MTD_VIRT_CONCAT 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 Link: https://github.com/openwrt/openwrt/pull/22555 Signed-off-by: Jonas Jelonek --- target/linux/mediatek/mt7622/config-6.18 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/mediatek/mt7622/config-6.18 b/target/linux/mediatek/mt7622/config-6.18 index d19a0121ceb..136c192bc65 100644 --- a/target/linux/mediatek/mt7622/config-6.18 +++ b/target/linux/mediatek/mt7622/config-6.18 @@ -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 -- 2.47.3