Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / cpus / vonk / n2 / api / sam / src / 1c2t_2sas_scsi_fc.rc
conf ramsize 256M
conf mips 100
conf stickfreq 1417000000
# number of worker-threads per physical cpu
conf cpu_per_thread 1
# hypervisor partition description, size 8k
load bin 1c2t-hv.bin 0x180000
# machine description , size 8k
load bin 1c2t-md.bin 0x100000
# nvram for obp, size 8k
load bin ./nvram.bin 0x1f11000000
sysconf cpu name=cpu0 cpu-type=riesling_n2_vcpu clock-frequency=1417000000 id=0
sysconf cpu name=cpu1 cpu-type=riesling_n2_vcpu clock-frequency=1417000000 id=1
sysconf ioram reset start_pa=0xfff0000000 size=0x10000 file=reset.bin sparse
sysconf ioram hv start_pa=0xfff0010000 size=0x70000 file=q.bin sparse
sysconf ioram obp start_pa=0xfff0080000 size=0x80000 file=openboot.bin sparse
# hypervisor console device
sysconf serial_4v hypervisor-console base=0xfff0ca0000 size=0x1000
# guest console device
sysconf serial_4v guest-console base=0x9f10002000 size=0x51
# tod device
sysconf tod_4v tod base=0xfff0d22000 size=0x8 tod=01010000002000
# ncu, piu
sysconf n2_ncu ncu
sysconf n2_piu piu bus=pcie_a ncu=ncu
# PCIe bus attached to piu
sysconf pcie_bus pcie_a bridge=piu
# PCIe-PCIe switch, downstram are two PCIe buses: pcie_b and pcie_c
sysconf pcie_bridge b_0 bus=pcie_a dev=0 fun=0 secbus=pcie_int upstream
sysconf pcie_bus pcie_int bridge=b_0
sysconf pcie_bridge b_1 bus=pcie_int dev=0 fun=0 secbus=pcie_b
sysconf pcie_bridge b_2 bus=pcie_int dev=1 fun=0 secbus=pcie_c
sysconf pcie_bridge b_3 bus=pcie_int dev=2 fun=0 secbus=pcie_d
sysconf pcie_bus pcie_b bridge=b_1
sysconf pcie_bus pcie_c bridge=b_2
sysconf pcie_bus pcie_d bridge=b_3
# SAS controller 1
sysconf sas sas0 bus=pcie_b dev=0 fun=0 targets=sasdisk.init
# SAS controller 2
sysconf sas sas1 bus=pcie_c dev=0 fun=0 targets=sasdisk1.init
# PCIe-PCI bridge
sysconf bridge b0 bus=pcie_d dev=0 fun=0 secbus=pcia
sysconf bridge b2 bus=pcie_d dev=0 fun=2 secbus=pcib
# PCI bus
sysconf pci_bus pcia bridge=b0
sysconf pci_bus pcib bridge=b2
# SCSI controller
sysconf scsi scsi0 bus=pcia dev=1 fun=0 targets=scsidisk.init
# ll
sysconf ll ll0 bus=pcia dev=2 fun=0
#gem
sysconf gem ge1 bus=pcia dev=3 fun=0
# fc controller
sysconf fc fc1 bus=pcib dev=1 fun=0 targets=fcdisk.init
#cassini
sysconf cassini ce0 bus=pcib dev=7 fun=0
# to start the SAM FE, commented for now
#mod load py libpy.so
#py -i ./pfe/samefe/sam_n2.py --blaze n2