I am seeing some weirdness trying to configure MUSB for Gadget mode; I deleted 
all USB lines from .config and ran "make oldconfig" hoping to be prompted for 
things. Perhaps that approach is wrong?

Such odd things happened as getting the peripheral controller automatically 
selected, and not having an option for the Inventra controller; a snippet from 
"make oldconfig" which automatically selected 1:

USB Peripheral Controller
 > 1. Renesas R8A66597 USB Peripheral Controller (USB_GADGET_R8A66597) (NEW)
   2. Renesas M66592 USB Peripheral Controller (USB_GADGET_M66592) (NEW)
 choice[1-2?]: 1

I had to make two passes and do a few hand-edits to sort things out. Things 
worked fine once I did.

One thing that jumps out at me is that there are
  config USB_GADGET_MUSB_HDRC
lines in both usb/gadget/Kconfig and usb/musb/Kconfig, ie the same variable in 
two places. I'm not a Kconfig expert but that seems wrong.

The dependencies seem a bit mixed up and maybe a little circular, I don't know 
how kconfig resolves such things but USB_MUSB_PERIPHERAL in musb/Kconfig 
depends on USB_GADGET which doesn't appear until gadget/Kconfig which is 
sourced later.

I am not quite sure what is wrong or how to fix it, but thought it was worth 
bringing up.

--
Jon Povey
[email protected]

Racelogic is a limited company registered in England. Registered number 2743719 
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .

The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to