1 | # |
---|
2 | # $Id: README,v 1.3.1 Shuchen Kate Feng, NSLS, BNL (08/27/07) |
---|
3 | # |
---|
4 | |
---|
5 | Please reference README.booting for the boot/load process. |
---|
6 | |
---|
7 | For the priority setting of the Interrupt Requests (IRQs), please |
---|
8 | reference README.irq |
---|
9 | |
---|
10 | The BSP is built and tested on the 4.7.1 and 4.7.99.2 CVS RTEMS release. |
---|
11 | |
---|
12 | I believe in valuable real-time programming, where technical neatness, |
---|
13 | performance and truth are. I hope I still believe. Any suggestion, |
---|
14 | bug reports, or even bug fixes (great!) would be highly appreciated |
---|
15 | so that I still believe what I believe. |
---|
16 | |
---|
17 | |
---|
18 | ACKNOWLEDGEMENTS |
---|
19 | ---------------- |
---|
20 | Acknowledgements: |
---|
21 | |
---|
22 | Valuable information was obtained from the following: |
---|
23 | 1) Marvell NDA document for the discovery system controller. |
---|
24 | Other related documents are listed at : |
---|
25 | http://www.aps.anl.gov/epics/meetings/2006-06/RTEMS_Primer_SIG/RTEMS_BSP_MVME5500.pdf |
---|
26 | 2) netBSD: For the two NICS and some headers : |
---|
27 | Allegro Networks, Inc., Wasabi Systems, Inc. |
---|
28 | 3) RTEMS: This BSP also builds on top of the work of others who have |
---|
29 | contributed to similar RTEMS powerpc shared and motorola_powerpc BSPs, most |
---|
30 | notably Eric Valette, Till Straumann (SVGM1 BSP, too), Eric Norum and others. |
---|
31 | |
---|
32 | LICENSE |
---|
33 | ------- |
---|
34 | See ./LICENSE file. |
---|
35 | |
---|
36 | BSP NAME: mvme5500 |
---|
37 | BOARD: MVME5500 by Motorola |
---|
38 | BUS: PCI |
---|
39 | CPU FAMILY: ppc |
---|
40 | CPU: MPC7455 @ 1GHZ |
---|
41 | COPROCESSORS: N/A |
---|
42 | MODE: 32/64 bit mode (support 32 bit for now) |
---|
43 | DEBUG MONITOR: MOTLoad |
---|
44 | SYSTEM CONTROLLER: GT64260B |
---|
45 | |
---|
46 | PERIPHERALS |
---|
47 | =========== |
---|
48 | TIMERS: Eight, 32 bit programmable |
---|
49 | SERIAL PORTS: 2 NS 16550 on GT64260B |
---|
50 | REAL-TIME CLOCK: MK48T37V |
---|
51 | 32K NVSRAM: MK48T37V |
---|
52 | WATCHDOG TIMER: use the one in GT-64260B |
---|
53 | DMA: 8 channel DMA controller (GT-64260B) |
---|
54 | VIDEO: none |
---|
55 | NETWORKING: Port 1: Intel 82544EI Gigabit Ethernet Controller |
---|
56 | 10/100/1000Mb/s routed to front panel RJ-45 |
---|
57 | Port 2: 10/100 Mb ethernet unit integrated on the |
---|
58 | Marvell's GT64260 system controller |
---|
59 | |
---|
60 | DRIVER INFORMATION |
---|
61 | ================== |
---|
62 | CLOCK DRIVER: PPC internal |
---|
63 | IOSUPP DRIVER: N/A |
---|
64 | SHMSUPP: N/A |
---|
65 | TIMER DRIVER: PPC internal |
---|
66 | TTY DRIVER: PPC internal |
---|
67 | |
---|
68 | STDIO |
---|
69 | ===== |
---|
70 | PORT: Console port 0 |
---|
71 | ELECTRICAL: na |
---|
72 | BAUD: na |
---|
73 | BITS PER CHARACTER: na |
---|
74 | PARITY: na |
---|
75 | STOP BITS: na |
---|
76 | |
---|
77 | |
---|
78 | Jumpers |
---|
79 | ======= |
---|
80 | |
---|
81 | 1) The BSP is tested with the 60x bus mode instead of the MPX bus mode. |
---|
82 | ( No jumper or a jumper across pins 1-2 on J19 selects the 60x bus mode) |
---|
83 | |
---|
84 | 2) On the mvme5500 board, Ethernet 1 is the Gigabit Ethernet port and is |
---|
85 | front panel only. Ethernet 2 is 10/100 BaseT Ethernet. For front-panel |
---|
86 | Ethernet2, install jumpers across pins 1-2 on all J6, J7, J100 and |
---|
87 | J101 headers. |
---|
88 | |
---|
89 | 3) Enable SROM initialization at startup. (No jumper or a jumper across |
---|
90 | pins 1-2 on J17) |
---|
91 | |
---|
92 | In fact, (if I did not miss anything) the mvme5500 board should function |
---|
93 | properly if one keeps all the jumpers at factory configuration. |
---|
94 | One can leave out the jumper on J30 to disable EEPROM programming. |
---|
95 | |
---|
96 | Notes |
---|
97 | ===== |
---|
98 | |
---|
99 | BSP BAT usage |
---|
100 | ---------------------- |
---|
101 | DBAT0 and IBAT0 |
---|
102 | 0x00000000 |
---|
103 | 0x0fffffff 1st 256M, for MEMORY access (caching enabled) |
---|
104 | |
---|
105 | DBAT1 and IBAT1 |
---|
106 | 0x00000000 |
---|
107 | 0x0fffffff 2nd 256M, for MEMORY access (caching enabled) |
---|
108 | |
---|
109 | UPDATE: (2004/5). |
---|
110 | The BSP now uses page tables for mapping the entire 512MB |
---|
111 | of RAM. DBAT0 and DBAT1 is hence free for use by the |
---|
112 | application. A simple 1:1 (virt<->phys) mapping is employed. |
---|
113 | The BSP write-protects the text and read-only data |
---|
114 | areas of the application. Special acknowledgement to Till |
---|
115 | Straumann <strauman@slac.stanford.edu> for providing inputs in |
---|
116 | porting the memory protection software he wrote (BSP_pgtbl_xxx()) |
---|
117 | to MVME5500. |
---|
118 | |
---|
119 | |
---|
120 | The default VME configuration uses DBAT0 to map |
---|
121 | more PCI memory space for use by the universe VME |
---|
122 | bridge: |
---|
123 | |
---|
124 | DBAT0 |
---|
125 | 0x90000000 PCI memory space <-> VME |
---|
126 | 0x9fffffff |
---|
127 | |
---|
128 | Port VME-Addr Size PCI-Adrs Mode: |
---|
129 | 0: 0x20000000 0x0F000000 0x90000000 A32, Dat, Sup |
---|
130 | 1: 0x00000000 0x00FF0000 0x9F000000 A24, Dat, Sup |
---|
131 | 2: 0x00000000 0x00010000 0x9FFF0000 A16, Dat, Sup |
---|
132 | |
---|
133 | |
---|