qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] Does QEMU support AArch64 Big Endian emulation on x86-64


From: Peter Crosthwaite
Subject: Re: [Qemu-arm] Does QEMU support AArch64 Big Endian emulation on x86-64 host?
Date: Mon, 1 Feb 2016 11:04:02 -0800

On Mon, Feb 1, 2016 at 3:25 AM, Ruslan Bilovol <address@hidden> wrote:
> On Wed, Jan 27, 2016 at 7:39 PM, Peter Crosthwaite
> <address@hidden> wrote:
>> On Tue, Jan 26, 2016 at 4:05 AM, Ruslan Bilovol
>> <address@hidden> wrote:
>>> On Mon, Jan 25, 2016 at 6:07 PM, Peter Maydell <address@hidden> wrote:
>>>> On 25 January 2016 at 13:51, Ruslan Bilovol <address@hidden> wrote:
>>>>>> I'm trying to run AArch64 Big Endian image under QEMU that I built for
>>>>>> my x86-64 Ubuntu host from latest master branch and when I'm running
>>>>>> kernel I'm getting next error:
>>>>>>  > qemu: fatal: Trying to execute code outside RAM or ROM at 
>>>>>> 0x500208000080ffff
>>>>>>
>>>>>> Similar image built as Little Endian runs fine with same QEMU tool
>>>>>> (qemu-system-aarch64)
>>>>>>
>>>>>> So I'm wondering is it possible to run QEMU AArch64 Big Endian
>>>>>> emulation on x86-64 host?
>>>>
>>>> It is not currently supported, no. However there are some patches
>>>> on the list[*] to add this support, so I expect a future QEMU version
>>>> will do this.
>>>>
>>>> [*] https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg03025.html
>>>
>>> Thank you four quick answer.
>>> I tried to apply this patch series to latest qemu master branch, but it
>>> fails to apply in misc places. Peter Crosthwaite, could you please say
>>> which commit ID is it based on?
>>>
>>
>> I pushed the branch just now to here:
>>
>> https://github.com/pcrost/qemu/tree/arm-be.next
>
> Thanks Peter.
>
> I've built qemu on this branch and tried to run it with my
> AArch64 Big Endian binaries but still get same error:
> "qemu: fatal: Trying to execute code outside RAM or
> ROM at 0x00007fe60d8e0a30"
>
> So it looks like (unfortunately) these patches do not enable
> AArch64 BE support
>

You need to patch more information, including your QEMU command line
and possible a link to your binary. Are you using an ELF or a raw
image?

Regards,
Peter

> Best regards,
> Ruslan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]