[OpenWrt-Devel] [PATCH] imx6: image: increase max ubifs file-system size

Tim Harvey tharvey at gateworks.com
Thu May 28 09:57:05 EDT 2020


The latest 2GiB NAND flash parts used by Gateworks ventana are 2K page-size.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 target/linux/imx6/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile
index 232dc42..2c9d03c 100644
--- a/target/linux/imx6/image/Makefile
+++ b/target/linux/imx6/image/Makefile
@@ -35,7 +35,7 @@ define Build/boot-overlay
 
 	$(STAGING_DIR_HOST)/bin/mkfs.ubifs \
 		--space-fixup --compr=zlib --squash-uids \
-		$(MKUBIFS_OPTS) -c 8124 \
+		$(MKUBIFS_OPTS) -c 16248 \
 		-o $@.boot.ubifs -d $@.boot
 
 	$(TAR) -C $@.boot -cf $@.boot.tar .
-- 
2.7.4


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list