USB gadgetfs test

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

USB gadgetfs test

3,430 次查看
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

标签 (3)
2 回复数

1,886 次查看
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 项奖励
回复

1,886 次查看
ashwindeshpande
Contributor II

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

0 项奖励
回复