Hi, I'm such a new comer of gem5.
Sorry that I have little knowledge of gem5.
I'm trying to run my own apk file.
For that, I successfully put my apk file into /system/app directory.
But I faced a problem.

In my application, I put the
Runtime.getRuntime().exec("/sbin/m5 exit");
instruction to end the benchmark.
The application is simply HelloWorld app.

And I add the line below to /gem5/configs/common/Benchmarks.py like

'helloworld-gb':        [SysConfig('helloworld-gb.rcS', '256MB',

'ARMv7a-Gingerbread-Android.SMP.mouse.nolock.clean.img')]

And then I made the helloworld-gb.rcS file like.

run_hello_test() {
    am start -a android.intent.action.MAIN -n
com.example.helloworld/.MainActivity
    return
}
sleep 10
/sbin/m5 dumpstats
/sbin/m5 resetstats
run_hello_test

Finally, I ran the Android as instruction below
build/ARM/gem5.opt configs/example/fs.py -b helloworld-gb
--kernel=vmlinux.smp.mouse.arm

The booting was successful, but it only shows lockscreen.
Nothing happened and nothing recorded in stats.txt

Does anyone can help me to solve this problem?
How can I remove the lockscreen and run my own app in gem5?

Thank you for read my question, and I would appreciate if you help me.

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

Reply via email to