Subject: porting to Sun JavaStation-1
To: None <>
From: Michael Cerrato <>
List: tech-ports
Date: 09/14/1998 13:16:17
I'm trying to port the sparc version of NetBSD to Sun's first line of
JavaStations (SUNW,JavaStation-1, they look like an external CD box).
To my suprise, they appear to be a fairly run of the mill sun4m (sbus,
lance ethernet, some sort of tcx video).  I've actually got NetBSD
running on one, compiled X11R6.3, and was able to run the X server.

The catch is the PC (with PS/2 plugs) style keyboard and mouse.
I've fiddled with the kbd driver, but I'm not getting anything
from the keyboard.  I don't even know if the keyboard is on 
zs1.  The PROM doesn't open the keyboard at all.  There is a
zs0, but if I leave it in the kernel config file, the kernel
panics with the message "findzs: zs0 not mapped by PROM".

To be honest, these things don't make very good JavaStations.  We're
hoping to make them useful as xterminals.  They ought to be at least
as good as the 3/80s and sun4cs that we currently use as xterminals.

If anyone has or knows where I can find some more information about
these boxes, or has any tips or ideas, I'd be really greatful.  I'm
attaching the output of dmesg for anyone who is interested.  (Can
anyone shed some light on the stuff that is listed as "not
configured"?  Like, what is a SUNW,CS4231?  Audio, maybe?)


Michael Cerrato


NetBSD 1.3.2 (XTERM) #2: Sat Sep 12 12:45:31 PDT 1998
real mem = 16486400
avail mem = 13332480
using 201 buffers containing 823296 bytes of memory
bootpath: /iommu@0,10000000/sbus@0,10001000/ledma@4,8400010/le@4,8c00000
mainbus0 (root): SUNW,JavaStation-1
cpu0 at mainbus0: MB86904 @ 100 MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 8K data (16 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
timer0 at obio0 addr 0x71d00000 delay constant 47
[zs at obio0] addr 0x71100000 not configured
zs1 at obio0 addr 0x71000000 pri 12, softpri 6
kbd0 at zs1 channel 0 (console)
ms0 at zs1 channel 1
[slavioconfig at obio0] addr 0x71800000 not configured
auxreg0 at obio0 addr 0x71900000
[su at obio0] addr 0x713002f8 not configured
iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 20 MHz
tcx0 at sbus0 slot 2 offset 0x800000: SUNW,tcx, 1024 x 768, id 0, rev 2, sense 0 (console)
tcx0: attached to /dev/fb
SUNW,CS4231 at sbus0 slot 3 offset 0xc000000 not configured
ledma0 at sbus0 slot 4 offset 0x8400010: rev 2
le0 at ledma0 slot 0x4 offset 0x8c00000 pri 6: address 08:00:20:86:fe:13
le0: 8 receive buffers, 2 transmit buffers
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=0x80e3e0f9
nfs_boot: server_addr=0x80e3e0fa
root on beaker-224-0:/export/netbsd/root
root file system type: nfs
kbd0: reset failed