On Sat, Sep 24, 2011 at 11:18 AM, Ali Saidi <sa...@umich.edu> wrote:
>
> On Sep 24, 2011, at 8:37 AM, Anirudh Sivaraman wrote:
>
>> On Fri, Sep 23, 2011 at 10:57 PM, Ali Saidi <sa...@umich.edu> wrote
>>>
>>> You need to make sure the board time is a realview PBX.
>>
>> Thanks for the response. However, I am still confused about where this
>> needs to be modified. Is it in a gem5 configuration file  or is it in
>> the bootloader assembly file ?
>> I now have a vmlinux ( ie the ELF style with symbols) image for the
>> ARM kernel patched for Android. However, the boot fails with the
>> unrecognized machine ID error.
>
> In the kernel directory run
> make ARCH=arm menuconfig
>
> Select System Type
> -> Select ARM System Type
> - - > Select ARM Ltd Realview Family
> -> Select Realview Platform Type
> - - > Support RealView(R) Platform Baseboard Explore
>
> Exit, save and recompile.

Thanks for this. I tried this, recompiled the Android Linux kernel and
ran it with the new vmlinux file. But it crashes as soon as it boots
with the following error:

gem5.debug: build/ARM_FS/cpu/simple/atomic.cc:450: Fault
AtomicSimpleCPU::writeMem(uint8_t*, unsigned int, Addr, unsigned int,
uint64_t*): Assertion `!pkt.isError()' failed.
Program aborted at cycle 32500

Is this a problem with the kernel image or the file system image ?

Anirudh

> Ali
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to