Christian Dietrich
923ba362fa
experiments/kesorefs: convert to DatabaseCampaign
...
Change-Id: I7607911c28ffb2427681db241ac721f1ae2c002a
2013-04-28 12:52:17 +02:00
Horst Schirmeier
0f16f18d75
cosmetics
...
Change-Id: Ifae805ae1e2dac95324e054af09a7b70f5d5b60c
2013-04-22 14:24:02 +02:00
Horst Schirmeier
2d45a2c52c
ecos: use MemoryMap materialization instead of own code
...
Change-Id: I8615a066c53e1d6a02c78bce3199fa1f73edfda9
2013-04-10 13:01:04 +02:00
Horst Schirmeier
d7a3a28431
ecos: split valid mem access range
...
When eCos is built as a multiboot binary, some of its data structures
are still at very low (<<1M) addresses, but the rest moves to
addresses >1M. This change makes sure our invalid mem access
detection is not overly generous.
Change-Id: If8265a407b3706a4ff71562b316e05aa22255f62
2013-04-09 13:16:13 +02:00
Horst Schirmeier
001d036613
ecos: ignore VGA mem accesses
...
Ignore VGA mem accesses for valid address range detection.
Change-Id: I4a85b6d4a2de52ecbd977d2dba474df818710600
2013-04-06 18:59:12 +02:00
Adrian Böckenkamp
a328a21887
Renamed x86- and ARM-specific source files (for improved readability).
...
Updated include paths and CMake config appropriately
Change-Id: Ida5045cde0458b3031e64b73853fe5f58ef5a9d6
2013-04-03 16:46:51 +02:00
Horst Schirmeier
a0293b9d18
ecos: use commandline parameters for local test runs, too
...
Change-Id: Iac43732408420a9e3687d5756c942c2f2256ad86
2013-04-03 15:18:08 +02:00
Horst Schirmeier
373c19dd68
ecos: store traceinfo.txt in correct location
...
This commit completes the change introduced in commit
59e5fd3169 .
Change-Id: I0a6ab7b35fbb69cbb8ef91e187b0d0bc32d01071
2013-04-03 15:18:08 +02:00
Christian Dietrich
c24ed774b0
experiments/dciao-kernelstructs: new database driven experiment for DCiAO
...
The dciao-kernelstructs experiment does a trace imported by the
DCiAOKernelImporter:
bin/import-trace -t trace.pb -i DCiAOKernelImporter --elf-file app.elf
Pruned by the basic method:
bin/prune-trace
and does CiAO fault injection experiments, where the results are
stored in the database.
Change-Id: I485dc2e5097b3ebaf354241f474ee3d317213707
2013-04-03 10:39:51 +02:00
Horst Schirmeier
59e5fd3169
ecos: fail-client accepts commandline parameters for prerequisites phase
...
This allows us to generate prerequisites (traces, state snapshots, memory
maps) in parallel, and without the previous shell script hacks.
Change-Id: I05a0321a794b4033d05eed20f5bffbd1e910cf1b
2013-03-28 18:09:39 +01:00
Martin Hoffmann
ff2aec5d7e
T32SIM: evaluating mem access via trace correctly :)
2013-03-21 18:58:04 +01:00
Martin Hoffmann
b8e706b1a5
T32SIM: Integrating Tracing feature of the T32SIM.
...
After each simulator break, T32Tracer retrieves the latest (16)
trace records from the T32. Memory address and value can now
be evaluated easily from the trace record.
TODO:Nevertheless we still have to traverse the trace to
find the instruction causing the access.
2013-03-21 18:57:46 +01:00
Christian Dietrich and Gerrit Code Review
4e8098a636
plugin/tracing: merge full-tracing plugin into generic version
...
The full-tracing plugin was used in the DSN paper. It additionally
traces the data that was accessed/written on a memory access and the
contents of some CPU registers.
Change-Id: I61f5230699009ce523aba341985b98148160556d
2013-03-21 17:11:51 +01:00
Martin Hoffmann
f676a785f8
CMake: Cleanup unnecessary compiler config
2013-03-20 17:15:54 +01:00
Horst Schirmeier
bf6affeca3
decouple ecos experiment class definition from instantiation aspect
...
See 65eb44a746 for an explanation.
2013-03-19 22:30:39 +01:00
Horst Schirmeier
b37a475dfd
campaign-controlled experiments depend on fail-comm library
...
An experiment talking to a campaign server via the JobClient/JobServer
interface needs the FailControlMessage.proto compiler to run before the
experiment is compiled. A dependency on fail-comm ensures this.
2013-03-19 22:21:42 +01:00
Christian Dietrich
b491fe8b7a
experiment: generic tracing experiment
2013-03-11 15:29:26 +01:00
Martin Hoffmann
f586351e79
T32: Dissassembler to evaluate memory instructions.
...
For the T32 variant we have to evaluate the memory
access instruction to find out, which memory address
was accessed.
Dissassmbly by OpenOCDs arm_disassembler.hpp/.cc:
- fine for ARM / Thumb1
- needs fixes for Thumb2 :( (currently doing that..)
2013-03-11 12:17:53 +01:00
Martin Hoffmann
1fe1dbb3ed
util: Added disassembler using objdump tool.
...
The disassembler disassembles an elf file with
an external objdump tool.
The architecture specific objdump must be configured
via cmake (ARCH_TOOL_PREFIX), e.g. arm-none-eabi- for
arm-none-eabi-objdump.
2013-03-05 21:20:25 +01:00
Martin Hoffmann
4686c27d3d
ElfReader: Support for Section and Symbol size.
...
- getSection/getSymbol now returns an ElfSymbol reference.
Searching by address now searches if address is within
symbol address and symbol address + size.
So we can test, if we are *within* a function, object or
section and not only at the start address.
2013-03-04 15:18:52 +01:00
Martin Hoffmann
3501050548
T32: FailT32 support for Cortex-M3
...
Currently working:
- Connect/Disconnect, Read CPU info
- CMM Script generation and T32 startup via cmake (make runt32)
- Read/Write Register, Read Program Pointer
- Read/Write Memory
- Single Breakpoint
- Setting Memory Breakpoint
TODO:
- Fix mock aspect for T32_GetRam.
- Fix Thumb2 bit in function addresses from ELFReader
- Evaluate memory breakpoint hit
2013-03-01 12:47:32 +01:00
Bjoern Doebel
31f4117e4b
Fiasco.OC bochsrc example
...
Add an example bochsrc to run Fiasco.OC.
2013-02-23 03:57:34 +01:00
Martin Hoffmann
447411da9a
T32: Evalute memory map, RangeListener, MemAccess
2013-02-21 12:32:55 +01:00
hoffmann
2c6a4c2d6e
T32: Parsing cli options for T32 fail-client
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2108 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-17 17:01:31 +00:00
hoffmann
205c7ec919
T32: Breakpoint test code
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2107 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-16 23:05:07 +00:00
hoffmann
2e16b8873b
T32: Memory access.
...
Still not tested on real T32.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2105 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-16 22:05:02 +00:00
hoffmann
39a6415001
T32: Integrated Register read/write calls
...
* Tested without connected Lauterbach.
T32_* functions are mocked via aspect.
* New target t32cli, for sending T32 command cia cli. (for testing)
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2103 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-15 18:06:02 +00:00
adrian
7605dfa4c4
wmo-gem5 bugfix: use weather-monitor-gem5 as experiment name in CMakeFile
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2087 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-14 14:45:34 +00:00
adrian
b996617a97
ecos_kernel_test: improved dependency check
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2074 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-07 10:43:03 +00:00
hoffmann
1ce8f0ab12
Refining keso experiment.
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2071 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-07 00:51:28 +00:00
hoffmann
7b7ae8e825
Extended Keso experiment
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2069 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-07 00:51:22 +00:00
adrian
5f2364e1a2
ecos_kernel_test: updates due to architecture changes (ElfReader still NOT working properly)
...
At the moment, the experiment only works with a hard-coded address for the _stext symbol because the ElfReader cannot extract the symbol's address from the elf-binary. The experiment has been tested locally with PREREQUISITES = 1 and PREREQUISITES = 0. In the latter case, the test only considered the client/server communication, i.e., no FI has been performed at all (NOT tested yet).
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2066 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-06 15:39:57 +00:00
hoffmann
287b26a9cf
Added experiment for keso paper.
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2048 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-02-01 12:26:40 +00:00
hellwig
6213cc3462
nanojpeg experiment updated (NOT TESTED)
...
The loop is running now until undone already fetched jobs are available.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2045 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 16:33:53 +00:00
hellwig
b8df5d6a11
ecos_kernel_test experiment updated (NOT TESTED)
...
The loop is running now until undone already fetched jobs are available.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2044 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 16:33:50 +00:00
hellwig
5182f3855e
weather-monitor experiment updated
...
The loop is running now until undone already fetched jobs are available.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2043 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 16:33:46 +00:00
adrian
e76b7b989b
fault-coverage fix due to arch. changes
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2035 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 12:18:58 +00:00
adrian
ec54a1481c
fault-coverage: everything is logged to std::cout, now
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2034 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 12:18:54 +00:00
adrian
bede34d0c9
fault-coverage: intro comment translated
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2033 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 12:18:51 +00:00
adrian
27128f29ac
fire-interrupt fix: no more dbgEnableInstrPtrOutput()
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2031 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 12:18:44 +00:00
adrian
325844876b
mh-test-campaign fix due to arch changes
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2030 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 12:18:40 +00:00
adrian
f5a1213ce1
checksum-oostubs-fix due to arch. changes (tested)
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2029 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 12:18:37 +00:00
adrian
03138b388a
nanojpeg-fix due to recent architecure changes (compiled but not tested)
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2028 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-31 12:18:32 +00:00
friemel
7588834f41
Added weather-monitor-gem5 experiment, which is a clone of the weather-monitor experiment with only one run per fail* instance.
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2026 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-30 23:59:28 +00:00
hellwig
640f5436cc
Bugfix for regression-test experiment
...
The output of regression-test was cut off. The problem was solved with
a flush before exiting.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2023 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-30 14:58:18 +00:00
adrian
55f5d6a051
weather-monitor: changes due to new Fail architecure
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2021 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-24 13:26:26 +00:00
adrian
ce9db1fdb3
hsc-simple: experiment should not terminate because we want to see Bochs' output (3 * 3 = 666 :-))
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2016 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-24 10:00:49 +00:00
hellwig
ff7d2ec076
experiment.cc (weather-monitor) restored
...
The file was accidentally overwritten during last commit... :/
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2015 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-23 14:32:56 +00:00
hellwig
00f809231f
Code cleanup for commit 1963-1965
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2014 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-23 14:22:05 +00:00
hoffmann
0cbb38d605
VEZS experiment: cleanup.
...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2013 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2013-01-22 10:03:18 +00:00