Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
fail
Commits
5079cd7e
Commit
5079cd7e
authored
11 years ago
by
Lars Rademacher
Browse files
Options
Downloads
Patches
Plain Diff
doc: documentation of failpanda
Change-Id: I05a57942daaa66d146db754fc3ddc72707e55dd9
parent
e1aae23c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/how-to-build.txt
+9
-0
9 additions, 0 deletions
doc/how-to-build.txt
doc/how-to-use.txt
+36
-0
36 additions, 0 deletions
doc/how-to-use.txt
with
45 additions
and
0 deletions
doc/how-to-build.txt
+
9
−
0
View file @
5079cd7e
...
...
@@ -38,6 +38,15 @@ Required for the gem5 simulator backend:
- python-dev
- optional: libgoogle-perftools-dev
Required for the pandaboard (openocd) backend:
**********************************************************************
- libftdi-dev
- libjim-dev
Required for the compute-hops tool
**********************************************************************
- libprocps0-dev
For distribution/parallelization:
**********************************************************************
- rsync
...
...
This diff is collapsed.
Click to expand it.
doc/how-to-use.txt
+
36
−
0
View file @
5079cd7e
...
...
@@ -239,3 +239,39 @@ Steps to run an experiment with gem5:
./disks/boot.arm # the ARM bootloader (FIXME: dito)
4. Run gem5 in $FAIL_DIR/simulators/gem5/ with:
$ M5_PATH=$SYSTEM build/ARM/gem5.debug configs/example/fs.py --bare-metal --kernel kernelname
=========================================================================================
Steps to run an experiment with the pandaboard/openocd backend:
=========================================================================================
1. Prepare sd card for pandaboard usage. For example by installing a sd-image
of the ubuntu for pandaboard.
2. In u-boot set the option bootdelay to 0 to enable the pandaboard to directly
boot the installed kernel without any delay. (In the first partition add the
file "preEnv.txt" and edit its content to "bootdelay=0")
3. Use "lra-panda-dijkstra" from the "experiment_targets" directory of the project
svn as a template for your application development.
This gives you the needed fault handlers and startup code for bare metal
execution of code. It also delivers a minimum functionality for serial output.
Further reading in lra-panda-dijkstra/README.
4. Copy the generated files to the prepared sd card.
5. Connect flyswatter2 to the host computer and to the pandaboard.
6. As information from the executable (elf format) and from the trace file are
needed, these two must be specified with the envirenment variables
FAIL_TRACE_PATH and FAIL_ELF_PATH.
7. Execute the experiment/campaign as usual. If errors occure, "oocd.log" might
give you a hint for problem solution.
=========================================================================================
Example experiments and code snippets
=========================================================================================
Experiment "lra-simple-panda":
**********************************************************************
A campaign experiment to use with the lra-panda-dijkstra experiment-target.
- The CMake option CONFIG_INJECTIONPOINT_HOPS should be enabled for fast trace
navigation.
- The campaign uses the DatabaseCampaign module.
- It will create a result table for the possible experiment outcomes
'OK','ERR_WRONG_RESULT','ERR_TRAP','ERR_TIMEOUT' and 'ERR_OUTSIDE_TEXT'.
'ERR_OUTSIDE_TEXT' describes any memory accesses which went outside the
application memory.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment