ohci not detected on at91rm9200?
Krassimir Slavchev
krassi at bulinfo.net
Fri Jul 17 05:36:04 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hans Petter Selasky wrote:
> On Thursday 16 July 2009 12:45:12 Krassimir Slavchev wrote:
>> Hans Petter Selasky wrote:
>>>> 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.
>> I have made these changes on the ARM side but the error is same.
>
> Hi,
>
> You also need this fix, in addition to the previous one.
>
> http://perforce.freebsd.org/chv.cgi?CH=166168
>
> CDC-ethernet should work now.
>
> --HPS
>
Yes, it works!
ARM:
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 2a:23:45:67:89:54
inet 10.0.0.2 netmask 0xff000000 broadcast 10.255.255.255
# ping -c 5 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=3.266 ms
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=2.319 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=2.625 ms
64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=2.624 ms
64 bytes from 10.0.0.1: icmp_seq=4 ttl=64 time=2.472 ms
- --- 10.0.0.1 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.319/2.661/3.266/0.323 ms
On other side running 7.2:
cdce0: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT>
metric 0 mtu 1500
ether 2a:b9:a0:0c:00:00
inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
media: Ethernet 10baseT/UTP
status: active
#ping -c 5 10.0.0.2
PING 10.0.0.2 (10.0.0.2): 56 data bytes
64 bytes from 10.0.0.2: icmp_seq=0 ttl=64 time=1.457 ms
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.436 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=1.423 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=1.422 ms
64 bytes from 10.0.0.2: icmp_seq=4 ttl=64 time=1.415 ms
- --- 10.0.0.2 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.415/1.431/1.457/0.015 ms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFKYA2+xJBWvpalMpkRAoMaAJ99I2jfoePH1KsQlWsVKIacUscPtwCfbWyf
qoMtcrbqJaeoa3Z1Wg1egPE=
=T2Fo
-----END PGP SIGNATURE-----
More information about the freebsd-arm
mailing list