source: rtems/c/src/lib/libbsp/powerpc/mvme2307/NOTES @ 19ca797

4.104.114.84.95
Last change on this file since 19ca797 was 19ca797, checked in by Joel Sherrill <joel.sherrill@…>, on 10/04/99 at 20:41:28

Motorola MVME2307 BSP submitted by Jay Kulpinski <jskulpin@…>.
No modifications made.

  • Property mode set to 100644
File size: 7.2 KB
Line 
1This should run on Motorola MVME230x boards, where x is 5, 6, 7,
2or 8 designating 16, 32, 64, or 128 MB of DRAM.  It should also
3work on MVME230x where x is 1, 2, 3, or 4 which is the same board
4using a '603 instead of a '604 processor.  RTEMS_CPU_MODEL would
5need to change in make/custom/mvme2307.cfg.
6
7Application is linked to run from RAM.  If running from ROM, it
8will copy itself to RAM (0x4000) when it boots.  PPCBUG should
9be used to load a binary image from the TFTP host into location
100x4000, with an entry point at 0x401c.  PPCBUG can be set to
11autoboot the application from ROM.  PPCBUG does all of the low
12level setup of memory controllers and such on the board before
13jumping into the RTEMS application.
14
15TODO:  Data cache is not enabled.  This BSP should probably
16be part of the MCP750 BSP as much of the hardware here is
17also on the MCP750 board.  The dec21140 driver here is derived
18from an early version from the MCP750 BSP, but has been
19rewritten to use scatter/gather DMA and interrupts rather than
20CPU copies and polling.  This should be considered for merging
21into to the MCP750 BSP.  The interrupt conroller code needs to
22be better integrated into RTEMS calls like the MCP750.  The
23BSP should probably be renamed to mvme230x.
24
25----------------------------------------------------------------------------
26
27Building and loading an application:
28
29=============== (host) =======================================
30% make
31% powerpc-rtems-objcopy --output-target=binary hello.exe /tftpboot/hello.bin
32
33=============== (target - run from RAM) ======================
34PPC1-Bug>niop
35Controller LUN =00?
36Device LUN     =00?
37Get/Put        =G?
38File Name      =? hello.bin
39Memory Address =00004000?
40Length         =00000000?
41Byte Offset    =00000000?
42
43Bytes Received =&140780, Bytes Loaded =&140780
44Bytes/Second   =&140780, Elapsed Time =1 Second(s)
45PPC1-Bug>go 401c
46Effective address: 0000401C
47
48
49*** HELLO WORLD TEST ***
50Hello World
51*** END OF HELLO WORLD TEST ***
52PPC1-Bug>                                 
53
54=============== (target - run from ROM) ======================
55
56PPC1-Bug>niop
57Controller LUN =00?
58Device LUN     =00?
59Get/Put        =G?
60File Name      =? hello.bin
61Memory Address =00004000?
62Length         =00000000?
63Byte Offset    =00000000?
64
65Bytes Received =&140780, Bytes Loaded =&140780
66Bytes/Second   =&140780, Elapsed Time =1 Second(s)
67
68PPC1-Bug>pflash 4000:28000 ff000000
69Source Starting/Ending Addresses      =00004000/0002BFFF
70Destination Starting/Ending Addresses =FF000000/FF027FFF
71Number of Effective Bytes             =00028000 (&163840)
72
73Program FLASH Memory (Y/N)? y
74FLASH Memory Programming Complete
75
76(reset to boot into application)
77
78----------------------------------------------------------------------------
79
80memory map:
810x00000000 - 0x03ffffff  RAM
820x80000000 - 0xbf7fffff  PCI I/O space
830xc0000000 - 0xfcffffff  PCI memory space
840xfd000000 - 0xfdffffff  PCI memory space
850xfe000000 - 0xfe7fffff  PCI I/O space
860xfef80000 - 0xfef8ffff  Falcon registers
870xfeff0000 - 0xfeffffff  Raven registers
880xff000000 - 0xff3fffff  ROM bank A - application
890xff800000 - 0xff8fffff  ROM bank B - PPCBUG
900xfff00000 - 0xffffffff  ROM bank A or B
91
92----------------------------------------------------------------------------
93Use the PPCBUG "env" command to configure the board:
94
95PPC1-Bug>env
96Bug or System environment [B/S] = B?
97Field Service Menu Enable [Y/N] = N?
98Remote Start Method Switch [G/M/B/N] = B?
99Probe System for Supported I/O Controllers [Y/N] = Y?
100Auto-Initialize of NVRAM Header Enable [Y/N] = Y?
101Network PReP-Boot Mode Enable [Y/N] = N?
102Negate VMEbus SYSFAIL* Always [Y/N] = N?
103SCSI Bus Reset on Debugger Startup [Y/N]   = N?
104Primary SCSI Bus Negotiations Type [A/S/N] = A?
105Primary SCSI Data Bus Width [W/N]          = N?
106Secondary SCSI Identifier                  = "07"?
107NVRAM Bootlist (GEV.fw-boot-path) Boot Enable [Y/N]           = N?
108NVRAM Bootlist (GEV.fw-boot-path) Boot at power-up only [Y/N] = N?
109NVRAM Bootlist (GEV.fw-boot-path) Boot Abort Delay            = 5?
110Auto Boot Enable [Y/N]           = N?
111Auto Boot at power-up only [Y/N] = N?
112Auto Boot Scan Enable [Y/N]      = N?
113Auto Boot Scan Device Type List  = FDISK/CDROM/TAPE/HDISK/?
114Auto Boot Controller LUN   = 00?
115Auto Boot Device LUN       = 00?
116Auto Boot Partition Number = 00?
117Auto Boot Abort Delay      = 7?
118Auto Boot Default String [NULL for an empty string] = ?
119ROM Boot Enable [Y/N]            = Y?
120ROM Boot at power-up only [Y/N]  = N?
121ROM Boot Enable search of VMEbus [Y/N] = N?
122ROM Boot Abort Delay             = 5?
123ROM Boot Direct Starting Address = FF000000?
124ROM Boot Direct Ending Address   = FF3FFFFF?
125Network Auto Boot Enable [Y/N]           = N?
126Network Auto Boot at power-up only [Y/N] = N?
127Network Auto Boot Controller LUN = 00?
128Network Auto Boot Device LUN     = 00?
129Network Auto Boot Abort Delay    = 5?
130Network Auto Boot Configuration Parameters Offset (NVRAM) = 00001000?
131Memory Size Enable [Y/N]         = Y?
132Memory Size Starting Address     = 00000000?
133Memory Size Ending Address       = 02000000?
134DRAM Speed in NANO Seconds       = 60?
135ROM First Access Length (0 - 31) = 10?
136ROM Next Access Length  (0 - 15) = 0?
137DRAM Parity Enable [On-Detection/Always/Never - O/A/N]    = O?
138L2Cache Parity Enable [On-Detection/Always/Never - O/A/N] = O?
139PCI Interrupts Route Control Registers (PIRQ0/1/2/3) = 0A0B0E0F?
140Serial Startup Code Master Enable [Y/N] = N?
141Serial Startup Code LF Enable [Y/N] =     N?
142VME3PCI Master Master Enable [Y/N] = Y?
143PCI Slave Image 0 Control                = 00000000?   
144PCI Slave Image 0 Base Address Register  = 00000000?
145PCI Slave Image 0 Bound Address Register = 00000000?
146PCI Slave Image 0 Translation Offset     = 00000000?
147PCI Slave Image 1 Control                = C0820000?
148PCI Slave Image 1 Base Address Register  = 01000000?
149PCI Slave Image 1 Bound Address Register = 20000000?
150PCI Slave Image 1 Translation Offset     = 00000000?
151PCI Slave Image 2 Control                = C0410000?
152PCI Slave Image 2 Base Address Register  = 20000000?
153PCI Slave Image 2 Bound Address Register = 22000000?
154PCI Slave Image 2 Translation Offset     = D0000000?
155PCI Slave Image 3 Control                = C0400000?
156PCI Slave Image 3 Base Address Register  = 2FFF0000?
157PCI Slave Image 3 Bound Address Register = 30000000?
158PCI Slave Image 3 Translation Offset     = D0000000?
159VMEbus Slave Image 0 Control                = E0F20000?
160VMEbus Slave Image 0 Base Address Register  = 00000000?
161VMEbus Slave Image 0 Bound Address Register = 02000000?
162VMEbus Slave Image 0 Translation Offset     = 80000000?
163VMEbus Slave Image 1 Control                = 00000000?
164VMEbus Slave Image 1 Base Address Register  = 00000000?
165VMEbus Slave Image 1 Bound Address Register = 00000000?
166VMEbus Slave Image 1 Translation Offset     = 00000000?
167VMEbus Slave Image 2 Control                = 00000000?
168VMEbus Slave Image 2 Base Address Register  = 00000000?
169VMEbus Slave Image 2 Bound Address Register = 00000000?
170VMEbus Slave Image 2 Translation Offset     = 00000000?
171VMEbus Slave Image 3 Control                = 00000000?
172VMEbus Slave Image 3 Base Address Register  = 00000000?
173VMEbus Slave Image 3 Bound Address Register = 00000000?
174VMEbus Slave Image 3 Translation Offset     = 00000000?
175PCI Miscellaneous Register       = 10000000?
176Special PCI Slave Image Register = 00000000?
177Master Control Register          = 80C00000?
178Miscellaneous Control Register   = 52060000?
179User AM Codes
180
Note: See TracBrowser for help on using the repository browser.