From owner-freebsd-embedded@FreeBSD.ORG Sat May 31 09:44:23 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 1C3CB1065673 for ; Sat, 31 May 2008 09:44:23 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id D3F978FC15 for ; Sat, 31 May 2008 09:44:22 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 33CAD1119D5; Sat, 31 May 2008 05:44:22 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 31 May 2008 05:44:22 -0400 X-Sasl-enc: 9HxLwaf3mrvBRxkQlr1EFKZwfoPmQotlbe08WTnx2XFd 1212227061 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 7939A33730; Sat, 31 May 2008 05:44:21 -0400 (EDT) Message-ID: <48411DF4.8050803@incunabulum.net> Date: Sat, 31 May 2008 10:44:20 +0100 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: "M. Warner Losh" References: <483CE242.3080500@incunabulum.net> <20080528.080542.-1749738850.imp@bsdimp.com> <483D756B.50403@incunabulum.net> <20080528.091703.514334694.imp@bsdimp.com> In-Reply-To: <20080528.091703.514334694.imp@bsdimp.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 09:44:23 -0000 M. Warner Losh wrote: > Sure... lemme generate some diffs... > Thanks!! I guess the next challenge is to get the USB controller working. 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). %%% 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> %%%