ohci not detected on at91rm9200?

Hans Petter Selasky hselasky at c2i.net
Thu Jul 16 09:33:54 UTC 2009


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



More information about the freebsd-arm mailing list