[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    [uClinux-dev] usb ethernet gadget on linux 2.6
From:       "Arnon Meydav" <ArnonM () metalinkBB ! com>
Date:       2007-01-29 8:14:32
Message-ID: 5002BD9FB045734DB9F20119530FB017EFEE00 () ilmail2 ! metalink ! dsl
[Download RAW message or body]

--===============0810740538==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C7437D.820104D7"

This is a multi-part message in MIME format.


Hi,

I am in the middle of upgrading our kernel from linux 2.4 to 2.6, on a
board that is based on the Montejade (IXDPG425) RDF.
We have a Netchip PLX 2280 USB controller on our board that we use this
for implementing a USB ethernet gadget.

On linux 2.4, this worked ok.
On linux 2.6, the USB device is recognized, but no ethernet device is
created.

All the USB configs look ok to me:
USB host is disabled
USB gadget is enabled
Netchip 228x is enabled
USB Gadget drivers is enabled
Ethernet gadget and RNDIS are enabled


The distribution I am using to compile 2.6 is Snapgear 3.4.0 (whereas
the 2.4 version was Snapgear 3.3.0)

This is the boot output from the two kernels:

GOOD: (2.4)
=====
net2280 00:0e.0: NetChip 2280 USB Peripheral Controller
net2280 00:0e.0: irq 23, pci mem 4b7f0000, chip rev 0110
net2280 00:0e.0: version: 2004 Jan 14; dma enabled
usb0: Ethernet Gadget, version: Equinox 2004
usb0: using net2280, OUT ep-b IN ep-a STATUS ep-e
usb0: MAC 9e:75:5f:06:75:35
usb0: HOST MAC be:99:f6:a3:88:7e



BAD: (2.6)
====
PCI: enabling device 0000:00:0e.0 (0140 -> 0142)
net2280 0000:00:0e.0: PLX NET228x USB Peripheral Controller
net2280 0000:00:0e.0: irq 23, pci mem c2860000, chip rev 0110
net2280 0000:00:0e.0: version: 2005 Sept 27; dma enabled


Any suggestions?
Thanks,
 - Arnon Meydav


-- Disclaimer: --
This e-mail is intended solely for the person to whom it is addressed and may contain \
confidential or legally privileged information. Access to this e-mail by anyone else \
is unauthorized. If an addressing or transmission error has misdirected this e-mail, \
please notify the author by replying to this e-mail and destroy this e-mail and any \
attachments. E-mail may be susceptible to data corruption, interception, unauthorized \
amendment, viruses and delays or the consequences thereof. If you are not the \
intended recipient, be advised that you have received this email in error and that \
any use, dissemination, forwarding, printing or copying of this email is strictly \
prohibited.


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>I am in the middle
of upgrading our kernel from linux 2.4 to 2.6, on a board that is based on the
Montejade (IXDPG425) RDF.</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>We&nbsp;have a
Netchip PLX 2280 USB controller on our board that w</FONT></SPAN><SPAN
class=576170608-29012007><FONT face=Arial size=2>e use this for implementing a
USB ethernet gadget.</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>On linux 2.4, this
worked ok. </FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>On linux 2.6, the
USB device is recognized, but no ethernet device is created.</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>All the USB configs
look ok to me:</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>USB host is
disabled</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>USB gadget is
enabled</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>Netchip 228x is
enabled</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>USB Gadget drivers
is enabled</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>Ethernet gadget and
RNDIS are enabled</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>The distribution I
am using to compile 2.6 is Snapgear 3.4.0 (whereas the 2.4 version was Snapgear
3.3.0)</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>This is the boot
output from the two kernels:</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>GOOD:
(2.4)<BR>=====<BR>net2280 00:0e.0: NetChip 2280 USB Peripheral
Controller<BR>net2280 00:0e.0: irq 23, pci mem 4b7f0000, chip rev
0110<BR>net2280 00:0e.0: version: 2004 Jan 14; dma enabled<BR>usb0: Ethernet
Gadget, version: Equinox 2004<BR>usb0: using net2280, OUT ep-b IN ep-a STATUS
ep-e<BR>usb0: MAC 9e:75:5f:06:75:35<BR>usb0: HOST MAC
be:99:f6:a3:88:7e</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>BAD:
(2.6)<BR>====<BR>PCI: enabling device 0000:00:0e.0 (0140 -&gt; 0142)<BR>net2280
0000:00:0e.0: PLX NET228x USB Peripheral Controller<BR>net2280 0000:00:0e.0: irq
23, pci mem c2860000, chip rev 0110<BR>net2280 0000:00:0e.0: version: 2005 Sept
27; dma enabled</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>Any
suggestions?</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=576170608-29012007><FONT face=Arial size=2>&nbsp;- Arnon
Meydav</FONT></SPAN></DIV></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000>-- Disclaimer: --<br>
This e-mail is intended solely for the person to whom it is addressed and may contain \
confidential or legally privileged information. Access to this e-mail by anyone else \
is unauthorized. If an addressing or transmission error has misdirected this e-mail, \
please notify the author by replying to this e-mail and destroy this e-mail and any \
attachments.<br> E-mail may be susceptible to data corruption, interception, \
unauthorized amendment, viruses and delays or the consequences thereof. If you are \
not the intended recipient, be advised that you have received this email in error and \
that any use, dissemination, forwarding, printing or copying of this email is \
strictly prohibited.<br> </font></td></tr></table>



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--===============0810740538==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic