4 |
http://sources.redhat.com/psim/. PSIM is also a part of GDB, the GNU |
http://sources.redhat.com/psim/. PSIM is also a part of GDB, the GNU |
5 |
debugger. |
debugger. |
6 |
|
|
7 |
When you are configurating the system for the powerpc architecture you |
When you are configurating the system for the PowerPC architecture you |
8 |
will probably have to specify compiler, linker and AR. |
will probably have to specify compiler, linker and AR. |
9 |
|
|
10 |
Example: |
Example: |
17 |
|
|
18 |
|
|
19 |
When running the simulator you must use the device tree file that comes |
When running the simulator you must use the device tree file that comes |
20 |
with this rtmk. You can fint it in $srcdir/ppc/psim-tree. Example: |
with this rtmk distribution. You can find it in $srcdir/ppc/psim-tree. |
21 |
|
|
22 |
|
Example: |
23 |
|
|
24 |
$ powerpc-elf-run -f $srcdir/ppc/psim-tree rtmk |
$ powerpc-elf-run -f $srcdir/ppc/psim-tree rtmk |
25 |
|
|
41 |
. |
. |
42 |
. |
. |
43 |
|
|
44 |
Substitue $srcdir with the path to the rtmk sources. |
Substitute $srcdir with the path to the rtmk sources. |
45 |
|
|
46 |
Good luck! (you might need it!). |
Good luck! (you might need it!). |
47 |
|
|