[U-Boot] USB CDC Branch: adding gadget for MUSB

2010-07-20 Thread Stefano Babic
Hi Remy, I would like to add ethernet gadget support for the MUSB driver (used only as peripheral, not otg). I have some problems to understand what is really needed to get it working. From sources, I see that musb_udc.c was not ported from a corresponding linux driver, but it was implemented

Re: [U-Boot] USB CDC Branch: adding gadget for MUSB

2010-07-20 Thread Mike Frysinger
On Tuesday, July 20, 2010 05:46:23 Stefano Babic wrote: From sources, I see that musb_udc.c was not ported from a corresponding linux driver, but it was implemented from scratch (ok, maybe not entirely...) for u-boot. And I see also that musb_core.c in u-boot contains a small subsets of the

Re: [U-Boot] USB CDC branch

2010-07-14 Thread Kyungmin Park
rndis calls from the Windows host you could use a Linux host instead with the Linux-rndis-usb-host driver  ;-) And also I would like to know the answers to Stefano's questions. See my other reply. I would suggest to merge all work in progress in the u-boot-usb/CDC branch from which we push

Re: [U-Boot] USB CDC branch

2010-07-14 Thread Vitaly Kuzmichev
are debugging all kinds of undocumented rndis calls from the Windows host you could use a Linux host instead with the Linux-rndis-usb-host driver ;-) And also I would like to know the answers to Stefano's questions. See my other reply. I would suggest to merge all work in progress in the u-boot-usb

Re: [U-Boot] USB CDC branch

2010-07-14 Thread Vitaly Kuzmichev
kinds of undocumented rndis calls from the Windows host you could use a Linux host instead with the Linux-rndis-usb-host driver ;-) And also I would like to know the answers to Stefano's questions. See my other reply. I would suggest to merge all work in progress in the u-boot-usb/CDC

Re: [U-Boot] USB CDC branch

2010-07-14 Thread Remy Bohmer
Hi, The device unplug/plug behaviour was a pain for RNDIS, Do you mean that Windows and u-boot do not recognize cable unplug? Device unplug/plug behaviour on Windows is so slow... What I mean with unplug/plug is removing and adding the pullup resistor that makes the devices visible to the

[U-Boot] USB CDC branch

2010-07-13 Thread Stefano Babic
Hi Remy, I would like to add support for Ethernet over USB (CDC) for the musb (musb_udc) controller, basing on your cdc branch in u-boot-usb. I have seen there are some conflicts and some duplicated structure between the header imported from linux (linux/usb/ch9.h) and the headers in u-boot

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Vitaly Kuzmichev
FYI I'm doing some work on this branch too. Actually I have ported it to 2010.03, added RNDIS support and made integration into 'usb' command. However these changes aren't tested yet so the work is still under progress. Probably someone knows about any possible issues with CDC/RNDIS support? And

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Remy Bohmer
Hi Stefano, 2010/7/13 Stefano Babic sba...@denx.de: Hi Remy, I would like to add support for Ethernet over USB (CDC) for the musb (musb_udc) controller, basing on your cdc branch in u-boot-usb. Great! I have seen there are some conflicts and some duplicated structure between the header

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Remy Bohmer
the Windows host you could use a Linux host instead with the Linux-rndis-usb-host driver ;-) And also I would like to know the answers to Stefano's questions. See my other reply. I would suggest to merge all work in progress in the u-boot-usb/CDC branch from which we push it to mainline. Kind