I'm looking for a .bin file for ppc for the purpose of using it as a qemu bios (openhackware is broken). However, there are a few problems. 1, there isn't an ppc target. You list it in your readme as a target, but the rules.xml/config.xml for ppc don't exist, and I can't build a cross compiler. So, is there a previously built openbios image?
Cheers, -Duane
On 8/25/07, Duane Ryan bailey.d.r@gmail.com wrote:
I'm looking for a .bin file for ppc for the purpose of using it as a qemu bios (openhackware is broken). However, there are a few problems. 1, there isn't an ppc target. You list it in your readme as a target, but the rules.xml/config.xml for ppc don't exist, and I can't build a cross compiler. So, is there a previously built openbios image?
Please try this patch. The config file should be the same as when cross-compiling and the rules file is almost the same except of course for the cross prefixes. As I don't have any PPC hardware, I can't test the patch.
Am 26.08.2007 um 20:14 schrieb Blue Swirl:
On 8/25/07, Duane Ryan bailey.d.r@gmail.com wrote:
I'm looking for a .bin file for ppc for the purpose of using it as a qemu bios (openhackware is broken). However, there are a few problems. 1, there isn't an ppc target. You list it in your readme as a target, but the rules.xml/config.xml for ppc don't exist, and I can't build a cross compiler. So, is there a previously built openbios image?
Please try this patch. The config file should be the same as when cross-compiling and the rules file is almost the same except of course for the cross prefixes. As I don't have any PPC hardware, I can't test the patch.
Your patch compiles fine and results in the attached "ls -l" output in obj-ppc.
(and "make run" does give an OpenBIOS prompt)
Your config file looks somewhat cleaner than my first attempt (no differentiation between host/target tools). Are you sure that PearPC stuff should be included in the ppc config for qemu? Isn't PearPC an old abandoned ppc emulator unrelated to qemu? And should we really enable PCI debugging?
Replacing my previous openbios-pearpc.elf file with the new one results in the same instruction error in qemu as before. So could you please advise us (on the qemu-devel list if you prefer :) what exactly to do with the output files to use them with qemu? I could mail you or post any required files if necessary.
Andreas
On 8/27/07, Andreas Färber andreas.faerber@web.de wrote:
Am 26.08.2007 um 20:14 schrieb Blue Swirl:
On 8/25/07, Duane Ryan bailey.d.r@gmail.com wrote:
I'm looking for a .bin file for ppc for the purpose of using it as a qemu bios (openhackware is broken). However, there are a few problems. 1, there isn't an ppc target. You list it in your readme as a target, but the rules.xml/config.xml for ppc don't exist, and I can't build a cross compiler. So, is there a previously built openbios image?
Please try this patch. The config file should be the same as when cross-compiling and the rules file is almost the same except of course for the cross prefixes. As I don't have any PPC hardware, I can't test the patch.
Your patch compiles fine and results in the attached "ls -l" output in obj-ppc. (and "make run" does give an OpenBIOS prompt)
Your config file looks somewhat cleaner than my first attempt (no differentiation between host/target tools). Are you sure that PearPC stuff should be included in the ppc config for qemu? Isn't PearPC an old abandoned ppc emulator unrelated to qemu? And should we really enable PCI debugging?
I don't know much about PPC. There are three variants in OpenBIOS: briq, mol and pearpc. But Qemu supports PowerMac and PREP machines. Just try the six possible combinations? :-)
* Blue Swirl blauwirbel@gmail.com [070827 21:19]:
Your config file looks somewhat cleaner than my first attempt (no differentiation between host/target tools). Are you sure that PearPC stuff should be included in the ppc config for qemu? Isn't PearPC an old abandoned ppc emulator unrelated to qemu? And should we really enable PCI debugging?
I don't know much about PPC. There are three variants in OpenBIOS: briq, mol and pearpc. But Qemu supports PowerMac and PREP machines. Just try the six possible combinations? :-)
I think all of them just produce an ELF binary. For QEMU you need an image with a reset vector and all that.
Stefan