Unable to mount imx6ull evk using g_mass_stroage driver

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

Unable to mount imx6ull evk using g_mass_stroage driver

368 次查看
salugala
Contributor I

I have build the image using yocto "bitbake imx-image-multimedia" and flashed the image to the sdcard and able to boot.

Requirement : using usb otg in device mode need to mount a file and read/write

procedure : 

On target board(imx6ull evk)

dd bs=1M count=32 if=/dev/zero of=/backing_file

insmod drivers/usb/gadget/legacy/g_mass_storage.ko file=/backing_file stall=0

On Host Machine(ubuntu)

sudo mkfs.vfat /dev/sdb

sudo mount /dev/sdb /mnt/

 

I am unable to see the content in backing_file and not able to read and write. 

can you help me in procedure what I am doing wrong.

标签 (1)
0 项奖励
回复
0 回复数