<div dir="ltr"><div>Thanks for all the comments on this. I think for now I'll try using QEMU, and only consider alternatives if performance becomes a problem. <br><br>Thanks again.<br>--<br></div>Regards, Devin<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 1, 2013 at 11:27 PM, Bornet Romain <span dir="ltr"><<a href="mailto:romain.bornet@heig-vd.ch" target="_blank">romain.bornet@heig-vd.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
To answer the original questions<br>
<br>
>> Is it currently possible to run rtems as an application on top of linux or FreeBSD? I have an where I need to simulate multiple instantiations of rtems and would benefit from running native.<br>
We are using Qemu to run our RTEMS applications and I think it is just fine for the use case you are describing. You can start multiple instances of Qemu running the same or different RTEMS applications.<br>
For communication between the different instances you can either use a socket-based interface using the emulated network between the different instances or use shared memory as documented here: <a href="http://wiki.qemu.org/TexiDemo#Inter-VM_Shared_Memory_device" target="_blank">http://wiki.qemu.org/TexiDemo#Inter-VM_Shared_Memory_device</a><br>

<div class="im"><br>
>> If not, are there any major show stoppers in developing a BSP for running rtems as a thread on top of another OS?<br>
</div>Qemu does not bring so much overhead and runs almost as fast as native. Moreover, Qemu already offers advanced functionalities for debuging for example. I don't think that the overhead of developing your own BSP/port to run RTEMS natively as a userspace application is worth.<br>

<br>
Regards,<br>
    Romain<br>
<br>
________________________________________<br>
From: <a href="mailto:rtems-users-bounces@rtems.org">rtems-users-bounces@rtems.org</a> <<a href="mailto:rtems-users-bounces@rtems.org">rtems-users-bounces@rtems.org</a>> on behalf of Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>><br>

Sent: Saturday, August 31, 2013 4:55 PM<br>
To: Ralf Corsepius<br>
Cc: RTEMS<br>
Subject: Re: RTEMS on top of linux or FreeBSD?<br>
<div class="HOEnZb"><div class="h5"><br>
Ralf/Chris, The original poster was asking a different question about<br>
executing RTEMS within a host OS environment.<br>
<br>
For reference the conversation about a way to do it:<br>
<a href="http://www.rtems.org/pipermail/rtems-users/2013-February/010974.html" target="_blank">http://www.rtems.org/pipermail/rtems-users/2013-February/010974.html</a><br>
<br>
On Sat, Aug 31, 2013 at 3:06 AM, Ralf Corsepius<br>
<<a href="mailto:ralf.corsepius@rtems.org">ralf.corsepius@rtems.org</a>> wrote:<br>
> On 08/31/2013 08:13 AM, Chris Johns wrote:<br>
>><br>
>> Ralf Corsepius wrote:<br>
>>><br>
>>> MinGW lacks such a centralized "distribution"<br>
>><br>
>><br>
>> These days MinGW has a tool that provides packages.<br>
><br>
><br>
> Which MinGW are you referring? MinGW.org or MinGW-w64? Did they both merge?<br>
><br>
> Fedora/Red Hat ships MinGW-w64 linux->MinGW toolchains and has abandoned<br>
> supporting <a href="http://mingw.org" target="_blank">mingw.org</a>.<br>
><br>
> Ralf<br>
><br>
><br>
><br>
> _______________________________________________<br>
> rtems-users mailing list<br>
> <a href="mailto:rtems-users@rtems.org">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>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">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></div></div></blockquote></div><br></div>