[ TOP | Recently ]

2008-07-16 NSLU2

msaitoh氏が NSLU2 を個人輸入するというので、相乗りさせてもらった。

RedBoot> ip_address -l -h
IP:, Gateway:
Default server:, DNS server IP:
RedBoot> load -r -b 0x200000 nslu2.bin
Using default protocol (TFTP)
Raw file loaded 0x00200000-0x004aabcb, assumed entry at 0x00200000
RedBoot> go
[ Kernel symbol table missing! ]
pmap_postinit: Allocated 9 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.69 (NSLU2) #5: Wed Jul 16 08:20:01 JST 2008
total memory = 32768 KB
avail memory = 27008 KB
mainbus0 (root)
cpu0 at mainbus0: IXP425 266MHz rev 1 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way Instruction cache
cpu0: 32KB/32B 32-way write-back-locking Data cache
ixpsip0 at mainbus0
com0 at ixpsip0 addr 0xc8000000-0xc8000fff: ns16550a, working fifo
com0: console
ixp425_intr_establish(irq=15, ipl=3, func=c027d8a0, arg=c10bf400)
ixpclk0 at ixpsip0 addr 0xc8005000-0xc800502f
ixpclk0: IXP425 Interval Timer
ixpdog0 at ixpsip0: Watchdog Timer
slugiic0 at ixpsip0: I2C bus
slugbutt0 at ixpsip0: Power and Reset buttons
slugled0 at ixpsip0: LED support
ixpio0 at mainbus0
ixpio0: configuring PCI bus
pci0 at ixpio0 bus 0
ohci0 at pci0 dev 1 function 0: vendor 0x1033 product 0x0035 (rev. 0x43)
ixp425_intr_establish(irq=28, ipl=1, func=c02851d8, arg=c1112000)
ohci0: interrupting at INTA
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 1 function 1: vendor 0x1033 product 0x0035 (rev. 0x43)
ixp425_intr_establish(irq=27, ipl=1, func=c02851d8, arg=c1113000)
ohci1: interrupting at INTB
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 1 function 2: vendor 0x1033 product 0x00e0 (rev. 0x04)
ixp425_intr_establish(irq=26, ipl=1, func=c0286178, arg=c10d7800)
ehci0: interrupting at INTC
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
ixme0 at mainbus0: IXP4xx MicroEngine Support
ixp425_intr_establish(irq=3, ipl=1, func=c03d99ac, arg=c10d9000)
ixp425_intr_establish(irq=4, ipl=1, func=c03d99ac, arg=c10d9000)
ixpnpe0 at ixme0 NPE-B
ixp425_intr_establish(irq=1, ipl=1, func=c03db710, arg=c110c300)
npe0 at ixpnpe0: Ethernet co-processor
npe0: remember to fix rx q setup
npe0: Ethernet address 00:04:5a:**:**:**
rlphy0 at npe0 phy 1: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
clock: hz=100 stathz=0 profhz=0
ixp425_intr_establish(irq=5, ipl=2, func=c03d8bf0, arg=00000000)
iic0 at slugiic0: I2C bus
xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
ixp425_intr_establish(irq=22, ipl=1, func=c03de804, arg=c110cc00)
ixp425_intr_establish(irq=29, ipl=1, func=c03de798, arg=c110cc00)
ixp425_intr_establish(irq=28, ipl=1, func=c03deb8c, arg=c10bf200)
ixp425_intr_establish(irq=27, ipl=1, func=c03deae4, arg=c10bf200)
ixp425_intr_establish(irq=26, ipl=1, func=c03dea3c, arg=c10bf200)
ixp425_intr_establish(irq=5, ipl=2, func=c03de964, arg=00000000)
uhub0 at usb1: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb2: vendor 0x1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2 at usb0: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
boot device: <unknown>
root device: npe0
dump device: 
file system (default generic): 
root on npe0
mountroot: trying ffs...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server:
nfs_boot: my_name=nslu2
nfs_boot: my_domain=ice.misakimix.org
nfs_boot: my_addr=
nfs_boot: my_mask=
nfs_boot: gateway=
root on
root time: 0x487d8e2a
root file system type: nfs
init path (default /sbin/init): 
init: copying out path `/sbin/init' 11
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for /bin/sh: 
Terminal type? [unknown] 
Terminal type is unknown.
We recommend creating a non-root account and using su(1) for root access.
nslu2# uname -a
NetBSD nslu2 4.99.69 NetBSD 4.99.69 (NSLU2) #5: Wed Jul 16 08:20:01 JST 2008  ryo@falsie:/src/cvs/NetBSD/sys/arch/evbarm/compile/NSLU2 evbarm

最初何も考えず evbarm/conf/NSLU2 で kernel 作ると ethernet が attach できなくて困る。
http://www.intel.com/design/network/products/npfamily/download_ixp400.htm から microcode を落として kernel とリンクさせなきゃいけないということ教えてもらってことなきを得る。


#どうでもいいけど 9-KE じゃシリアル取れなかった。MAX232でちゃんとしたケーブル作って以下略。