From owner-freebsd-arm@FreeBSD.ORG Fri Jul 17 05:36:04 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57E28106566B for ; Fri, 17 Jul 2009 05:36:04 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 0B9A28FC0A for ; Fri, 17 Jul 2009 05:36:03 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id B08C2CA46; Fri, 17 Jul 2009 08:36:02 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84027-04; Fri, 17 Jul 2009 08:35:59 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id DFA4FC4D8; Fri, 17 Jul 2009 08:35:59 +0300 (EEST) Message-ID: <4A600DBE.9000901@bulinfo.net> Date: Fri, 17 Jul 2009 08:35:58 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.19 (X11/20090225) MIME-Version: 1.0 To: Hans Petter Selasky References: <4A5C3BF5.9030200@bulinfo.net> <200907161033.34560.hselasky@c2i.net> <4A5F04B8.1060109@bulinfo.net> <200907162022.25810.hselasky@c2i.net> In-Reply-To: <200907162022.25810.hselasky@c2i.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-arm@freebsd.org Subject: Re: ohci not detected on at91rm9200? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2009 05:36:04 -0000 -----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: on usbus0 >>>> ue0: on cdce0 >>>> ue0: Ethernet address: 2a:23:45:67:89:54 >>>> >>>> ue0: flags=8843 metric 0 mtu >>>> 1500 ether 2a:23:45:67:89:54 >>>> >>>> >>>> But on the other side running 7.2: >>>> cdce0: >>> 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 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 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-----