Whoops, now I did it :-). I meant build/ARM/gem5.opt.

Gabe

On Sun, Apr 26, 2020 at 4:20 AM Gabe Black <gabebl...@google.com> wrote:

> Hi, I noticed that you're trying to run an ARM kernel on gem5 compiled to
> run x86 code. That won't work. You need to either use an x86 kernel, or the
> ARM version of gem5, aka build/X86/gem5.opt.
>
> Gabe
>
> On Sat, Apr 25, 2020 at 10:50 PM Taiyu Zhou via gem5-users <
> gem5-users@gem5.org> wrote:
>
>> Hi Ciro.
>> I think that problem may be cause by  incompatible. I use Mac to run
>> parralles virtual machine and it is Intel core. I try to mount
>> aarch64-ubuntu-trusty-headless.img on mnt and try to run /sbin/init.
>> It will report that
>>
>> bash: ./sbin/init: cannot execute binary file: Exec format error
>>
>>
>> My virtual machine OS kernel is linux 4.15.0-96.
>> If it is the incompatible problem,I think I need to remake disk image.
>> But How could I make a lightweight disk image? The util/gem5img.py tool is
>> not works in my OS because the sfdisk it uses is old version which uses
>> some invalid option.
>> _______________________________________________
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>>
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to