Boot From Emmc with Mass storage partition via USB C DART-MX8M

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

Boot From Emmc with Mass storage partition via USB C DART-MX8M

846 次查看
jawad_emb
Contributor I

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

0 项奖励
回复
1 回复

830 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Should it be # modprobe g_mass_storage file=/dev/mmcblk0p2 ?

0 项奖励
回复