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

4.104.114.84.95
Last change on this file since c60eccb was c60eccb, checked in by Eric Norum <WENorum@…>, on Feb 1, 2005 at 8:05:00 PM

Add EPICS information.

  • Property mode set to 100644
File size: 15.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
89EPICS Bootstrap Information
90===========================
91The EPICS startup code uses the following environment variables.  If an
92optional environment variable is missing the value in parentheses will be used.
93All Internet addresses must be given in 'dotted-decimal' format.
94HWADDR0    - Ethernet hardware address.
95IPADDR0    - Internet address (192.168.0.2).
96NETMASK    - Local network address mask (255.255.252.0).
97HOSTNAME   - Internet host name (iocNobody).
98GATEWAY    - Internet address of gateway machine (NULL).
99SERVER     - Internet address of NFS server (192.168.0.1).
100NAMESERVER - Internet address of DNS server (SERVER).
101DOMAIN     - DNS domain name (precompiled value from CONFIG_SITE).
102NTPSERVER  - Internet address of NTP server (SERVER).
103LOGSERVER  - Internet address of syslog server (SERVER).
104BOOTFILE   - Path to executable (epics/iocNobody/bin/RTEMS-uC5282/myApp.boot).
105CMDLINE    - Path to startup script (epics/iocBoot/iocNobody/st.cmd).
106
107
108============================================================================
109
110      Memory map as set up by dBUG bootstrap and BSP initialization
111
112          +--------------------------------------------------+
1130000 0000 |       16 MByte SDRAM                             | 00FF FFFF
1140100 0000 |  ---------------------------------------------   |
115          |    Address space for future SDRAM expansion      |
116          .                                                  .
117          .                                                  .
118          .                                                  .
119          |                                                  | 0FFF FFFF
120          +--------------------------------------------------+
1211000 0000 | External 4 MByte flash memory                    |
122          .                                                  .
123          .                                                  .
124          .                                                  .
125          |                                                  | 1FFF FFFF
126          +--------------------------------------------------+
1272000 0000 | 64 kByte on-chip SRAM (RAMBAR)                   |
128          .                                                  .
129          .                                                  .
130          .                                                  .
131          |                                                  | 2FFF FFFF
132          +--------------------------------------------------+
1333000 0000 |  CS1* space (First 'VME' A24/D16 space)          | 30FF FFFF
1343100 0000 |  CS2* space (Second 'VME' A24/D16 space)         | 31FF FFFF
135          .                                                  .
136          .                                                  .
137          .                                                  .
138          |                                                  | 3FFF FFFF
139          +--------------------------------------------------+
1404000 0000 | Internal peripheral system (IPSBAR)              |
141          .                                                  .
1424400 0000 | Backdoor access to on-chip flash                 |
143          .                                                  .
144          .                                                  .
145          .                                                  .
146          |                                                  | 4FFF FFFF
147          +--------------------------------------------------+
148          .                                                  .
149          .                                                  .
150          .                                                  .
151          +--------------------------------------------------+
152f000 0000 | 512 kByte on-chip flash (FLASHBAR)               |
153          .                                                  .
154          .                                                  .
155          .                                                  .
156          |                                                  | fFFF FFFF
157          +--------------------------------------------------+
158
159
160TIMING TESTS  2005-01-28
161========================
162
163*** TIME TEST 1 ***
164rtems_semaphore_create 19
165rtems_semaphore_delete 21
166rtems_semaphore_obtain: available 4
167rtems_semaphore_obtain: not available -- NO_WAIT 5
168rtems_semaphore_release: no waiting tasks 12
169*** END OF TEST 1 ***
170
171*** TIME TEST 2 ***
172rtems_semaphore_obtain: not available -- caller blocks 34
173*** END OF TEST 2 ***
174
175*** TIME TEST 3 ***
176rtems_semaphore_release: task readied -- preempts caller 27
177*** END OF TEST 3 ***
178
179*** TIME TEST 4 ***
180rtems_task_restart: blocked task -- preempts caller 54
181rtems_task_restart: ready task -- preempts caller 52
182rtems_semaphore_release: task readied -- returns to caller 18
183rtems_task_create 87
184rtems_task_start 24
185rtems_task_restart: suspended task -- returns to caller 27
186rtems_task_delete: suspended task 66
187rtems_task_restart: ready task -- returns to caller 28
188rtems_task_restart: blocked task -- returns to caller 38
189rtems_task_delete: blocked task 69
190*** END OF TEST 4 ***
191
192*** TIME TEST 5 ***
193rtems_task_suspend: calling task 23
194rtems_task_resume: task readied -- preempts caller 22
195*** END OF TEST 5 ***
196
197*** TIME TEST 6 ***
198rtems_task_restart: calling task 30
199rtems_task_suspend: returns to caller 9
200rtems_task_resume: task readied -- returns to caller 12
201rtems_task_delete: ready task 69
202*** END OF TEST 6 ***
203
204*** TIME TEST 7 ***
205rtems_task_restart: suspended task -- preempts caller 44
206*** END OF TEST 7 ***
207
208*** TIME TEST 8 ***
209rtems_task_set_priority: obtain current priority 6
210rtems_task_set_priority: returns to caller 17
211rtems_task_mode: obtain current mode 3
212rtems_task_mode: no reschedule 3
213rtems_task_mode: reschedule -- returns to caller 8
214rtems_task_mode: reschedule -- preempts caller 22
215rtems_task_set_note 6
216rtems_task_get_note 6
217rtems_clock_set 22
218rtems_clock_get 1
219*** END OF TEST 8 ***
220
221*** TIME TEST 9 ***
222rtems_message_queue_create 55
223rtems_message_queue_send: no waiting tasks 20
224rtems_message_queue_urgent: no waiting tasks 21
225rtems_message_queue_receive: available 20
226rtems_message_queue_flush: no messages flushed 8
227rtems_message_queue_flush: messages flushed 12
228rtems_message_queue_delete 29
229*** END OF TEST 9 ***
230
231*** TIME TEST 10 ***
232rtems_message_queue_receive: not available -- NO_WAIT 10
233rtems_message_queue_receive: not available -- caller blocks 38
234*** END OF TEST 10 ***
235
236*** TIME TEST 11 ***
237rtems_message_queue_send: task readied -- preempts caller 37
238*** END OF TEST 11 ***
239
240*** TIME TEST 12 ***
241rtems_message_queue_send: task readied -- returns to caller 23
242*** END OF TEST 12 ***
243
244*** TIME TEST 13 ***
245rtems_message_queue_urgent: task readied -- preempts caller 35
246*** END OF TEST 13 ***
247
248*** TIME TEST 14 ***
249rtems_message_queue_urgent: task readied -- returns to caller 24
250*** END OF TEST 14 ***
251
252*** TIME TEST 15 ***
253rtems_event_receive: obtain current events 0
254rtems_event_receive: not available -- NO_WAIT 5
255rtems_event_receive: not available -- caller blocks 28
256rtems_event_send: no task readied 5
257rtems_event_receive: available 9
258rtems_event_send: task readied -- returns to caller 16
259*** END OF TEST 15 ***
260
261*** TIME TEST 16 ***
262rtems_event_send: task readied -- preempts caller 27
263*** END OF TEST 16 ***
264
265*** TIME TEST 17 ***
266rtems_task_set_priority: preempts caller 39
267*** END OF TEST 17 ***
268
269*** TIME TEST 18 ***
270rtems_task_delete: calling task 83
271*** END OF TEST 18 ***
272
273*** TIME TEST 19 ***
274rtems_signal_catch 5
275rtems_signal_send: returns to caller 12
276rtems_signal_send: signal to self 20
277exit ASR overhead: returns to calling task 15
278exit ASR overhead: returns to preempting task 18
279*** END OF TEST 19 ***
280
281*** TIME TEST 20 ***
282rtems_partition_create 20
283rtems_region_create 40
284rtems_partition_get_buffer: available 11
285rtems_partition_get_buffer: not available 7
286rtems_partition_return_buffer 12
287rtems_partition_delete 11
288rtems_region_get_segment: available 28
289rtems_region_get_segment: not available -- NO_WAIT 29
290rtems_region_return_segment: no waiting tasks 29
291rtems_region_get_segment: not available -- caller blocks 55
292rtems_region_return_segment: task readied -- preempts caller 72
293rtems_region_return_segment: task readied -- returns to caller 58
294rtems_region_delete 25
295rtems_io_initialize 1
296rtems_io_open 1
297rtems_io_close 1
298rtems_io_read 1
299rtems_io_write 1
300rtems_io_control 1
301*** END OF TEST 20 ***
302
303*** TIME TEST 21 ***
304rtems_task_ident 60
305rtems_message_queue_ident 60
306rtems_semaphore_ident 69
307rtems_partition_ident 59
308rtems_region_ident 60
309rtems_port_ident 59
310rtems_timer_ident 61
311rtems_rate_monotonic_ident 60
312*** END OF TEST 21 ***
313
314*** TIME TEST 22 ***
315rtems_message_queue_broadcast: task readied -- returns to caller 32
316rtems_message_queue_broadcast: no waiting tasks 14
317rtems_message_queue_broadcast: task readied -- preempts caller 39
318*** END OF TEST 22 ***
319
320*** TIME TEST 23 ***
321rtems_timer_create 8
322rtems_timer_fire_after: inactive 12
323rtems_timer_fire_after: active 12
324rtems_timer_cancel: active 9
325rtems_timer_cancel: inactive 8
326rtems_timer_reset: inactive 14
327rtems_timer_reset: active 15
328rtems_timer_fire_when: inactive 21
329rtems_timer_fire_when: active 21
330rtems_timer_delete: active 12
331rtems_timer_delete: inactive 11
332rtems_task_wake_when 35
333*** END OF TEST 23 ***
334
335*** TIME TEST 24 ***
336rtems_task_wake_after: yield -- returns to caller 3
337rtems_task_wake_after: yields -- preempts caller 18
338*** END OF TEST 24 ***
339
340*** TIME TEST 25 ***
341rtems_clock_tick 7
342*** END OF TEST 25 ***
343
344*** TIME TEST 26 ***
345_ISR_Disable 1
346_ISR_Flash 0
347_ISR_Enable 0
348_Thread_Disable_dispatch 1
349_Thread_Enable_dispatch 3
350_Thread_Set_state 7
351_Thread_Disptach (NO FP) 16
352context switch: no floating point contexts 12
353context switch: self 2
354context switch: to another task 1
355fp context switch: restore 1st FP task 14
356fp context switch: save idle, restore initialized 3
357fp context switch: save idle, restore idle 13
358fp context switch: save initialized, restore initialized 2
359_Thread_Resume 7
360_Thread_Unblock 6
361_Thread_Ready 5
362_Thread_Get 1
363_Semaphore_Get 1
364_Thread_Get: invalid id 0
365*** END OF TEST 26 ***
366
367*** TIME TEST 27 ***
368interrupt entry overhead: returns to interrupted task 3
369interrupt exit overhead: returns to interrupted task 3
370interrupt entry overhead: returns to nested interrupt 2
371interrupt exit overhead: returns to nested interrupt 2
372interrupt entry overhead: returns to preempting task 4
373interrupt exit overhead: returns to preempting task 20
374*** END OF TEST 27 ***
375
376*** TIME TEST 28 ***
377rtems_port_create 12
378rtems_port_external_to_internal 5
379rtems_port_internal_to_external 6
380rtems_port_delete 12
381*** END OF TEST 28 ***
382
383*** TIME TEST 29 ***
384rtems_rate_monotonic_create 13
385rtems_rate_monotonic_period: initiate period -- returns to caller 20
386rtems_rate_monotonic_period: obtain status 10
387rtems_rate_monotonic_cancel 13
388rtems_rate_monotonic_delete: inactive 17
389rtems_rate_monotonic_delete: active 16
390rtems_rate_monotonic_period: conclude periods -- caller blocks 24
391*** END OF TEST 29 ***
392
393*** TIME CHECKER ***
394Units may not be in microseconds for this test!!!
3950 100000
396Total time = 0
397Average time = 0
398NULL timer stopped at 0
399LOOP (1000) timer stopped at 188
400LOOP (10000) timer stopped at 1875
401LOOP (50000) timer stopped at 9375
402LOOP (100000) timer stopped at 18750
403*** END OF TIME CHECKER ***
404
405*** TIME TEST OVERHEAD ***
406rtems_initialize_executive 0
407rtems_shutdown_executive 0
408rtems_task_create 0
409rtems_task_ident 0
410rtems_task_start 0
411rtems_task_restart 0
412rtems_task_delete 0
413rtems_task_suspend 0
414rtems_task_resume 0
415rtems_task_set_priority 0
416rtems_task_mode 0
417rtems_task_get_note 0
418rtems_task_set_note 0
419rtems_task_wake_when 1
420rtems_task_wake_after 0
421rtems_interrupt_catch 0
422rtems_clock_get 1
423rtems_clock_set 1
424rtems_clock_tick 0
425rtems_timer_create 0
426rtems_timer_delete 0
427rtems_timer_ident 0
428rtems_timer_fire_after 1
429rtems_timer_fire_when 1
430rtems_timer_reset 0
431rtems_timer_cancel 0
432rtems_semaphore_create 0
433rtems_semaphore_delete 0
434rtems_semaphore_ident 0
435rtems_semaphore_obtain 0
436rtems_semaphore_release 0
437rtems_message_queue_create 0
438rtems_message_queue_ident 0
439rtems_message_queue_delete 0
440rtems_message_queue_send 0
441rtems_message_queue_urgent 0
442rtems_message_queue_broadcast 0
443rtems_message_queue_receive 0
444rtems_message_queue_flush 0
445rtems_event_send 0
446rtems_event_receive 0
447rtems_signal_catch 0
448rtems_signal_send 0
449rtems_partition_create 0
450rtems_partition_ident 0
451rtems_partition_delete 0
452rtems_partition_get_buffer 0
453rtems_partition_return_buffer 0
454rtems_region_create 0
455rtems_region_ident 0
456rtems_region_delete 0
457rtems_region_get_segment 0
458rtems_region_return_segment 0
459rtems_port_create 0
460rtems_port_ident 0
461rtems_port_delete 0
462rtems_port_external_to_internal 0
463rtems_port_internal_to_external 0
464rtems_io_initialize 0
465rtems_io_open 0
466rtems_io_close 0
467rtems_io_read 0
468rtems_io_write 0
469rtems_io_control 0
470rtems_fatal_error_occurred 0
471rtems_rate_monotonic_create 0
472rtems_rate_monotonic_ident 0
473rtems_rate_monotonic_delete 0
474rtems_rate_monotonic_cancel 0
475rtems_rate_monotonic_period 0
476rtems_multiprocessing_announce 0
477*** END OF TIME OVERHEAD ***
Note: See TracBrowser for help on using the repository browser.