On 8/25/07, Duane Ryan <bailey.d.r(a)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