You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Ciro,
You are probably experiencing this problem because the simulated CPU enters a wait state (e.g. via WFI/WFE on Arm) but without any simulated (or otherwise, i.e. user provided) I/O activity, no event ever gets scheduled and time immediately proceeds to its maximum value, resulting in this message.
To avoid this, you need to activate time_sync_enable on the Root object (see src/sim/Root.py:73-75). You will find that this can be enabled using the --timesync argument to fs.py.
@cdunham thanks for the tip, if I pass --timesync it does not exit anymore with limit reached but rather appears to hang without any output on terminal. Let me know if you manage to reproduce, or have a working aarch64 setup.
https://www.mail-archive.com/[email protected]/msg15539.html
I had both aarch64 and arm working with --dtb-file using: https://github.com/cirosantilli/linux-kernel-module-cheat/tree/0678bd82ac61f0decce3480fef798bd5edbfd0c3#gem5
But now I've learnt about the awesome --generate-dtb option, which would make my setup simpler, and I'd like to use it.
If I replace my --dtb-file with --generate-dtb on an arm simulation, it all worked fine and Linux booted.
However, for a very analogous boot of aarch64 nothing shows on the terminal and gem5 exits with an error.
gem5 revision: 49f96e7b77925837aa5bc84d4c3453ab5f07408e (current master)
full gem5 command line:
It boots correctly however I use instead of --generate-dtb:
Error message:
The text was updated successfully, but these errors were encountered: