I will try to get version 2.6.38 to work. But, I won't be working on 3.0 anytime soon.
-Tony On Mon, Jun 4, 2012 at 3:44 PM, Ira Ray Jenkins <[email protected]>wrote: > On Mon, Jun 4, 2012 at 3:39 PM, Anthony Gutierrez <[email protected]> > wrote: > > I have been able to call m5 exit from within an Android app using: > > > > Runtime.getRuntime().exec("/sbin/m5 exit"); > > > > There is a "clean" version of ICS up at gem5.org/bbench-gem5 . I will > > announce this on the list once I have an image with BBench on it. > > > > -Tony > > > > On Mon, Jun 4, 2012 at 3:36 PM, Ira Ray Jenkins <[email protected] > > > > wrote: > >> > >> On Mon, Jun 4, 2012 at 3:30 PM, Anthony Gutierrez <[email protected]> > >> wrote: > >> >> The browser's homepage was manually set to the bbench start page. > There > >> >> is > >> >> a way to open the browser and set it to a certain page, e.g., am > start > >> >> -a > >> >> android.intent.action.VIEW -d http://gem5.org but this doesn't > work > >> >> for > >> >> local pages, i.e., file:/// instead of http://. For some reason the > >> >> intent > >> >> is not recognized by the browser. You can look at the browser's > >> >> manifest > >> >> file and see if you can get it work with file:/// by messing with the > >> >> intent > >> >> filters. I briefly looked into this but wasn't successful. If anyone > >> >> else > >> >> knows how to open a local page in the Android browser from the > command > >> >> line > >> >> that would be useful. > >> > > >> > > >> > Acutally, looking in the ICS file system, it seems as though they've > >> > changed > >> > this so you can view local web pages. From around line 99 of > >> > packages/apps/Browser/AndroidManifest.xml > >> > > >> > <!-- For viewing saved web archives. --> > >> > <intent-filter> > >> > <action android:name="android.intent.action.VIEW" /> > >> > <category > >> > android:name="android.intent.category.BROWSABLE" > >> > /> > >> > <category > android:name="android.intent.category.DEFAULT" > >> > /> > >> > <data android:scheme="http" /> > >> > <data android:scheme="https" /> > >> > <data android:scheme="file" /> > >> > <data > android:mimeType="application/x-webarchive-xml"/> > >> > </intent-filter> > >> > > >> > So that command should be able to launch bbench in the browser from > the > >> > command line. I'll have more on this once I release ICS with bbench > >> > (possibly today, more likely tomorrow). > >> > > >> > -Tony > >> > > >> > _______________________________________________ > >> > gem5-users mailing list > >> > [email protected] > >> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > >> > >> Thanks for the input. I figured out your were "synchronizing" with > >> mkfifo. This seems to be the simplest way to connect the script to the > >> benchmark application. I'm not sure how to execute "m5 exit" from > >> within an application (.apk). From a compiled native (C) application > >> it would certainly be easy to execute arbitrary commands; however, > >> from inside the Android sandbox, I'm not sure if it is possible to > >> access commands like "ls/m5", etc... > >> > >> It will be good to have an ICS kernel/image, we've already started on > >> some Renderscript benchmarks. It would be nice to get those up and > >> running on gem5, to compare ndk/sdk/Renderscript performance > >> characteristics. > >> _______________________________________________ > >> 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 > > Awesome. Is this just the image, or will a *new* kernel follow? I'm > not sure if the kernel would need to be upgraded, but I think aosp 4.0 > is moving/moved to kernel 3.0. I don't know how that will affect gem5. > _______________________________________________ > 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
