PowerPC system emulation status
Can anybody (Jocelyn ?) tell me the status and availability of the powerpc system emulation?
I have been trying for a long time to run a powerpc kernel on a x86 machine.
A few years back I used psim but never got further than a ppc netbsd kernel booting and crashing halfwaydown (linux kernel crashing too) The problems. Understanding and making a working openfirmware devicetree
How to boot a kernel and putting it in the right space in memory.
How to get a working console and network.
Now I am trying to use the powerpc system emulation in Qemu to try to run a powerpc linux in it but I am running into similar problems.
I found out there is not yet a powerpcbios and tried to use the openfirmware image and linux kernel from my rs6000 ( a 7043-140 prep machine running debian) (IBM openfirmware for rs6000 machines can be downloaded at http://techsupport.services.ibm.com/server/mdownload/download.html)
I tried changing the sources to get it to load and run the firmware or linux kernel but didn't succeed.
I disabled running the vga bios because I thought that was one of the problems but that didn't help.
Quoted 1 line
Current PPC system emulation status is: I can launch Linux and a shell in it and use it. That's all.
Is there a way to get these patches so I can try this too or have you already merged it with Fabrice's commits?
With a little luck some day Qemu should be able to run a linux kernel and a complete partition dump of my rs6000 prep debianppc installation. (This would include a working mac-on-linux ;-)
Quoted 1 line
For now, I use PREP, because my first goal is to eliminate PPC CPU emulation bugs. As PREP is nearly a PC with a PPC CPU, I can re-use current Qemu hardware emulation, which make things simpler... The only thing I got for recent Mac emulation is OpenPIC (good start).
Good enough for me.
Greetings,
Martin
Quoted 2 lines · On Thu, 2004-04-01 at 22:42, nldudok1 wrote:
Can anybody (Jocelyn ?) tell me the status and availability of the powerpc system emulation?
Hi,
for now, I'm fighting to merge latest changes from CVS. I want to submit a big set of patches for next qemu version... Current CVS cannot launch PPC systems.
Quoted 5 lines
I found out there is not yet a powerpcbios and tried to use the openfirmware image and linux kernel from my rs6000 ( a 7043-140 prep machine running debian)
(IBM openfirmware for rs6000 machines can be downloaded at
http://techsupport.services.ibm.com/server/mdownload/download.html)
Thanks for this tip !
I fetched the whole CDROM, and I'll try to add a correct OpenBIOS loader as soon as possible.
Quoted 3 lines
With a little luck some day Qemu should be able to run a linux kernel and a complete partition dump of my rs6000 prep debianppc installation. (This would include a working mac-on-linux ;-)
Yes, this will be possible when the MMU emulation will be fixed. I still have some crashes when my initial shell forks, so it's quite "difficult" to launch a real distribution.
Could you build a tiny system disks for me to test more on your PREP machine ?
I'd like to be have a static busybox disk and a dynamic one. For now, I build cross-compiled images and this can be another source of problems...
I'd also like to have a real kernel configuration for PREP. I did some 2.4 & 2.6 kernel, intuiting parameters, but I'd like to know what is correct on a real machine and see if I missed some hw parameters on my emulated hardware.
Signature · 2 lines
Jocelyn Mayer <[email protected]> Never organized