Virtualbox RTEMS Setup

Gedare Bloom gedare at rtems.org
Fri Jul 20 16:56:35 UTC 2012


maybe this will help: http://www.rtems.com/wiki/index.php/GSoC_Getting_Started

that kind of gives an idea about how to build and "install" RTEMS;
you'll want to substitute arm for sparc, and the ARM's BSP for sis..

Or read the manuals about building rtems:
http://rtems.org/onlinedocs/doc-current/share/rtems/html/started/started.html

On Fri, Jul 20, 2012 at 12:39 PM, Aric Hunter <aricahunter at gmail.com> wrote:
> 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 ***
>
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>



More information about the users mailing list