<div dir="ltr">Ok. I cloned the repo and was able to make it.<div><br></div><div style>Trying to run sim-scripts/psim gives me the following: "Unable to find a way to run powerpc/psim"</div><div style><br></div><div style>
Trying to run sim-scripts/psim-gdb gives me the following: "Unable to find a GDB for powerpc along your PATH"</div><div style><br></div><div style>I have added /rtems-testing/bin to the PATH.</div><div style><br>
</div><div style>Do you have any ideas?</div><div style><br></div><div style>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 28, 2013 at 10:27 AM, Joel Sherrill <span dir="ltr"><<a href="mailto:Joel.Sherrill@oarcorp.com" target="_blank">Joel.Sherrill@oarcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<pre style="font-size:10.0pt;font-family:Tahoma;word-wrap:break-word">Invoking the PowerPC simulator to run the psim bsp requires a complicated invocation with a device tree file. Trying to remember all the nuances of invoking each simulator is why rtems-testing/sim-scripts exists.
Clone the repo. Type make and you will get psim and psim-gsb scripts which should work
Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> wrote:
</pre><div><div class="h5">
<div>
<p>Try powerpc-rtems4.11-run filename.exe</p>
<p>Or check out rtems-testing.git and use the sim-scripts/psim path/to/filename.exe</p>
<div class="gmail_quote">On Apr 27, 2013 10:12 PM, "Binkowski, Cassio" <<a href="mailto:cassioiks@gmail.com" target="_blank">cassioiks@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Ok. Installed it.
<div><br>
</div>
<div>When I try to run my .exe (and an example one) it returns the following:</div>
<div><br>
</div>
<div>
<div><i>rtems-4.10.99.0(PowerPC/Generic (classic FPU)/psim) PANIC cannot initialize exceptions</i></div>
<div><i>core_find_mapping() - access to unmaped address, attach a default map to handle this - addr=0xc131000 nr_bytes=0x4 processor=0x7bfe000 cia=0x16dc</i></div>
<div><i><br>
</i></div>
<div>If I type "bt" in the command line, it returns "Target is executing.".</div>
<div><br>
</div>
<div>Does anybody know what can be done?</div>
<div><br>
</div>
<div>Thanks.</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sat, Apr 27, 2013 at 9:22 PM, Joel Sherrill <span dir="ltr">
<<a href="mailto:Joel.Sherrill@oarcorp.com" target="_blank">Joel.Sherrill@oarcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<pre style="font-size:10.0pt;font-family:Tahoma;word-wrap:break-word">You would have had to explicitly install or build gdb. PowerPC gdb is supported and uses the psim bsp.
"Binkowski, Cassio" <<a href="mailto:cassioiks@gmail.com" target="_blank">cassioiks@gmail.com</a>> wrote:
</pre>
<div>
<div>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I have built RTEMS from source for PowerPC a while ago, but I have just realized there is no powerpc-rtems4.11-gdb file, thus not allowing me to test my .exe.</div>
<div><br>
</div>
<div>Is that correct? Have I built it wrongly? Is there another way to test it?</div>
<div><br>
</div>
<div>Thanks.</div>
<div>Cassio</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br>
</blockquote>
</div>
</div>
</div></div></div>
</blockquote></div><br></div>