Can you go back a step. How did you install arm?<br>I have
/usr/local/bin/qemu-system-arm<br>but I don't have /opt/rtems-4.11/arm-rtemseabi4.11<br><br>I'm sorry that I'm such an rtems noob. <br>I'm an intern and I'm pretty good with typical programming, but rtems is slightly beyond me. I'm just trying to get an rtems station set up for another employee.<br>
<br><div class="gmail_quote">On Fri, Jul 20, 2012 at 6:31 AM, Steven Grunza <span dir="ltr"><<a href="mailto:sgrunza@ctdi.com" target="_blank">sgrunza@ctdi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
See replies in-line<br>
<div class="im"><br>
> -----Original Message-----<br>
> From: Aric Hunter [mailto:<a href="mailto:aricahunter@gmail.com">aricahunter@gmail.com</a>]<br>
> Sent: Thursday, July 19, 2012 6:28 PM<br>
> To: Steven Grunza<br>
> Cc: <a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
> Subject: Re: Virtualbox RTEMS Setup<br>
><br>
</div><div class="im">> does the configure file run those patches (I've never used a patch<br>
> file)?<br>
<br>
</div>No. It's a manual operation. Typically I use a command sequence such<br>
as the following:<br>
<br>
{Acquire the correct version source files}<br>
<br>
git clone git://<a href="http://git.qemu.org/qemu.git" target="_blank">git.qemu.org/qemu.git</a> qemu.git<br>
<br>
cd qemu.git<br>
<br>
cat 0001-target-arm-Fixed-ARMv7-M-SHPR-access.patch | patch -p1<br>
<br>
<br>
The problem is getting the correct version source files. The qemu<br>
project was at version 1.0.50 when the patches were created. I was able<br>
to use version 1.0.90. QEMU now appears to be at version 1.1.50 and the<br>
patches do not apply properly. Perhaps they are no longer needed?<br>
<div class="im"><br>
<br>
<br>
> and what example did you use? I don't see any test files<br>
> (hello.exe) in the b-lm3s6965 branch.<br>
><br>
><br>
<br>
</div>I used the example applications for RTEMS. These are sample<br>
applications that (as far as I know) work with any version of RTEMS. I<br>
got them by doing the following:<br>
<br>
<br>
<br>
git clone git://<a href="http://git.rtems.org/examples-v2.git" target="_blank">git.rtems.org/examples-v2.git</a> examples-v2.git<br>
<br>
cd examples-v2.git/hello/hello_world_c<br>
<br>
export RTEMS_MAKEFILE_PATH=/opt/rtems-4.11/arm-rtemseabi4.11/lm3s6965<br>
<br>
make<br>
<br>
cd o-optimize<br>
<br>
grunzasr@stm32dbg% which qemu-system-arm<br>
/usr/local/bin/qemu-system-arm<br>
<br>
grunzasr@stm32dbg% /usr/local/bin/qemu\-system\-arm --version<br>
QEMU emulator version 1.0.90, Copyright (c) 2003-2008 Fabrice Bellard<br>
<br>
{Note: This is the patched version of qemu}<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
grunzasr@stm32dbg% qemu-system-arm -nographic -M lm3s6965evb -kernel<br>
hello.ralf<br>
<br>
<br>
*** HELLO WORLD TEST ***<br>
Hello World<br>
*** END OF HELLO WORLD TEST ***<br>
</div></div></blockquote></div><br>