espyの日記: obs266 128MB (3) 1
直前のでnfsがコケてたのは、読み込まれる
(サーバ側に用意され、OBS266がLAN経由で読み込む) fstabに書いた、ホスト側アドレスが
単純に間違ってただけ。途中でホストのIP固定にしたの忘れてた。
OpenBlocks本体内にHDDを取り付けて、インストール用のカーネルを使うと、sysinstが
起動して、一見、メニューに従っていけばインストールできるのか…と思いきや、途中で進まなく
なってしまう。あきらめて、手動でやることにする。
どこにも fdisk が無い!と思ったら、disklabel を使うらしい。
TOKUDA.NETさんのページの、以下草稿につき… の手順の所をヒントに。
なんとかして、ハードディスクからの起動に成功。長かった。
しかしまだ問題あり。
405GPr 1.2 ROM Monitor (5/25/02) OBS266 1.4
--------------------- System Info ----------------------
Processor = 405GPr (New mode), PVR: 50910951
CPU speed = 266 MHz
PLB speed = 133 MHz
OPB speed = 66 MHz
EBC speed = 66 MHz
PCI Bus speed = 33 MHz (Async)
VCO speed = 800 MHz
Feedback Clock = CPU
Amount of SDRAM = 128 MBytes
Internal PCI arbiter enabled
--------------------------------------------------------
--- Device Configuration ---
Power-On Test Devices:
000 Enabled System Memory [RAM]
002 Enabled Ethernet [ENET]
003 Enabled PCI Ethernet [PCIENET]
----------------------------
Boot Sources:
001 Enabled System FLASH [FLASH]
002 Enabled Ethernet [ENET]
LOCAL: 192.168.2.12
REMOTE: 192.168.2.32
MAC: 000A8501B910
004 Enabled Serial Port 1 [S1]
----------------------------
Debugger: Disabled
----------------------------
1 - Enable/disable tests
2 - Enable/disable boot devices
3 - Change IP addresses
4 - Ping test
5 - Toggle ROM monitor debugger
6 - Toggle automatic menu
7 - Display configuration
8 - Save changes to configuration
9 - Set baud rate for s1 boot
A - Enable/disable I cache (Enabled )
B - Enable/disable D cache (Enabled )
F - FLASH image update
M - Memory Test
0 - Exit menu and continue
->0 ←─────────────── "0"を入力した
Booting from [FLASH] System FLASH ...
+8000000,
00025000-08000000 -> 00378000-08000000 = 7c88000
Board config data:
usr_config_ver = 1.4
rom_sw_ver = 1.2
mem_size = 134217728
mac_address_local = 00:0a:85:01:b9:10
mac_address_pci = 00:0a:85:01:39:10
processor_speed = 266666666
plb_speed = 133333333
pci_speed = 33333333
Loaded initial symtab at 0x2df740, strtab at 0x302a68, # entries 8927
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
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 3.1 (OPENBLOCKS266) #0: Tue Oct 31 01:49:24 UTC 2006
builds@b1.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/evbppc/200610302
053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/evbppc/compile/OPENBLOCK
S266
Model: OpenBlockS266 IBM PowerPC 405GPr Board
total memory = 128 MB
avail memory = 123 MB
plb0 (root)
cpu0 at plb0: 266MHz 405GPr (Revision 9.81)
Instruction cache size 16384 line size 32
Data cache size 16384 line size 32
PVR: owner 509 core family 1 cache 2 version 5 asic 11
ecc0 at plb0 irq 16: ECC controller
opb0 at plb0
com0 at opb0 addr 0xef600300 irq 0: ns16550a, working fifo
com0: console
com1 at opb0 addr 0xef600400 irq 1: ns16550a, working fifo
emac0 at opb0 addr 0xef600800 irq 9: 405GP EMAC
emac0: interrupting at irqs 9 .. 15
emac0: Ethernet address 00:0a:85:01:b9:10
lxtphy0 at emac0 phy 0: LXT971/2 10/100 media interface, rev. 2
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gpio0 at opb0 addr 0xef600700: On-Chip GPIO controller
obsled0 at gpio0 addr GPIO#12: OpenBlockS led1
obsled1 at gpio0 addr GPIO#13: OpenBlockS led2
obsled2 at gpio0 addr GPIO#14: OpenBlockS led4
gpiic0 at opb0 addr 0xef600500 irq 2: On-Chip IIC controller
iic0 at gpiic0: I2C bus
xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
wdog0 at opb0: 4 second period
pchb0 at plb0
pchb0: IBM PPC 405GP PCI Bridge (rev. 0x21)
pci0 at pchb0
pci0: i/o space, memory space enabled
IBM PPC 405GP PCI Bridge (host bridge, revision 0x21) at pci0 dev 0 function 0 n
ot configured
hptide0 at pci0 dev 3 function 0
hptide0: Triones/Highpoint HPT371 IDE Controller
hptide0: bus-master DMA support present
hptide0: primary channel wired to native-PCI mode
hptide0: using irq 30 for native-PCI interrupt
atabus0 at hptide0 channel 0
hptide0: secondary channel wired to native-PCI mode
atabus1 at hptide0 channel 1
tlp0 at pci0 dev 4 function 0: Davicom DM9102A Ethernet, pass 4.0
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at irq 31
tlp0: Ethernet address 00:0a:85:01:39:10
dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 1
dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pbus at plb0 not configured
biomask 1c02 netmask 1c03 ttymask 1c03
Setting PIT to 266666666/100 = 2666666
wd0 at atabus1 drive 0: <FUJITSU MHV2080AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(hptide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
root device: wd0a ←────────────── "wd0a"を入力した
dump device (default wd0b): ←───────── <enter>
file system (default generic): ←───────── <enter>
root on wd0a dumps on wd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
init path (default /sbin/init): ←───────── <enter>
init: copying out path `/sbin/init' 11
Fri May 4 21:58:40 UTC 2007
swapctl: adding /dev/wd0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rwd0a: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: espilab-sv6
IPv6 mode: host
Configuring network interfaces: emac0.
add net default: gateway 192.168.2.8
Adding interface aliases:
Building databases...
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
mount: realpath /kern: No such file or directory
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting sendmail.
Starting inetd.
Starting cron.
Fri May 4 21:59:02 UTC 2007
NetBSD/evbppc (espilab-sv6) (console)
login: root
May 4 21:59:20 espilab-sv6 login: ROOT LOGIN (root) ON console
Last login: Fri May 4 21:34:39 2007 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
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 3.1 (OPENBLOCKS266) #0: Tue Oct 31 01:49:24 UTC 2006
Welcome to NetBSD!
Terminal type is vt100.
We recommend creating a non-root account and using su(1) for root access.
espilab-sv6#
ブートの途中で、シリアルのコンソールからいくつか入力してあげないといけない。
つまり、このままでは電源を入れたり起動し直したりするたびに、シリアルポートに
ターミナルをつながないといけない。
これをスルーさせるには...カーネルのビルドしかないのか…?!
続きはまたあとで。寝る。
カーネルが起動した後みたい (スコア:1)
たぶんカーネルのビルドは必要ない。あるいはカーネルオプションでroot=とかinit=とか、そんな感じだと思う。