1 | This BSP was adapted from Eric Valette MCP750 Generic motorola |
---|
2 | port to MVME2300 by Jay Kulpinski <jskulpin@eng01.gdds.com>. |
---|
3 | In other to work correctly, the Tundra Universe chip must |
---|
4 | be turned off using PPCBug as explained below. |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | The Tundra Universe chip is a bridge between the PCI and VME buses. |
---|
10 | It has four programmable mapping windows in each direction, much like |
---|
11 | the Raven. PPCBUG lets you specify the mappings if you don't want |
---|
12 | to do it in your application. The mappings on our board, which may |
---|
13 | or not be the default Motorola mappings, had one window appearing |
---|
14 | at 0x01000000 in PCI space. This is the same place the bootloader |
---|
15 | code remapped the Raven registers. The windows' mappings are |
---|
16 | very likely to be application specific, so I wouldn't worry too |
---|
17 | much about setting them in the BSP, but it would be nice to have |
---|
18 | a standard interface to do so. Whoever needs that first can |
---|
19 | incorporate the ppcn_60x BSP code for the Universe chip. :-) |
---|
20 | |
---|
21 | These options in PPCBUG's ENV command did the job: |
---|
22 | |
---|
23 | VME3PCI Master Master Enable [Y/N] = Y? |
---|
24 | PCI Slave Image 0 Control = 00000000? <----- |
---|
25 | PCI Slave Image 0 Base Address Register = 00000000? |
---|
26 | PCI Slave Image 0 Bound Address Register = 00000000? |
---|
27 | PCI Slave Image 0 Translation Offset = 00000000? |
---|
28 | PCI Slave Image 1 Control = 00000000? <----- |
---|
29 | PCI Slave Image 1 Base Address Register = 01000000? |
---|
30 | PCI Slave Image 1 Bound Address Register = 20000000? |
---|
31 | PCI Slave Image 1 Translation Offset = 00000000? |
---|
32 | PCI Slave Image 2 Control = 00000000? <----- |
---|
33 | PCI Slave Image 2 Base Address Register = 20000000? |
---|
34 | PCI Slave Image 2 Bound Address Register = 22000000? |
---|
35 | PCI Slave Image 2 Translation Offset = D0000000? |
---|
36 | PCI Slave Image 3 Control = 00000000? <----- |
---|
37 | PCI Slave Image 3 Base Address Register = 2FFF0000? |
---|
38 | PCI Slave Image 3 Bound Address Register = 30000000? |
---|
39 | PCI Slave Image 3 Translation Offset = D0000000? |
---|