Difference between revisions of "User talk:Ghaddab"

From gem5
Jump to: navigation, search
(Adding files to disk image)
(No difference)

Revision as of 11:43, 9 March 2012

Hi ,

i try to run my cross-compiled program in FS mode, so i need to add the hello binary of the program into the disk image

mkdir /home/ghaddab/disk_image

sudo /bin/mount -o loop,offset=32256 /home/ghaddab/m5_system_2.0b3/disks/linux-latest.img /home/ghaddab/disk_image

sudo cp /home/ghaddab/hello /home/ghaddab/disk_image/benchmarks/

sudo umount /home/ghaddab/disk_image


but when i use m5term in FS mode to run the hello binary /benchmarks/hello

i get this error bash: /benchmarks/hello: No such file or directory

please tell me how can i fixe it to make it run? thank you