I have downloaded Yocto image in SD Card and created 2 more partitions on the SD card. I am using iMX8mm platform.
I am mounting both the partitions using mass storage module - modprobe g_mass_storage file=/dev/mmcblk1p3,/dev/mmcblk1p5
I was hoping to get both the partitions mounted as mass storage device when connected through USB.
On Windows machine, only one partition being mounted. On Ubuntu machine, both the partitions being mounted.
I am able to mount individual partitions using the following commands
mount /dev/mmcblk1p3 /mnt
mount /dev/mmcblk1p5 /mnt
They both are FAT32. If I insert the SD Card directly to Windows machine, they mount just fine. And if I mount them one at a time, they both are mounting properly.
Any idea what is going wrong with Windows machine ? How to consistently mount both the partition on all the platforms ?
Solved! Go to Solution.
Please note that Windows does not support more than one partition on USB flash drive (which is emulated by i.MX board).
Please note that Windows does not support more than one partition on USB flash drive (which is emulated by i.MX board).