Difference between revisions of "User talk:Ghaddab"

From gem5
Jump to: navigation, search
(Adding files to disk image)
 
(Blanked the page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
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
 

Latest revision as of 11:14, 13 March 2012