QEMU/GRUB: No multiboot header ,found

Joel Sherrill joel.sherrill at OARcorp.com
Fri Dec 19 14:51:17 UTC 2008

Massimo Tipaldi wrote:
> Dear all,
> I have installed all the RTEMS tools on Windows, compiled RTEMS 4.9
> (--target=i386-rtems and bsp=pc386) and installed QEMU as detailed in:
> http://www.rtems.com/wiki/index.php/MinGW_Tools_for_Windows
> http://www.rtems.com/wiki/index.php/QEMU
> All these operations went well.
> Therefore, I have tried to launch some RTEMS applications by means of
> QEMU/GRUB (in this phase I have taken the executable files produced
> during the RTEMS compilation phase, placed in /testsuites/samples): this
> operation was successfull as well.
> After that I have compiled successfully Hello Word by myself
> (examples-
> ftp://ftp.rtems.com/pub/rtems/
> ) and put my hello.exe in the folder /testsuites/samples/hello).
> With my Hello Word, the GRUB gives me the message "No multiboot header
> found".
Very old examples.  Please use the ones which match 4.9.

This sounds like a bug which was fixed between 4.9.0 and 4.9.1.

1337/bsps - Stripping .rodata section produces unusable executables for 
the i386-rtems target.
> As far as I have understood, my hello.exe does not have a multiboot header.
> How can I overcome this issue? Should I modify somehow my source code or
> the makefiles in order to create this multiboot header into my .exe?
> Thanks in advance
> Massimo Tipaldi

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list