NetBSD/n1200

Thecus N1200 と N3200 で NetBSD を動かしてみました。 まだ一部(どころかいろいろと)ちゃんと動いていません。 マルチユーザーで動いて slogin したりはできます。

ちなみに bcベンチ:-) は 40秒ほどです(N1200)。

ソースコードとカーネルをいつものところに置きました。

U-Boot 1.1.3 (FSL Development) (Jan 31 2007 - 17:57:16) MPC83XX Clock configuration: Coherent System Bus: 266 MHz Core: 266 MHz Local Bus Controller: 266 MHz Local Bus: 33 MHz DDR: 266 MHz I2C: 266 MHz TSEC1: 266 MHz TSEC2: 266 MHz USB MPH: 88 MHz USB DR: 88 MHz CPU: MPC83xx, Rev: 11 at 266.666 MHz Board: Thecus N1200 I2C: ready DRAM: SDRAM on Local Bus is NOT available! DDR RAM: 128 MB FLASH: 8 MB PCI1 32bit on PMC1 & PMC2 & PMC3 In: serial Out: serial Err: serial Net: Freescale TSEC0: PHY is Realtek RTL8211B (1cc912) Freescale TSEC1: PHY id 1410c87 is not supported! Freescale TSEC1: No PHY found Freescale TSEC0, Freescale TSEC1 Thecus Version: 3, PIC version: 4 Hit any key to stop autoboot: 0 => boot Speed: 100, full duplex BOOTP broadcast 1 Using Freescale TSEC0 device TFTP from server 10.1.1.1; our IP address is 10.1.1.12 Filename 'boot.n1200'. Load address: 0x8000 Loading: ######### done Bytes transferred = 43140 (a884 hex) ## Booting image at 00008000 ... Image Name: Boot Image Type: PowerPC NetBSD Kernel Image (uncompressed) Data Size: 43076 Bytes = 42.1 kB Load Address: 00004000 Entry Point: 00004000 Verifying Checksum ... OK OK ## Transferring control to NetBSD stage-2 loader (at address 00004000) ... >> NetBSD/n1200 Boot, Revision 1.1 >> (tsubai@sakura, Wed Dec 31 15:17:15 JST 2008) 2284472+229408 [144640+137813]=0x2aaefc start=0x100000 bootpath: disk:/netbsd 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 5.99.7 (N1200) #1: Sun Mar 15 02:18:38 JST 2009 tsubai@sakura:/a/0301/src/sys/arch/n1200/compile/N1200 total memory = 128 MB avail memory = 121 MB mainbus0 (root) cpu0 at mainbus0: 8347 (Revision 11), ID 0 (primary) cpu0: HID0 0x8090c000<EMCP,DOZE,DPM,ICE,DCE> cpu0: HID1 0x44000000<PC1,PC5> cpu0: HID2 0xe40000<IFEC,EBQS,EBPX,HBE> flash0 at mainbus0: 28F640 (8MB) lb0 at mainbus0 com0 at lb0 addr 0x4500 irq 9: ns16550a, working fifo com0: console com1 at lb0 addr 0x4600 irq 10: ns16550a, working fifo tsec0 at lb0 addr 0x24000 irq 32,33: address 00:14:fd:10:93:d2 rgephy0 at tsec0 phy 17: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto tsec1 at lb0 addr 0x25000 irq 35,36: address 00:14:fd:10:93:d3 mvphy0 at tsec1 phy 1: Marvell 88E6060 10/100 5-port PHY switch, rev. 7 mvphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto mvphy1 at tsec1 phy 2: Marvell 88E6060 10/100 5-port PHY switch, rev. 7 mvphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto mvphy2 at tsec1 phy 3: Marvell 88E6060 10/100 5-port PHY switch, rev. 7 mvphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto mvphy3 at tsec1 phy 4: Marvell 88E6060 10/100 5-port PHY switch, rev. 7 mvphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ehci0 at lb0: addr 0x22100 irq 39 ehci0: EHCI version 1.0 usb0 at ehci0: USB revision 2.0 i2c0 at lb0 addr 0x3000 i2c1 at lb0 addr 0x3100 pbi0 at lb0: addr 0x8300 pci0 at pbi0 bus 0 pci0: i/o space, memory space enabled pchb0 at pci0 dev 0 function 0 pchb0: unknown vendor 0x1957 product 0x0085 (rev. 0x11) pcic0 at pci0 dev 15 function 0: TI PCI1410 PCMCIA controller pcic0: controller 0 (Intel 82365SL Revision 0) has sockets A and B pcic0: interrupting at irq 21 pcmcia0 at pcic0 controller 0 socket 0 pcic0: WARNING: powerhook_establish is deprecated satalink0 at pci0 dev 16 function 0: Silicon Image SATALink 3512 (rev. 0x01) satalink0: SATALink BA5 register space disabled satalink0: bus-master DMA support present satalink0: using irq 20 for native-PCI interrupt atabus0 at satalink0 channel 0 atabus1 at satalink0 channel 1 pbi1 at lb0: addr 0x8380 pci1 at pbi1 bus 0 pci1: i/o space, memory space enabled pchb1 at pci1 dev 0 function 0 pchb1: unknown vendor 0x1957 product 0x0085 (rev. 0x11) obio0 at mainbus0 rsclock0 at obio0 addr 0x64: 5C372 RTC tio0 at obio0 addr 0x6c: Thecus I/O fan0 at obio0 addr 0x5c: F75375S satalink0: port 0: device present, speed: 1.5Gb/s wd0 at atabus0 drive 0: <ST380013AS> wd0: drive supports 16-sector PIO transfers, LBA48 addressing wd0: 19077 MB, 38760 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080 sectors uhub0 at usb0: MPC8347 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA) wi0 at pcmcia0 function 0: <Lucent Technologies, WaveLAN/IEEE, Version 01.01, > pcic0: port 0x2000-0x203f wi0: 802.11 address 00:02:2d:5b:b4:90 wi0: using Lucent Embedded WaveLAN/IEEE wi0: Lucent Firmware: Station (6.16.1) wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps boot device: wd0 root on wd0a dumps on wd0b root file system type: ffs Automatic boot in progress: starting file system checks. ... U-Boot 1.1.6 (Sep 28 2007 - 13:46:00) MPC83XX Clock configuration: Coherent System Bus: 266 MHz Core: 399 MHz Local Bus Controller: 266 MHz Local Bus: 66 MHz DDR: 266 MHz SEC: 88 MHz I2C1: 266 MHz I2C2: 266 MHz TSEC1: 266 MHz TSEC2: 266 MHz USB MPH: 88 MHz USB DR: 88 MHz CPU: MPC8347, Rev: 31 at 399.999 MHz Board: Thecus N3200 I2C: ready DRAM: Initializing DDR DIMM: data bus width is 64 bit without ECC DDRC ECC mode: OFF DDR RAM: 256 MB FLASH: 16 MB PCI1: 32-bit on PMC1, PMC2, PMC3 PCI1: 66.67 MHz In: serial Out: serial Err: serial Net: TSEC0, TSEC1 Thecus Version: 6, PIC version: 012 Hit any key to stop autoboot: 0 N3200 => setenv bootargs disk1: N3200 => bootm fe640000 ## Booting image at fe640000 ... Image Name: Boot Created: 1970-01-01 0:00:00 UTC Image Type: PowerPC NetBSD Kernel Image (uncompressed) Data Size: 43608 Bytes = 42.6 kB Load Address: 00004000 Entry Point: 00004000 Verifying Checksum ... OK OK ## Transferring control to NetBSD stage-2 loader (at address 00004000) ... >> NetBSD/n1200 Boot, Revision 1.1 >> (tsubai@sakura, Mon Jan 12 11:17:34 JST 2009) 2284408+229392 [144416+137560]=0x2aaccc start=0x100000 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 5.99.5 (N3200) #30: Mon Jan 12 11:22:56 JST 2009 tsubai@sakura:/a/0101/src/sys/arch/n1200/compile/N3200 total memory = 256 MB avail memory = 246 MB mainbus0 (root) cpu0 at mainbus0: 8347 (Revision 30), ID 0 (primary) cpu0: HID0 0x8090c000<EMCP,DOZE,DPM,ICE,DCE> cpu0: HID1 0x46000000<PC1,PC5,PC6> cpu0: HID2 0xe40000<IFEC,EBQS,EBPX,HBE> lb0 at mainbus0 com0 at lb0 addr 0x4500 irq 9: ns16550a, working fifo com0: console com1 at lb0 addr 0x4600 irq 10: ns16550a, working fifo tsec0 at lb0 addr 0x24000 irq 32,33: address 00:14:fd:11:b5:a6 rgephy0 at tsec0 phy 17: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto tsec1 at lb0 addr 0x25000 irq 35,36: address 00:14:fd:11:b5:a7 rgephy1 at tsec1 phy 1: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto ehci0 at lb0: addr 0x22100 irq 39 ehci0: EHCI version 1.0 usb0 at ehci0: USB revision 2.0 i2c0 at lb0 addr 0x3000 i2c1 at lb0 addr 0x3100 pbi0 at lb0: addr 0x8300 pci0 at pbi0 bus 0 pci0: i/o space, memory space enabled pchb0 at pci0 dev 0 function 0 pchb0: unknown vendor 0x1957 product 0x0085 (rev. 0x30) satalink0 at pci0 dev 16 function 0: Silicon Image SATALink 3114 (rev. 0x02) satalink0: 66MHz PCI bus satalink0: bus-master DMA support present satalink0: using irq 20 for native-PCI interrupt atabus0 at satalink0 channel 0 atabus1 at satalink0 channel 1 atabus2 at satalink0 channel 2 atabus3 at satalink0 channel 3 pbi1 at lb0: addr 0x8380 pci1 at pbi1 bus 0 pci1: memory space enabled pchb1 at pci1 dev 0 function 0 pchb1: unknown vendor 0x1957 product 0x0085 (rev. 0x30) obio0 at mainbus0 rsclock0 at obio0 addr 0x164: 5C372 RTC tio0 at obio0 addr 0x6c: Thecus I/O fan0 at obio0 addr 0x15c: F75375S satalink0: port 1: device present, speed: 1.5Gb/s wd0 at atabus1 drive 0: <ST380013AS> wd0: drive supports 16-sector PIO transfers, LBA48 addressing wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors uhub0 at usb0: MPC8347 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) wd0(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA) umass0 at uhub0 port 1 configuration 1 interface 0 umass0: Silicon Integrated Systems USB Mass Storage Device, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, 1 lun per target sd0 at scsibus0 target 0 lun 0: <PACCOM, USB Flash Disk, 0.00> disk removable sd0: 242 MB, 500 cyl, 8 head, 32 sec, 512 bytes/sect x 496000 sectors boot device: wd0 root on wd0a dumps on wd0b root file system type: ffs Automatic boot in progress: starting file system checks. ...