summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k/or1ksim/README
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/or1k/or1ksim/README')
-rw-r--r--c/src/lib/libbsp/or1k/or1ksim/README20
1 files changed, 19 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/or1k/or1ksim/README b/c/src/lib/libbsp/or1k/or1ksim/README
index 43b4703171..9ce5709e05 100644
--- a/c/src/lib/libbsp/or1k/or1ksim/README
+++ b/c/src/lib/libbsp/or1k/or1ksim/README
@@ -14,4 +14,22 @@ Configuration file "sim.cfg" should be provided for complex board
configurations at the current directory (which you run or1ksim from) or at
~/.or1k/
-sim -f sim.cfg hello.exe
+The current sim.cfg file that configures or1ksim emulator to RTEMS/or1ksim BSP
+is at the same directory as this README. You can also use or1ksim script from
+rtems-tools/sim-scripts.
+
+From command line type:
+
+sim -f sim.cfg $PATH_TO_RTEMS_EXE
+
+or (if you use a stable or1ksim release)
+
+or32-elf-sim -f sim.cfg $PATH_TO_RTEMS_EXE
+
+from sim-scripts:
+
+or1ksim $PATH_TO_RTEMS_EXE
+
+and then attach GDB to or1ksim from another terminal by running
+
+or1ksim-gdb $PATH_TO_RTEMS_EXE