Hello,

I am new to gem5 and just following the official tutorial at
https://www.gem5.org/documentation/learning_gem5/part1/extending_configs .

The tutorial mentions to run bigLittle in FS mode with:

./build/ARM/gem5.opt configs/example/arm/fs_bigLITTLE.py \
    --caches \
    --bootloader="$IMG_ROOT/binaries/<bootloader-name>" \
    --kernel="$IMG_ROOT/binaries/<kernel-name>" \
    --disk="$IMG_ROOT/disks/<disk-image-name>" \
    --bootscript=path/to/bootscript.rcS

but doesn't mention which bootscript to use.

When running it without a bootscript file:

./build/ARM/gem5.opt configs/example/arm/fs_bigLITTLE.py --caches \
--bootloader fs_images/aarch-system-20220707/binaries/boot.arm \
--kernel fs_images/aarch-system-20220707/binaries/vmlinux.arm \
--disk fs_images/aarch-system-20220707/disks/m5_exit.squashfs.arm

I get the error message:

AttributeError: Class HPI_BP has no parameter 'BTBEntries'

At:
  src/python/m5/SimObject.py(416): __setattr__
  src/python/m5/SimObject.py(301): __init__
  /home/diamantis/Desktop/gem5/configs/common/cores/arm/HPI.py(1682): <module>
  <frozen importlib._bootstrap>(241): _call_with_frames_removed
  <frozen importlib._bootstrap_external>(883): exec_module
  <frozen importlib._bootstrap>(703): _load_unlocked
  <frozen importlib._bootstrap>(1006): _find_and_load_unlocked
  <frozen importlib._bootstrap>(1027): _find_and_load
  <frozen importlib._bootstrap>(1050): _gcd_import
  /usr/lib/python3.10/importlib/__init__.py(126): import_module
  /home/diamantis/Desktop/gem5/configs/common/cores/arm/__init__.py(44):
<module>
  <frozen importlib._bootstrap>(241): _call_with_frames_removed
  <frozen importlib._bootstrap_external>(883): exec_module
  <frozen importlib._bootstrap>(703): _load_unlocked
  <frozen importlib._bootstrap>(1006): _find_and_load_unlocked
  <frozen importlib._bootstrap>(1027): _find_and_load
  <frozen importlib._bootstrap>(1050): _gcd_import
  /usr/lib/python3.10/importlib/__init__.py(126): import_module
  /home/diamantis/Desktop/gem5/configs/common/ObjectList.py(148): _add_objects
  /home/diamantis/Desktop/gem5/configs/common/ObjectList.py(115): __init__
  /home/diamantis/Desktop/gem5/configs/common/ObjectList.py(176): <module>
  <frozen importlib._bootstrap>(241): _call_with_frames_removed
  <frozen importlib._bootstrap_external>(883): exec_module
  <frozen importlib._bootstrap>(703): _load_unlocked
  <frozen importlib._bootstrap>(1006): _find_and_load_unlocked
  <frozen importlib._bootstrap>(1027): _find_and_load
  <frozen importlib._bootstrap>(241): _call_with_frames_removed
  <frozen importlib._bootstrap>(1079): _handle_fromlist
  /home/diamantis/Desktop/gem5/configs/common/FSConfig.py(46): <module>
  <frozen importlib._bootstrap>(241): _call_with_frames_removed
  <frozen importlib._bootstrap_external>(883): exec_module
  <frozen importlib._bootstrap>(703): _load_unlocked
  <frozen importlib._bootstrap>(1006): _find_and_load_unlocked
  <frozen importlib._bootstrap>(1027): _find_and_load
  <frozen importlib._bootstrap>(241): _call_with_frames_removed
  <frozen importlib._bootstrap>(1079): _handle_fromlist
  configs/example/arm/fs_bigLITTLE.py(48): <module>
  src/python/m5/main.py(669): main

If you have any insights about it, I would be thankful.

Cheers
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to