You need to make sure you're running the same machine with qemu and
gem5. Make sure that you've set the --machine-type= to the appropriate
machine. Kernels aren't compatible between different variants as the
memory maps can be completely different. I don't know what platform
you've compiled your kernel for but it needs to be something we've got
in gem5 (RealViewPBX, or VersatileExpress EMM). If the kernel you're
building has a bootloader emebedded in it, you'll need to specified the
--bare-metal command line option, so that the simulation doesn't do
initializations for the kernel that the bootloader will already do.


Thanks, 

Ali 

On 24.05.2012 11:32, Ira Ray Jenkins wrote: 

> I am
doing some experiments with Android using qemu and gem5. I would
> like
to be able to have a single kernel and disk image to use
> experimenting
between qemu and gem5. They don't have to be the same,
> just identical.
I have a goldfish kernel and android disk image that
> qemu can boot;
however, trying to use these for gem5 causes it to
> hang. I am
unfamiliar with kernel or bootloader building, so any help
> would be
greatly appreciated. The following is what gem5 outputs when
> run with
the qemu kernel/image:
> 
> gem5 Simulator System. http://gem5.org
>
gem5 is copyrighted software; use the --copyright option for details.
>

> gem5 compiled Apr 26 2012 12:26:52
> gem5 started May 24 2012
11:09:00
> gem5 executing on Gaia
> command line: build/ARM/m5.fast
configs/example/fs.py -b ArmAndroid
> --kernel=vmlinux-qemu-armv7
--disk-image=android_system.img
> Global frequency set at 1000000000000
ticks per second
> info: kernel located at:
***/gem5/system/binaries/vmlinux-qemu-armv7
> Listening for system
connection on port 5900
> Listening for system connection on port 3456
>
0: system.remote_gdb.listener: listening for remote gdb on port 7000
>
info: Using bootloader at address 0x80000000
> **** REAL SIMULATION
****
> info: Entering event queue @ 0. Starting simulation...
> 
>
*hangs here*
> _______________________________________________
>
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