From owner-freebsd-arm@FreeBSD.ORG Sun Jan 6 23:51:34 2008 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 4F15116A41A for ; Sun, 6 Jan 2008 23:51:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id B4D6113C45A for ; Sun, 6 Jan 2008 23:51:33 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe15.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 21980001 for freebsd-arm@freebsd.org; Sun, 06 Jan 2008 23:51:30 +0100 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Date: Sun, 6 Jan 2008 23:52:14 +0100 User-Agent: KMail/1.9.7 References: <200712290220.45527.hselasky@c2i.net> In-Reply-To: <200712290220.45527.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801062352.15253.hselasky@c2i.net> Subject: Re: FYI: AT91 UDP is now fully supported (and tested) by the FreeBSD P4 USB project 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: Sun, 06 Jan 2008 23:51:34 -0000 Hi, I've fixed some issues regarding clear-stall. Latest code is in the FreeBSD P4 USB project. Here is "dmesg" from a KB9202B board using the newly designed 512x4 ethernet protocol and AT91 UDP driver. Bytes transferred = 12270210 (bb3a82 hex) ## Starting application at 0x200000E0 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #377: Sun Jan 6 23:30:14 CET 2008 hans_other@server0.selasky.org:/usr/obj/arm/usr/7-current/src/sys/custom CPU: ARM920T rev 0 (ARM9TDMI core) DC enabled IC enabled WB enabled LABT 16KB/32B 64-way Instruction cache 16KB/32B 64-way write-back-locking-A Data cache real memory = 67108864 (64 MB) avail memory = 53207040 (50 MB) atmelarm0: on motherboard at91_st0: mem 0xdffffd00-0xdffffdff irq 1 on atmelarm0 at91_st0: watchdog registered, timeout intervall max. 64 sec at91_pio0: mem 0xdffff400-0xdffff5ff irq 1 on atmelarm0 at91_pio0: ABSR: 0x60 OSR: 0 PSR:0x3938001f ODSR: 0 at91_pio0: [FILTER] at91_pio1: mem 0xdffff600-0xdffff7ff irq 1 on atmelarm0 at91_pio1: ABSR: 0xff301 OSR: 0x2 PSR:0x3fc00cfe ODSR: 0 at91_pio1: [FILTER] at91_pio2: mem 0xdffff800-0xdffff9ff irq 1 on atmelarm0 at91_pio2: ABSR: 0 OSR: 0x1000000a PSR:0xffffc075 ODSR: 0x10000000 at91_pio2: [FILTER] at91_pio3: mem 0xdffffa00-0xdffffbff irq 1 on atmelarm0 at91_pio3: ABSR: 0 OSR: 0 PSR:0xfffffff ODSR: 0 at91_pio3: [FILTER] at91_pmc0: mem 0xdffffc00-0xdffffcff irq 1 on atmelarm0 at91_pmc0: Primary: 10000000 Hz PLLA: 180 MHz CPU: 180 MHz MCK: 60 MHz at91_udp0: mem 0xdffb0000-0xdffb3fff irq 11,3 on atmelarm0 at91_udp0: [ITHREAD] at91_udp0: [ITHREAD] usb0 on at91_udp0 at91_mci0: mem 0xdffb4000-0xdffb7fff irq 10 on atmelarm0 at91_mci0: [ITHREAD] mmc0: on at91_mci0 at91_twi0: mem 0xdffb8000-0xdffbbfff irq 12 on atmelarm0 at91_twi0: [ITHREAD] iicbus0: on at91_twi0 setting cwgr to 0x1a4a4 iicbus0: at addr 0 iic0: on iicbus0 icee0: at addr 0xa0 on iicbus0 ate0: mem 0xdffbc000-0xdffbffff irq 24 on atmelarm0 ate0: No MAC address setmiibus0: on ate0 ukphy0: on usb0 cdce0: Ethernet address: 2a:23:45:67:89:54 cdce0: at uhub0, port 1, addr 9 (disconnected) cdce0: detached cdce0: on usb0 cdce0: Ethernet address: 2a:23:45:67:89:54 # ifconfig cdce0 192.168.100.3 netmask 0xffffff00 up # Limiting icmp ping response from 269 to 200 packets/sec Limiting icmp ping response from 268 to 200 packets/sec Limiting icmp ping response from 268 to 200 packets/sec Limiting icmp ping response from 269 to 200 packets/sec Limiting icmp ping response from 268 to 200 packets/sec Limiting icmp ping response from 269 to 200 packets/sec Limiting icmp ping response from 268 to 200 packets/sec # ping -f 192.168.100.2 PING 192.168.100.2 (192.168.100.2): 56 data bytes .................................................................................................................^C --- 192.168.100.2 ping statistics --- 1215 packets transmitted, 1102 packets received, 9.3% packet loss round-trip min/avg/max/stddev = 1.251/1.753/3.784/0.186 ms --HPS