source: rtems/c/src/lib/libbsp/m68k/mcf5235/README @ d5154d0f

5
Last change on this file since d5154d0f was d5154d0f, checked in by Aun-Ali Zaidi <admin@…>, on 12/23/15 at 20:44:02

api: Remove deprecated Notepads

Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.

In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:

  • 16 32-bit integers were allocated.
  • A total of 64 bytes per task per thread.

This is especially critical in low memory and safety-critical applications.

They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.

Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.

updates #2493.

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