diff options
-rwxr-xr-x | BoardConfig.mk | 1 | ||||
-rwxr-xr-x | device.mk | 7 | ||||
-rw-r--r-- | rootdir/fstab.tuna | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 6794a08..8c5ab39 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -73,6 +73,7 @@ TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_FOLDER) # Filesystem TARGET_USERIMAGES_USE_EXT4 := true +TARGET_USERIMAGES_USE_F2FS := true BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704 BOARD_USERDATAIMAGE_PARTITION_SIZE := 14539537408 BOARD_FLASH_BLOCK_SIZE := 4096 @@ -216,6 +216,13 @@ PRODUCT_PACKAGES += \ e2fsck \ setup_fs +# F2FS filesystem +PRODUCT_PACKAGES += \ + mkfs.f2fs \ + fsck.f2fs \ + fibmap.f2fs \ + f2fstat + # DCC PRODUCT_PACKAGES += \ dumpdcc diff --git a/rootdir/fstab.tuna b/rootdir/fstab.tuna index d89b422..a314361 100644 --- a/rootdir/fstab.tuna +++ b/rootdir/fstab.tuna @@ -7,7 +7,9 @@ /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system ext4 ro wait /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ext4 rw wait /dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check +/dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache f2fs rw,discard,nosuid,nodev,noatime,inline_xattr wait,check /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check,encryptable=/dev/block/platform/omap/omap_hsmmc.0/by-name/metadata +/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data f2fs rw,discard,nosuid,nodev,noatime,inline_xattr wait,nonremovable,check,encryptable=/dev/block/platform/omap/omap_hsmmc.0/by-name/metadata /dev/block/platform/omap/omap_hsmmc.0/by-name/misc /misc emmc defaults defaults /dev/block/platform/omap/omap_hsmmc.0/by-name/boot /boot emmc defaults defaults /dev/block/platform/omap/omap_hsmmc.0/by-name/recovery /recovery emmc defaults defaults |