Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2008 23:52:14 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: FYI: AT91 UDP is now fully supported (and tested) by the FreeBSD P4 USB project
Message-ID:  <200801062352.15253.hselasky@c2i.net>
In-Reply-To: <200712290220.45527.hselasky@c2i.net>
References:  <200712290220.45527.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <AT91 device bus> on motherboard
at91_st0: <ST> mem 0xdffffd00-0xdffffdff irq 1 on atmelarm0
at91_st0: watchdog registered, timeout intervall max. 64 sec
at91_pio0: <PIOA> mem 0xdffff400-0xdffff5ff irq 1 on atmelarm0
at91_pio0: ABSR: 0x60 OSR: 0 PSR:0x3938001f ODSR: 0
at91_pio0: [FILTER]
at91_pio1: <PIOB> mem 0xdffff600-0xdffff7ff irq 1 on atmelarm0
at91_pio1: ABSR: 0xff301 OSR: 0x2 PSR:0x3fc00cfe ODSR: 0
at91_pio1: [FILTER]
at91_pio2: <PIOC> mem 0xdffff800-0xdffff9ff irq 1 on atmelarm0
at91_pio2: ABSR: 0 OSR: 0x1000000a PSR:0xffffc075 ODSR: 0x10000000
at91_pio2: [FILTER]
at91_pio3: <PIOD> mem 0xdffffa00-0xdffffbff irq 1 on atmelarm0
at91_pio3: ABSR: 0 OSR: 0 PSR:0xfffffff ODSR: 0
at91_pio3: [FILTER]
at91_pmc0: <PMC> mem 0xdffffc00-0xdffffcff irq 1 on atmelarm0
at91_pmc0: Primary: 10000000 Hz PLLA: 180 MHz CPU: 180 MHz MCK: 60 MHz
at91_udp0: <AT91 integrated AT91_UDP controller> mem 0xdffb0000-0xdffb3fff irq 
11,3 on atmelarm0
at91_udp0: [ITHREAD]
at91_udp0: [ITHREAD]
usb0 on at91_udp0
at91_mci0: <MCI mmc/sd host bridge> mem 0xdffb4000-0xdffb7fff irq 10 on 
atmelarm0
at91_mci0: [ITHREAD]
mmc0: <mmc/sd bus> on at91_mci0
at91_twi0: <TWI> mem 0xdffb8000-0xdffbbfff irq 12 on atmelarm0
at91_twi0: [ITHREAD]
iicbus0: <Philips I2C bus> on at91_twi0
setting cwgr to 0x1a4a4
iicbus0: <unknown card> at addr 0
iic0: <I2C generic I/O> on iicbus0
icee0: <I2C EEPROM> at addr 0xa0 on iicbus0
ate0: <EMAC> mem 0xdffbc000-0xdffbffff irq 24 on atmelarm0
ate0: No MAC address setmiibus0: <MII bus> on ate0
ukphy0: <Generic IEEE 802.3u medusbd_alloc_device: set address 2 failed 
(ignored)
usbd_alloc_device: getting device descriptor at addr 2 failed!
uhub1:uhub_reattach_port: could not allocate new device!
mmc0: setting transfer rate to 30.000MHz
Trying to mount root from ufs:/dev/md0
warning: no time-of-day clock registered, system time will not be set 
accurately
Jan  6 18:00:49 init: login_getclass: unknown class 'daemon'
/etc/rc: Can't open /etc/rc: No such file or directory
Enter full pathname of shell or RETURN for /bin/sh: 
cdce0: <USB Ethernet Comm interface> on usb0
cdce0: Ethernet address: 2a:23:45:67:89:54
cdce0: at uhub0, port 1, addr 9 (disconnected)
cdce0: detached
cdce0: <USB Ethernet Comm interface 512x4 HW Accelerated> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801062352.15253.hselasky>