|
|
1.1 ! root 1: # $Id: SUN-ULTRA-1,v 1.2 2010/06/05 19:30:55 fredette Exp $ ! 2: ! 3: ## SUN-ULTRA-1 - example tmesh commands to create a Sun Ultra-1 ! 4: ## machine: ! 5: ! 6: ## the Ultra-1 system controller, CPU, I/O bridge, and RAM: ! 7: ## ! 8: sc0: tme/ic/stp2200 ! 9: cpu0 at sc0 addr 0x1c000000000: tme/ic/stp1030 tick-frequency 167M fpu-type builtin fpu-compliance partial fpu-incomplete trap ! 10: sbus0 at sc0 addr 0x1fe00000000: tme/ic/stp2220 ! 11: ## ! 12: ## NOTE THAT THE SIZE OF EACH ramN BANK CAN ONLY BE 32MB, ! 13: ## OR 64MB, OR 128MB, OR 256MB. DO NOT USE ANY OTHER ! 14: ## SIZES OR ADD MORE BANKS. ram0 MUST EXIST. ! 15: ## ! 16: ram0 at sc0 addr 0x00000000: tme/host/posix/memory ram 32MB ! 17: #ram1 at sc0 addr 0x10000000: tme/host/posix/memory ram 32MB ! 18: #ram2 at sc0 addr 0x20000000: tme/host/posix/memory ram 32MB ! 19: #ram3 at sc0 addr 0x30000000: tme/host/posix/memory ram 32MB ! 20: ! 21: ## the SLAVIO devices: ! 22: ## ! 23: flash0 at sbus0 slot 15 offset 0x0000000: tme/host/posix/memory rom "SUNW,501-3082-update7.bin" ! 24: zs0 at sbus0 slot 15 offset 0x1100000: tme/ic/ncr89c105/z85c30 ! 25: zs1 at sbus0 slot 15 offset 0x1000000: tme/ic/ncr89c105/z85c30 ! 26: nvram0 at sbus0 slot 15 offset 0x1200000: tme/host/posix/memory persistent my-sun4u-nvram.bin ! 27: clock0 at sbus0 slot 15 offset 0x1201ff0: tme/machine/sun4/clock type tme/ic/mk48t59 ! 28: sc0 at sbus0 slot 15 offset 0x1300000 ! 29: fdtwo0 at sbus0 slot 15 offset 0x1400000: tme/ic/ncr89c105/i82077 ! 30: auxio0 at sbus0 slot 15 offset 0x1900000: tme/ic/ncr89c105/auxio ! 31: ! 32: ## the Aurora Personality Chip and CS4231: ! 33: ## ! 34: apcdma0 at sbus0 slot 13 offset 0x0: tme/ic/stp2024 id 0x3 ! 35: audiocs0 at apcdma0 codec: tme/ic/cs4231A ! 36: ! 37: ## the Sun type-4 keyboard and mouse: ! 38: ## ! 39: kbd0 at zs1 channel A: tme/serial/keyboard type sun-type-4-us macros my-sun-macros.txt map sun-keyboards.txt rate 20 ! 40: ms0 at zs1 channel B: tme/serial/mouse type mousesystems-5 ! 41: ! 42: ## IF YOU DO NOT ATTACH kbd0 at zs1 channel A, THEN YOU MUST ATTACH ! 43: ## sink0 at zs1 channel A, otherwise the PROM's keyboard poll never ! 44: ## finishes: ! 45: ## ! 46: #sink0 at zs1 channel A: tme/serial/sink ! 47: ! 48: ## ttya: ! 49: ## ! 50: # comment the first line, and uncomment the following line if you ! 51: # aren't using the GTK-based display console. this will connect ttya ! 52: # to the master side of a pseudo-tty (in this case, /dev/ttyr0), which ! 53: # you can connect to using tip or some other serial communications ! 54: # program on the slave side (in this case, /dev/ptyr0): ! 55: # ! 56: sink1 at zs0 channel A: tme/serial/sink ! 57: #console0 at zs0 channel A: tme/host/posix/serial device /dev/ttyr0 break-carats ! 58: ! 59: ## the SBus esp SCSI: ! 60: ## ! 61: esp0 at sbus0 slot 14 offset 0x8800000: tme/ic/lsi64854 revision "1+" channel scsi ! 62: esp0 dma at sbus0 slot 14 offset 0x8400000 ! 63: ncr0 at esp0 master: tme/ic/ncr53c9x variant esp100 ! 64: scsibus0 at ncr0: tme/scsi/bus ! 65: ! 66: ## the SBus LANCE Ethernet: ! 67: ## ! 68: # uncomment the bpf0 line if you have read/write permission on one ! 69: # of your /dev/bpfN devices and you want actual network access: ! 70: # ! 71: ledma0 dma at sbus0 slot 14 offset 0x8400010: tme/ic/lsi64854 revision 2 channel ethernet ! 72: ledma0 at sbus0 slot 14 offset 0x8c00000 ! 73: le0 at ledma0 master: tme/ic/am7990 ! 74: #bpf0 at le0: tme/host/bsd/bpf ! 75: ! 76: ## the SBus parallel port: ! 77: ## ! 78: bpp0 at sbus0 slot 14 offset 0xc800000: tme/ic/lsi64854 revision "1+" channel parallel ! 79: ! 80: ## an SBus cgsix: ! 81: ## ! 82: ## NOTE: the cgsix emulation is extremely poor; it's enabled ! 83: ## by default only because NetBSD/sparc64 currently does not ! 84: ## support a cgthree console. THIS WILL NOT RUN X: ! 85: ## ! 86: cgsix0 at sbus0 slot 0 offset 0x0: tme/bus/sbus/cgsix type 501-2325 ! 87: cgsixrom0 at sbus0 slot 0 offset 0x0: tme/host/posix/memory rom "SUNW,501-2325.bin" ! 88: ! 89: ## an SBus cgthree: ! 90: ## ! 91: #cgthree0 at sbus0 slot 0 offset 0x0: tme/bus/sbus/cgthree ! 92: #cgthreerom0 at sbus0 slot 0 offset 0x0: tme/host/posix/memory rom "SUNW,501-1415.bin" ! 93: ! 94: ## an SBus bwtwo: ! 95: ## ! 96: #bwtwo0 at sbus0 slot 1 offset 0x0: tme/bus/sbus/bwtwo ! 97: #bwtworom0 at sbus0 slot 1 offset 0x0: tme/host/posix/memory rom "SUNW,501-1561.bin" ! 98: ! 99: ## the GTK-based display console: ! 100: ## ! 101: # comment out these lines, and the SBus framebuffer declarations ! 102: # above, if you don't have GTK or you don't want a display console: ! 103: # ! 104: display0: tme/host/gtk/display ! 105: display0 at cgsix0 ! 106: #display0 at cgthree0 ! 107: #display0 at bwtwo0 ! 108: display0 at kbd0 ! 109: display0 at ms0 ! 110: ! 111: ## a SCSI disk: ! 112: ## ! 113: # ! 114: sd0 at scsibus0: tme/scsi/disk id 0 type tme-scsi-1 ! 115: disk0 at sd0: tme/host/posix/disk file my-sun4u-disk.img ! 116: ! 117: ## a SCSI tape: ! 118: ## ! 119: st0 at scsibus0: tme/scsi/tape id 4 type tme-scsi-1 ! 120: tape0 at st0: tme/host/posix/tape ! 121: ! 122: ## set the idle type, so tmesh doesn't consume all of the host CPU: ! 123: ## ! 124: # use the appropriate type for the guest operating system: ! 125: # ! 126: # NetBSD/sparc64 1.6 through 4.99.19: netbsd64-type-0 ! 127: # NetBSD/sparc64 4.99.21 through this writing: netbsd64-type-1 ! 128: # ! 129: command cpu0 idle-type netbsd64-type-1 ! 130: ! 131: ## power up the machine: ! 132: ## ! 133: # uncomment this line to automatically power up the machine when ! 134: # tmesh starts: ! 135: # ! 136: #command sc0 power
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.