Date: Thu, 16 Jul 2009 10:33:33 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Krassimir Slavchev <krassi@bulinfo.net> Cc: freebsd-arm@freebsd.org Subject: Re: ohci not detected on at91rm9200? Message-ID: <200907161033.34560.hselasky@c2i.net> In-Reply-To: <4A5DF89A.1070004@bulinfo.net> References: <4A5C3BF5.9030200@bulinfo.net> <200907151532.03875.hselasky@c2i.net> <4A5DF89A.1070004@bulinfo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 15 July 2009 17:41:14 Krassimir Slavchev wrote: > Hans Petter Selasky wrote: > > On Wednesday 15 July 2009 15:23:14 Krassimir Slavchev wrote: > >> Hans Petter Selasky wrote: > >>>> It is detected but after configuring the interface I cannot > >>>> send/receive > >>> > >>> You need to "ifconfig up" the interface on both sides before any > >>> traffic will pass. > >> > >> Of course they are: > >> > >> cdce0: > >> flags=108c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST,NEEDSGIANT> > >> metric 0 mtu 1500 > >> ether 2a:00:00:00:00:00 > >> inet 192.168.2.121 netmask 0xffffff00 broadcast 192.168.2.255 > >> media: Ethernet 10baseT/UTP > >> status: active > >> > >> ate0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu > >> 1500 options=8<VLAN_MTU> > >> ether 43:00:00:01:ff:00 > >> inet 192.168.2.189 netmask 0xffffff00 broadcast 192.168.2.255 > >> media: Ethernet autoselect (100baseTX <full-duplex>) > >> status: active > > > > You should have cdce devices on both sides, PC and Host. Looks like there > > will be a network conflict if you use 192.168.2.xx for both network > > devices when they are not on the same cable. > > > > ? > > Yes, I realize that. > > After adding cdce on arm board: > cdce0: <USB Ethernet Comm interface> on usbus0 > ue0: <USB Ethernet> on cdce0 > ue0: Ethernet address: 2a:23:45:67:89:54 > > ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether 2a:23:45:67:89:54 > > > But on the other side running 7.2: > cdce0: <FreeBSD foundation USB Ethernet Adapter, class 2/0, rev > 1.10/1.00, addr 2> on uhub4 > cdce0: setting alternate interface failed > device_attach: cdce0 attach returned 6 Maybe the following patch helps on the ARM side: http://perforce.freebsd.org/chv.cgi?CH=166156 I'm going to test this setup, and will probably resolve the issue, if I find any, including the cache sync stuff. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907161033.34560.hselasky>