[28fa54d9] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | Notes about the MVME147 bsp |
---|
| 6 | |
---|
| 7 | MVME147 port for TNI - Telecom Bretagne |
---|
| 8 | by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr) |
---|
| 9 | May 1996 |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | This bsp is essentially based on the mvme136 bsp. |
---|
| 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 | |
---|
| 22 | * startup |
---|
| 23 | |
---|
| 24 | - bspstart.c |
---|
| 25 | main () setup for VME roundrobin mode |
---|
| 26 | setup for the PCC interrupt vector base |
---|
| 27 | - bspclean.c |
---|
| 28 | bsp_cleanup () disable timer 1 & 2 interruptions |
---|
| 29 | - linkcmds set the RAM start (0x5000) and size (4Meg - 0x5000) |
---|
| 30 | - setvec.c unchanged |
---|
| 31 | - sbrk.c unchanged |
---|
| 32 | |
---|
| 33 | * console |
---|
| 34 | |
---|
| 35 | - console.c taken from the dmv152 bsp (Zilog Z8530) |
---|
| 36 | with no modification |
---|
| 37 | |
---|
| 38 | * clock |
---|
| 39 | |
---|
| 40 | - ckinit.c entirely rewritten for the PCC tick timer 2 |
---|
| 41 | |
---|
| 42 | * timer |
---|
| 43 | |
---|
| 44 | - timerisr.s and timer.c |
---|
| 45 | entirely rewritten for the PCC tick timer 1 |
---|
| 46 | now gives results un 6.25 us units (mininum timer delay, |
---|
| 47 | suprising big grain) |
---|
| 48 | |
---|
| 49 | * times |
---|
| 50 | |
---|
| 51 | - updated results for the mvme147 (beware of the 6.25 us grain) |
---|
| 52 | |
---|
| 53 | * Makefiles |
---|
| 54 | |
---|
| 55 | - compilation of shmsupp simply removed |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | To be done: |
---|
| 59 | |
---|
| 60 | * add VMEchip memory mapping to include/bsp.h |
---|
| 61 | |
---|
| 62 | * update the overheads in coverhead.h |
---|
| 63 | |
---|
| 64 | * add support for serila ports 2,3 and 4. |
---|
| 65 | |
---|
| 66 | Other notes: |
---|
| 67 | |
---|
| 68 | * There is no MP support (no more shmsupp) because I have no |
---|
| 69 | experience of the VME bus. The mvme136 shared memory support |
---|
| 70 | does not seem applicable on the VMEchip of the mvme147, so |
---|
| 71 | I don't know where to start. Suggestions are welcome. |
---|
| 72 | |
---|
| 73 | * All the timing tests and sp tests have been run except tmoverhd. |
---|
| 74 | The test hangs during the pause (where the task should be suspended |
---|
| 75 | until a return). Maybe the rtems_initialize_executive is no more |
---|
| 76 | reentrant with this bsp. |
---|
| 77 | |
---|
| 78 | Future work: |
---|
| 79 | |
---|
| 80 | * Add gdb serial remote support. |
---|
| 81 | |
---|
| 82 | * Shared memory support (I don't really need it, but I can do |
---|
| 83 | it if it's simple). |
---|
| 84 | |
---|
| 85 | * Message passing on VME bus, with Ada 95 annex E (distributed |
---|
| 86 | systems) in mind. |
---|