From 78489fb230408d236accaa2ed7e76e75bda5f609 Mon Sep 17 00:00:00 2001 From: mifi Date: Wed, 16 Apr 2008 18:04:40 +0000 Subject: - added testing binaries git-svn-id: svn://svn.berlios.de/openocd/trunk@587 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- testing/examples/LPC2148Test/test_ram.elf | Bin 0 -> 36650 bytes testing/examples/LPC2148Test/test_ram.hex | 26 +++++ testing/examples/LPC2148Test/test_ram.map | 170 ++++++++++++++++++++++++++++++ testing/examples/LPC2148Test/test_rom.elf | Bin 0 -> 36650 bytes testing/examples/LPC2148Test/test_rom.hex | 25 +++++ testing/examples/LPC2148Test/test_rom.map | 170 ++++++++++++++++++++++++++++++ 6 files changed, 391 insertions(+) create mode 100644 testing/examples/LPC2148Test/test_ram.elf create mode 100644 testing/examples/LPC2148Test/test_ram.hex create mode 100644 testing/examples/LPC2148Test/test_ram.map create mode 100644 testing/examples/LPC2148Test/test_rom.elf create mode 100644 testing/examples/LPC2148Test/test_rom.hex create mode 100644 testing/examples/LPC2148Test/test_rom.map (limited to 'testing/examples/LPC2148Test') diff --git a/testing/examples/LPC2148Test/test_ram.elf b/testing/examples/LPC2148Test/test_ram.elf new file mode 100644 index 00000000..a1453ff6 Binary files /dev/null and b/testing/examples/LPC2148Test/test_ram.elf differ diff --git a/testing/examples/LPC2148Test/test_ram.hex b/testing/examples/LPC2148Test/test_ram.hex new file mode 100644 index 00000000..109ebc5c --- /dev/null +++ b/testing/examples/LPC2148Test/test_ram.hex @@ -0,0 +1,26 @@ +:020000044000BA +:1000000018F09FE518F09FE518F09FE518F09FE5C0 +:1000100018F09FE5606FA0B818F09FE518F09FE515 +:1000200040000040D0000040D4000040D800004014 +:10003000DC00004000000000E0000040E400004060 +:100040000000A0E10000A0E10000A0E10000A0E1AC +:100050000000A0E10000A0E10000A0E10000A0E19C +:10006000DBF021E37CD09FE5D7F021E378D09FE55A +:10007000D1F021E374D09FE5D2F021E370D09FE569 +:10008000D3F021E36CD09FE56C109FE56C209FE5D9 +:100090000030A0E3020051E104308114FCFFFF1A9C +:1000A00000000FE1C000C0E300F029E10000A0E380 +:1000B0000010A0E348209FE50FE0A0E112FF2FE130 +:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA +:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 +:1000E000FEFFFFEAFEFFFFEA0006004000050040B9 +:1000F0000003004000040040000A00406C01004082 +:100100006C010040080100400CD04DE20130A0E33A +:1001100000308DE50230A0E304308DE50030A0E32F +:1001200008308DE538309FE5002093E500309DE5EF +:10013000023083E000308DE500309DE5013083E240 +:1001400000308DE504309DE5013083E204308DE51B +:1001500000209DE504309DE5033082E008308DE508 +:0C016000F4FFFFEA680100400700000007 +:040000054000004077 +:00000001FF diff --git a/testing/examples/LPC2148Test/test_ram.map b/testing/examples/LPC2148Test/test_ram.map new file mode 100644 index 00000000..20baad26 --- /dev/null +++ b/testing/examples/LPC2148Test/test_ram.map @@ -0,0 +1,170 @@ + +Memory Configuration + +Name Origin Length Attributes +ram 0x40000000 0x00008000 +*default* 0x00000000 0xffffffff + +Linker script and memory map + +LOAD ./src/crt.o +LOAD ./src/main.o +START GROUP +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a +END GROUP + 0x00000100 FIQ_STACK_SIZE = 0x100 + 0x00000100 IRQ_STACK_SIZE = 0x100 + 0x00000100 ABT_STACK_SIZE = 0x100 + 0x00000100 UND_STACK_SIZE = 0x100 + 0x00000400 SVC_STACK_SIZE = 0x400 + +.text 0x40000000 0x16c + *(.vectors) + .vectors 0x40000000 0x40 ./src/crt.o + 0x40000040 . = ALIGN (0x4) + *(.init) + .init 0x40000040 0xc8 ./src/crt.o + 0x400000e4 FIQHandler + 0x400000d8 PAbortHandler + 0x400000c0 ExitFunction + 0x40000040 ResetHandler + 0x400000dc DAbortHandler + 0x400000e0 IRQHandler + 0x400000d0 UndefHandler + 0x40000108 . = ALIGN (0x4) + *(.text) + .text 0x40000108 0x0 ./src/crt.o + .text 0x40000108 0x60 ./src/main.o + 0x40000108 main + 0x40000168 . = ALIGN (0x4) + *(.rodata) + .rodata 0x40000168 0x4 ./src/main.o + 0x4000016c . = ALIGN (0x4) + *(.rodata*) + 0x4000016c . = ALIGN (0x4) + *(.glue_7t) + .glue_7t 0x4000016c 0x0 ./src/crt.o + .glue_7t 0x4000016c 0x0 ./src/main.o + 0x4000016c . = ALIGN (0x4) + *(.glue_7) + .glue_7 0x4000016c 0x0 ./src/crt.o + .glue_7 0x4000016c 0x0 ./src/main.o + 0x4000016c . = ALIGN (0x4) + 0x4000016c etext = . + +.vfp11_veneer 0x00000000 0x0 + .vfp11_veneer 0x00000000 0x0 ./src/crt.o + .vfp11_veneer 0x00000000 0x0 ./src/main.o + +.data 0x4000016c 0x0 + 0x4000016c PROVIDE (__data_start, .) + *(.data) + .data 0x4000016c 0x0 ./src/crt.o + .data 0x4000016c 0x0 ./src/main.o + 0x4000016c . = ALIGN (0x4) + 0x4000016c edata = . + 0x4000016c _edata = . + 0x4000016c PROVIDE (__data_end, .) + +.bss 0x4000016c 0x894 + 0x4000016c PROVIDE (__bss_start, .) + *(.bss) + .bss 0x4000016c 0x0 ./src/crt.o + .bss 0x4000016c 0x0 ./src/main.o + *(COMMON) + 0x4000016c . = ALIGN (0x4) + 0x4000016c PROVIDE (__bss_end, .) + 0x40000200 . = ALIGN (0x100) + *fill* 0x4000016c 0x94 00 + 0x40000200 PROVIDE (__stack_start, .) + 0x40000200 PROVIDE (__stack_fiq_start, .) + 0x40000300 . = (. + FIQ_STACK_SIZE) + *fill* 0x40000200 0x100 00 + 0x40000300 . = ALIGN (0x4) + 0x40000300 PROVIDE (__stack_fiq_end, .) + 0x40000300 PROVIDE (__stack_irq_start, .) + 0x40000400 . = (. + IRQ_STACK_SIZE) + *fill* 0x40000300 0x100 00 + 0x40000400 . = ALIGN (0x4) + 0x40000400 PROVIDE (__stack_irq_end, .) + 0x40000400 PROVIDE (__stack_abt_start, .) + 0x40000500 . = (. + ABT_STACK_SIZE) + *fill* 0x40000400 0x100 00 + 0x40000500 . = ALIGN (0x4) + 0x40000500 PROVIDE (__stack_abt_end, .) + 0x40000500 PROVIDE (__stack_und_start, .) + 0x40000600 . = (. + UND_STACK_SIZE) + *fill* 0x40000500 0x100 00 + 0x40000600 . = ALIGN (0x4) + 0x40000600 PROVIDE (__stack_und_end, .) + 0x40000600 PROVIDE (__stack_svc_start, .) + 0x40000a00 . = (. + SVC_STACK_SIZE) + *fill* 0x40000600 0x400 00 + 0x40000a00 . = ALIGN (0x4) + 0x40000a00 PROVIDE (__stack_svc_end, .) + 0x40000a00 PROVIDE (__stack_end, .) + 0x40000a00 PROVIDE (__heap_start, .) +OUTPUT(test_ram.elf elf32-littlearm) + +.ARM.attributes + 0x00000000 0x10 + .ARM.attributes + 0x00000000 0x10 ./src/crt.o + .ARM.attributes + 0x00000010 0x10 ./src/main.o + +.debug_line 0x00000000 0xd0 + .debug_line 0x00000000 0x79 ./src/crt.o + .debug_line 0x00000079 0x57 ./src/main.o + +.debug_info 0x00000000 0x202 + .debug_info 0x00000000 0x74 ./src/crt.o + .debug_info 0x00000074 0x18e ./src/main.o + +.debug_abbrev 0x00000000 0x76 + .debug_abbrev 0x00000000 0x12 ./src/crt.o + .debug_abbrev 0x00000012 0x64 ./src/main.o + +.debug_aranges 0x00000000 0x48 + .debug_aranges + 0x00000000 0x28 ./src/crt.o + .debug_aranges + 0x00000028 0x20 ./src/main.o + +.debug_ranges 0x00000000 0x20 + .debug_ranges 0x00000000 0x20 ./src/crt.o + +.debug_frame 0x00000000 0x24 + .debug_frame 0x00000000 0x24 ./src/main.o + +.debug_loc 0x00000000 0x1f + .debug_loc 0x00000000 0x1f ./src/main.o + +.debug_pubnames + 0x00000000 0x1b + .debug_pubnames + 0x00000000 0x1b ./src/main.o + +.comment 0x00000000 0x12 + .comment 0x00000000 0x12 ./src/main.o + +Cross Reference Table + +Symbol File +DAbortHandler ./src/crt.o +ExitFunction ./src/crt.o +FIQHandler ./src/crt.o +IRQHandler ./src/crt.o +PAbortHandler ./src/crt.o +ResetHandler ./src/crt.o +UndefHandler ./src/crt.o +__bss_end ./src/crt.o +__bss_start ./src/crt.o +__stack_abt_end ./src/crt.o +__stack_fiq_end ./src/crt.o +__stack_irq_end ./src/crt.o +__stack_svc_end ./src/crt.o +__stack_und_end ./src/crt.o +main ./src/main.o + ./src/crt.o diff --git a/testing/examples/LPC2148Test/test_rom.elf b/testing/examples/LPC2148Test/test_rom.elf new file mode 100644 index 00000000..52be4c06 Binary files /dev/null and b/testing/examples/LPC2148Test/test_rom.elf differ diff --git a/testing/examples/LPC2148Test/test_rom.hex b/testing/examples/LPC2148Test/test_rom.hex new file mode 100644 index 00000000..48f6aa98 --- /dev/null +++ b/testing/examples/LPC2148Test/test_rom.hex @@ -0,0 +1,25 @@ +:1000000018F09FE518F09FE518F09FE518F09FE5C0 +:1000100018F09FE5606FA0B818F09FE518F09FE515 +:1000200040000000D0000000D4000000D800000014 +:10003000DC00000000000000E0000000E400000020 +:100040000000A0E10000A0E10000A0E10000A0E1AC +:100050000000A0E10000A0E10000A0E10000A0E19C +:10006000DBF021E37CD09FE5D7F021E378D09FE55A +:10007000D1F021E374D09FE5D2F021E370D09FE569 +:10008000D3F021E36CD09FE56C109FE56C209FE5D9 +:100090000030A0E3020051E104308114FCFFFF1A9C +:1000A00000000FE1C000C0E300F029E10000A0E380 +:1000B0000010A0E348209FE50FE0A0E112FF2FE130 +:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA +:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 +:1000E000FEFFFFEAFEFFFFEA0004004000030040BD +:1000F00000010040000200400008004000000040F5 +:1001000000000040080100000CD04DE20130A0E3E7 +:1001100000308DE50230A0E304308DE50030A0E32F +:1001200008308DE538309FE5002093E500309DE5EF +:10013000023083E000308DE500309DE5013083E240 +:1001400000308DE504309DE5013083E204308DE51B +:1001500000209DE504309DE5033082E008308DE508 +:0C016000F4FFFFEA680100000700000047 +:0400000300000040B9 +:00000001FF diff --git a/testing/examples/LPC2148Test/test_rom.map b/testing/examples/LPC2148Test/test_rom.map new file mode 100644 index 00000000..1b7c73ac --- /dev/null +++ b/testing/examples/LPC2148Test/test_rom.map @@ -0,0 +1,170 @@ + +Memory Configuration + +Name Origin Length Attributes +rom 0x00000000 0x00080000 +ram 0x40000000 0x00008000 +*default* 0x00000000 0xffffffff + +Linker script and memory map + +LOAD ./src/crt.o +LOAD ./src/main.o +START GROUP +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a +END GROUP + 0x00000100 FIQ_STACK_SIZE = 0x100 + 0x00000100 IRQ_STACK_SIZE = 0x100 + 0x00000100 ABT_STACK_SIZE = 0x100 + 0x00000100 UND_STACK_SIZE = 0x100 + 0x00000400 SVC_STACK_SIZE = 0x400 + +.text 0x00000000 0x16c + *(.vectors) + .vectors 0x00000000 0x40 ./src/crt.o + 0x00000040 . = ALIGN (0x4) + *(.init) + .init 0x00000040 0xc8 ./src/crt.o + 0x000000e4 FIQHandler + 0x000000d8 PAbortHandler + 0x000000c0 ExitFunction + 0x00000040 ResetHandler + 0x000000dc DAbortHandler + 0x000000e0 IRQHandler + 0x000000d0 UndefHandler + 0x00000108 . = ALIGN (0x4) + *(.text) + .text 0x00000108 0x0 ./src/crt.o + .text 0x00000108 0x60 ./src/main.o + 0x00000108 main + 0x00000168 . = ALIGN (0x4) + *(.rodata) + .rodata 0x00000168 0x4 ./src/main.o + 0x0000016c . = ALIGN (0x4) + *(.rodata*) + 0x0000016c . = ALIGN (0x4) + *(.glue_7t) + .glue_7t 0x0000016c 0x0 ./src/crt.o + .glue_7t 0x0000016c 0x0 ./src/main.o + 0x0000016c . = ALIGN (0x4) + *(.glue_7) + .glue_7 0x0000016c 0x0 ./src/crt.o + .glue_7 0x0000016c 0x0 ./src/main.o + 0x0000016c . = ALIGN (0x4) + 0x0000016c etext = . + +.vfp11_veneer 0x00000000 0x0 + .vfp11_veneer 0x00000000 0x0 ./src/crt.o + .vfp11_veneer 0x00000000 0x0 ./src/main.o + +.data 0x40000000 0x0 + 0x40000000 PROVIDE (__data_start, .) + *(.data) + .data 0x40000000 0x0 ./src/crt.o + .data 0x40000000 0x0 ./src/main.o + 0x40000000 . = ALIGN (0x4) + 0x40000000 edata = . + 0x40000000 _edata = . + 0x40000000 PROVIDE (__data_end, .) + +.bss 0x40000000 0x800 + 0x40000000 PROVIDE (__bss_start, .) + *(.bss) + .bss 0x40000000 0x0 ./src/crt.o + .bss 0x40000000 0x0 ./src/main.o + *(COMMON) + 0x40000000 . = ALIGN (0x4) + 0x40000000 PROVIDE (__bss_end, .) + 0x40000000 . = ALIGN (0x100) + 0x40000000 PROVIDE (__stack_start, .) + 0x40000000 PROVIDE (__stack_fiq_start, .) + 0x40000100 . = (. + FIQ_STACK_SIZE) + *fill* 0x40000000 0x100 00 + 0x40000100 . = ALIGN (0x4) + 0x40000100 PROVIDE (__stack_fiq_end, .) + 0x40000100 PROVIDE (__stack_irq_start, .) + 0x40000200 . = (. + IRQ_STACK_SIZE) + *fill* 0x40000100 0x100 00 + 0x40000200 . = ALIGN (0x4) + 0x40000200 PROVIDE (__stack_irq_end, .) + 0x40000200 PROVIDE (__stack_abt_start, .) + 0x40000300 . = (. + ABT_STACK_SIZE) + *fill* 0x40000200 0x100 00 + 0x40000300 . = ALIGN (0x4) + 0x40000300 PROVIDE (__stack_abt_end, .) + 0x40000300 PROVIDE (__stack_und_start, .) + 0x40000400 . = (. + UND_STACK_SIZE) + *fill* 0x40000300 0x100 00 + 0x40000400 . = ALIGN (0x4) + 0x40000400 PROVIDE (__stack_und_end, .) + 0x40000400 PROVIDE (__stack_svc_start, .) + 0x40000800 . = (. + SVC_STACK_SIZE) + *fill* 0x40000400 0x400 00 + 0x40000800 . = ALIGN (0x4) + 0x40000800 PROVIDE (__stack_svc_end, .) + 0x40000800 PROVIDE (__stack_end, .) + 0x40000800 PROVIDE (__heap_start, .) +OUTPUT(test_rom.elf elf32-littlearm) + +.ARM.attributes + 0x00000000 0x10 + .ARM.attributes + 0x00000000 0x10 ./src/crt.o + .ARM.attributes + 0x00000010 0x10 ./src/main.o + +.debug_line 0x00000000 0xd0 + .debug_line 0x00000000 0x79 ./src/crt.o + .debug_line 0x00000079 0x57 ./src/main.o + +.debug_info 0x00000000 0x202 + .debug_info 0x00000000 0x74 ./src/crt.o + .debug_info 0x00000074 0x18e ./src/main.o + +.debug_abbrev 0x00000000 0x76 + .debug_abbrev 0x00000000 0x12 ./src/crt.o + .debug_abbrev 0x00000012 0x64 ./src/main.o + +.debug_aranges 0x00000000 0x48 + .debug_aranges + 0x00000000 0x28 ./src/crt.o + .debug_aranges + 0x00000028 0x20 ./src/main.o + +.debug_ranges 0x00000000 0x20 + .debug_ranges 0x00000000 0x20 ./src/crt.o + +.debug_frame 0x00000000 0x24 + .debug_frame 0x00000000 0x24 ./src/main.o + +.debug_loc 0x00000000 0x1f + .debug_loc 0x00000000 0x1f ./src/main.o + +.debug_pubnames + 0x00000000 0x1b + .debug_pubnames + 0x00000000 0x1b ./src/main.o + +.comment 0x00000000 0x12 + .comment 0x00000000 0x12 ./src/main.o + +Cross Reference Table + +Symbol File +DAbortHandler ./src/crt.o +ExitFunction ./src/crt.o +FIQHandler ./src/crt.o +IRQHandler ./src/crt.o +PAbortHandler ./src/crt.o +ResetHandler ./src/crt.o +UndefHandler ./src/crt.o +__bss_end ./src/crt.o +__bss_start ./src/crt.o +__stack_abt_end ./src/crt.o +__stack_fiq_end ./src/crt.o +__stack_irq_end ./src/crt.o +__stack_svc_end ./src/crt.o +__stack_und_end ./src/crt.o +main ./src/main.o + ./src/crt.o -- cgit v1.2.3