USB gadgetfs test

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

USB gadgetfs test

2,323 Views
ashwindeshpande
Contributor II

Hello All,

I want to explore gadgetfs for file transfer, i have googled so many links but I am not clear about the exact procedure to follow.

All examples states, run usb.c, but how to make an executable for my target board (iMX6 SabreSD).

Also the controllers stated in autoconfig() functions doesnt match with the one used in SabreSD.

If i follow the procedure

1) mkdir /dev/gadget

2) modprobe gadgetfs

3) mount -t gadgetfs none /dev/gadget

I get an error "nop ci_hdrc.0: failed to start (null): -120"

If anybody can guide with step by step procedure, I would be thankful

Thanks and Regards

Ashwin Deshpande

Labels (3)
2 Replies

782 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ashvin

please refer to attached Linux Manual

sect.41.1 Introduction, it shows supported gadgets.

For other gadgets support one will have to port codes.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

782 Views
ashwindeshpande
Contributor II

Thank you for your time, I will go through the pdf and will get back to you...

0 Kudos