[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH prep for-1.5 v2] prep: Add ELF support for -bios
From: |
Julio Guerra |
Subject: |
Re: [Qemu-devel] [PATCH prep for-1.5 v2] prep: Add ELF support for -bios |
Date: |
Tue, 2 Jul 2013 15:39:49 +0200 |
2013/5/5 Andreas Färber <address@hidden>:
> 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
- Re: [Qemu-devel] [PATCH prep for-1.5 v2] prep: Add ELF support for -bios,
Julio Guerra <=