I have a similar issue, as I’d like to use F2FS file system for /data partition, instead of ext4.
Besides the following:
- Modify fstab.hikey960 “dev/block/sdd13 /data f2fs nosuid,nodev,discard wait”
- Enable F2FS on kernel
what else should I modify to enable f2fs?
Actually I tried adding to BoardConfigCommon.mk:
BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := f2fs
TARGET_USERIMAGES_USE_F2FS := true
but I get the following build error:
error: failed to build out/target/product/hikey960/obj/PACKAGING/systemimage_intermediates/system.img from out/target/product/hikey960/system
Error: unknown filesystem type ‘’
_Out of space? the tree size of out/target/product/hikey960/system is (MB): _
The max is 2640 MB.
ninja: build stopped: subcommand failed.
15:17:43 ninja failed with: exit status 1
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (02:47 (mm:ss)) ####