Hi, 
If you want to run a binary that is inside the Linux image, then fs.py has a 
--script flag, which you can use. It allows you to pass a .rcS script to be 
read inside FS simulation through the /sbin/m5_readfile, which you can redirect 
to a local file (inside the simulation) and then execute. The script can then 
call your application. The gem5/configs/boot/ folder contains some .rcS scripts 
if you want to check out.

The /init.gem5 scripts inside the guest binaries 
(https://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries) - 
which is executed in the end of the boot - exemplify how these scripts can be 
read and used. Your image seems to be a different one so you might have to 
adapt to your case.

Also, I asked a similar question not long ago, which might help you:  
https://www.mail-archive.com/[email protected]/msg19180.html

Cheers, 
Pedro.
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to