1
0
mirror of synced 2026-04-10 22:41:32 +00:00

UNICOS install files started.

This commit is contained in:
Andras Tantos
2020-09-09 16:42:48 -07:00
parent 5ff3488eba
commit 792607ea6b
2 changed files with 291 additions and 0 deletions

147
unicos_ramfs.cfg Normal file
View File

@@ -0,0 +1,147 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; J-90 with UNICOS configuration
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Setting up memory and loading image files
MachineType J90
CpuMemorySize 0x2000000 ; We have 32MWords (64-bits each) of memory
StartupCpuIdx 0 ; This will set up the first CPU to come out of reset (on instructions from the IOP)
MemoryDumpFile dump/install.mem ; If we get terminated, dump mainframe memory to this file
SingleThreadCpus no
MultiThreaded no
UseThreadAffinity yes
WindowWidth 120
WindowHeight 40
DefaultLogLevel None
EnableTimeStamp yes
LogFileName dump/ramfs.log
;SysCallTableBase 0x000DF328
;SysCallTableEnd 0x000DFAF8
;ProcTableBase 0x000357B7
;ProcTableLength 650 ; NPROC from config.h
RealTimeClockIncrement 10 ; By how much should the real time clock increment for every instruction burst
OsType UNICOS ; Controls how syscalls are decoded for the logger
BreakPoints {
; 0x000F42CF:p1 { Type LogOn }
}
EventPoints {
}
WatchPoints {
}
ImageFiles {
}
ChannelCount 256
LogUnusedChannels no
DefaultChannel {
}
ClusterCount 3
CpuCount 1
Cpus {
Default {
}
}
WebServer {
Port 8080
; Address localhost
Address *
Docroot httpd
ResourcePatterns {
".*" ok
}
}
IopClusters {
SimIopCluster {
DontTouchExchangePacket no
IopRevision IOSE ; Controls communication standard. Possible values are IOSD and IOSE
MasterCluster Yes
KernelFileName unicos_kernel_no_clear_mem.bin
KernelPreamble 0x40
ParameterFileName unicos_ramfs.param
RamFsFileName ram_fs
I2C {
Channel 16
}
C2I {
Channel 17
}
EthInterfaces {
; en0 {
; InterfaceNameLinux tap0 ; Tap interface name to connect to on Linux
; InterfaceNameWindows "Cray Ethernet" ; WinTap interface name to connect to on Windows
; SimMacAddr 0x020143524159
; Channel 020
; IopNumber 0
; }
}
Disks { ; Disc configuration must precisely match that in install.param. Best not to touch unless you know what you're doing
swap {
PysicalDeviceId 021
IopNumber 0
Unit 0
ImageFileName swap.img
DeviceType DD_U
}
dump {
PysicalDeviceId 022
IopNumber 0
Unit 0
ImageFileName dump.img
DeviceType DD_U
}
root {
PysicalDeviceId 024
IopNumber 0
Unit 0
ImageFileName root.img
DeviceType DD_U
}
core {
PysicalDeviceId 025
IopNumber 0
Unit 0
ImageFileName core.img
DeviceType DD_U
}
}
Consoles {
Default {
NewTerminalCommand "xterm -e {cmd}&"
; NewTerminalCommand "tmux split-window {cmd}&"
ConsoleCommandLinux "telnet {host} {port}"
ConsoleCommandWindows "putty.exe -load Unicos -telnet -P {port} {host}"
MapBackspace no
LogFile auto
}
}
Peripherals {
PrinterFileName lp.txt
DiskDir disk
TapeDir tape
}
}
}

144
unicos_ramfs.param Normal file
View File

@@ -0,0 +1,144 @@
revision "SN9000.20";
ios_e {
cluster 0 {
miop; eiop 0;
}
}
mainframe {
1 cpus;
32 Mwords memory;
channel 020 is lowspeed to cluster 0;
channel 78 is lowspeed to pseudo TCP;
}
unicos {
50 NBUF;
50 NPBUF;
/* 98280 LDCHCORE;*/
10 LDCHCORE;
500 NLDCH;
256 PDDMAX;
256 LDDMAX;
32 HDDMAX;
300 PDDSLMAX;
8 MDDSLMAX;
8 SDDSLMAX;
8 RDDSLMAX;
4 SSDDSLMAX;
64 HDDSLMAX;
0 GUESTMAX;
294912 TAPE_MAX_PER_DEV;
8 TAPE_MAX_CONF_UP;
16 TAPE_MAX_DEV;
}
filesystem {
/*
* Physical device configuration
*/
RAM ramdev {
length 12288 blocks;
pdd ram {
minor 3;
block 0;
length 12288 blocks;
}
}
disk "swap" {
type DD_U;
iopath {
cluster 0;
eiop 0;
channel 021;
}
unit 0;
pdd swap {
minor 4;
sector 0;
length 32768 sectors;
}
}
disk "dump" {
type DD_U;
iopath {
cluster 0;
eiop 0;
channel 022;
}
unit 0;
pdd dump {
minor 5;
sector 0;
length 32768 sectors;
}
}
disk "root" {
type DD_U;
iopath {
cluster 0;
eiop 0;
channel 024;
}
unit 0;
pdd root {
minor 7;
sector 0;
length 781000 sectors;
}
}
ldd ram {
minor 58;
pdd ram;
}
ldd swap {
minor 59;
pdd swap;
}
ldd dump {
minor 60;
pdd dump;
}
ldd root {
minor 61;
pdd root;
}
ldd install {
minor 64;
pdd install;
}
rootdev is ldd ram;
swapdev is ldd swap;
dmpdev is ldd dump;
}
network {
8 nfs_static_clients;
8 nfs_temp_clients;
8 cnfs_static_clients;
8 cnfs_temp_clients;
32768 nfs_maxdata;
256 nfs_num_rnodes;
1200 nfs_maxdupreqs;
3 nfs_duptimeout;
0 nfs_printinter;
16000 tcp_nmbspace;
2 himaxdevs;
4 himaxpaths;
1 fdmaxdevs;
0 npmaxdevs;
1 enmaxdevs;
2 atmmaxdevs;
131072 atmarp_recv;
65536 atmarp_send;
1024 atmarp_entries;
0755 hidirmode;
0666 hifilemode;
endev 0 {
iopath {
cluster 0;
eiop 0;
channel 020;
}
}
}