: Re: [gem5-users] Error while running Gem5 simulation from a Java program.
Hi Todd,
Apologies on that useless post..
So I tried reproducing the results that you obtained, and sure enough,
command line: build/ARM/gem5.opt configs/example/fs.py --kernel=/home/guru/gem5/
kernel/linux-3.3-armdroid/vmlinux --disk-image=/home/guru/gem5/gem5-stable/syste
m/disks/android_jb_tiny_4.1.1_r4.img --mem-size=128MB --mem-type=ddr3_1600_x64 -
-caches --l2cache --machine-type=VExpress_EMM --cpu-clock=1GHz --scaling-mode=de
coupled --cpu-type=atomic
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/guru/gem5/gem5-git/src/python/m5/main.py", line 387, in main
exec filecode in scope
File "configs/example/fs.py", line 108, in <module>
bm[0] = SysConfig(disk=bm[0].disk(), mem=options.mem_size,
File "/home/guru/gem5/gem5-git/configs/common/Benchmarks.py", line 53, in disk
return disk(self.diskname)
File "/home/guru/gem5/gem5-git/configs/common/SysPaths.py", line 37, in disk
system()
File "/home/guru/gem5/gem5-git/configs/common/SysPaths.py", line 59, in system
raise ImportError, "Can't find a path to system files."
ImportError: Can't find a path to system files.
The paths are perfectly valid and run before I did `unset M5_PATH`
I also tried the following.
export M5_PATH=/home/
and in this case, I ended up with
fatal: Could not read bootloader: /home/binaries/boot_emm.arm
@ cycle 40050496
[ArmSystem:build/ARM/arch/arm/system.cc, line 62]
Memory Usage: 40050496 KBytes
Therefore, it looks like M5_PATH is necessary to be able to reference the 'system/binaries' directory
Regards
Guru