source: rtems/c/src/lib/libbsp/m68k/av5282/README @ 754610f

4.104.114.84.95
Last change on this file since 754610f was 1b269c56, checked in by Joel Sherrill <joel.sherrill@…>, on 08/17/05 at 22:03:22

2005-08-17 Mike Bertosh <mbertosh@…>

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