git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@530 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2008-12-06 11:20:22 +00:00
parent d8b450d8a0
commit 8a18733367
4 changed files with 144 additions and 144 deletions

View File

@ -30,16 +30,16 @@ __stacks_total_size__ = __und_stack_size__ + __abt_stack_size__ + __fiq_stack_si
MEMORY MEMORY
{ {
flash : org = 0x00000000, len = 512k - 12k flash : org = 0x00000000, len = 512k - 12k
ram : org = 0x40000200, len = 32k - 0x200 - 288 ram : org = 0x40000200, len = 32k - 0x200 - 288
} }
__ram_start__ = ORIGIN(ram); __ram_start__ = ORIGIN(ram);
__ram_size__ = LENGTH(ram); __ram_size__ = LENGTH(ram);
__ram_end__ = __ram_start__ + __ram_size__; __ram_end__ = __ram_start__ + __ram_size__;
__dma_start__ = 0x7FD00000; __dma_start__ = 0x7FD00000;
__dma_size__ = 8k; __dma_size__ = 8k;
__dma_end__ = 0x7FD00000 + __dma_size__; __dma_end__ = 0x7FD00000 + __dma_size__;
SECTIONS SECTIONS
{ {
@ -47,46 +47,46 @@ SECTIONS
.text : .text :
{ {
_text = .; _text = .;
KEEP(*(vectors)) KEEP(*(vectors))
*(.text) *(.text)
*(.text.*); *(.text.*);
*(.rodata); *(.rodata);
*(.rodata.*); *(.rodata.*);
*(.glue_7t); *(.glue_7t);
*(.glue_7); *(.glue_7);
*(.gcc*); *(.gcc*);
*(.ctors); *(.ctors);
*(.dtors); *(.dtors);
. = ALIGN(4); . = ALIGN(4);
_etext = .; _etext = .;
} > flash } > flash
_textdata = _etext; _textdata = _etext;
.data : .data :
{ {
_data = .; _data = .;
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
*(.data.*) *(.data.*)
. = ALIGN(4); . = ALIGN(4);
*(.ramtext) *(.ramtext)
. = ALIGN(4); . = ALIGN(4);
_edata = .; _edata = .;
} > ram AT > flash } > ram AT > flash
.bss : .bss :
{ {
_bss_start = .; _bss_start = .;
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);
*(.bss.*) *(.bss.*)
. = ALIGN(4); . = ALIGN(4);
*(COMMON) *(COMMON)
. = ALIGN(4); . = ALIGN(4);
_bss_end = .; _bss_end = .;
} > ram } > ram
} }
PROVIDE(end = .); PROVIDE(end = .);

View File

@ -30,16 +30,16 @@ __stacks_total_size__ = __und_stack_size__ + __abt_stack_size__ + __fiq_stack_si
MEMORY MEMORY
{ {
flash : org = 0x00000000, len = 512k - 12k flash : org = 0x00000000, len = 512k - 12k
ram : org = 0x40000200, len = 32k - 0x200 - 288 ram : org = 0x40000200, len = 32k - 0x200 - 288
} }
__ram_start__ = ORIGIN(ram); __ram_start__ = ORIGIN(ram);
__ram_size__ = LENGTH(ram); __ram_size__ = LENGTH(ram);
__ram_end__ = __ram_start__ + __ram_size__; __ram_end__ = __ram_start__ + __ram_size__;
__dma_start__ = 0x7FD00000; __dma_start__ = 0x7FD00000;
__dma_size__ = 8k; __dma_size__ = 8k;
__dma_end__ = 0x7FD00000 + __dma_size__; __dma_end__ = 0x7FD00000 + __dma_size__;
SECTIONS SECTIONS
{ {
@ -47,46 +47,46 @@ SECTIONS
.text : .text :
{ {
_text = .; _text = .;
KEEP(*(vectors)) KEEP(*(vectors))
*(.text) *(.text)
*(.text.*); *(.text.*);
*(.rodata); *(.rodata);
*(.rodata.*); *(.rodata.*);
*(.glue_7t); *(.glue_7t);
*(.glue_7); *(.glue_7);
*(.gcc*); *(.gcc*);
*(.ctors); *(.ctors);
*(.dtors); *(.dtors);
. = ALIGN(4); . = ALIGN(4);
_etext = .; _etext = .;
} > flash } > flash
_textdata = _etext; _textdata = _etext;
.data : .data :
{ {
_data = .; _data = .;
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
*(.data.*) *(.data.*)
. = ALIGN(4); . = ALIGN(4);
*(.ramtext) *(.ramtext)
. = ALIGN(4); . = ALIGN(4);
_edata = .; _edata = .;
} > ram AT > flash } > ram AT > flash
.bss : .bss :
{ {
_bss_start = .; _bss_start = .;
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);
*(.bss.*) *(.bss.*)
. = ALIGN(4); . = ALIGN(4);
*(COMMON) *(COMMON)
. = ALIGN(4); . = ALIGN(4);
_bss_end = .; _bss_end = .;
} > ram } > ram
} }
PROVIDE(end = .); PROVIDE(end = .);

View File

