2013/5/5 Andreas Färber <andreas.faer...@web.de>: > This prepares for switching from OpenHack'Ware to OpenBIOS. > > While touching the error handling code, switch from aborting hw_error() > to fprintf()+exit() and suppress failing without -bios for qtest. >
I still can't run bare-metal elf programs from -bios option. Where is the instruction pointer set to the elf program entry address ? E.g. trying to run a bare-metal infinite loop linked at 0x4XXX. adresses : ./qemu-system-ppc -M prep -m 256M -bios loop.elf -nographic -d in_asm QEMU 1.5.50 monitor - type 'help' for more information (qemu) invalid/unsupported opcode: 00 - 00 - 00 (00000000) fffffffc 0 IN: 0xfffffffc: .long 0x0 invalid/unsupported opcode: 00 - 00 - 00 (00000000) fff00700 0 IN: 0xfff00700: .long 0x0 -- Julio Guerra