Home/Support/Support Forum/F2FS Support on Connect Core iMX6UL (ccimx6ulstarter)
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

F2FS Support on Connect Core iMX6UL (ccimx6ulstarter)

0 votes
I added f2fs-tools into my conf.local file in my project directory. I also modified the 'image_types.bbclass' with the following patch: https://patchwork.openembedded.org/patch/147392/

Yet, after building my image, whilst I can now utilize mkfs.f2fs and format my SD card with F2FS, I can't seem to mount it at all and my image does not recognized the f2fs formatted SD card. I can see it in /dev/ as "/dev/mmcblk1p1" but it won't mount. Trying to mount it I get the following:

root@ccimx6ulstarter:~# mount -t f2fs /dev/mmcblk1p1 /run/media/mmcblk1p1/
mount: mounting /dev/mmcblk1p1 on /run/media/mmcblk1p1/ failed: No such device

What am I missing. Does DEY 2.4 not support F2FS? Not sure why it wouldn't be natively supported, as f2fs is pretty prominent and useful for SSDs/eMMC/SD cards especially.
asked May 2, 2018 in Linux by AES_Dev New to the Community (11 points)

Please log in or register to answer this question.

1 Answer

+1 vote
Best answer
FS2S support is most likely not enabled in kernel.

>Not sure why it wouldn't be natively supported, as f2fs is pretty prominent and useful for SSDs/eMMC/SD cards especially

This is embedded system with limited resources so only minimal necessary set is enabled by default
answered May 3, 2018 by LeonidM Veteran of the Digi Community (4,454 points)
selected May 31, 2018 by AES_Dev
I understand its an embedded system, but EXT4 is natively supported and its one of the much less efficient filesystems for flash.

How would I go about enabling support/enabling it in the kernel using the Yocto build system besides what I attempted in the above?
To make sure it works follow this portion of the guide:

source dey-setup-environment
bitbake -c devshell virtual/kernel
bitbake -c menuconfig virtual/kernel
bitbake -C compile virtual/kernel

For permanent project changes you can use one of the ways here:
Thanks, I will try this over the next day or so and see if I get the results I'm looking for. Appreciate the fast feedback!
I forgot to check back in -- but this did indeed work. The various file systems were not enabled in the kernel. Thanks for the help!