Linksys NSLU2 attempt

Bruce M Simpson bms at incunabulum.net
Sat May 31 09:44:23 UTC 2008


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 at 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: <Intel IXP425> on motherboard
pcib0: <IXP425 PCI Bus> on ixp0
pci0: <PCI bus> on pcib0
ohci0: <NEC uPD 9210 USB controller> 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: <NEC uPD 9210 USB controller> 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: <NEC uPD 9210 USB controller> 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: <NEC uPD 9210 USB controller> 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: <NEC uPD 720100 USB 2.0 controller> 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: <NEC uPD 720100 USB 2.0 controller> 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: <IXP425 Timer> on ixp0
ixpiic0: <IXP425 GPIO-Based I2C Interface> on ixp0
iicbb0: <I2C bit-banging driver> on ixpiic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus0: <unknown card> at addr 0
iic0: <I2C generic I/O> on iicbus0
uart0: <Non-standard ns8250 class UART with FIFOs> on ixp0
uart0: [FILTER]
uart0: console (115200,n,8,1)
uart1: <Non-standard ns8250 class UART with FIFOs> on ixp0
uart1: [FILTER]
ixpqmgr0: <IXP425 Q-Manager> on ixp0
ixpqmgr0: [ITHREAD]
npe0: <IXP NPE-B> on ixp0
npe0: [ITHREAD]
npe0: remember to fix rx q setup
npe0: Cannot find my PHY.
device_attach: npe0 attach returned 6
npe1: <IXP NPE-C> on ixp0
npe1: [ITHREAD]
npe1: remember to fix rx q setup
miibus0: <MII bus> on npe1
rlphy0: <RTL8201L 10/100 media interface> 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:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:/dev/da0a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot>
%%%


More information about the freebsd-embedded mailing list