📄 target.nr
字号:
card containing either a Monarch or Monarch and slave.T}2) T{MCP750 and PrPMCBASE card (Monarch only) with the Monarch containingthe anchor. Note a slave is not allowed in this configuration.T}3) T{PrPMCBASE card with Monarch and Slave installed, Monarch containsthe anchor. Note that a system-slot card such as the MCP750 isrequired to be present but does not participate in shared memory.T}.TEBelow is a description of how each of the above systems would beconfigured. Crucial "config.h" and boot parameter settings for anexample system are given. In each example, SYS_SM_ANCHOR_POLL_LISTwas defined to contain information identifying the Dec2155x bridgechip (present on the PrPMCBASE board). See "config.h" for the example ofhow this was done..TS Ccenter;l l .1) T{Three nodes, MCP750 master (node 0, anchor), PrPMC Base with Monarch/Slave:Note sequential addressing is turned off.T}.TE.CS MCP750: #define SM_OFF_BOARD FALSE #undef SYS_SM_SYSTEM_MEM_POLL #undef INCLUDE_SM_SEQ_ADDR boot device : dc processor number : 0 host name : sunray inet on ethernet (e) : 144.191.16.191 inet on backplane (b): 144.140.200.1:ffffff00 host inet (h) : 144.191.16.163 gateway inet (g) : 144.191.16.253 target name (tn) : gamma PrPMCBASE/PrPMC800-1 (Monarch): #define INCLUDE_DEC2155X #define SM_OFF_BOARD TRUE #define SYS_SM_SYSTEM_MEM_POLL #define SYS_BACKPLANE_BUS_NUMBER 1 #define SYS_SM_BUS_NUMBER SYS_BACKPLANE_BUS_NUMBER #undef INCLUDE_SM_SEQ_ADDR boot device : sm processor number : 1 host name : sunray inet on ethernet (e) : 144.191.16.192 inet on backplane (b): 144.140.200.2:ffffff00 host inet (h) : 144.191.16.163 gateway inet (g) : 144.140.200.1 target name (tn) : alpha PrPMCBASE/PrPMC800-2 (Slave): (same "config.h" setup as Monarch) boot device : sm processor number : 2 host name : sunray inet on ethernet (e) : 144.191.16.193 inet on backplane (b): 144.140.200.3:ffffff00 host inet (h) : 144.191.16.163 gateway inet (g) : 144.140.200.1 target name (tn) : beta.CENote that multiple PrPMCBASE cards, each with a Monarch/Slavepair could be added to this setup. Each different prpmc800 would haveto configured with a different "processor number", "inet on ethernet", "inet on backplane", and "target name"..TS Ccenter;l l .2) T{Two nodes, MCP750 (node 1), PrPMCBASE with Monarch (node 0, anchor):T}.TE.CS MCP750: #define SM_OFF_BOARD TRUE #define SYS_BACKPLANE_BUS_NUMBER 1 #undef SYS_SM_SYSTEM_MEM_POLL #undef INCLUDE_SM_SEQ_ADDR boot device : sm processor number : 1 host name : sunray inet on ethernet (e) : 144.191.16.192 inet on backplane (b): 144.140.200.2:ffffff00 host inet (h) : 144.191.16.163 gateway inet (g) : 144.140.200.1 target name (tn) : gamma PrPMCBASE/PrPMC800-1 (Monarch - slave not allowed): #define INCLUDE_DEC2155X #define SM_OFF_BOARD FALSE #define SYS_BACKPLANE_BUS_NUMBER 1 #define SYS_SM_SYSTEM_MEM_POLL #define SYS_SM_BUS_NUMBER SYS_BACKPLANE_BUS_NUMBER #undef INCLUDE_SM_SEQ_ADDR boot device : fei0 processor number : 0 host name : sunray inet on ethernet (e) : 144.191.16.191 inet on backplane (b): 144.140.200.1:ffffff00 host inet (h) : 144.191.16.163 gateway inet (g) : 144.191.16.253 target name (tn) : alpha.CE.TS Ccenter;l l .3) T{Two nodes, PrPMC800-1 master (node 0, anchor), PrPMC800-2 slaveT}.TE.CS PrPMCBASE/PrPMC800-1 (Monarch): #define SM_OFF_BOARD FALSE #define SYS_BACKPLANE_BUS_NUMBER 1 (Not Used) #define SYS_LOCAL_PCI_BUS_NUMBER 0 #define SYS_SM_BUS_NUMBER SYS_LOCAL_PCI_BUS_NUMBER #undef SYS_SM_SYSTEM_MEM_POLL #undef INCLUDE_SM_SEQ_ADDR boot device : fei0 processor number : 0 host name : sunray inet on ethernet (e) : 144.191.16.192 inet on backplane (b): 144.140.200.1:ffffff00 host inet (h) : 144.191.16.163 gateway inet (g) : 144.191.16.253 target name (tn) : alpha PrPMCBASE/PrPMC800-1 (Slave): #define INCLUDE_DEC2155X #define SM_OFF_BOARD TRUE #define SYS_BACKPLANE_BUS_NUMBER 1 (Not Uesd) #define SYS_LOCAL_PCI_BUS_NUMBER 0 #define SYS_SM_BUS_NUMBER SYS_LOCAL_PCI_BUS_NUMBER #define SYS_SM_SYSTEM_MEM_POLL #undef INCLUDE_SM_SEQ_ADDR boot device : sm processor number : 1 host name : sunray inet on ethernet (e) : 144.191.16.193 inet on backplane (b): 144.140.200.2:ffffff00 host inet (h) : 144.191.16.163 gateway inet (g) : 144.140.200.1 target name (tn) : beta.CE.SS "Memory Maps"On-board RAM for these boards always appears at address 0x00000000 locally.Dynamic memory sizing is supported. By default, LOCAL_MEM_AUTOSIZE isdefined so memory is auto-sized at hardware initialization time.If auto-sizing is not selected, LOCAL_MEM_SIZE must be set to the actual sizeof DRAM memory available on the board to ensure all memory is available.The default fixed RAM size is set to 64MB (see LOCAL_MEM_SIZE in config.h).Note that LOCAL_MEM_SIZE only controls the amount of memory mapped by the MMU.It does not control the amount of memory detected and configured by the Bootrom.The amount of physical memory indicated by the Serial Presence Detect datadetermines the memory controller configuration and, if enabled, the ECCinitialization range. If hardware memory problem is suspected, the Bootrom canbe configured to ignore the Serial Presence Detect data and program thememory controller with a set of default parameters. For more information onthis feature, see the BYPASS_SPD note in config.h..SS "Interrupts"The system interrupt vector table has 256 entries. Vectors for the variousdevices on the buses are assigned hierarchically as follows:.TS Ccenter;lf3 lf3l lw(2.6i) ..ne 6.sp .5Vector# Assigned to_00 - 0f [User defined]10 - 1f All MPIC interrupts20 - 23 system timers24 - 27 system interprocessor dispatch28 board detected internal errors29 - 5f [User defined]60 - 72 Dec2155x interrupts73 - ff [User defined].TEVector numbers not in the table are not used by this BSP.The Multi-Processor Interrupt Controller (MPIC) sets system interruptpriorities and serves as controller of all external interrupts. Eachof its 16 interrupt control registers, designated IRQ0 through IRQ15, can beprogrammed with a relative priority from 15, the highest, to 0, the lowest. Apriority of zero effectively disables the interrupt. All but three of the 16control registers has been hardwired to a particular interrupt source. The IRQnumber and priority assignments are as follows:.TS Eexpand;lf3 lf3 lf3l l lw(2.6i) ..ne 6.sp .5MPIC IRQ Polarity IRQ Source_IRQ0 High Host INT 0 - Board SpecificIRQ1 N/A Not usedIRQ2 Low Board Specific interrupt (non-PCI)IRQ3 Low Watch Dog Timer 1 or 2IRQ4 N/A Not used IRQ5 N/A Not used IRQ6 Low HOSTINT1 IRQ7 Low HOSTINT2IRQ8 Low HOSTINT3IRQ9 Low PCI INTAIRQ10 Low PCI INTB or On-board EthernetIRQ11 Low PCI INTCIRQ12 Low PCI INTDIRQ13 N/A Not used IRQ14 N/A Not used IRQ15 N/A Not used .TEFor further details, refer to the appropriate board's reference guide.There are only four PCI bus interrupts: A, B, C, and D. They are shared amongall PCI bus devices and do not have levels. PCI bus interrupts are wireddirectly to the MPIC and, therefore, have preassigned system vector numbersand interrupt levels..SS "PCI Auto-Configuration"To simplify the addition of PCI-based add-in cards, the BSP provides a PCIauto-configuration library. When INCLUDE_AUTOCONF is defined (default), the BSPwill automatically locate and configure installed PCI devices. WhenINCLUDE_AUTOCONF is not defined (intended for debug use only), add-in PCIdevices will not be located or configured.When PCI auto-configuration is selected, the auto-configuration library will becalled from sysHwInit to discover and configure the installed PCI devices andbridges. Device configuration includes the following PCI information:.IP "Base Address Registers (BARs)"Space in the address map is dynamically allocated to each valid BAR detected.Allocation pools are maintained for the following PCI address spaces:16-Bit PCI I/O32-Bit PCI I/OPCI Memory I/O (non-prefetchable memory)PCI Memory (pre-fetchable).IP "Interrupt Routing"The correct interrupt vector number is placed in the intLine register of thedevice's PCI header. To connect to the device's interrupt, simply callintConnect with the value read from intLine..IP "PCI Header Completion"The PCI auto-configuration library fills in the remainder of the PCI header asfollows:Cache Line Size = _CACHE_ALIGN_SIZE/4Latency Timer = PCI_LAT_TIMERCommand Register = I/O enabled, Memory enabled and Bus Master enabled..IP "Transparent PCI-to-PCI Bridge Configuration"Transparent PCI-to-PCI bridges encountered during PCI auto-configuration willbe configured as necessary and devices detected behind the bridge will beconfigured as described above. Bridge configuration consists of the following:Primary Bus Number, Secondary Bus Number and Subordinate Bus Number arefilled in according to the bridge's position in the system.I/O Base and Limit registers are configured as required to forward PCItransactions to PCI devices detected and configured beyond the bridge.Memory Base and Memory Limit registers are configured as required to forwardPCI transactions to PCI devices detected and configured beyond the bridge.Command Register = I/O enabled, Memory enabled and Bus Master enabled.Cache Line Size = _CACHE_ALIGN_SIZE/4Primary Latency Timer = PCI_LAT_TIMERSecondary Latency Timer = PCI_LAT_TIMER.SS "Serial Configuration"The single debug port on the PrPMC800 board family is implemented in aTLC16550 UART. The RJ-45 jack is placed on the front panel of the PrPMC Carrierboard and is configured as a DTE connection.By default, the serial port is configured as asynchronous, 9600 baud, with1 start bit, 8 data bits, 1 stop bit, no parity, and no hardware or softwarehandshake. Hardware handshake using RTS/CTS is a supported option..SS "SCSI Configuration"SCSI is not available on the PrPMC800 board family..SS "Harrier DMA Configuration"To enable DMA support using the Harrier, change the #undef INCLUDE_HARRIER_DMAin config.h to #define. Instructions for configuring DMA Descriptor Lists arecontained in harrierDma.c and harrierDma.h..SS "Network Configuration"The PrPMC800 has one Ethernet port which is 10baseT and 100baseTXcompatible using a RJ45 jack on the front panel for connection to this facility.The Ethernet driver automatically senses and configures the port as 10baseT or100baseTX. For the PrPMC800 family, an Intel 82559 chip is used. The Media Access Control (Ethernet) address for each port is obtained from aserial ROM connected to the Ethernet chip. The PrPMCBASE-001 has one Ethernet port which is 10baseT and 100baseTXcompatible using a RJ45 jack on the front panel for connection to this facility.Support for the carrier boards DEC21143 exists in the BSP by definingINCLUDE_DEC_END and INCLUDE_SECONDARY_ENET.The Ethernet driver automatically senses and configures the port as 10baseT or100baseTX. The Ethernet driver is compatible with both DEC2104x and DEC2114xdevices.The Media Access Control (Ethernet) address for each port is obtained from aserial ROM connected to the DEC21143 chip. .SS "Configuring the PrPMC800 networking on the PrPMCBASE-001"If the PrPMC800 is paired with the PrPMCBASE-001 carrier board, bothEthernet devices will be auto-configured but the Ethernet driver will beattached to the Ethernet device on the PrPMC800 ("fei0"). To use thecarrier board's DEC21143 as device name "dc1", then the following items
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -