[openwrt/openwrt] mediatek: filogic: use UBI fast map to speed up boot

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 18 12:09:46 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/51ee5fb274928c17b9dcb170c12e57e44a7661c9

commit 51ee5fb274928c17b9dcb170c12e57e44a7661c9
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Oct 18 19:48:50 2022 +0100

    mediatek: filogic: use UBI fast map to speed up boot
    
    Use UBI fast map feature to avoid scanning the whole flash on each
    boot which takes several seconds.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/filogic/config-5.15 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mediatek/filogic/config-5.15 b/target/linux/mediatek/filogic/config-5.15
index ae82f8a24d..dfd285bfb6 100644
--- a/target/linux/mediatek/filogic/config-5.15
+++ b/target/linux/mediatek/filogic/config-5.15
@@ -231,6 +231,7 @@ CONFIG_MTD_SPLIT_FIRMWARE=y
 CONFIG_MTD_SPLIT_FIT_FW=y
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_BEB_LIMIT=20
+CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_BLOCK=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 # CONFIG_MTK_CMDQ is not set




More information about the lede-commits mailing list