Por favor, defina sua variável de ambiente M5_PATH
usando o seguinte comando:
echo "export M5_PATH=/path/to/full_system_for_gem5/" >> ~/.bashrc
Ao dar o comando abaixo no diretório gem5
**build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/pradnya/full_system_images/aarch-system-2014-10/disks/aarch64-ubuntu-trusty-headless.img**
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Feb 17 2015 18:02:39
gem5 started Apr 4 2015 11:06:36
gem5 executing on ubuntu
command line: build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/pradnya/full_system_images/aarch-system-2014-10/disks/aarch64-ubuntu-trusty-headless.img
Traceback (most recent call last):
**File "<string>", line 1, in <module>
File "/home/pradnya/gem5/src/python/m5/main.py", line 388, in main
exec filecode in scope
File "configs/example/fs.py", line 326, in <module>
test_sys = build_test_system(np)
File "configs/example/fs.py", line 101, in build_test_system
cmdline=cmdline)
File "/home/pradnya/gem5/configs/common/FSConfig.py", line 272, in makeArmSystem
self.kernel = binary('vmlinux.aarch32.ll_20131205.0-gem5')
File "/home/pradnya/gem5/configs/common/SysPaths.py", line 49, in binary
return searchpath(binary.path, filename)
File "/home/pradnya/gem5/configs/common/SysPaths.py", line 41, in searchpath
raise IOError, "Can't find file '%s' on path." % filename
IOError: Can't find file 'vmlinux.aarch32.ll_20131205.0-gem5' on path**
Estou recebendo o erro acima. por favor me ajude com isso
Por favor, defina sua variável de ambiente M5_PATH
usando o seguinte comando:
echo "export M5_PATH=/path/to/full_system_for_gem5/" >> ~/.bashrc