On Mon, Feb 1, 2016 at 3:25 AM, Ruslan Bilovol <ruslan.bilo...@gmail.com> wrote: > On Wed, Jan 27, 2016 at 7:39 PM, Peter Crosthwaite > <crosthwaitepe...@gmail.com> wrote: >> On Tue, Jan 26, 2016 at 4:05 AM, Ruslan Bilovol >> <ruslan.bilo...@gmail.com> wrote: >>> On Mon, Jan 25, 2016 at 6:07 PM, Peter Maydell <peter.mayd...@linaro.org> >>> wrote: >>>> On 25 January 2016 at 13:51, Ruslan Bilovol <ruslan.bilo...@gmail.com> >>>> 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