source: rtems/c/src/lib/libbsp/powerpc/mvme5500/README @ b86d38e

4.9
Last change on this file since b86d38e was cf599996, checked in by Joel Sherrill <joel.sherrill@…>, on 05/08/09 at 18:22:51

2009-05-08 Kate Feng <feng1@…>

PR1395/bsps

  • Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
  • network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
  • pci/pci_interface.c: + Enabled PCI "Read", "Read Line", and "Read Multiple" + Agressive Prefetch to improve the performance of the PCI based

applications (e.g. 1GHz NIC).

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