i.MX8MM how to modify the maximum size of a single file supported

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8MM how to modify the maximum size of a single file supported

Jump to solution
1,362 Views
pyh0603
Contributor III

Hi everyone,

Release: L4.14.98_2.0.0_ga_images_MX8MMEVK.zip

Board: i.MX8MM EVK

yocto branch version: repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml

I now use the i.MX8MM EVK, the file system is ext4, and mount a 32G sdcard to the /mnt/sd path.

111.png

When I copy a 6G file size to the /mnt/sd path, I can only copy 4G size. Errors are reported as follows:

cp: error writing 'test_file': File too large

How can I modify the file system to support a single file larger than 4G?

0 Kudos
Reply
1 Solution
1,351 Views
b36401
NXP Employee
NXP Employee

Please note that FAT does not support 4GB or more files. Maximum file size on FAT partition is 4294967295 bytes (4GB-1).
By the way you can make ext4 on the flash as well to be able to store big files.

View solution in original post

0 Kudos
Reply
2 Replies
1,352 Views
b36401
NXP Employee
NXP Employee

Please note that FAT does not support 4GB or more files. Maximum file size on FAT partition is 4294967295 bytes (4GB-1).
By the way you can make ext4 on the flash as well to be able to store big files.

0 Kudos
Reply
1,348 Views
pyh0603
Contributor III

Thank you for your reply. 

I got it . This problem has been solved.

0 Kudos
Reply