This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linux synthetic target build errors


I went by your recommendations, and got the Linux synthetic target it
to work. Your advise was right on the mark, thank!

I am writing a paper for a Real-time OS class on comparing the
scheduling algorithms of two real-time operating systems. The RTOS
systems I am comparing are eCOS and FreeRTOS. I need to run a
multi-threaded application and compare some statistics.

I am a newbie at this so please excuse my ignorance. I am looking for
a good emulator so that I can compare these two operating systems. I
have basically set up an Ubuntu virtual environment on my Windows
machine. I am trying to use QEMU as my emulator, but I don't
know/understand how to push the eCos on to it. I have tried using GDB
from Ubuntu to connect to QEMU with little success. I don't quite
understand how to make an image of eCOS OS to that I can have it run
on QEMU (or any other system). The command for using GDB on QEMU is
"qemu.exe -s -S -L . -m 128 -hda linux.img -M pc %*" however this
looks like it using a Linux image.

I basically need some guidance on:

1- What is a good emulator I can use with eCOS
2- How to push eCOS onto the emulator

Thanks!
Aziz

On Mon, Apr 26, 2010 at 9:23 AM, John Dallaway <john@dallaway.org.uk> wrote:
> Hi Aziz
>
> Aziz Bodal wrote:
>
>> I am trying to build a linux synthetic target using the default
>> package configuration however I am getting the following build errors.
>> I have an Ubuntu 9.10 build.
>>
>> Any help would be much appreciated.
>
> Firstly, your build tree looks confused. You have some references to the
> FR-V architecture lying around. I suggest you start by saving your eCos
> configuration under a new name within the eCos Configuration Tool (File
> -> Save As...).
>
> Secondly, for correct operation of the synthetic target with eCos 3.0
> sources on recent Ubuntu installations, you will need to add the
> "-fno-stack-protector" compiler switch to the list of switches in the
> CYGBLD_GLOBAL_CFLAGS configuration option (Configuration -> Global build
> options -> Global compiler flags). This is no-longer necessary with the
> current eCos CVS sources.
>
> I hope this helps...
>
> John Dallaway
> eCos maintainer
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]