Subject: SUN4 port
To: None <port-sparc@sun-lamp.cs.berkeley.edu>
From: Chuck Cranor <chuck@maria.wustl.edu>
List: port-sparc
Date: 08/05/1994 20:44:21
greetings-

   i have ported netbsd/sparc from the sun4c architecture to
the sun4 (sun-4/300) processor architecture.   i've got it running
diskless on a sun-4/330 and a sun-4/370 with serial line consoles.
[i've ported the cgsix driver, but it doesn't work totally right
under X (it doesn't get a cursor)... it works ok in console mode 
with a type 4 keyboard.  i don't have a bwtwo to play with...]    
I have not done any VME support (no docs on it... need info on the 
xd disk controller).   SCSI disk stuff works on some boards but 
not others (it may be a ESP100 vs ESP100A thing?  i suspect
some minor tuning will fix this).   i have not tried booting
off the SCSI disk yet (haven't had time and am going out of town for
a month).

   is anyone out there interested in trying this out?   drop 
me a line!  i would like to see sun4 support get added to the 
main distribution (who should I contact for this?).

cheers,
chuck

ps- here is some output to whet your appetite!

>b le()netbsd 
Using IP Address 128.252.169.7 = 80FCA907
Boot: le(0,0,0)netbsd 
Booting from tftp server at 128.252.169.2 = 80FCA902
Downloaded 140904 bytes from tftp server.

Using IP Address 128.252.169.7 = 80FCA907
hostname: xxx
domainname: wuccrc
server name 'dworkin'
root pathname '/export/root/NETBSD'
root on dworkin:/export/root/NETBSD fstype nfs
Size: 1032160+90232+71960 bytes
SUN4 PROM Version: 4
boot: le(0,0,0)netbsd <no flags>
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.0_BETA (CCRC300) #17: Fri Aug  5 17:36:18 CDT 1994
    root@xxx.ccrc.wustl.edu:/usr/src/sys2/arch/sparc/compile/CCRC300
real mem = 25100288
avail mem = 22274048
using 153 buffers containing 1253376 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: SUN-4/300 series (L64812 or ACT8847 FPU)
cpu0: cache chip bug; trap page uncached
cpu0: 131072 byte write-back, 16 bytes/line, sw flush cache enabled
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xef000000
memreg0 at mainbus0 ioaddr 0xf4000000
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zs0a: console i/o
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
zs2 at mainbus0 ioaddr 0xe0000000 pri 12, softpri 6
esp0 at mainbus0 ioaddr 0xfa000000 pri 4: ESP100A, clock = 24 MHz, ID = 7
     dma vaddr fe00b000: rev 0
tg0 at esp0 target 3
sd0 at tg0 unit 0: CDC 94171-9 0045, 640584 512 byte blocks
sd0: <CDC Wren IV 94171-344 cyl 1545 alt 2 hd 9 sec 46>
le0 at mainbus0 ioaddr 0xf9000000 pri 6: hardware address 08:00:20:08:44:ed
Found boot device le0
nfs_boot: using network interface 'le0'
nfs_boot: client=0x80fca907, server=0x80fca902
nfs_boot: hostname=xxx
root on dworkin:/export/root/NETBSD
swap on dworkin:/export/swap/xxx
 root time: 0x2e3f2ccc
WARNING: clock gained 2 days -- CHECK AND RESET THE DATE!
 swap size: 0x10000 (blocks)
Automatic boot in progress: starting file system checks.
kernfs: Operation not supported by device
setting tty flags
starting network
add host xxx.ccrc.wustl.edu: gateway localhost
add net default: gateway 128.252.169.249
rm: cron.pid: Read-only file system.
rm: dev.db: Read-only file system.
rm: inetd.pid: Read-only file system.
rm: ld.so.hints: Read-only file system.
rm: mountd.pid: Read-only file system.
rm: syslog.pid: Read-only file system.
rm: utmp: Read-only file system.
install: utmp: Read-only file system
starting rpc daemons: portmap ypbind nfsiod.
starting system logger.
checking for core dump...
savecore: no core dump (no dumpdev)
checking quotas: done.
building databases...
clearing /tmp
standard daemons: update cron.
starting network daemons: printer inetd.
starting local daemons:.
runtime link editor directory cache
Fri Aug  5 17:51:20 CDT 1994
Aug  5 17:51:21 xxx init: kernel security level changed from 0 to 1

NetBSD/sparc (xxx.ccrc.wustl.edu) (console)

login: chuck
Password:
Last login: Fri Aug  5 17:41:58 from xxx
Copyright (c) 1980,1983,1986,1988,1990,1991 The Regents of the University
of California.  All rights reserved.

NetBSD 1.0_BETA (CCRC300) #17: Fri Aug  5 17:36:18 CDT 1994

from: can't read /var/mail/chuck.
Terminal type? [avt] xterm
chuck has logged on console from local.
xxx[31]> 

------------------------------------------------------------------------------