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
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.