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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

843件の閲覧回数
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 返信

827件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信