So I'd really really like to be able to use qemu to test my just composed PPC trees. Alas I can't seem to find the magic key combos to make this happen. Have any of you had any luck doing this? There seems to be scarce documentation on the net about this as well.
On Thu, 2007-07-26 at 19:47 -0400, Jesse Keating wrote:
So I'd really really like to be able to use qemu to test my just composed PPC trees. Alas I can't seem to find the magic key combos to make this happen. Have any of you had any luck doing this? There seems to be scarce documentation on the net about this as well.
Qemu's "Open Hackware" firmware doesn't really run FORTH scripts properly -- it just looks at the CRC32 of the script and then does a predefined action, if it recognises it. Last time I looked, it didn't recognise the FORTH script we use on the Fedora boot media to test for 32-bit vs. 64-bit hardware. I think I sent a patch to remedy that.
I'm not sure if it's supposed to be able to run yaboot, but it doesn't seem to. I've tried running the netboot images (which are just a zImage containing kernel+initrd) and I think I had problems with that too -- but at least that was a qemu thing not firmware. It may be fixed now.
On Fri, 27 Jul 2007 10:17:01 +0100 David Woodhouse dwmw2@infradead.org wrote:
I'm not sure if it's supposed to be able to run yaboot, but it doesn't seem to. I've tried running the netboot images (which are just a zImage containing kernel+initrd) and I think I had problems with that too -- but at least that was a qemu thing not firmware. It may be fixed now.
That would potentially work, I just want to try getting the install env up and running. What syntax did you use to boot the netboot image?
On Fri, 2007-07-27 at 07:24 -0400, Jesse Keating wrote:
That would potentially work, I just want to try getting the install env up and running. What syntax did you use to boot the netboot image?
I don't remember -- I think I may have built a hacked version of OpenHackware which just interprets the crc32 of the Fedora ofboot.b to mean "load images/netboot/ppc32.img".
I'll have another go at getting it to run.
On 7/27/07, David Woodhouse dwmw2@infradead.org wrote:
I'm not sure if it's supposed to be able to run yaboot, but it doesn't seem to. I've tried running the netboot images (which are just a zImage containing kernel+initrd) and I think I had problems with that too -- but at least that was a qemu thing not firmware. It may be fixed now.
When I tried to boot Fedora 6 a few months ago, qemu was able to run yaboot and start the install CD, using the mac99 system model. Unfortunately it required some hacking on OpenHackware to get to that point, and I never got the emulated IDE controller to work. Something in the interrupt controller emulation was apparently broken sometime in 2006 and never fixed.
I would be glad to participate in a group effort to get Fedora booting on qemu. Reasonable PowerPC server hardware is getting harder and harder to find (and I don't consider $4000 for a dual-core IBM box reasonable).
--Ed
ppc@lists.stg.fedoraproject.org