UUU on iMX6DL: UDC device or resource busy?

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

UUU on iMX6DL: UDC device or resource busy?

1,572件の閲覧回数
sjuengst
Contributor II

I'm working on back-porting the new MFG-Tool (aka UUU) to our i.MX6DL-based product.  I think it's close to working, but it seems that after linux boots, the ufb daemon is blocking on the read from g_ep_source, while the uuu tool on the host times out after sending a FBK: ucmd command (see attached uuu-log.txt).  I noticed that the /linuxrc script gets a "device or resource busy" error when attempting to write to UDC (line 139).  Is this a problem, or is it simply because it's a composite device or something?  Otherwise, what might be preventing the FBK command from propagating up to the ufb daemon? 

Thanks in advance,

Stu

タグ(1)
0 件の賞賛
2 返答(返信)

1,371件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

Thank you for sharing how you solved it, it may be helpful for someone else

 

Thanks,

Regards,

Aldo.

0 件の賞賛

1,371件の閲覧回数
sjuengst
Contributor II

Nevermind, I solved it.  I had mistakenly enabled the legacy FunctionFS (CONFIG_USB_FUNCTIONFS) as well as the CONFIGFS-based Function FS, and the legacy driver loaded first and registered with the UDC. This caused the -EBUSY error.

0 件の賞賛