iv IQ80960RM/RN Evaluation Platform Board Manual
4 i960
®
RM/RN I/O Processor Overview ............................................................................................4-1
4.1 CPU Memory Map.....................................................................................................................4-2
4.2 Local Interrupts..........................................................................................................................4-3
4.3 CPU Counter/Timers .................................................................................................................4-5
4.4 Primary PCI Interface ................................................................................................................4-5
4.5 Secondary PCI Interface ...........................................................................................................4-5
4.6 DMA Channels ..........................................................................................................................4-6
4.7 Application Accelerator Unit ......................................................................................................4-6
4.8 Performance Monitor Unit..........................................................................................................4-7
5 MON960 Support for IQ80960RM/RN .............................................................................................5-1
5.1 Secondary PCI Bus Expansion Connectors..............................................................................5-1
5.2 MON960 Components...............................................................................................................5-1
5.2.1 MON960 Initialization ...................................................................................................5-1
5.2.2 80960JT Core Initialization ...........................................................................................5-2
5.2.3 Memory Controller Initialization ....................................................................................5-2
5.2.4 SDRAM Initialization.....................................................................................................5-2
5.2.5 Primary PCI Interface Initialization................................................................................5-3
5.2.6 Primary ATU Initialization .............................................................................................5-3
5.2.7 PCI-to-PCI Bridge Initialization.....................................................................................5-4
5.2.8 Secondary ATU Initialization ........................................................................................5-4
5.3 MON960 Kernel.........................................................................................................................5-5
5.4 MON960 Extensions..................................................................................................................5-5
5.4.1 Secondary PCI Initialization..........................................................................................5-5
5.4.2 PCI BIOS Routines.......................................................................................................5-6
5.4.2.1 sysPCIBIOSPresent.....................................................................................5-6
5.4.2.2 sysFindPCIDevice........................................................................................5-7
5.4.2.3 sysFindPCIClassCode.................................................................................5-7
5.4.2.4 sysGenerateSpecialCycle............................................................................5-8
5.4.2.5 sysReadConfigByte......................................................................................5-8
5.4.2.6 sysReadConfigWord ....................................................................................5-9
5.4.2.7 sysReadConfigDword ..................................................................................5-9
5.4.2.8 sysWriteConfigByte....................................................................................5-10
5.4.2.9 sysWriteConfigWord ..................................................................................5-10
5.4.2.10 sysWriteConfigDword.................................................................................5-11
5.4.2.11 sysGetIrqRoutingOptions...........................................................................5-11
5.4.2.12 sysSetPCIIrq..............................................................................................5-12
5.4.3 Additional MON960 Commands .................................................................................5-12
5.4.3.1 print_pci Utility............................................................................................5-12
5.5 Diagnostics / Example Code ...................................................................................................5-12
5.5.1 Board Level Diagnostics.............................................................................................5-12
5.5.2 Secondary PCI Diagnostics........................................................................................5-12
A Bill of Materials............................................................................................................... A-1
B Schematics.....................................................................................................................B-1
C PLD Code.......................................................................................................................C-1
D Recycling the Battery ..................................................................................................... D-1