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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,370 次查看
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 项奖励
回复
1 解答
1,359 次查看
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 项奖励
回复
2 回复数
1,360 次查看
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 项奖励
回复
1,356 次查看
pyh0603
Contributor III

Thank you for your reply. 

I got it . This problem has been solved.

0 项奖励
回复