UUU on iMX6DL: UDC device or resource busy?

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

UUU on iMX6DL: UDC device or resource busy?

1,523 Views
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

Tags (1)
0 Kudos
2 Replies

1,322 Views
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 Kudos

1,322 Views
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 Kudos