Hi, I have a Colibri iMX6ULL with 1GB of eMMC and I would like to use BTRFS or F2FS as rootfilesystems. However, as far as I understood those filesystems are not supported by Tezi and I couldn’t make them work just changing the filesystem at image.json (Toradex Easy Installer Configuration Files | Toradex Developer Center).
Should it work if I generate a formatted raw data? It will use dd instead? How to do it? Do we have a tutorial or something?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Thank you for reaching out with your question. Using BTRFS or F2FS as root filesystems on your Colibri iMX6ULL module is indeed a bit challenging since these filesystems are not directly supported by the Toradex Easy Installer (Tezi). However, you can still achieve this by creating a raw filesystem image and using the ‘dd’ command to write it to the eMMC.
Here’s a general approach you can follow:
Prepare the Filesystem Image: On your development machine, create a BTRFS or F2FS filesystem image. You can use tools like mkfs.btrfs or mkfs.f2fs to format a file or a block device with the desired filesystem.
Populate the Filesystem: Mount the newly created filesystem image and copy your root filesystem contents into it. Make sure to include all necessary files and directories.
Write the Image to eMMC: Use the dd command to write the filesystem image to the eMMC on your Colibri module. Boot into a minimal Linux environment on the module and execute a command like:
Replace /dev/mmcblk0pX with the appropriate partition on your eMMC.
Adjust Bootloader Settings: Ensure that the bootloader is configured to boot from the partition where you wrote the new filesystem. You may need to modify U-Boot environment variables to point to the correct root filesystem.
Please note that this process involves manual steps and requires a good understanding of Linux filesystems and boot processes. While there isn’t a specific Toradex tutorial for this method, these steps are based on common practices for deploying unsupported filesystems.
Always ensure you have backups of your data and configurations before proceeding, as these operations can lead to data loss if not performed correctly.
I hope this helps you get started with your project!
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
Wouldn’t it be possible to do it using the content of a partition for tezi configuration .json? Or even using uuu? Would it be really necessary to use the dd directly?
I saw this link, even included it at my question. I just wanted to check if the raw approach should work since btrfs and f2fs are probably not supported, or if you have any recommendation of how to do it properly. Thanks