Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | source <(bitbake -e gem5-aarch64-native | grep \ |
| 4 | -e "^STAGING_DATADIR_NATIVE=" -e "^DEPLOY_DIR_TOOLS=") |
| 5 | |
| 6 | # Used by baremetal_atp.py |
| 7 | export GEM5_DATADIR=${STAGING_DATADIR_NATIVE}/gem5 |
| 8 | export ATP_DATADIR=${STAGING_DATADIR_NATIVE}/gem5 |
| 9 | |
| 10 | # Fast-forward Linux boot and restore into timing simulation |
| 11 | ${DEPLOY_DIR_TOOLS}/start-gem5.sh --checkpoint $@ |
| 12 | ${DEPLOY_DIR_TOOLS}/start-gem5.sh --restore-with-cpu TimingSimpleCPU \ |
| 13 | --checkpoint-restore 1 $@ |