[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SigmarionII



SigmarionII ですが、多少動作するようになりました。
シリアルポートは割り込み駆動で使えているようです。
NE2000 互換 ether も CASSIOPEIA と同様の無理やり
attach で動いています。

しかし、いまのところ HPCMIPS_L1CACHE_DISABLE が
ないと init を fork するあたりで TLB miss とか address error
とかで停止してしまいます。一番最初のころの hpcmips と
同じです。

必要な変更は一応(無理やり) commit したので、以下の
手順で実験できると思います。

  1. カーネルのソースコードと hpcboot を最新の -current にする
  2. sys/arch/hpcmips/conf/MPC303 で HPCMIPS_L1CACHE_DISABLE
     を有効にしてカーネルを作成
  3. NE2000 互換の CF ether と diskless boot 環境を用意
  4. PC 接続ケーブル(RS-232C) でシリアル端末と接続

(普通にモバイルに使えるようにはならないとおもいますが。。。)

Takemura

mem_cluster_cnt = 2
mem_clusters[0] = {0x0,0x2a7000}
mem_clusters[1] = {0x2a7000,0x1d59000}
loading 0x2a7000,0x1d59000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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 1.5ZA (MPC303) #0: Sat Jan  5 16:01:30 JST 2002

takemura@keiko:/work/takemura/build/destdir.hpcmips/home/takemura/cvs/tnf/sr
c/sys/arch/hpcmips/compile/MPC303
DoCoMo sigmarionII (NEC VR4131 rev0.2 180.633MHz)
total memory = 32768 KB
avail memory = 27444 KB
using 435 buffers containing 1740 KB of memory
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc80) Rev. 8.0 with software emulated
floatin
g point Rev. 0.0
cpu0: 16KB/32B 2-way set-associative L1 Instruction cache, 32 TLB entries
cpu0: 16KB/16B 2-way set-associative write-back L1 Data cache
vrip0 at mainbus0
vrbcu0 at vrip0 addr 0xf000000-0xf00001f
vrbcu0: cpu 180.633MHz, bus 22.579MHz, ram 90.316MHz
vrcmu0 at vrip0 addr 0xf000060-0xf00007f
vrgiu0 at vrip0 addr 0xf000140-0xf00015f intr 8
com0 at vrgiu0 addr b600000, half word aligned: ns16550a, working fifo
com0: console
com1 at vrip0 addr 0xf000800-0xf000807 intr 9: ns16550a, working fifo
vrrtc0 at vrip0 addr 0xf000100-0xf00011f intr 2
vrpmu0 at vrip0 addr 0xf0000c0-0xf0000df intr 1
vrled0 at vrip0 addr 0xf000180-0xf00018f intr 17
vrpciu0 at vrip0 addr 0xf000c00-0xf000dff intr 22
pci0 at vrpciu0 bus 0
pci0: i/o space, memory space enabled, rd/line ok
vrc4173bcu0 at pci0 dev 12 function 0: NEC VRC4173 Bus Control Unit (rev.
0x00)
vrc4173bcu0: default clock mask is 1d23
vrc4173cmu at vrc4173bcu0 not configured
vrc4173giu at vrc4173bcu0 not configured
vrc4173piu at vrc4173bcu0 not configured
vrc4173kiu at vrc4173bcu0 not configured
vrc4173aiu at vrc4173bcu0 not configured
vrc4173ps2u at vrc4173bcu0 not configured
vrc4173bcu0: interrupting at 0xc0014ee0
NEC VRC4173 AC97 Unit (audio multimedia, revision 0x01) at pci0 dev 12
function
1 not configured
ohci0 at pci0 dev 12 function 2: NEC USB Host Controller (rev. 0x01)
ohci0: interrupting at vrc4173 intr 0
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
MediaQ Inc. MQ200 (miscellaneous display, revision 0x02) at pci0 dev 13
function
 0 not configured
vrisab6 at vrgiu0: ISA port 0xb80f800-0x18000000 mem 0x10000000-0x14000000
isa6 at vrisab6
ne0 at isa6 port 0x300-0x31f irq 589827
ne0: NE2000 Ethernet
ne0: Ethernet address 00:10:a4:09:23:6f
bivideo0 at mainbus0: pseudo video controller
bivideo0: framebuffer address: 0xb0800000
hpcfb0 at bivideo0
wsdisplay0 at hpcfb0 kbdmux 1
btnmgr0 at mainbus0
wskbd0 at btnmgr0 mux 1
wskbd0: connecting to wsdisplay0
hpcapm0 at mainbus0: pseudo power management module
apmdev0 at hpcapm0: Power Management spec V1.2
md0: internal 0 image area
boot device: <unknown>
unknown device major 0xffffffff
root device (default md0a): ne0
dump device:
file system (default nfs):
root on ne0
nfs_boot: trying BOOTP
nfs_boot: BOOTP next-server: 192.168.1.2
nfs_boot: my_name=toromegu
nfs_boot: my_domain=foo.bar
nfs_boot: my_addr=192.168.1.99
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.1.3
root on hpcserv:/work/hpcmips
WARNING: clock lost 369 days -- CHECK AND RESET THE DATE!
swapctl: /dev/wd0b: Device not configured
Setting tty flags.
Starting network.
Hostname: toromegu
default              192.168.1.3          done
Configuring network interfaces:.
add net fe80::: gateway ::1
add net fc80::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net 2002:e000::: gateway ::1
add net 2002:7f00::: gateway ::1
add net 2002:0000:0000::: gateway ::1
add net 2002:ffff:ffff::: gateway ::1
IPv6 mode: host
Checking for core dump...
savecore: can't find device 533/524724
/etc/rc: WARNING No swap space configured!
Mounting all filesystems...
Building databases...
kvm_mkdb: /netbsd.mpc303: No such file or directory
Checking quotas: done.
Preserving editor files.
/etc/mail/sendmail.cf: line 0: cannot open: No such file or directory
Clearing /tmp.
Setting securelevel: kern.securelevel: 0 -> 1
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0: screen 1 added (std, vt100 emulation)
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0: screen 2 added (std, vt100 emulation)
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0: screen 3 added (std, vt100 emulation)
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0: screen 4 added (std, vt100 emulation)
wsconscfg: WSMUX_ADD_DEVICE: Invalid argument
starting local daemons: sshd.
wsconscfg: WSMUX_ADD_DEVICE: Device not configured
wsconscfg: WSMUX_ADD_DEVICE: Device not configured
wsconsctl: keysym Caps_Lock not found
Updating motd.
Starting inetd.
Starting cron.
Mon Jan  1 12:05:29 JST 2001

NetBSD/hpcmips (toromegu) (console)

login:

EOF