From owner-freebsd-embedded@FreeBSD.ORG Sat May 31 14:16:07 2008 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 142DB1065685 for ; Sat, 31 May 2008 14:16:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id AA49D8FC18 for ; Sat, 31 May 2008 14:16:06 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m4VEEcqM002240; Sat, 31 May 2008 08:14:38 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 31 May 2008 08:16:13 -0600 (MDT) Message-Id: <20080531.081613.744564906.imp@bsdimp.com> To: bms@incunabulum.net From: "M. Warner Losh" In-Reply-To: <48411DF4.8050803@incunabulum.net> References: <483D756B.50403@incunabulum.net> <20080528.091703.514334694.imp@bsdimp.com> <48411DF4.8050803@incunabulum.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@FreeBSD.org Subject: Re: Linksys NSLU2 attempt X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2008 14:16:07 -0000 In message: <48411DF4.8050803@incunabulum.net> Bruce M Simpson writes: : M. Warner Losh wrote: : > Sure... lemme generate some diffs... : > : : Thanks!! : : I guess the next challenge is to get the USB controller working. usb was working for me when i tried it... : I found that npe1 is connected to the Realtek PHY. However it doesn't : appear to learn its MAC address; and I don't see any BOOTP from it : (perhaps the zeroes confuse the microcode). I thought that this was working too... Sam put some generic support in that I don't recall if I ever tested out for 'wiring up' the different npe interfaces to the PHYs... Warner : %%% : db> show msgbuf : msgbufp = 0xc00f8fe4 : magic = 63062, size = 65508, r= 0, w = 4927, ptr = 0xc00e9000, cksum= 407657 : GDB: no debug ports present : KDB: debugger backends: ddb : KDB: current backend: ddb : Copyright (c) 1992-2008 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 7.0-RELEASE-p1 #9: Sat May 31 10:28:21 BST 2008 : bms@anglepoise.lon.incunabulum.net:/home/obj/arm/usr/src/sys/NSLU2 : CPU: IXP425 266MHz rev 1 (ARMv5TE) (XScale core) : DC enabled IC enabled WB enabled LABT branch prediction enabled : 32KB/32B 32-way Instruction cache : 32KB/32B 32-way write-back-locking Data cache : real memory = 33554432 (32 MB) : avail memory = 26800128 (25 MB) : ixp0: on motherboard : pcib0: on ixp0 : pci0: on pcib0 : ohci0: irq 28 at device 1.0 on pci0 : ohci0: [GIANT-LOCKED] : ohci0: [ITHREAD] : usb0: OHCI version 1.0 : usb_allocmem: large alloc 256 : usb_allocmem: large alloc 4096 : usbd_match : usbd_match : usb0: on ohci0 : usbd_attach : usb0: USB revision 1.0 : usbd_new_device bus=0xc09fe000 port=0 depth=0 speed=2 : usbd_setup_pipe: dev=0xc0a03580 iface=0 ep=0xc0a035a4 pipe=0xc0a03584 : usbd_get_desc: type=1, index=0, len=8 : usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0, : protocol=0, maxpacket=0, len=0, speed=2 : usbd_new_device: illegal descriptor 0 : usbd_remove_device: 0xc0a03580 : usbd_ar_pipe: pipe=0xc0a03500 : usb0: root hub problem, error=4 : ohci1: irq 27 at device 1.1 on pci0 : ohci1: [GIANT-LOCKED] : ohci1: [ITHREAD] : usb1: OHCI version 1.0 : usb_allocmem: large alloc 256 : usb_allocmem: large alloc 4096 : usbd_match : usbd_match : usb1: on ohci1 : usbd_attach : usb1: USB revision 1.0 : usbd_new_device bus=0xc0a0b000 port=0 depth=0 speed=2 : usbd_setup_pipe: dev=0xc0a03080 iface=0 ep=0xc0a030a4 pipe=0xc0a03084 : usbd_get_desc: type=1, index=0, len=8 : usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0, : protocol=0, maxpacket=0, len=0, speed=2 : usbd_new_device: illegal descriptor 0 : usbd_remove_device: 0xc0a03080 : usbd_ar_pipe: pipe=0xc0a03000 : usb1: root hub problem, error=4 : ehci0: irq 26 at device 1.2 on pci0 : ehci0: [GIANT-LOCKED] : ehci0: [ITHREAD] : usb2: EHCI version 1.0 : usb2: companion controllers, 3 ports each: usb0 usb1 : usb_allocmem: large alloc 4096 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usb_allocmem: large alloc 4032 : usbd_match : usbd_match : usb2: on ehci0 : usbd_attach : usb2: USB revision 2.0 : usbd_new_device bus=0xc09ea800 port=0 depth=0 speed=3 : usbd_setup_pipe: dev=0xc09ee480 iface=0 ep=0xc09ee4a4 pipe=0xc09ee484 : usbd_get_desc: type=1, index=0, len=8 : usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0, : protocol=0, maxpacket=64, len=0, speed=3 : usbd_new_device: illegal descriptor 0 : usbd_remove_device: 0xc09ee480 : usbd_ar_pipe: pipe=0xc09eee80 : usb2: root hub problem, error=4 : ixpclk0: on ixp0 : ixpiic0: on ixp0 : iicbb0: on ixpiic0 : iicbus0: on iicbb0 master-only : iicbus0: at addr 0 : iic0: on iicbus0 : uart0: on ixp0 : uart0: [FILTER] : uart0: console (115200,n,8,1) : uart1: on ixp0 : uart1: [FILTER] : ixpqmgr0: on ixp0 : ixpqmgr0: [ITHREAD] : npe0: on ixp0 : npe0: [ITHREAD] : npe0: remember to fix rx q setup : npe0: Cannot find my PHY. : device_attach: npe0 attach returned 6 : npe1: on ixp0 : npe1: [ITHREAD] : npe1: remember to fix rx q setup : miibus0: on npe1 : rlphy0: PHY 1 on miibus0 : rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto : ixpclk0: [FILTER] : Timecounter "IXP425 Timer" frequency 66666600 Hz quality 1000 : Timecounters tick every 10.000 msec : usb_event_thread: start : usb_task_thread: start taskq usbtask-hc : usb_task_thread: start taskq usbtask-dr : usb_event_thread: start : usb_event_thread: start : : Manual root filesystem specification: : : Mount using filesystem : eg. ufs:/dev/da0a : ? List valid disk boot devices : Abort manual input : : mountroot> : %%% : :