So I left the simulation running all night. When I look at the latest screen 
shot, it looks like Android booted successfully. However, it doesn't look like 
bbench was able to run because "No connection to the internet found".

Are there any steps I am missing to get the simulation connected to the 
internet? Is there some configuration I have to setup to get it to connect 
through the simulation host (my computer)?

Thanks,
Mike
________________________________
From: [email protected] [[email protected]] on behalf of 
Kirtika Ruchandani [[email protected]]
Sent: Tuesday, April 03, 2012 1:04 AM
To: gem5 users mailing list
Subject: Re: [gem5-users] bbench/android

Hi Michael,
0. What are you looking when you say more documentation?
1. How long did you wait? The bbench simulation takes 8 hours to complete for 
me when you dont specify the cpu type (default is AtomicSimple). Of this, I 
suppose ~2 hours should be boot up. If the cpu is arm_detailed, it takes a day 
to boot. You can connect via a vnc client to get the GUI.
2. Add "--frame-capture" to your command line. This will take screenshots of 
the simulated machine's screen periodically and dump to m5out/frames_vncserver.
Hope that answers your question. I have only interacted with command line and 
it was too slow, so I never tried interacting with the simulated machine 
through the GUI.
Cheers,
Kirtika



On Tue, Apr 3, 2012 at 10:21 AM, Levine, Michael I 
<[email protected]<mailto:[email protected]>> wrote:
Thanks. I was able to build and run the simulation. I also was able to use 
m5term to connect to the machine.

My question now is if there is any more documentation on running bbench on 
Android? I have followed the steps from:
http://www.gem5.org/Bbench-gem5

Is there anyway to get a gui? Or is it all command line?

-Mike
________________________________________
From: [email protected]<mailto:[email protected]> 
[[email protected]<mailto:[email protected]>] on behalf of 
Kirtika Ruchandani [[email protected]<mailto:[email protected]>]
Sent: Tuesday, April 03, 2012 12:33 AM
To: gem5 users mailing list
Subject: Re: [gem5-users] bbench/android

scons build/ARM/m5.fast should suffice. (I am on the older version, where FS/SE 
was separate, dunno if the change has also changed the build command).
I would recommend adding a  "-j n" at the end of the command where n is the 
number of cores you can spare for the build.


On Tue, Apr 3, 2012 at 5:47 AM, Levine, Michael I 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 wrote:
Tony,

What exactly should the scons command look like?

scons  /path_to_gem5_root/build/ARM/m5.fast

?

-Mike
________________________________________
From: 
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
 
[[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>]
 on behalf of Tony 
[[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>]
Sent: Monday, April 02, 2012 8:08 PM
To: 
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] bbench/android

Levine, Michael I <Michael_Levine <at> 
student.uml.edu<http://student.uml.edu><http://student.uml.edu>> writes:

>
> Thank you for the quick response, but I still am having trouble finding this
ARM directory.
>
> Here is what I have:
>
> michael <at> ubuntu:~/Desktop/gem5-c739a3a829f5/build$ ls
> gzstream  scons_config.log  variables
> libelf    sconsign.dblite   variables.global
>
> -Mike
> ________________________________________
> From: gem5-users-bounces <at> gem5.org<http://gem5.org><http://gem5.org> 
> [gem5-users-bounces <at> gem5.org<http://gem5.org><http://gem5.org>] on
behalf of Anthony Gutierrez [atgutier <at> 
umich.edu<http://umich.edu><http://umich.edu>]
> Sent: Monday, April 02, 2012 5:58 PM
> To: gem5 users mailing list
> Subject: Re: [gem5-users] bbench/android
>
> Oh, sorry. That is an artifact of the way the system used to be built. Now,
the binaries for FS/SE are combined
> into a single binary. So to run you would do something like the follow:
>
> ./path_to_gem5_root/build/ARM/m5.fast configs/example/fs.py -b bbench --
kernel=/path_to_gem5_system/binaries/vmlinux.smp.mouse.arm
>
> I'll fix the wiki to reflect this.
>
> On Mon, Apr 2, 2012 at 5:55 PM, Levine, Michael I
> <Michael_Levine <at> 
> student.uml.edu<http://student.uml.edu><http://student.uml.edu><mailto:Michael_Levine<mailto:Michael_Levine><mailto:Michael_Levine<mailto:Michael_Levine>>
>  <at>
student.uml.edu<http://student.uml.edu><http://student.uml.edu>>> wrote:
>
> Hi,
>
> I am an engineering graduate student and I am currently trying to run an
android image using gem5. I am
> following these instructions:
> http://www.m5sim.org/Bbench-gem5
>
> However, I reach a snag when I get to this part:
> Run /path_to_gem5_root/build/ARM_FS/m5.fast configs/example/fs.py -b bbench
> --kernel=vmlinux.smp.mouse.arm to run BBench on Android using ARM. Invoke from
/path_to_gem5_root.
>
> I don't seem to have an "ARM_FS" directory under my build directory. I have
downloaded both the stable
> release of gem5 as well as the developer version.
>
> Could you please point in the right direction of what I should do next?
>
> Thanks!
> Mike
>
> _______________________________________________
> gem5-users mailing list
> gem5-users <at> 
> gem5.org<http://gem5.org><http://gem5.org><mailto:gem5-users<mailto:gem5-users><mailto:gem5-users<mailto:gem5-users>>
>  <at> gem5.org<http://gem5.org><http://gem5.org>>
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> --
> Thanks,
> Tony
>
> <http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>

Have you built the system using scons? If so, you should have a directory named
"ARM".

Besides, you need absolute path starting from /home to gem5 directory when you
run simulation.


-Tony


_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



_______________________________________________
gem5-users mailing list
[email protected]<mailto:[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