source: rtems/c/src/lib/libbsp/m68k/uC5282/README @ 518edef

4.104.114.84.95
Last change on this file since 518edef was d5f0a05, checked in by Eric Norum <WENorum@…>, on Jan 28, 2005 at 11:03:17 PM

printk really does work!

  • Property mode set to 100644
File size: 14.0 KB
Line 
1#
2#  $Id$
3#
4
5Description: Arcturus Networks uC DIMM ColdFire 5282
6============
7CPU: MCF5282, 64MHz
8RAM: 16M
9ROM: 4M
10
11This is a credit-card sized board in a DIMM format. It is part of a family
12which includes Dragonball and Coldfire CPUs, with a standardized DIMM-based bus.
13
14ACKNOWLEDGEMENTS:
15=================
16This BSP is based on the work of:
17    D. Peter Siddons
18    Brett Swimley
19    Jay Monkman
20
21TODO:
22=====
23Make a clean exit routine to return to Arcturus monitor
24
25The bsp relies on the Arcturus monitor to set up DRAM and all chip selects.
26This seems OK to me, but others may find it lame.....
27
28 
29BSP NAME:           uC5282
30BOARD:              Arcturus Netrworks uCdimm 5282
31BUS:                Arcturus DIMM bus, A24/D16, plus peripherals.
32CPU FAMILY:         ColdFire 5282
33CPU:                MCF5282
34COPROCESSORS:       N/A
35
36DEBUG MONITOR:      Arcturus bootloader
37
38PERIPHERALS
39===========
40TIMERS:             Four PIT (RTEMS clock is PIT3), Four Timers
41  RESOLUTION:       1 microsecond
42SERIAL PORTS:       Internal UART 1, 2 and 3
43REAL-TIME CLOCK:    none
44DMA:                none
45VIDEO:              none
46SCSI:               none
47NETWORKING:         Internal 10/100MHz FEC
48
49DRIVER INFORMATION
50==================
51CLOCK DRIVER:       PIT3
52IOSUPP DRIVER:      none
53SHMSUPP:            none
54TIMER DRIVER:       TIMER3
55TTY DRIVER:         UART1, 2 and 3
56
57STDIO
58=====
59PORT:               UART1 Terminal
60ELECTRICAL:         RS-232
61BAUD:               9600
62BITS PER CHARACTER: 8
63PARITY:             None
64STOP BITS:          1
65
66Downloading the image to the board.
67===================================
68
69The bootable image is generated by the make-exe target in the bsp makefile. It
70generates a simple stripped binary file which is downloaded over the ethernet
71port into RAM then executed or programmed into flash memory.
72
731) Power up the uC5282 board. A dump of some memory map is produced
74   followed by a prompt.
75
762) type 'tftp<CR>'
77
783) Run 'tftp' on your host machine:
79            tftp> binary
80            tftp> connect www.xxx.yyy.zzz      (You're ucDIMM's address)
81            tftp> put someFile.exe
82
834) When the file has downloaded press the <ESC> key to terminate
84   the uCDIMM tftp command.
85
865) Type 'goram<CR>' to start the downloaded program, or type 'program<CR>'
87to burn the code onto the uCDIMM flash.
88
89============================================================================
90
91      Memory map as set up by dBUG bootstrap and BSP initialization
92
93          +--------------------------------------------------+
940000 0000 |       16 MByte SDRAM                             | 00FF FFFF
950100 0000 |  ---------------------------------------------   |
96          |    Address space for future SDRAM expansion      |
97          .                                                  .
98          .                                                  .
99          .                                                  .
100          |                                                  | 0FFF FFFF
101          +--------------------------------------------------+
1021000 0000 | External 4 MByte flash memory                    |
103          .                                                  .
104          .                                                  .
105          .                                                  .
106          |                                                  | 1FFF FFFF
107          +--------------------------------------------------+
1082000 0000 | 64 kByte on-chip SRAM (RAMBAR)                   |
109          .                                                  .
110          .                                                  .
111          .                                                  .
112          |                                                  | 2FFF FFFF
113          +--------------------------------------------------+
1143000 0000 |  CS1* space (First 'VME' A24/D16 space)          | 30FF FFFF
1153100 0000 |  CS2* space (Second 'VME' A24/D16 space)         | 31FF FFFF
116          .                                                  .
117          .                                                  .
118          .                                                  .
119          |                                                  | 3FFF FFFF
120          +--------------------------------------------------+
1214000 0000 | Internal peripheral system (IPSBAR)              |
122          .                                                  .
1234400 0000 | Backdoor access to on-chip flash                 |
124          .                                                  .
125          .                                                  .
126          .                                                  .
127          |                                                  | 4FFF FFFF
128          +--------------------------------------------------+
129          .                                                  .
130          .                                                  .
131          .                                                  .
132          +--------------------------------------------------+
133f000 0000 | 512 kByte on-chip flash (FLASHBAR)               |
134          .                                                  .
135          .                                                  .
136          .                                                  .
137          |                                                  | fFFF FFFF
138          +--------------------------------------------------+
139
140
141TIMING TESTS  2005-01-28
142========================
143
144*** TIME TEST 1 ***
145rtems_semaphore_create 19
146rtems_semaphore_delete 21
147rtems_semaphore_obtain: available 4
148rtems_semaphore_obtain: not available -- NO_WAIT 5
149rtems_semaphore_release: no waiting tasks 12
150*** END OF TEST 1 ***
151
152*** TIME TEST 2 ***
153rtems_semaphore_obtain: not available -- caller blocks 34
154*** END OF TEST 2 ***
155
156*** TIME TEST 3 ***
157rtems_semaphore_release: task readied -- preempts caller 27
158*** END OF TEST 3 ***
159
160*** TIME TEST 4 ***
161rtems_task_restart: blocked task -- preempts caller 54
162rtems_task_restart: ready task -- preempts caller 52
163rtems_semaphore_release: task readied -- returns to caller 18
164rtems_task_create 87
165rtems_task_start 24
166rtems_task_restart: suspended task -- returns to caller 27
167rtems_task_delete: suspended task 66
168rtems_task_restart: ready task -- returns to caller 28
169rtems_task_restart: blocked task -- returns to caller 38
170rtems_task_delete: blocked task 69
171*** END OF TEST 4 ***
172
173*** TIME TEST 5 ***
174rtems_task_suspend: calling task 23
175rtems_task_resume: task readied -- preempts caller 22
176*** END OF TEST 5 ***
177
178*** TIME TEST 6 ***
179rtems_task_restart: calling task 30
180rtems_task_suspend: returns to caller 9
181rtems_task_resume: task readied -- returns to caller 12
182rtems_task_delete: ready task 69
183*** END OF TEST 6 ***
184
185*** TIME TEST 7 ***
186rtems_task_restart: suspended task -- preempts caller 44
187*** END OF TEST 7 ***
188
189*** TIME TEST 8 ***
190rtems_task_set_priority: obtain current priority 6
191rtems_task_set_priority: returns to caller 17
192rtems_task_mode: obtain current mode 3
193rtems_task_mode: no reschedule 3
194rtems_task_mode: reschedule -- returns to caller 8
195rtems_task_mode: reschedule -- preempts caller 22
196rtems_task_set_note 6
197rtems_task_get_note 6
198rtems_clock_set 22
199rtems_clock_get 1
200*** END OF TEST 8 ***
201
202*** TIME TEST 9 ***
203rtems_message_queue_create 55
204rtems_message_queue_send: no waiting tasks 20
205rtems_message_queue_urgent: no waiting tasks 21
206rtems_message_queue_receive: available 20
207rtems_message_queue_flush: no messages flushed 8
208rtems_message_queue_flush: messages flushed 12
209rtems_message_queue_delete 29
210*** END OF TEST 9 ***
211
212*** TIME TEST 10 ***
213rtems_message_queue_receive: not available -- NO_WAIT 10
214rtems_message_queue_receive: not available -- caller blocks 38
215*** END OF TEST 10 ***
216
217*** TIME TEST 11 ***
218rtems_message_queue_send: task readied -- preempts caller 37
219*** END OF TEST 11 ***
220
221*** TIME TEST 12 ***
222rtems_message_queue_send: task readied -- returns to caller 23
223*** END OF TEST 12 ***
224
225*** TIME TEST 13 ***
226rtems_message_queue_urgent: task readied -- preempts caller 35
227*** END OF TEST 13 ***
228
229*** TIME TEST 14 ***
230rtems_message_queue_urgent: task readied -- returns to caller 24
231*** END OF TEST 14 ***
232
233*** TIME TEST 15 ***
234rtems_event_receive: obtain current events 0
235rtems_event_receive: not available -- NO_WAIT 5
236rtems_event_receive: not available -- caller blocks 28
237rtems_event_send: no task readied 5
238rtems_event_receive: available 9
239rtems_event_send: task readied -- returns to caller 16
240*** END OF TEST 15 ***
241
242*** TIME TEST 16 ***
243rtems_event_send: task readied -- preempts caller 27
244*** END OF TEST 16 ***
245
246*** TIME TEST 17 ***
247rtems_task_set_priority: preempts caller 39
248*** END OF TEST 17 ***
249
250*** TIME TEST 18 ***
251rtems_task_delete: calling task 83
252*** END OF TEST 18 ***
253
254*** TIME TEST 19 ***
255rtems_signal_catch 5
256rtems_signal_send: returns to caller 12
257rtems_signal_send: signal to self 20
258exit ASR overhead: returns to calling task 15
259exit ASR overhead: returns to preempting task 18
260*** END OF TEST 19 ***
261
262*** TIME TEST 20 ***
263rtems_partition_create 20
264rtems_region_create 40
265rtems_partition_get_buffer: available 11
266rtems_partition_get_buffer: not available 7
267rtems_partition_return_buffer 12
268rtems_partition_delete 11
269rtems_region_get_segment: available 28
270rtems_region_get_segment: not available -- NO_WAIT 29
271rtems_region_return_segment: no waiting tasks 29
272rtems_region_get_segment: not available -- caller blocks 55
273rtems_region_return_segment: task readied -- preempts caller 72
274rtems_region_return_segment: task readied -- returns to caller 58
275rtems_region_delete 25
276rtems_io_initialize 1
277rtems_io_open 1
278rtems_io_close 1
279rtems_io_read 1
280rtems_io_write 1
281rtems_io_control 1
282*** END OF TEST 20 ***
283
284*** TIME TEST 21 ***
285rtems_task_ident 60
286rtems_message_queue_ident 60
287rtems_semaphore_ident 69
288rtems_partition_ident 59
289rtems_region_ident 60
290rtems_port_ident 59
291rtems_timer_ident 61
292rtems_rate_monotonic_ident 60
293*** END OF TEST 21 ***
294
295*** TIME TEST 22 ***
296rtems_message_queue_broadcast: task readied -- returns to caller 32
297rtems_message_queue_broadcast: no waiting tasks 14
298rtems_message_queue_broadcast: task readied -- preempts caller 39
299*** END OF TEST 22 ***
300
301*** TIME TEST 23 ***
302rtems_timer_create 8
303rtems_timer_fire_after: inactive 12
304rtems_timer_fire_after: active 12
305rtems_timer_cancel: active 9
306rtems_timer_cancel: inactive 8
307rtems_timer_reset: inactive 14
308rtems_timer_reset: active 15
309rtems_timer_fire_when: inactive 21
310rtems_timer_fire_when: active 21
311rtems_timer_delete: active 12
312rtems_timer_delete: inactive 11
313rtems_task_wake_when 35
314*** END OF TEST 23 ***
315
316*** TIME TEST 24 ***
317rtems_task_wake_after: yield -- returns to caller 3
318rtems_task_wake_after: yields -- preempts caller 18
319*** END OF TEST 24 ***
320
321*** TIME TEST 25 ***
322rtems_clock_tick 7
323*** END OF TEST 25 ***
324
325*** TIME TEST 26 ***
326_ISR_Disable 1
327_ISR_Flash 0
328_ISR_Enable 0
329_Thread_Disable_dispatch 1
330_Thread_Enable_dispatch 3
331_Thread_Set_state 7
332_Thread_Disptach (NO FP) 16
333context switch: no floating point contexts 12
334context switch: self 2
335context switch: to another task 1
336fp context switch: restore 1st FP task 14
337fp context switch: save idle, restore initialized 3
338fp context switch: save idle, restore idle 13
339fp context switch: save initialized, restore initialized 2
340_Thread_Resume 7
341_Thread_Unblock 6
342_Thread_Ready 5
343_Thread_Get 1
344_Semaphore_Get 1
345_Thread_Get: invalid id 0
346*** END OF TEST 26 ***
347
348*** TIME TEST 27 ***
349interrupt entry overhead: returns to interrupted task 3
350interrupt exit overhead: returns to interrupted task 3
351interrupt entry overhead: returns to nested interrupt 2
352interrupt exit overhead: returns to nested interrupt 2
353interrupt entry overhead: returns to preempting task 4
354interrupt exit overhead: returns to preempting task 20
355*** END OF TEST 27 ***
356
357*** TIME TEST 28 ***
358rtems_port_create 12
359rtems_port_external_to_internal 5
360rtems_port_internal_to_external 6
361rtems_port_delete 12
362*** END OF TEST 28 ***
363
364*** TIME TEST 29 ***
365rtems_rate_monotonic_create 13
366rtems_rate_monotonic_period: initiate period -- returns to caller 20
367rtems_rate_monotonic_period: obtain status 10
368rtems_rate_monotonic_cancel 13
369rtems_rate_monotonic_delete: inactive 17
370rtems_rate_monotonic_delete: active 16
371rtems_rate_monotonic_period: conclude periods -- caller blocks 24
372*** END OF TEST 29 ***
373
374*** TIME CHECKER ***
375Units may not be in microseconds for this test!!!
3760 100000
377Total time = 0
378Average time = 0
379NULL timer stopped at 0
380LOOP (1000) timer stopped at 188
381LOOP (10000) timer stopped at 1875
382LOOP (50000) timer stopped at 9375
383LOOP (100000) timer stopped at 18750
384*** END OF TIME CHECKER ***
385
386*** TIME TEST OVERHEAD ***
387rtems_initialize_executive 0
388rtems_shutdown_executive 0
389rtems_task_create 0
390rtems_task_ident 0
391rtems_task_start 0
392rtems_task_restart 0
393rtems_task_delete 0
394rtems_task_suspend 0
395rtems_task_resume 0
396rtems_task_set_priority 0
397rtems_task_mode 0
398rtems_task_get_note 0
399rtems_task_set_note 0
400rtems_task_wake_when 1
401rtems_task_wake_after 0
402rtems_interrupt_catch 0
403rtems_clock_get 1
404rtems_clock_set 1
405rtems_clock_tick 0
406rtems_timer_create 0
407rtems_timer_delete 0
408rtems_timer_ident 0
409rtems_timer_fire_after 1
410rtems_timer_fire_when 1
411rtems_timer_reset 0
412rtems_timer_cancel 0
413rtems_semaphore_create 0
414rtems_semaphore_delete 0
415rtems_semaphore_ident 0
416rtems_semaphore_obtain 0
417rtems_semaphore_release 0
418rtems_message_queue_create 0
419rtems_message_queue_ident 0
420rtems_message_queue_delete 0
421rtems_message_queue_send 0
422rtems_message_queue_urgent 0
423rtems_message_queue_broadcast 0
424rtems_message_queue_receive 0
425rtems_message_queue_flush 0
426rtems_event_send 0
427rtems_event_receive 0
428rtems_signal_catch 0
429rtems_signal_send 0
430rtems_partition_create 0
431rtems_partition_ident 0
432rtems_partition_delete 0
433rtems_partition_get_buffer 0
434rtems_partition_return_buffer 0
435rtems_region_create 0
436rtems_region_ident 0
437rtems_region_delete 0
438rtems_region_get_segment 0
439rtems_region_return_segment 0
440rtems_port_create 0
441rtems_port_ident 0
442rtems_port_delete 0
443rtems_port_external_to_internal 0
444rtems_port_internal_to_external 0
445rtems_io_initialize 0
446rtems_io_open 0
447rtems_io_close 0
448rtems_io_read 0
449rtems_io_write 0
450rtems_io_control 0
451rtems_fatal_error_occurred 0
452rtems_rate_monotonic_create 0
453rtems_rate_monotonic_ident 0
454rtems_rate_monotonic_delete 0
455rtems_rate_monotonic_cancel 0
456rtems_rate_monotonic_period 0
457rtems_multiprocessing_announce 0
458*** END OF TIME OVERHEAD ***
Note: See TracBrowser for help on using the repository browser.