Skip to contentSkip to conversation

Huh! Sorry :(

Qemu-devel Natalia Portillo 2 participants 2 messages Jul 4, 2004

lore
Share & tools
lore
#0 lore raw

Well I need to directly boot a kernel just like real OpenFirmware does, is it possible? How?

If not, how to implement that?

Quoted 29 lines

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de J. Mayer
Enviado el: domingo, 04 de julio de 2004 11:35
Para: [email protected]
Asunto: RE: [Qemu-devel] Huh! Sorry :(

Quoted 3 lines · On Sat, 2004-07-03 at 22:07, [email protected] wrote:

I tried to boot NetBSD/MacPPC, just for testing.

I'm really interested in saying a manually kernel for be

loaded under

Quoted 1 line

CHRP hardware. How is it possible?

The -kernel option may help you boot a Linux kernel directly. There is some fixes to do to allow booting a bootloader this way but it will never boot a kernel like Darwin by itself.

--
J. Mayer <[email protected]>
Never organized

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#1 lore raw
Quoted 2 lines · Natalia Portillo

Well I need to directly boot a kernel just like real OpenFirmware does, is it possible? How?

It doesn't.
It boots directly a bootloader:
yaboot for Linux,
bootX for Mac OS X...
It never boots a kernel directly, or if it does, that just means that the bootloader is contained at the start of the OS image. In that case, using qemu options should be sufficient:
qemu -kernel <xxx> -append <kernel_options>

But you won't be able to boot using a bloc device this way, only boot from memory:
the OF boot device won't be set. But if the kernel knows where to boot (like Linux does, using its options), you may succeed.

Signature · 2 lines
J. Mayer <[email protected]>
Never organized