Annotation of tme/machine/sun2/SUN2-MULTIBUS, revision 1.1.1.3

1.1.1.3 ! root        1: # $Id: SUN2-MULTIBUS,v 1.11 2005/04/30 15:12:12 fredette Exp $
1.1       root        2: 
1.1.1.2   root        3: ## SUN2-MULTIBUS - example tmesh commands to create a Sun2 Multibus
                      4: ## machine:
1.1       root        5: 
1.1.1.2   root        6: ## the Multibus and VME sun2 common buses and devices:
                      7: ##
1.1       root        8: mainbus0: tme/machine/sun2 multibus my-sun2-idprom.bin
                      9: cpu0 at mainbus0: tme/ic/m68010
                     10: obio0 at mainbus0 obio: tme/generic/bus size 8MB
                     11: obmem0 at mainbus0 obmem: tme/generic/bus size 16MB
                     12: ram0 at obmem0 addr 0x0: tme/host/posix/memory ram 4MB
                     13: rom0 at obmem0 addr 0xef0000: tme/host/posix/memory rom sun2-multi-rev-R.bin
                     14: rom0 at obmem0 addr 0xef8000
                     15: 
1.1.1.2   root       16: ## the Multibus sun2 obio devices:
                     17: ##
                     18: clock0 at obio0 addr 0x2800: tme/machine/sun2/clock
                     19: tod0 at obio0 addr 0x3800: tme/machine/sun2/tod
                     20: zs0 at obio0 addr 0x2000 ipl 6: tme/machine/sun2/zs
1.1       root       21: 
1.1.1.2   root       22: ## the Multibus sun2 Multibus buses:
                     23: ##
                     24: mbio0 at mainbus0 mbio: tme/generic/bus size 8MB
                     25: mbmem0: tme/generic/bus size 8MB
                     26: mainbus0 mbmem at mbmem0 addr 0x00000
1.1       root       27: 
1.1.1.2   root       28: ## the Sun "SCSI-2" Multibus board:
                     29: ##
                     30: sc0 at mbmem0 addr 0x80000 ipl 2: tme/bus/multibus/sun-sc
                     31: scsibus0 at sc0: tme/scsi/bus
                     32: #zs2 at mbmem0 addr 0x80800 ipl 6: tme/machine/sun2/zs
                     33: #zs3 at mbmem0 addr 0x81000 ipl 6: tme/machine/sun2/zs
                     34: 
                     35: ## the 3Com 3C400 Ethernet Multibus board:
                     36: ##
                     37: # uncomment these two lines if you have read/write permission on one
                     38: # of your /dev/bpfN devices and you want an Ethernet device:
                     39: #
                     40: #ec0 at mbmem0 addr 0xe0000 ipl 3: tme/bus/multibus/3c400 ether "00:01:02:03:04:05"
                     41: #bpf0 at ec0: tme/host/bsd/bpf
                     42: 
1.1.1.3 ! root       43: ## the Sun Intel Ethernet Multibus board:
        !            44: ##
        !            45: ## NB that the mie "memory" attachment argument must match the
        !            46: ## low 20 bits of the address of the memory's bus attachment:
        !            47: ##
        !            48: # uncomment these lines if you have read/write permission on one
        !            49: # of your /dev/bpfN devices and you want an Ethernet device:
        !            50: #
        !            51: #mie0: tme/bus/multibus/sun-mie
        !            52: #mie0 csr at mbmem0 addr 0x88000 ipl 3
        !            53: #mie0 memory 0xa0000 at mbmem0 addr 0xa0000
        !            54: #ie0 at mie0: tme/ic/i82586
        !            55: #bpf1 at ie0: tme/host/bsd/bpf delay 10000
        !            56: 
1.1.1.2   root       57: ## the Sun bwtwo Multibus board, Sun type-2 keyboard and mouse, and
                     58: ## the GTK-based display to drive them all:
                     59: ##
                     60: # comment out these eight lines if you don't have GTK or you don't
                     61: # want a display console:
                     62: #
1.1.1.3 ! root       63: bwtwo0 at obmem0 addr 0x700000 ipl 4: tme/machine/sun2/bwtwo type multibus
1.1.1.2   root       64: zs1 at obmem0 addr 0x780000 ipl 6: tme/machine/sun2/zs
                     65: kbd0 at zs1 channel A: tme/serial/keyboard type sun-type-2 macros my-sun-macros.txt map sun-keyboards.txt rate 20
                     66: ms0 at zs1 channel B: tme/serial/mouse type mousesystems-5
                     67: display0: tme/host/gtk/display
                     68: display0 at bwtwo0
                     69: display0 at kbd0
                     70: display0 at ms0
                     71: 
                     72: ## ttya:
                     73: ##
                     74: # uncomment the following line if you aren't using the GTK-based
                     75: # display console above.  this will connect ttya to the master side of
                     76: # a pseudo-tty (in this case, /dev/ttyr0), which you can connect to
                     77: # using tip or some other serial communications program on the slave
                     78: # side (in this case, /dev/ptyr0):
                     79: #
                     80: #console0 at zs0 channel A: tme/host/posix/serial device /dev/ttyr0 break-carats
                     81: 
                     82: ## a SCSI disk:
                     83: ##
                     84: # if you're using SunOS, change the disk type from tme-scsi-1 to
                     85: # acb4000, to get an Adaptec ACB-4000 compatible disk:
                     86: #
                     87: sd0 at scsibus0: tme/scsi/disk id 0 type tme-scsi-1
                     88: disk0 at sd0: tme/host/posix/disk file my-sun2-disk.img
                     89: 
                     90: ## a SCSI tape:
                     91: ##
1.1.1.3 ! root       92: # if you're using SunOS, remove the vendor EMULEX and product "MT-02 QIC" 
        !            93: # to get a 100% Emulex MT-02 compatible tape:
        !            94: #
        !            95: st0 at scsibus0: tme/scsi/tape id 4 type emulex-mt02 vendor EMULEX product "MT-02 QIC"
1.1.1.2   root       96: tape0 at st0: tme/host/posix/tape
                     97: 
                     98: ## power up the machine:
                     99: ##
                    100: # uncomment this line to automatically power up the machine when
                    101: # tmesh starts:
                    102: #
                    103: # command mainbus0 power up

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.