1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | Description: Motorola MCF5235EVB |
---|
6 | ============ |
---|
7 | CPU: MCF5235, 150MHz |
---|
8 | RAM: 16M |
---|
9 | ROM: 2M |
---|
10 | |
---|
11 | This is a Motorola evaluation board that uses the MCF5235 Coldfire CPU. |
---|
12 | This board is running at 150MHz scaled from a 25MHz oscillator. |
---|
13 | |
---|
14 | ACKNOWLEDGEMENTS: |
---|
15 | ================= |
---|
16 | This BSP is heavily based on the work of: |
---|
17 | D. Peter Siddons |
---|
18 | Brett Swimley |
---|
19 | Jay Monkman |
---|
20 | Eric Norum |
---|
21 | Mike Bertosh |
---|
22 | |
---|
23 | BSP NAME: mcf5235 |
---|
24 | BOARD: Motorola MCF5235EVB |
---|
25 | CPU FAMILY: ColdFire 5235 |
---|
26 | CPU: MCF5235 |
---|
27 | COPROCESSORS: N/A |
---|
28 | |
---|
29 | DEBUG MONITOR: dBUG |
---|
30 | |
---|
31 | PERIPHERALS |
---|
32 | =========== |
---|
33 | TIMERS: Four PIT (RTEMS clock is PIT3), Four Timers |
---|
34 | RESOLUTION: 10 microsecond |
---|
35 | SERIAL PORTS: Internal UART 1, 2 and 3 |
---|
36 | REAL-TIME CLOCK: none |
---|
37 | DMA: none |
---|
38 | VIDEO: none |
---|
39 | SCSI: none |
---|
40 | NETWORKING: Internal 10/100MHz FEC |
---|
41 | |
---|
42 | DRIVER INFORMATION |
---|
43 | ================== |
---|
44 | CLOCK DRIVER: PIT3 |
---|
45 | IOSUPP DRIVER: none |
---|
46 | SHMSUPP: none |
---|
47 | TIMER DRIVER: TIMER3 |
---|
48 | TTY DRIVER: UART1, 2 and 3 |
---|
49 | |
---|
50 | STDIO |
---|
51 | ===== |
---|
52 | PORT: UART0 Terminal |
---|
53 | ELECTRICAL: RS-232 |
---|
54 | BAUD: 19200 |
---|
55 | BITS PER CHARACTER: 8 |
---|
56 | PARITY: None |
---|
57 | STOP BITS: 1 |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | Memory map as set up by dBUG bootstrap and BSP initialization |
---|
62 | |
---|
63 | +--------------------------------------------------+ |
---|
64 | 0000 0000 | 16 MByte SDRAM | 00FF FFFF |
---|
65 | 0100 0000 | --------------------------------------------- | |
---|
66 | | Address space for future SDRAM expansion | |
---|
67 | . . |
---|
68 | . . |
---|
69 | . . |
---|
70 | | | 0FFF FFFF |
---|
71 | +--------------------------------------------------+ |
---|
72 | 1000 0000 | | |
---|
73 | . . |
---|
74 | . . |
---|
75 | . . |
---|
76 | | | 1FFF FFFF |
---|
77 | +--------------------------------------------------+ |
---|
78 | 2000 0000 | 64 kByte on-chip SRAM (RAMBAR) | |
---|
79 | . . |
---|
80 | . . |
---|
81 | . . |
---|
82 | | | 2FFF FFFF |
---|
83 | +--------------------------------------------------+ |
---|
84 | 3000 0000 | | 30FF FFFF |
---|
85 | . . |
---|
86 | . . |
---|
87 | . . |
---|
88 | . . |
---|
89 | | | 3FFF FFFF |
---|
90 | +--------------------------------------------------+ |
---|
91 | 4000 0000 | Internal peripheral system (IPSBAR) | |
---|
92 | . . |
---|
93 | | | |
---|
94 | . . |
---|
95 | . . |
---|
96 | . . |
---|
97 | | | 4FFF FFFF |
---|
98 | +--------------------------------------------------+ |
---|
99 | . . |
---|
100 | . . |
---|
101 | . . |
---|
102 | +--------------------------------------------------+ |
---|
103 | FFE0 0000 | External 4 MByte Flash | |
---|
104 | . . |
---|
105 | . . |
---|
106 | . . |
---|
107 | | | FFFF FFFF |
---|
108 | +--------------------------------------------------+ |
---|
109 | |
---|
110 | ============================================================================ |
---|
111 | Interrupt map |
---|
112 | |
---|
113 | +-----+-----------------------------------------------------------------------+ |
---|
114 | | | PRIORITY | |
---|
115 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
116 | |LEVEL| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|
117 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
118 | | 7 | | | | | | | | | |
---|
119 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
120 | | 6 | | | | | | | | | |
---|
121 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
122 | | 5 | | | | | | | | | |
---|
123 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
124 | | 4 | FEC RX | FEC TX | | | | | | PIT | |
---|
125 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
126 | | 3 | UART 0 | UART 1 | UART 2 | | | | | | |
---|
127 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
128 | | 2 | | | | | | | | | |
---|
129 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
130 | | 1 | | | | | | | | | |
---|
131 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
132 | |
---|
133 | ============================================================================ |
---|
134 | TIMING TESTS |
---|
135 | ************************************ |
---|
136 | *** TIME TEST 1 *** |
---|
137 | rtems_semaphore_create 12 |
---|
138 | rtems_semaphore_delete 11 |
---|
139 | rtems_semaphore_obtain: available 2 |
---|
140 | rtems_semaphore_obtain: not available -- NO_WAIT 3 |
---|
141 | rtems_semaphore_release: no waiting tasks 6 |
---|
142 | *** END OF TEST 1 *** |
---|
143 | |
---|
144 | *** TIME TEST 2 *** |
---|
145 | rtems_semaphore_obtain: not available -- caller blocks 18 |
---|
146 | *** END OF TEST 2 *** |
---|
147 | |
---|
148 | *** TIME TEST 3 *** |
---|
149 | rtems_semaphore_release: task readied -- preempts caller 12 |
---|
150 | *** END OF TEST 3 *** |
---|
151 | |
---|
152 | *** TIME TEST 4 *** |
---|
153 | rtems_task_restart: blocked task -- preempts caller 31 |
---|
154 | rtems_task_restart: ready task -- preempts caller 30 |
---|
155 | rtems_semaphore_release: task readied -- returns to caller 8 |
---|
156 | rtems_task_create 45 |
---|
157 | rtems_task_start 9 |
---|
158 | rtems_task_restart: suspended task -- returns to caller 14 |
---|
159 | rtems_task_delete: suspended task 32 |
---|
160 | rtems_task_restart: ready task -- returns to caller 14 |
---|
161 | rtems_task_restart: blocked task -- returns to caller 21 |
---|
162 | rtems_task_delete: blocked task 32 |
---|
163 | *** END OF TEST 4 *** |
---|
164 | |
---|
165 | *** TIME TEST 5 *** |
---|
166 | rtems_task_suspend: calling task 15 |
---|
167 | rtems_task_resume: task readied -- preempts caller 9 |
---|
168 | *** END OF TEST 5 *** |
---|
169 | |
---|
170 | *** TIME TEST 6 *** |
---|
171 | rtems_task_restart: calling task 12 |
---|
172 | rtems_task_suspend: returns to caller 5 |
---|
173 | rtems_task_resume: task readied -- returns to caller 6 |
---|
174 | rtems_task_delete: ready task 34 |
---|
175 | *** END OF TEST 6 *** |
---|
176 | |
---|
177 | *** TIME TEST 7 *** |
---|
178 | rtems_task_restart: suspended task -- preempts caller 22 |
---|
179 | *** END OF TEST 7 *** |
---|
180 | |
---|
181 | *** TIME TEST 8 *** |
---|
182 | rtems_task_set_priority: obtain current priority 4 |
---|
183 | rtems_task_set_priority: returns to caller 9 |
---|
184 | rtems_task_mode: obtain current mode 1 |
---|
185 | rtems_task_mode: no reschedule 1 |
---|
186 | rtems_task_mode: reschedule -- returns to caller 3 |
---|
187 | rtems_task_mode: reschedule -- preempts caller 11 |
---|
188 | rtems_task_set_note 3 |
---|
189 | rtems_task_get_note 3 |
---|
190 | rtems_clock_set 9 |
---|
191 | rtems_clock_get 0 |
---|
192 | *** END OF TEST 8 *** |
---|
193 | |
---|
194 | *** TIME TEST 9 *** |
---|
195 | rtems_message_queue_create 37 |
---|
196 | rtems_message_queue_send: no waiting tasks 11 |
---|
197 | rtems_message_queue_urgent: no waiting tasks 10 |
---|
198 | rtems_message_queue_receive: available 10 |
---|
199 | rtems_message_queue_flush: no messages flushed 3 |
---|
200 | rtems_message_queue_flush: messages flushed 5 |
---|
201 | rtems_message_queue_delete 17 |
---|
202 | *** END OF TEST 9 *** |
---|
203 | |
---|
204 | *** TIME TEST 10 *** |
---|
205 | rtems_message_queue_receive: not available -- NO_WAIT 6 |
---|
206 | rtems_message_queue_receive: not available -- caller blocks 20 |
---|
207 | *** END OF TEST 10 *** |
---|
208 | |
---|
209 | *** TIME TEST 11 *** |
---|
210 | rtems_message_queue_send: task readied -- preempts caller 17 |
---|
211 | *** END OF TEST 11 *** |
---|
212 | |
---|
213 | *** TIME TEST 12 *** |
---|
214 | rtems_message_queue_send: task readied -- returns to caller 12 |
---|
215 | *** END OF TEST 12 *** |
---|
216 | |
---|
217 | *** TIME TEST 13 *** |
---|
218 | rtems_message_queue_urgent: task readied -- preempts caller 20 |
---|
219 | *** END OF TEST 13 *** |
---|
220 | |
---|
221 | *** TIME TEST 14 *** |
---|
222 | rtems_message_queue_urgent: task readied -- returns to caller 14 |
---|
223 | *** END OF TEST 14 *** |
---|
224 | |
---|
225 | *** TIME TEST 15 *** |
---|
226 | rtems_event_receive: obtain current events 0 |
---|
227 | rtems_event_receive: not available -- NO_WAIT 3 |
---|
228 | rtems_event_receive: not available -- caller blocks 18 |
---|
229 | rtems_event_send: no task readied 3 |
---|
230 | rtems_event_receive: available 5 |
---|
231 | rtems_event_send: task readied -- returns to caller 7 |
---|
232 | *** END OF TEST 15 *** |
---|
233 | |
---|
234 | *** TIME TEST 16 *** |
---|
235 | rtems_event_send: task readied -- preempts caller 12 |
---|
236 | *** END OF TEST 16 *** |
---|
237 | |
---|
238 | *** TIME TEST 17 *** |
---|
239 | rtems_task_set_priority: preempts caller 21 |
---|
240 | *** END OF TEST 17 *** |
---|
241 | |
---|
242 | *** TIME TEST 18 *** |
---|
243 | rtems_task_delete: calling task 40 |
---|
244 | *** END OF TEST 18 *** |
---|
245 | |
---|
246 | *** TIME TEST 19 *** |
---|
247 | rtems_signal_catch 3 |
---|
248 | rtems_signal_send: returns to caller 6 |
---|
249 | rtems_signal_send: signal to self 11 |
---|
250 | exit ASR overhead: returns to calling task 8 |
---|
251 | exit ASR overhead: returns to preempting task 10 |
---|
252 | *** END OF TEST 19 *** |
---|
253 | |
---|
254 | *** TIME TEST 20 *** |
---|
255 | rtems_partition_create 13 |
---|
256 | rtems_region_create 24 |
---|
257 | rtems_partition_get_buffer: available 6 |
---|
258 | rtems_partition_get_buffer: not available 4 |
---|
259 | rtems_partition_return_buffer 6 |
---|
260 | rtems_partition_delete 6 |
---|
261 | rtems_region_get_segment: available 12 |
---|
262 | rtems_region_get_segment: not available -- NO_WAIT 13 |
---|
263 | rtems_region_return_segment: no waiting tasks 12 |
---|
264 | rtems_region_get_segment: not available -- caller blocks 30 |
---|
265 | rtems_region_return_segment: task readied -- preempts caller 40 |
---|
266 | rtems_region_return_segment: task readied -- returns to caller 25 |
---|
267 | rtems_region_delete 12 |
---|
268 | rtems_io_initialize 0 |
---|
269 | rtems_io_open 0 |
---|
270 | rtems_io_close 0 |
---|
271 | rtems_io_read 0 |
---|
272 | rtems_io_write 0 |
---|
273 | rtems_io_control 0 |
---|
274 | *** END OF TEST 20 *** |
---|
275 | |
---|
276 | *** TIME TEST 21 *** |
---|
277 | rtems_task_ident 31 |
---|
278 | rtems_message_queue_ident 30 |
---|
279 | rtems_semaphore_ident 34 |
---|
280 | rtems_partition_ident 30 |
---|
281 | rtems_region_ident 30 |
---|
282 | rtems_port_ident 29 |
---|
283 | rtems_timer_ident 30 |
---|
284 | rtems_rate_monotonic_ident 30 |
---|
285 | *** END OF TEST 21 *** |
---|
286 | |
---|
287 | *** TIME TEST 22 *** |
---|
288 | rtems_message_queue_broadcast: task readied -- returns to caller 19 |
---|
289 | rtems_message_queue_broadcast: no waiting tasks 6 |
---|
290 | rtems_message_queue_broadcast: task readied -- preempts caller 20 |
---|
291 | *** END OF TEST 22 *** |
---|
292 | |
---|
293 | *** TIME TEST 23 *** |
---|
294 | rtems_timer_create 4 |
---|
295 | rtems_timer_fire_after: inactive 6 |
---|
296 | rtems_timer_fire_after: active 6 |
---|
297 | rtems_timer_cancel: active 4 |
---|
298 | rtems_timer_cancel: inactive 3 |
---|
299 | rtems_timer_reset: inactive 6 |
---|
300 | rtems_timer_reset: active 6 |
---|
301 | rtems_timer_fire_when: inactive 8 |
---|
302 | rtems_timer_fire_when: active 8 |
---|
303 | rtems_timer_delete: active 5 |
---|
304 | rtems_timer_delete: inactive 5 |
---|
305 | rtems_task_wake_when 16 |
---|
306 | *** END OF TEST 23 *** |
---|
307 | |
---|
308 | *** TIME TEST 24 *** |
---|
309 | rtems_task_wake_after: yield -- returns to caller 2 |
---|
310 | rtems_task_wake_after: yields -- preempts caller 12 |
---|
311 | *** END OF TEST 24 *** |
---|
312 | |
---|
313 | *** TIME TEST 25 *** |
---|
314 | rtems_clock_tick 4 |
---|
315 | *** END OF TEST 25 *** |
---|
316 | |
---|
317 | *** TIME TEST 26 *** |
---|
318 | _ISR_Disable 0 |
---|
319 | _ISR_Flash 0 |
---|
320 | _ISR_Enable 0 |
---|
321 | _Thread_Disable_dispatch 0 |
---|
322 | _Thread_Enable_dispatch 1 |
---|
323 | _Thread_Set_state 4 |
---|
324 | _Thread_Disptach (NO FP) 9 |
---|
325 | context switch: no floating point contexts 7 |
---|
326 | context switch: self 1 |
---|
327 | context switch: to another task 1 |
---|
328 | fp context switch: restore 1st FP task 6 |
---|
329 | fp context switch: save idle, restore initialized 2 |
---|
330 | fp context switch: save idle, restore idle 6 |
---|
331 | fp context switch: save initialized, restore initialized 1 |
---|
332 | _Thread_Resume 4 |
---|
333 | _Thread_Unblock 3 |
---|
334 | _Thread_Ready 2 |
---|
335 | _Thread_Get 0 |
---|
336 | _Semaphore_Get 0 |
---|
337 | _Thread_Get: invalid id 0 |
---|
338 | *** END OF TEST 26 *** |
---|
339 | |
---|
340 | *** TIME TEST 27 *** |
---|
341 | interrupt entry overhead: returns to interrupted task 2 |
---|
342 | interrupt exit overhead: returns to interrupted task 1 |
---|
343 | interrupt entry overhead: returns to nested interrupt 1 |
---|
344 | interrupt exit overhead: returns to nested interrupt 1 |
---|
345 | interrupt entry overhead: returns to preempting task 2 |
---|
346 | interrupt exit overhead: returns to preempting task 12 |
---|
347 | *** END OF TEST 27 *** |
---|
348 | |
---|
349 | *** TIME TEST 28 *** |
---|
350 | rtems_port_create 8 |
---|
351 | rtems_port_external_to_internal 2 |
---|
352 | rtems_port_internal_to_external 3 |
---|
353 | rtems_port_delete 7 |
---|
354 | *** END OF TEST 28 *** |
---|
355 | |
---|
356 | *** TIME TEST 29 *** |
---|
357 | rtems_rate_monotonic_create 8 |
---|
358 | rtems_rate_monotonic_period: initiate period -- returns to caller 12 |
---|
359 | rtems_rate_monotonic_period: obtain status 5 |
---|
360 | rtems_rate_monotonic_cancel 7 |
---|
361 | rtems_rate_monotonic_delete: inactive 8 |
---|
362 | rtems_rate_monotonic_delete: active 7 |
---|
363 | rtems_rate_monotonic_period: conclude periods -- caller blocks 11 |
---|
364 | *** END OF TEST 29 *** |
---|
365 | |
---|
366 | *** TIME CHECKER *** |
---|
367 | Units may not be in microseconds for this test!!! |
---|
368 | 0 100000 |
---|
369 | Total time = 0 |
---|
370 | Average time = 0 |
---|
371 | <pause> |
---|
372 | NULL timer stopped at 0 |
---|
373 | LOOP (1000) timer stopped at 94 |
---|
374 | LOOP (10000) timer stopped at 941 |
---|
375 | LOOP (50000) timer stopped at 4704 |
---|
376 | LOOP (100000) timer stopped at 9408 |
---|
377 | *** END OF TIME CHECKER *** |
---|
378 | |
---|
379 | *** TIME TEST OVERHEAD *** |
---|
380 | rtems_initialize_executive 0 |
---|
381 | rtems_shutdown_executive 0 |
---|
382 | rtems_task_create 0 |
---|
383 | rtems_task_ident 0 |
---|
384 | rtems_task_start 0 |
---|
385 | rtems_task_restart 0 |
---|
386 | rtems_task_delete 0 |
---|
387 | rtems_task_suspend 0 |
---|
388 | rtems_task_resume 0 |
---|
389 | rtems_task_set_priority 0 |
---|
390 | rtems_task_mode 0 |
---|
391 | rtems_task_get_note 0 |
---|
392 | rtems_task_set_note 0 |
---|
393 | rtems_task_wake_when 0 |
---|
394 | rtems_task_wake_after 0 |
---|
395 | rtems_interrupt_catch 0 |
---|
396 | rtems_clock_get 0 |
---|
397 | rtems_clock_set 0 |
---|
398 | rtems_clock_tick 0 |
---|
399 | <pause> |
---|
400 | rtems_timer_create 0 |
---|
401 | rtems_timer_delete 0 |
---|
402 | rtems_timer_ident 0 |
---|
403 | rtems_timer_fire_after 0 |
---|
404 | rtems_timer_fire_when 0 |
---|
405 | rtems_timer_reset 0 |
---|
406 | rtems_timer_cancel 0 |
---|
407 | rtems_semaphore_create 0 |
---|
408 | rtems_semaphore_delete 0 |
---|
409 | rtems_semaphore_ident 0 |
---|
410 | rtems_semaphore_obtain 0 |
---|
411 | rtems_semaphore_release 0 |
---|
412 | rtems_message_queue_create 0 |
---|
413 | rtems_message_queue_ident 0 |
---|
414 | rtems_message_queue_delete 0 |
---|
415 | rtems_message_queue_send 0 |
---|
416 | rtems_message_queue_urgent 0 |
---|
417 | rtems_message_queue_broadcast 0 |
---|
418 | rtems_message_queue_receive 0 |
---|
419 | rtems_message_queue_flush 0 |
---|
420 | <pause> |
---|
421 | rtems_event_send 0 |
---|
422 | rtems_event_receive 0 |
---|
423 | rtems_signal_catch 0 |
---|
424 | rtems_signal_send 0 |
---|
425 | rtems_partition_create 0 |
---|
426 | rtems_partition_ident 0 |
---|
427 | rtems_partition_delete 0 |
---|
428 | rtems_partition_get_buffer 0 |
---|
429 | rtems_partition_return_buffer 0 |
---|
430 | rtems_region_create 0 |
---|
431 | rtems_region_ident 0 |
---|
432 | rtems_region_delete 0 |
---|
433 | rtems_region_get_segment 0 |
---|
434 | rtems_region_return_segment 0 |
---|
435 | rtems_port_create 0 |
---|
436 | rtems_port_ident 0 |
---|
437 | rtems_port_delete 0 |
---|
438 | rtems_port_external_to_internal 0 |
---|
439 | rtems_port_internal_to_external 0 |
---|
440 | <pause> |
---|
441 | rtems_io_initialize 0 |
---|
442 | rtems_io_open 0 |
---|
443 | rtems_io_close 0 |
---|
444 | rtems_io_read 0 |
---|
445 | rtems_io_write 0 |
---|
446 | rtems_io_control 0 |
---|
447 | rtems_fatal_error_occurred 0 |
---|
448 | rtems_rate_monotonic_create 0 |
---|
449 | rtems_rate_monotonic_ident 0 |
---|
450 | rtems_rate_monotonic_delete 0 |
---|
451 | rtems_rate_monotonic_cancel 0 |
---|
452 | rtems_rate_monotonic_period 0 |
---|
453 | rtems_multiprocessing_announce 0 |
---|
454 | *** END OF TIME OVERHEAD *** |
---|