Rtems for a space project
Massimo Tipaldi
mtipaldi at cgspace.it
Mon Jan 12 13:35:39 UTC 2009
Ralf,
I have followed the following links to install Rtems tools, Rtems and QEMU:
http://www.rtems.com/wiki/index.php/QEMU
http://www.rtems.com/wiki/index.php/MinGW_Tools_for_Windows
Through these pages, I have downloaded the various packages:
MinGW 5.1.3 installer, MSYS Installer 1.0.10, MSYS DTK1.0.0,
m4-1.4.7-MSYS.tar.bz2 , rtems4.9-tools-4.exe, rtems-4.9.1.tar.bz2 and
examples-4.9.1.tar.bz2,.
From the RTEMS wiki, I have also downloaded the following files:
qemu.bat, rtems-boot.img e rtems-grub.cfg.
On my PC, I have Windows 2000 5.00.2195 Service Pack 4.
To install RTEMS:
../rtems-4.9.1/configure --target=i386-rtems4.9
--prefix=/d/opt/src/rtems/i386
make RTEMS_BSP=”pc386”
I have not tried this on Linux (at the moment, for project's sake, it is
not required).
In any case, since the hello.exe that comes out of the RTEMS compilation
is correctly managed by the GRUB (in testsuites/samples), I think that
the issue is on the hello.exe compiled in the examples-4.9.1.
As you have seen, in oder to compile my hello.exe, I was obliged to
carry out more than the instructions described on the Rtems manual,
where only the variable RTEMS_MAKEFILE_PATH is reported to be set: very
strange...
This executable file is not compliant with the multiboot specification.
How can I make my hello.exe an ELF file?
Massimo
Ralf Corsepius ha scritto:
> Massimo Tipaldi schrieb:
>> Dear Ralf,
>>
>> for all the steps that I have perfomed, see my e-mails on rtems-users
>> (find Massimo Tipaldi);
>>
> > In particular, take a look at:
>> 1) RTEMS/QEMU/GRUB on Windows (07 Jan 2009 11:03:52 +0100)
>> 2) RTEMS/QEMU/GRUB on Windows (08 Jan 2009 16:49:58 +0100)
>>
> Sigh, RTEMS+QEMU+GRUB + Window... at least 4 non-trivial sources of
> issues at one time.
>
> Have you tried on Linux, have you tried on real hardware (no QEMU), does
> your grub/qemu/windows setup work without RTEMS ... etc. Which target,
> which Windows version, which toolchains ?
>
>> For the modifications on Makefile.inc, see
>> 1) QEMU/GRUB: No multiboot header found (22 Dec 2008 16:22:28 +0100)
>> (the only difference is that RTEMS is now installed in
>> d:\opt\src\rtems\i386\)
>>
> Makefile.inc is a different class of problem.
>
> My personal answer to all Makefile.inc related problems: I refuse to
> answer any Makefile.inc related issues, because I consider RTEMS
> Makefile-template system to be mal-designed kid-stuff, RTEMS should have
> stopped dropped a long time ago ;)
>
> Ralf
>
>
>
--
Eng. Massimo Tipaldi
Technical Directorate
SW Principal Engineer
Carlo Gavazzi Space SpA
Via Tiengo, snc - 82100 Benevento BN - Italy
Tel: + 39 0824481733
Fax: +39 0824481730
e-mail: mtipaldi at cgspace.it
www.cgspace.it
<< Le informazioni contenute in questo messaggio di posta elettronica
e relativi allegati sono riservate e confidenziali e ne e vietata
la diffusione in qualunque modo eseguita. Qualora Lei non fosse la
persona a cui il presente messaggio e destinato, La invitiamo ad
eliminarlo e a darcene gentile comunicazione.Quanto precede ai fini del
rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196,
sulla tutela dei dati personali >>
<< This e-mail is confidential and may well also be legally privileged.
If you have received it in error, you are on notice of its status.
Please notify us immediately by reply e-mail and then delete this
message from your system. Please do not copy it or use it for any
purposes, or disclose its contents to any other person: to do so could
be a breach of confidence. Thank you for your co-operation. Please
contact our IT Helpdesk on +3902380481 or email
ml_servizi.informatici at cgspace.it if you need assistance>>
More information about the users
mailing list