Virtualbox RTEMS Setup

Aric Hunter aricahunter at gmail.com
Fri Jul 20 16:39:01 UTC 2012


Can you go back a step. How did you install arm?
I have /usr/local/bin/qemu-system-arm
but I don't have /opt/rtems-4.11/arm-rtemseabi4.11

I'm sorry that I'm such an rtems noob.
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.

On Fri, Jul 20, 2012 at 6:31 AM, Steven Grunza <sgrunza at ctdi.com> wrote:

> See replies in-line
>
> > -----Original Message-----
> > From: Aric Hunter [mailto:aricahunter at gmail.com]
> > Sent: Thursday, July 19, 2012 6:28 PM
> > To: Steven Grunza
> > Cc: rtems-users at rtems.org
> > Subject: Re: Virtualbox RTEMS Setup
> >
> > does the configure file run those patches (I've never used a patch
> > file)?
>
> No.  It's a manual operation.  Typically I use a command sequence such
> as the following:
>
> {Acquire the correct version source files}
>
> git clone git://git.qemu.org/qemu.git qemu.git
>
> cd qemu.git
>
> cat 0001-target-arm-Fixed-ARMv7-M-SHPR-access.patch | patch -p1
>
>
> The problem is getting the correct version source files.  The qemu
> project was at version 1.0.50 when the patches were created.  I was able
> to use version 1.0.90.  QEMU now appears to be at version 1.1.50 and the
> patches do not apply properly.  Perhaps they are no longer needed?
>
>
>
> > and what example did you use? I don't see any test files
> > (hello.exe) in the b-lm3s6965 branch.
> >
> >
>
> I used the example applications for RTEMS.  These are sample
> applications that (as far as I know) work with any version of RTEMS.  I
> got them by doing the following:
>
>
>
> git clone git://git.rtems.org/examples-v2.git examples-v2.git
>
> cd examples-v2.git/hello/hello_world_c
>
> export RTEMS_MAKEFILE_PATH=/opt/rtems-4.11/arm-rtemseabi4.11/lm3s6965
>
> make
>
> cd o-optimize
>
> grunzasr at stm32dbg% which qemu-system-arm
> /usr/local/bin/qemu-system-arm
>
> grunzasr at stm32dbg% /usr/local/bin/qemu\-system\-arm --version
> QEMU emulator version 1.0.90, Copyright (c) 2003-2008 Fabrice Bellard
>
> {Note: This is the patched version of qemu}
>
>
> grunzasr at stm32dbg% qemu-system-arm -nographic -M lm3s6965evb -kernel
> hello.ralf
>
>
> *** HELLO WORLD TEST ***
> Hello World
> *** END OF HELLO WORLD TEST ***
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120720/0548ff6f/attachment.html>


More information about the users mailing list