USB gadgetfs test

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

USB gadgetfs test

3,689件の閲覧回数
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 返答(返信)

2,145件の閲覧回数
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 件の賞賛
返信

2,145件の閲覧回数
ashwindeshpande
Contributor II

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

0 件の賞賛
返信