Hi Navid al Mustafa
run
sudo gedit .bashrcand then add the path of your image and disks
export M5_PATH=/home/path/to/full-system-images/
Best
---------------------------------------------------------------Babak Aghaei
Ph.D candidate
From: Naveed Ul Mustafa via gem5-users <[email protected]>
To: [email protected]
Sent: Saturday, November 1, 2014 5:38 AM
Subject: [gem5-users] adding a file to disk image using mount
Hi all,
I add my executable file (queens8_obj) to the disk image by following the
tutorial available at folowing link.
http://www.youtube.com/watch?v=OXH1oxQbuHA
queens8_obj file is located in image at /root/queens8_obj
After that when I run following command
build/ARM/gem5.opt configs/example/fs.py --mem-size=256MB
--script=/home/naveed/Desktop/gem5-dev/configs/boot/queens.rcs
I get following error in m5terminal, which I run with command ./m5term
139.179.50.188 3456
Errors in m5term is
/tmp/script: line 9: /root/queens8_obj: not found
HOWEVER, if I recompile the image with following command
build/ARM/gem5.opt configs/example/fs.py --mem-size=256MB
--disk-image=/home/naveed/Desktop/gem5-dev/full_system_images/disks/arm-ubuntu-natty-headless.img
then executable file runs successfully on m5term.
Does this mean that I NEED TO RECOMPİLE IMAGE EVERY TİME I ADD A FILE TO
İT? If yes, this is time taking process. Is there any better, time saving
way?
Best Regards.
Naveed Ul Mustafa
_______________________________________________
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