Hi,
I'm using Varicite DART-MX8M EvalKit with mx8m-yocto-dunfell-5.4-2.1.
I sucess to boot from sd card and then from emmc by following the wiki below :
https://variwiki.com/index.php?title=Yocto_Build_Release&release=mx8m-yocto-dunfell-5.4-2.1.x-v1.6
I also sucess to load emmc memory like mass storage via OTG USB by booting from sd, simply by typing :
# umount /dev/mmcblk0p1 # modprobe g_mass_storage file=/dev/mmcblk0p1
I try to create partition in emmc to us it like mass storage mmcblk0p2 to finally booting from first partition of emmc and get to seconde partion like mass storage from pc, but after creating second partion and typing :
# umount /dev/mmcblk0p1
# modprobe g_mass_storage file=/dev/mmcblk0p1
i try to get via pc this partion but nothing happen, and curiously when i plug usb drive on this usb, i can detect it.
what could be problem ? knowing that it works when I boot from sd
Should it be # modprobe g_mass_storage file=/dev/mmcblk0p2 ?