Have you tried using the disk image and kernel available from gem5 here:
http://gem5.org/bbench-gem5 on qemu? It may work out of the box for qemu,
although I haven't tried it. If it doesn't work on qemu you can use the
kernel config file I included with the kernel in the tarball; you can play
around with it to try to get it working on both.

-Tony

On Thu, May 24, 2012 at 11:32 AM, Ira Ray Jenkins
<[email protected]>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
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to