From: Grahame J. <gb...@th...> - 2012-01-04 05:56:03
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Hi,<br> <br> Yes I have that bit down pat.<br> It used to work in some earlier kernel.<br> <br> A couple of issues:<br> If I set MUSB_MODE = "peripheral" it seems to do nothing.<br> So I ended up commenting all of the adjustments to defconfig in linux-omap3_git.bb -> do_configure_prepend()<br> <br> I am not sure exactly the correct parameters to set in menuconfig<br> It would seem that I would have this configuration, However loading the module gives:<br> <tt>root@overo:~# modprobe g_ether<br> FATAL: Error inserting g_ether (/lib/modules/3.0.0/kernel/drivers/usb/gadget/g_ether.ko): No such device:</tt><br> <br> <tt>CONFIG_USB_GADGET=y<br> CONFIG_USB_GADGET_DEBUG=y<br> # CONFIG_USB_GADGET_DEBUG_FILES is not set<br> # CONFIG_USB_GADGET_DEBUG_FS is not set<br> CONFIG_USB_GADGET_VBUS_DRAW=500<br> CONFIG_USB_GADGET_SELECTED=y<br> # CONFIG_USB_GADGET_FUSB300 is not set<br> CONFIG_USB_GADGET_OMAP=y<br> CONFIG_USB_OMAP=y<br> # CONFIG_USB_GADGET_R8A66597 is not set<br> # CONFIG_USB_GADGET_PXA_U2O is not set<br> # CONFIG_USB_GADGET_M66592 is not set<br> # CONFIG_USB_ZERO is not set<br> CONFIG_USB_ETH=m</tt><br> <br> <br> Somewhere I read that I need to use CONFIG_USB_MUSB_HDRC<br> Is this a new interface for USB peripheral? Which of these do I set.<br> I did compile this setup but ended up with musb_hrdc not loading <br> <tt># CONFIG_USB_MUSB_HDRC is not set<br> # CONFIG_USB_MUSB_TUSB6010 is not set<br> # CONFIG_USB_MUSB_OMAP2PLUS is not set<br> # CONFIG_USB_MUSB_AM35X is not set<br> # CONFIG_USB_MUSB_PERIPHERAL is not set<br> # CONFIG_USB_GADGET_MUSB_HDRC is not set</tt><br> <br> <br> Thanks<br> <br> Grahame Jordan<br> <br> <br> <br> On 04/01/12 16:34, sturnfie wrote: <blockquote cite="mid:132...@n6..." type="cite"> <pre wrap=""> G.L. Kennedy wrote </pre> <blockquote type="cite"> <pre wrap=""> It would be really neat if there was a "make menuconfig" option for BitBake, but that's well out of my league.... :-((( </pre> </blockquote> <pre wrap=""> Perhaps you'll find this link informative: <a class="moz-txt-link-freetext" href="http://wiki.gumstix.org/index.php?title=Kernel_Reconfiguration">http://wiki.gumstix.org/index.php?title=Kernel_Reconfiguration</a> In particular, the command string: bitbake -c menuconfig virtual/kernel Don't forget to copy the resulting defconfig into your recipe directories for inclusions in future kernel builds! Lucas ----- </pre> </blockquote> <br> <br> <div class="moz-signature">-- <br> <title></title> <font color="#00559f"><font face="Helvetica, sans-serif"><font style="font-size: 11pt;" size="2"><b>Glass Expansion</b></font></font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">15 Batman Street</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">West Melbourne</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">Victoria 3003</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">AUSTRALIA</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">T: +61 3 9320 1111</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">F: +61 3 9320 1112</font></font><br> <font color="#00559f"><u><a href="http://www.geicp.com/"><font color="#00559f"><font face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">www.geicp.com</font></font></font></a></u></font> <p> <a href="http://www.geicp.com/cgi-bin/site/wrapper.pl?c1=Updates_newproducts_truflo_sample_monitor"><img src="cid:par...@th..." width="140" border="0"></a> <br> <a href="http://www.geicp.com/cgi-bin/site/wrapper.pl?c1=Updates_newproducts_truflo_sample_monitor"><font style="font-size: 11pt;" color="#ff6633" face="Helvetica, sans-serif" size="2"><b>Click here to check out our new TruFlo Sample Monitor</b></font></a> </p> </div> </body> </html> |