I think I should also give some explanation as to what it's doing, for
future reference. The command line is using *am* (activity manager),
*start*is telling it to start an activity, and
*-n com.replica.replicaisland/.AndouKun *gives the name of the activity to
start (AndouKun). I modified the source of the AndouKun activity in the
Replica Island APK that is on the image to call m5 exit once that activity
hits a certain point. This basically sets up Replica Island to run its
intro animation then quit before it gets to the menu. I don't know how
interesting of a benchmark this is, but it was several years ago and I was
just trying to get some more apps to work on gem5.

Anthony Gutierrez
http://web.eecs.umich.edu/~atgutier


On Sun, Aug 11, 2013 at 6:14 PM, Xiangyang Guo <[email protected]> wrote:

> Anthony,
>
> Thank you so much.
>
>
> On Sun, Aug 11, 2013 at 6:09 PM, Anthony Gutierrez <[email protected]>wrote:
>
>> Here are the contents of the rcS for Replica Island I wrote:
>>
>> #!/bin/sh
>>
>> #Author: Anthony Gutierrez
>>
>>
>> sleep 10
>>
>> /sbin/m5 dumpstats
>> /sbin/m5 resetstats
>>
>> am start -n com.replica.replicaisland/.AndouKun
>>
>> /sbin/m5 exit
>>
>> I haven't tested it in a few years so I don't know if it still works, I'm
>> assuming it will. I could submit this as a patch, if the Replica Island APK
>> still works and more people are interested.
>>
>> Anthony Gutierrez
>> http://web.eecs.umich.edu/~atgutier
>>
>>
>> On Sun, Aug 11, 2013 at 9:38 AM, Xiangyang Guo <[email protected]> wrote:
>>
>>> Hi, All,
>>>
>>> I want to run some Android App on Gem5. I have download the apk file
>>> and put it into system/app ( the image is from gem5 website). But I cannot
>>> figure out how to write an rcS. file to make the app run automatically.
>>> So I really appreciate it if you could give me some advices. Thanks very
>>> much.
>>>
>>> By the way, I see the ReplicaIsland.apk is in system/app, but where
>>> could I find the rcS. file to make it run automatically? Thanks very
>>> much.
>>>
>>> Regards
>>>
>>> Xiangyang
>>>
>>> _______________________________________________
>>> 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
>>
>
>
> _______________________________________________
> 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