[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system emulation booting elf files [was: Re: [Qemu-devel] Open Hack'Ware
From: |
Karel Gardas |
Subject: |
system emulation booting elf files [was: Re: [Qemu-devel] Open Hack'Ware question] |
Date: |
Fri, 15 Jul 2005 22:17:46 +0200 (CEST) |
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
Re: [Qemu-devel] Open Hack'Ware question, J. Mayer, 2005/07/20
- Re: [Qemu-devel] Open Hack'Ware question, Brian Wheeler, 2005/07/21
- Re: [Qemu-devel] Open Hack'Ware question, Karel Gardas, 2005/07/21
- Re: [Qemu-devel] Open Hack'Ware question, Jocelyn Mayer, 2005/07/21
- Re: [Qemu-devel] Open Hack'Ware question, Karel Gardas, 2005/07/21
- Re: [Qemu-devel] Open Hack'Ware question, J. Mayer, 2005/07/21