summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k/or1ksim/README
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2014-08-26 14:42:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-08-26 15:32:44 -0500
commit2cd68a8bf626e94d906a97c337935e93094cd8f5 (patch)
treee66395ef37ee07cf3b0372e78a893cd1d860be65 /c/src/lib/libbsp/or1k/or1ksim/README
parentbsp/altera-cyclone-v: Add DMA support hwlib files (diff)
downloadrtems-2cd68a8bf626e94d906a97c337935e93094cd8f5.tar.bz2
Add or1ksim (sim.cfg) configuration file and edit README.
OpenRISC/or1ksim BSP: The new sim.cfg file configures or1ksim emulator with HW capabilities that the current RTEMS/or1ksim BSP supports. README: HOWTO run the or1ksim simulator.
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