diff options
-rw-r--r-- | demos/SPC5/RT-SPC56EC-EVB/Makefile | 2 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp | bin | 62713 -> 62713 bytes | |||
-rw-r--r-- | doc/rt/reports/SPC56EC-120-CW.txt | 163 | ||||
-rw-r--r-- | os/common/ports/e200/devices/SPC56ECxx/boot_cw.s | 2 |
4 files changed, 165 insertions, 2 deletions
diff --git a/demos/SPC5/RT-SPC56EC-EVB/Makefile b/demos/SPC5/RT-SPC56EC-EVB/Makefile index f8873e36e..bacf31add 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/Makefile +++ b/demos/SPC5/RT-SPC56EC-EVB/Makefile @@ -166,7 +166,7 @@ CPPWARN = -Wall -Wextra -Wundef #
# List all user C define here, like -D_DEBUG=1
-UDEFS = -DSPC56ECXX_FMPLL_CLOCK_ERRATA_WORKAROUND=1
+UDEFS = -DSPC56ECXX_FMPLL_CLOCK_ERRATA_WORKAROUND=0
# Define ASM defines here
UADEFS =
diff --git a/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp b/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp Binary files differindex f0273a831..f4823f095 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp +++ b/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp diff --git a/doc/rt/reports/SPC56EC-120-CW.txt b/doc/rt/reports/SPC56EC-120-CW.txt new file mode 100644 index 000000000..5da5e41ef --- /dev/null +++ b/doc/rt/reports/SPC56EC-120-CW.txt @@ -0,0 +1,163 @@ +
+*** ChibiOS/RT test suite
+***
+*** Kernel: 3.1.0
+*** Compiled: Nov 26 2015 - 10:23:43
+*** Compiler: CW
+*** Architecture: Power Architecture
+*** Core Variant: e200z4
+*** Port Info: VLE mode
+*** Platform: SPC56ECxx Gateway
+*** Test Board: EVB with SPC56ECxx Mini Module
+
+----------------------------------------------------------------------------
+--- Test Case 1.1 (System, critical zones)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 1.2 (System, interrupts handling)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 1.3 (System, integrity)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 2.1 (Threads, enqueuing test #1)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 2.2 (Threads, enqueuing test #2)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 2.3 (Threads, priority change)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 2.4 (Threads, delays)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 3.1 (Semaphores, enqueuing)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 3.2 (Semaphores, timeout)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 3.3 (Semaphores, atomic signal-wait)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 3.4 (Binary Semaphores, functionality)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 4.1 (Mutexes, priority enqueuing test)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 4.2 (Mutexes, priority return)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 4.3 (Mutexes, status)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 4.4 (CondVar, signal test)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 4.5 (CondVar, broadcast test)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 4.6 (CondVar, boost test)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 5.1 (Messages, loop)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 6.1 (Mailboxes, queuing and timeouts)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 7.1 (Events, registration and dispatch)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 7.2 (Events, wait and broadcast)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 7.3 (Events, timeouts)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 8.1 (Heap, allocation and fragmentation test)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 9.1 (Memory Pools, queue/dequeue)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 10.1 (Dynamic APIs, threads creation from heap)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 10.2 (Dynamic APIs, threads creation from memory pool)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 10.3 (Dynamic APIs, registry and references)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 11.1 (Queues, input queues)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 11.2 (Queues, output queues)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.1 (Benchmark, messages #1)
+--- Score : 329243 msgs/S, 658486 ctxswc/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.2 (Benchmark, messages #2)
+--- Score : 290181 msgs/S, 580362 ctxswc/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.3 (Benchmark, messages #3)
+--- Score : 290180 msgs/S, 580360 ctxswc/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.4 (Benchmark, context switch)
+--- Score : 1048952 ctxswc/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.5 (Benchmark, threads, full cycle)
+--- Score : 238257 threads/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.6 (Benchmark, threads, create only)
+--- Score : 332900 threads/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.7 (Benchmark, mass reschedule, 5 threads)
+--- Score : 90040 reschedules/S, 540240 ctxswc/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.8 (Benchmark, round robin context switching)
+--- Score : 572860 ctxswc/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.9 (Benchmark, I/O Queues throughput)
+--- Score : 963572 bytes/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.10 (Benchmark, virtual timers set/reset)
+--- Score : 1182066 timers/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.11 (Benchmark, semaphores wait/signal)
+--- Score : 1606860 wait+signal/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.12 (Benchmark, mutexes lock/unlock)
+--- Score : 1245140 lock+unlock/S
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 12.13 (Benchmark, RAM footprint)
+--- System: 640 bytes
+--- Thread: 68 bytes
+--- Timer : 20 bytes
+--- Semaph: 12 bytes
+--- EventS: 4 bytes
+--- EventL: 20 bytes
+--- Mutex : 16 bytes
+--- CondV.: 8 bytes
+--- Queue : 36 bytes
+--- MailB.: 40 bytes
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+
+Final result: SUCCESS
diff --git a/os/common/ports/e200/devices/SPC56ECxx/boot_cw.s b/os/common/ports/e200/devices/SPC56ECxx/boot_cw.s index 225e923f2..b6698607b 100644 --- a/os/common/ports/e200/devices/SPC56ECxx/boot_cw.s +++ b/os/common/ports/e200/devices/SPC56ECxx/boot_cw.s @@ -322,7 +322,7 @@ _coreinit: e_lis r3, TLB0_MAS3@h
e_or2i r3, TLB0_MAS3@l
mtspr 627, r3 /* MAS3 */
- mflr r4
+ se_mflr r4
e_lis r6, _ramcode@h
e_or2i r6, _ramcode@l
e_lis r7, 0x40010000@h
|