web-dev-qa-db-ja.com

フルシステムモードでのgem 5のインストール中のエラー

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**

上記のエラーが表示されます。私を助けてください

3
Pradnya Ingole

次のコマンドを使用して、M5_PATH環境変数を設定してください。

echo "export M5_PATH=/path/to/full_system_for_gem­5/" >> ~/.bashrc
1
tod