source: rtems/c/src/lib/libbsp/or1k/or1ksim/README @ 2617cd3e

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