qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system emulation booting elf files [was: Re: [Qemu-devel] Open Hack'


From: Natalia Portillo
Subject: Re: system emulation booting elf files [was: Re: [Qemu-devel] Open Hack'Ware question]
Date: Sat, 16 Jul 2005 01:57:01 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use the -kernel command line option to supply the ELF executable to boot.

In OHW there is a known problem that surely will prevent doing that in QEMU System PPC, but in QEMU System x86 it should work without problem.

El 15/07/2005, a las 21:17, Karel Gardas escribió:

On Thu, 14 Jul 2005, Brian Wheeler wrote:


On Thu, 2005-07-14 at 17:52 +0200, Karel Gardas wrote:

On Thu, 14 Jul 2005, Brian Wheeler wrote:


All of the websites that are referred to in the docs and source are
missing. Is there another place to get it? I'm tinkering with the idea
to try to boot aix on qemu.


The same here! But for RTEMS and Mesquite cPCI (MCP750) BSP.

Any idea how to get such code booting? IMHO the best would be to use
Qemu's -kernel option, but I don't know what are precise requirement for
it and for image booting in this scenario.


I've thought about it a little bit, but since I'm not system programmer, I'm a bit lost. RTEMS executables (whole system image) are ordinary elf files:

silence:~/cvs/rtems/examples/hello_world_c/o-optimize$ file hello.exe
hello.exe: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
silence:~/cvs/rtems/examples/hello_world_c/o-optimize$

(i.e. hello.exe is whole RTEMS kernel and user app built together)

for example GRUB is able to boot such file and when booting it prints something like: [Multiboot-elf, <0x100000; 0x4e538:0xbe28 (and probably something other which I've not caught since
                                            RTEMS booted quickly)

So what's IMHO needed is just elf load such file and start it. Perhaps here is possible to use em86/qemu's elfload functionality and instead of linux-user more hook this into the system mode.

Any idea how to proceed? (or where exactly to start?)

Thanks!
Karel
--
Karel Gardas                  address@hidden
ObjectSecurity Ltd.           http://www.objectsecurity.com


_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFC2FteSOHwOb87puQRAh+KAJ9MQgG/Rd8IVnmqf9JJgBIU4ky6WQCfabrv
6gITjZLYR7ZUwvxJZRzPdtA=
=ncT4
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]