Unable to mount imx6ull evk using g_mass_stroage driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to mount imx6ull evk using g_mass_stroage driver

367 Views
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.

Labels (1)
0 Kudos
Reply
0 Replies