1 | Notes about the MVME147S bsp |
---|
2 | |
---|
3 | MVME147 port for TNI - Telecom Bretagne |
---|
4 | by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr) |
---|
5 | May 1996 |
---|
6 | |
---|
7 | |
---|
8 | This bsp is essentially based on the mvme136 bsp, |
---|
9 | and is only an extention of the MVME147 bsp. There |
---|
10 | are slight differences in the VMEchips used in the MVME147S and |
---|
11 | the MVME147 that should prevent the shmsupport and the startup |
---|
12 | code from running on a MVME147. |
---|
13 | |
---|
14 | Summary of the modifications that were made: |
---|
15 | |
---|
16 | * include |
---|
17 | |
---|
18 | - bsp.h |
---|
19 | Peripheral Channel Controller memory mapping |
---|
20 | Z8530 memory mapping |
---|
21 | VMEchip memory mapping |
---|
22 | |
---|
23 | * startup |
---|
24 | |
---|
25 | - bspstart.c |
---|
26 | main () setup for VME roundrobin mode |
---|
27 | setup for the PCC interrupt vector base |
---|
28 | setup of the VME shared memory |
---|
29 | - bspclean.c |
---|
30 | bsp_cleanup () disable timer 1 & 2 interruptions |
---|
31 | - linkcmds set the RAM start (0x7000) and size (4Meg - 0x7000) |
---|
32 | - setvec.c unchanged |
---|
33 | - sbrk.c unchanged |
---|
34 | |
---|
35 | * console |
---|
36 | |
---|
37 | - console.c taken from the dmv152 bsp (Zilog Z8530) |
---|
38 | with no modification |
---|
39 | |
---|
40 | * clock |
---|
41 | |
---|
42 | - ckinit.c entirely rewritten for the PCC tick timer 2 |
---|
43 | |
---|
44 | * timer |
---|
45 | |
---|
46 | - timerisr.s and timer.c |
---|
47 | entirely rewritten for the PCC tick timer 1 |
---|
48 | now gives results un 6.25 us units (mininum timer delay, |
---|
49 | suprising big grain) |
---|
50 | |
---|
51 | * times |
---|
52 | |
---|
53 | - updated results for the mvme147 (beware of the 6.25 us grain) |
---|
54 | |
---|
55 | * shmsupp : |
---|
56 | Specific to the S version of the MVME147 |
---|
57 | Only tested with 2 boards, in interrupt mode. |
---|
58 | Uses the top 128k of the VME system controller board RAM |
---|
59 | as the shared space. |
---|
60 | |
---|
61 | - mpisr.c : uses the SIGLP interruption |
---|
62 | |
---|
63 | - Makefile : unchanged |
---|
64 | |
---|
65 | - getcfg.c : rewritten |
---|
66 | |
---|
67 | - lock.c unchanged |
---|
68 | |
---|
69 | - addrconv.c unchanged |
---|
70 | |
---|
71 | * Makefiles |
---|
72 | |
---|
73 | - unchanged |
---|
74 | |
---|
75 | |
---|
76 | To be done: |
---|
77 | |
---|
78 | * update the overheads in coverhead.h |
---|
79 | |
---|
80 | * add support for serial ports 2,3 and 4. |
---|
81 | |
---|
82 | Other notes: |
---|
83 | |
---|
84 | * All the timing tests and sp tests have been run except tmoverhd. |
---|
85 | The test hangs during the pause (where the task should be suspended |
---|
86 | until a return). Maybe the rtems_initialize_executive is no more |
---|
87 | reentrant with this bsp. |
---|
88 | |
---|