4.115
Last change
on this file since 2617cd3e was
2cd68a8b,
checked in by Hesham ALMatary <heshamelmatary@…>, on 08/26/14 at 19:42:47
|
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.
|
-
Property mode set to
100644
|
File size:
979 bytes
|
Line | |
---|
1 | This BSP should run only on or1ksim: the main simulator for or1k architecture. |
---|
2 | or1ksim should be used for testing purposes. |
---|
3 | |
---|
4 | svn co http://opencores.org/ocsvn/openrisc/openrisc/trunk/or1ksim |
---|
5 | cd or1ksim |
---|
6 | mkdir builddir_or1ksim |
---|
7 | cd builddir_or1ksim |
---|
8 | ../configure --target=or32-elf --prefix=/opt/or1ksim |
---|
9 | make all |
---|
10 | make install |
---|
11 | export PATH=/opt/or1ksim/bin:$PATH |
---|
12 | |
---|
13 | Configuration file "sim.cfg" should be provided for complex board |
---|
14 | configurations at the current directory (which you run or1ksim from) or at |
---|
15 | ~/.or1k/ |
---|
16 | |
---|
17 | The current sim.cfg file that configures or1ksim emulator to RTEMS/or1ksim BSP |
---|
18 | is at the same directory as this README. You can also use or1ksim script from |
---|
19 | rtems-tools/sim-scripts. |
---|
20 | |
---|
21 | From command line type: |
---|
22 | |
---|
23 | sim -f sim.cfg $PATH_TO_RTEMS_EXE |
---|
24 | |
---|
25 | or (if you use a stable or1ksim release) |
---|
26 | |
---|
27 | or32-elf-sim -f sim.cfg $PATH_TO_RTEMS_EXE |
---|
28 | |
---|
29 | from sim-scripts: |
---|
30 | |
---|
31 | or1ksim $PATH_TO_RTEMS_EXE |
---|
32 | |
---|
33 | and then attach GDB to or1ksim from another terminal by running |
---|
34 | |
---|
35 | or1ksim-gdb $PATH_TO_RTEMS_EXE |
---|
Note: See
TracBrowser
for help on using the repository browser.