Hi Guru,

Can you compile the m5 binary in the util/m5 directory, but in on the disk 
image and check if it works? Perhaps you’re using an older version of the 
binary because it does work for me and the addresses  you print below aren’t 
valid addresses for ARM.

Thanks,
Ali

On Oct 29, 2013, at 4:41 AM, Guru Prasad <[email protected]> wrote:

> Hi,
> 
> I've never managed to get m5 writefile to work (ARM). I saw that there
> have been some recent changes with respect to m5 and so, I recently
> updated my gem5 repository to 9945:cd0a9c975c8c.
> 
> However, in this revision, it seems to me that m5 readfile doesn't work 
> either.
> There is no error however, it just returns with no data.
> 
> While using m5 writefile /init.rc, these are the errors that I obtain.
> 
> command line: build/ARM/gem5.opt
> --outdir=m5out/platform_tests/4.2.1_eng/ configs/example/fs.py -b
> bbench-ics --kernel /home/guru/gem5/kernel/linux-3.3-armdroid/vmlinux
> --disk-image /home/guru/gem5/gem5-dev/system/disks/android_jb_tiny.img
> --machine-type=VExpress_EMM --mem-type=ddr3_1600_x64 --cpu-type=atomic
> --num-cpus=1 --cpu-clock=200MHz
> 
> warn: Unable to translate virtual address: 0x7ee6fcd000000000
> warn: Device system.membus.badaddr_responder accessed by read to
> address 0xffffffffffffffff size=1
> warn: Unable to translate virtual address: 0x7ee6fcd000000001
> warn: Device system.membus.badaddr_responder accessed by read to
> address 0xffffffffffffffff size=1
> warn: Unable to translate virtual address: 0x7ee6fcd000000002
> warn: Device system.membus.badaddr_responder accessed by read to
> address 0xffffffffffffffff size=1
> warn: Unable to translate virtual address: 0x7ee6fcd000000003
> warn: Device system.membus.badaddr_responder accessed by read to
> address 0xffffffffffffffff size=1
> warn: Unable to translate virtual address: 0x7ee6fcd000000004
> warn: Device system.membus.badaddr_responder accessed by read to
> address 0xffffffffffffffff size=1
> fatal: Cannot open file m5out/platform_tests/4.2.1_eng/\ufffd)
> @ cycle 598924
> [openFile:build/ARM/base/output.cc, line 91]
> Memory Usage: 598924 KBytes
> _______________________________________________
> 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

Reply via email to