Hi, 

        The problem is caused because the background services of Android are
not successfully loaded. You should wait a certain time before executing
android applications.

Best regards,
Yongbing Huang

-----Original Message-----
From: gem5-users [mailto:[email protected]] On Behalf Of senni
sophiane via gem5-users
Sent: Wednesday, October 15, 2014 10:46 PM
To: gem5 users mailing list
Subject: [gem5-users] Problem to run Asimbench

Hi all,

I have downloaded the Full System Android files for AsimBench and I followed
the instructions and modified the FSConfig.py file as shown in the wiki.
I launched a simulation in FS mode with atomic cpu and using m5term just to
check if the apps of Asimbench run correctly.
It seems the kernel booted correctly.
Then I used the command lines in the provided rcS files to run some apps :

root@android:/ # am start -W
com.fsck.k9/com.fsck.k9.activity.Accounts    (for k9mail benhcmark)
root@android:/ # am start -n
com.adobe.reader/com.adobe.reader.AdobeReader
file:///mnt/sdcard/app_data/IISWC-2011.pdf    (for adobe benchmark)

However, I am getting the following message for both commands:

Error type 2
android.util.AndroidException: Can't connect to activity manager; is the
system running?
    at com.android.commands.am.Am.run(Am.java:99)
    at com.android.commands.am.Am.main(Am.java:80)
    at com.android.internal.os.RuntimeInit.finishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:238)
    at dalvik.system.NativeStart.main(Native Method)


Has anyone faced to the same issue ? Or does someone managed to run
AsimBench in gem5 ? Maybe I am missing something ?

The command I used in gem5 :

build/ARM/gem5.opt configs/example/fs.py
--kernel=/dist/m5/system/binaries/vmlinux.smp.ics.arm.asimbench.2.6.35
--disk-image=/dist/m5/system/disks/ARMv7a-ICS-Android.SMP.Asimbench-v3.img
--mem-size=256MB


Thanks for your help.

--
Cordialement / Best Regards

SENNI Sophiane
Ph.D. candidate - Microelectronics
LIRMM - www.lirmm.fr

_______________________________________________
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