Hi, we are using imx7D 512M NAND
It seems that the ubifs defaults to compressing files - i would like to turn that off.
Can this be done by settings in the image.json to make Easy installer create the filesystem uncompressed - or am i on a wrong track ?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Paul,
Thank you for reaching out with your question. To disable UBIFS compression on your iMX7D 512M NAND device, you will need to adjust the UBIFS configuration during the filesystem creation process. Unfortunately, the Toradex Easy Installer’s image.json file does not directly support configuring UBIFS compression settings.
To achieve your goal, you can create a UBIFS image without compression by using the mkfs.ubifs tool with the -x none option. This option ensures that no compression is applied during the creation of the filesystem.
Here’s a simplified approach:
Create a UBIFS Image Without Compression:
Use the mkfs.ubifs tool with the -x none option to generate your UBIFS image.
Modify the Installation Process:
Ensure that the Toradex Easy Installer uses your custom UBIFS image. This may involve adjusting installation scripts or the image.json file to reference your pre-created UBIFS image.
Test the Configuration:
After implementing these changes, test the installation to confirm that the filesystem is installed without compression.
If you are new to creating UBIFS images manually, you might need to explore additional resources or documentation specific to UBIFS and the mkfs.ubifs tool. This process is somewhat beyond the typical configuration capabilities of the Toradex Easy Installer, which focuses more on partitioning and file placement.
I hope this helps! If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
UBIFS compression is expected to be enabled by default.
Which BSP version are you using?
The output of tdx-info should contain all the relevant information.
Best Regards,
Bruno
Edit: Corrected that UBIFS is expected to have compression enabled by default.
Sorry for the confusion.
UBIFS is indeed using compression by default, I have corrected my original post to reflect that.
The Toradex Easy Installer creates the UBI partitions with mostly default arguments, which include compression for UBIFS.
Avoiding this would require you to use a different method of flashing your device which is not Toradex Easy Installer.
Is the compression having significant overhead in your use case?