From f03c695ee4439c37fed1aabd5e76d233aee29be0 Mon Sep 17 00:00:00 2001 From: James <> Date: Sun, 16 Aug 2020 09:21:31 +0100 Subject: happy --- master/ubi-root | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 master/ubi-root (limited to 'master/ubi-root') diff --git a/master/ubi-root b/master/ubi-root new file mode 100644 index 0000000..7f54317 --- /dev/null +++ b/master/ubi-root @@ -0,0 +1,24 @@ +diff --git a/include/image.mk b/include/image.mk +index 9b3b3f2..a5f697c 100644 +--- a/include/image.mk ++++ b/include/image.mk +@@ -279,6 +279,7 @@ endif + define Image/mkfs/ubifs + $(STAGING_DIR_HOST)/bin/mkfs.ubifs \ + $(UBIFS_OPTS) $(call param_unmangle,$(call param_get,fs,$(1))) \ ++ -m 2048 -e 126976 -c 1024 \ + $(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--compr=none) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--compr=lzo) \ +diff --git a/target/linux/ath79/nand/target.mk b/target/linux/ath79/nand/target.mk +index c565c9b..a40884f 100644 +--- a/target/linux/ath79/nand/target.mk ++++ b/target/linux/ath79/nand/target.mk +@@ -1,6 +1,6 @@ + BOARDNAME := Generic devices with NAND flash + +-FEATURES += squashfs nand ++FEATURES += squashfs nand ubifs + + DEFAULT_PACKAGES += wpad-basic + -- cgit v1.2.3