@ -30,16 +30,16 @@ __stacks_total_size__ = __und_stack_size__ + __abt_stack_size__ + __fiq_stack_si
MEMORY MEMORY
{ {
flash : org = 0x00000000, len = 512k - 12k flash : org = 0x00000000, len = 512k - 12k
ram : org = 0x40000200, len = 32k - 0x200 - 288 ram : org = 0x40000200, len = 32k - 0x200 - 288
} }
__ram_start__ = ORIGIN(ram); __ram_start__ = ORIGIN(ram);
__ram_size__ = LENGTH(ram); __ram_size__ = LENGTH(ram);
__ram_end__ = __ram_start__ + __ram_size__; __ram_end__ = __ram_start__ + __ram_size__;
__dma_start__ = 0x7FD00000; __dma_start__ = 0x7FD00000;
__dma_size__ = 8k; __dma_size__ = 8k;
__dma_end__ = 0x7FD00000 + __dma_size__; __dma_end__ = 0x7FD00000 + __dma_size__;
SECTIONS SECTIONS
{ {
@ -47,46 +47,46 @@ SECTIONS
.text : .text :
{ {
_text = .; _text = .;
KEEP(*(vectors)) KEEP(*(vectors))
*(.text) *(.text)
*(.text.*); *(.text.*);
*(.rodata); *(.rodata);
*(.rodata.*); *(.rodata.*);
*(.glue_7t); *(.glue_7t);
*(.glue_7); *(.glue_7);
*(.gcc*); *(.gcc*);
*(.ctors); *(.ctors);
*(.dtors); *(.dtors);
. = ALIGN(4); . = ALIGN(4);
_etext = .; _etext = .;
} > flash } > flash
_textdata = _etext; _textdata = _etext;
.data : .data :
{ {
_data = .; _data = .;
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
*(.data.*) *(.data.*)
. = ALIGN(4); . = ALIGN(4);
*(.ramtext) *(.ramtext)
. = ALIGN(4); . = ALIGN(4);
_edata = .; _edata = .;
} > ram AT > flash } > ram AT > flash
.bss : .bss :
{ {
_bss_start = .; _bss_start = .;
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);
*(.bss.*) *(.bss.*)
. = ALIGN(4); . = ALIGN(4);
*(COMMON) *(COMMON)
. = ALIGN(4); . = ALIGN(4);
_bss_end = .; _bss_end = .;
} > ram } > ram
} }
PROVIDE(end = .); PROVIDE(end = .);

View File

@ -1,5 +1,5 @@
*************************************************************************** ***************************************************************************
Kernel: ChibiOS/RT 0.8.0 Kernel: ChibiOS/RT 0.8.2
Compiler: GCC 4.3.2 (YAGARTO 28.09.2008) Compiler: GCC 4.3.2 (YAGARTO 28.09.2008)
Options: -O2 -fomit-frame-pointer -mabi=apcs-gnu Options: -O2 -fomit-frame-pointer -mabi=apcs-gnu
Settings: MCK=48.054857, MC_FMR = AT91C_MC_FWS_1FWS (1 wait state) Settings: MCK=48.054857, MC_FMR = AT91C_MC_FWS_1FWS (1 wait state)
@ -40,7 +40,7 @@ Settings: MCK=48.054857, MC_FMR = AT91C_MC_FWS_1FWS (1 wait state)
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 12 (Heap, allocation and fragmentation test) --- Test Case 12 (Heap, allocation and fragmentation test)
--- Size : 42600 bytes, not fragmented --- Size : 62380 bytes, not fragmented
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 13 (Memory Pools, allocation and enqueuing test) --- Test Case 13 (Memory Pools, allocation and enqueuing test)
@ -53,27 +53,27 @@ Settings: MCK=48.054857, MC_FMR = AT91C_MC_FWS_1FWS (1 wait state)
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 16 (Benchmark, context switch #1, optimal) --- Test Case 16 (Benchmark, context switch #1, optimal)
--- Score : 114943 msgs/S, 229886 ctxswc/S --- Score : 114945 msgs/S, 229890 ctxswc/S
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 17 (Benchmark, context switch #2, empty ready list) --- Test Case 17 (Benchmark, context switch #2, empty ready list)
--- Score : 90220 msgs/S, 180440 ctxswc/S --- Score : 90221 msgs/S, 180442 ctxswc/S
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 18 (Benchmark, context switch #3, 4 threads in ready list) --- Test Case 18 (Benchmark, context switch #3, 4 threads in ready list)
--- Score : 90220 msgs/S, 180440 ctxswc/S --- Score : 90221 msgs/S, 180442 ctxswc/S
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 19 (Benchmark, threads creation/termination, worst case) --- Test Case 19 (Benchmark, threads creation/termination, worst case)
--- Score : 67064 threads/S --- Score : 71691 threads/S
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 20 (Benchmark, threads creation/termination, optimal) --- Test Case 20 (Benchmark, threads creation/termination, optimal)
--- Score : 92668 threads/S --- Score : 94501 threads/S
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 21 (Benchmark, mass reschedulation, 5 threads) --- Test Case 21 (Benchmark, mass reschedulation, 5 threads)
--- Score : 27963 reschedulations/S, 167778 ctxswc/S --- Score : 27964 reschedulations/S, 167784 ctxswc/S
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 22 (Benchmark, I/O Queues throughput) --- Test Case 22 (Benchmark, I/O Queues throughput)
@ -81,7 +81,7 @@ Settings: MCK=48.054857, MC_FMR = AT91C_MC_FWS_1FWS (1 wait state)
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Test Case 23 (Benchmark, virtual timers set/reset) --- Test Case 23 (Benchmark, virtual timers set/reset)
--- Score : 240308 timers/S --- Score : 264208 timers/S
--- Result: SUCCESS --- Result: SUCCESS
--------------------------------------------------------------------------- ---------------------------------------------------------------------------