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

Porting NetBSD to L-Card+



はじめまして。島崎と申します。

Laser 5 の L-Card+ 16M で NetBSD を動かしました。
on board の cs (CS8900A Ethernet controller) と
コンパクトフラッシュソケットに挿した wi が動いています。

ソースは全くの as-is ですが、以下にあります。
http://arhc.org/~igy/hpcmips-lcard.tar.gz

// NetBSD-1.6 ブランチで作業しているので、current では
// そのままではうまくいかないかも知れません。


以下 dmesg です。

>> NetBSD/hpcmips L-Card+ Boot, Revision 1.0
>> (igy@caolila, Thu Dec  5 14:50:15 JST 2002)
0
2095392+111552=0x21aea4
mem_cluster_cnt = 2
mem_clusters[0] = {0x0,0x25d000}
mem_clusters[1] = {0x25d000,0xda3000}
loading 0x25d000,0xda3000
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.6_STABLE (LCARD) #1: Mon Dec  9 15:57:01 JST 2002
    igy@caolila:/home/igy/vr/src/sys/arch/hpcmips/compile/LCARD
LASER5 L-CARD+ (NEC VR4181 rev3.8 65.536MHz)
total memory = 16384 KB
total memory banks = 2
memory bank 0 = 0x00000000 2420KB(0x0025d000)
memory bank 1 = 0x0025d000 13964KB(0x00da3000)
avail memory = 12516 KB
using 230 buffers containing 920 KB of memory
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc52) Rev. 5.2 with software
emulated floating point
cpu0: 16KB/16B direct-mapped L1 Instruction cache, 32 TLB entries
cpu0: 8KB/16B direct-mapped write-back L1 Data cache
vr4181ip0 at mainbus0
vrbcu0 at vr4181ip0 addr 0x0a000000-001f
vrbcu0: cpu 65.536MHz, bus 32.768MHz, ram 32.768MHz
vr4181giu0 at vr4181ip0 addr 0x0b000300-03ff
com0 at vr4181ip0 addr 0x0c000010-0017: ns16550a, working fifo
com0: console
com0: pwctl 0
vrrtc0 at vr4181ip0 addr 0x0b0000c0-00df
pcic0 at vr4181ip0 addr 0x0b0008e0
pcic0: controller 0 (Intel 82365SL Revision 1) has socket A only
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
vrisab0 at vr4181giu0: ISA port 0x14010000-0x18000000 mem
0x10100000-0x14000000
isa0 at vrisab0
cs0 at isa0 port 0x300-0x30f irq 218365962 drq 
ISA IRQ 10 -> vr4181giu0 port 4, rising edge hold
cs0: CS8900 rev. J, address 00:20:0f:00:17:b9, media UTP <full-duplex>
cs0: DMA channel unspecified, not using DMA
md0: internal 1024 KB image area
wi0 at pcmcia0 function 0: ADLINK, 345 CF, 
wi0: port 0x14000400-0x1400043f 802.11 address 00:60:b3:69:38:c1
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.5)
boot device: <unknown>
root on md0a dumps on md0b
mountroot: trying ffs...
readclock: 70/1/1/0/0/17WARNING: preposterous clock chip time
setclock: 2/12/4/11/12/48
 -- CHECK AND RESET THE DATE!
root file system type: ffs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
# ls
bin  dev  dist etc  kern mnt  mnt2 sbin tmp  usr  var
# 

--
Naoto Shimazaki