mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
96a6179355
- Implementation of a gem5 device which allows simulated systems to be used in the place of a real device. Currently, only Android is supported. - The gem5 simulation is started automatically based on a command line passed in via the agenda. The correct telnet port to connect on is extracted from the standard error from the gem5 process. - Resuming from gem5 checkpoints is supported, and can be specified as part of the gem5 system description. Additionally, the agenda option checkpoint_post_boot can be used to create a checkpoint automatically once the system has booted. This can then by used for subsequent runs to avoid booting the system a second time. - The Gem5Device waits for Android to finish booting, before sending commands to the simulated device. Additionally, the device supports a sleep option, which will sleep in the simulated system for a number of seconds, prior to running the workload. This ensures that the system can quieten down, prior to running the workload. - The Gem5Device relies of VirtIO to pull files into the simulated environment, and therefire diod support is required on the host system. Additionally, VirtIO 9P support is required in the guest system kernel. - The m5 writefile binary and gem5 pseudo instruction are used to extract files from the simulated environment.