Hi, I'm Joosung Lee.
I'm sorry for bothering you to send a similar mail.
But I'm eagerly wanna know about the way to port my own app on the gem5.
I'm trying to run my own application on Android Gingerbread with gem5.

I mounted ARMv7a-Gingerbread-Android.SMP.mouse.nolock.clean.img and put my
apk file in the /mounted-directory/system/app directory.
And then, I added some lines to Benchmarks.py file in
/gem5-directory/configs/common/ as below.
'helloworld-gb':        [SysConfig('helloworld-gb.rcS', '256MB',

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

After that, I made some rcS fils in the /gem5-directory/configs/boot/
directory.
Which is helloworld-gb.rcS, as below.

run_hello_test() {
    am start -a android.intent.action.MAIN -n
com.example.helloworld/com.example.helloworld.MainActivity
    return
}

sleep 10
/sbin/m5 dumpstats
/sbin/m5 resetstats
run_hello_test

Finally, I typed build/ARM/gem5.opt configs/example/fs.py -b helloworld-gb
--kernel=vmlinux.smp.mouse.arm to run.
However after booting done, nothing happened but only shows screen lock.
I thought it's weird because the OS which with BBench were not showed
screen lock.
So I modified Benchmarks.py again as
'helloworld-gb':        [SysConfig('helloworld-gb.rcS', '256MB',

'ARMv7a-Gingerbread-Android.SMP.mouse.nolock.img')],
to use the non-clean version OS.
But it only shows the web browser.

What can I do to remove the screen lock and run my own application on clean
version OS?
Or what can I do to run my own application on non-clean version? (How can
modify it to not showing web browser?)

Please help me...
sorry for my poor English...
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to