[Qemu-devel] AArch64 ELF File Loading

2014-07-25 Thread Christopher Covington
Hi, I think the AArch64 port has a problem with a self-modifying code sequence that appears to run fine on other simulators, but I can't get QEMU to run the small bare metal test case I created to try to reproduce the issue. Any help would be appreciated. qemu-system-aarch64 -nodefaults

Re: [Qemu-devel] AArch64 ELF File Loading

2014-07-25 Thread Peter Maydell
On 25 July 2014 15:01, Christopher Covington c...@codeaurora.org wrote: Hi, I think the AArch64 port has a problem with a self-modifying code sequence that appears to run fine on other simulators, but I can't get QEMU to run the small bare metal test case I created to try to reproduce the

Re: [Qemu-devel] AArch64 ELF File Loading

2014-07-25 Thread Christopher Covington
Hi Peter, On 07/25/2014 10:07 AM, Peter Maydell wrote: On 25 July 2014 15:01, Christopher Covington c...@codeaurora.org wrote: Hi, I think the AArch64 port has a problem with a self-modifying code sequence that appears to run fine on other simulators, but I can't get QEMU to run the small

Re: [Qemu-devel] AArch64 ELF File Loading

2014-07-25 Thread Peter Maydell
On 25 July 2014 15:35, Christopher Covington c...@codeaurora.org wrote: qemu-system-aarch64 -nodefaults -nographic -monitor none -M virt \ -cpu cortex-a57 -m 3G -semihosting -kernel hello qemu: fatal: Trying to execute code outside RAM or ROM at 0x This means your code took

Re: [Qemu-devel] AArch64 ELF File Loading

2014-07-25 Thread Christopher Covington
Hi Peter, On 07/25/2014 10:41 AM, Peter Maydell wrote: On 25 July 2014 15:35, Christopher Covington c...@codeaurora.org wrote: qemu-system-aarch64 -nodefaults -nographic -monitor none -M virt \ -cpu cortex-a57 -m 3G -semihosting -kernel hello qemu: fatal: Trying to execute code outside RAM

Re: [Qemu-devel] AArch64 ELF File Loading

2014-07-25 Thread Peter Maydell
On 25 July 2014 16:05, Christopher Covington c...@codeaurora.org wrote: I have local patches adding semihosting for AArch64. I hope eventually be able to share them and other changes, but the approvals will likely take a while longer. That would be good; there is demand from other quarters for