Skip to content

Commit

Permalink
Merge pull request #301 from firesim/misc-fixes
Browse files Browse the repository at this point in the history
`rdcycle` fix for Ubuntu/Fedora + Add TracerV triggers
  • Loading branch information
abejgonzalez authored Apr 22, 2024
2 parents 55aa37e + c15ff77 commit 4f7ac3e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion boards/firechip/base-workloads/fedora-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,10 @@
},
"firmware" : {
"opensbi-src" : "../../firmware/opensbi"
}
},
"host-init" : "host-init.sh",
"files" : [
[ "trigger/start", "/usr/bin/firesim-start-trigger"],
[ "trigger/end", "/usr/bin/firesim-end-trigger"]
]
}
1 change: 1 addition & 0 deletions boards/firechip/base-workloads/fedora-base/host-init.sh
2 changes: 1 addition & 1 deletion boards/firechip/base-workloads/fedora-base/linux-config
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ CONFIG_RISCV_ROCC=y
CONFIG_STACKPROTECTOR_PER_TASK=y
CONFIG_TOOLCHAIN_HAS_ZICBOM=y
CONFIG_TOOLCHAIN_HAS_ZIHINTPAUSE=y
# CONFIG_RISCV_PMU is not set
CONFIG_OVERRIDE_RNG_ENTROPY=y
CONFIG_OVERRIDE_RNG_ENTROPY_VALUE=256

1 change: 1 addition & 0 deletions boards/firechip/base-workloads/fedora-base/trigger
7 changes: 6 additions & 1 deletion boards/firechip/base-workloads/ubuntu-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@
},
"firmware" : {
"opensbi-src" : "../../firmware/opensbi"
}
},
"host-init" : "host-init.sh",
"files" : [
[ "trigger/start", "/usr/bin/firesim-start-trigger"],
[ "trigger/end", "/usr/bin/firesim-end-trigger"]
]
}
1 change: 1 addition & 0 deletions boards/firechip/base-workloads/ubuntu-base/host-init.sh
1 change: 1 addition & 0 deletions boards/firechip/base-workloads/ubuntu-base/linux-config
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ CONFIG_RISCV_ROCC=y
CONFIG_STACKPROTECTOR_PER_TASK=y
CONFIG_TOOLCHAIN_HAS_ZICBOM=y
CONFIG_TOOLCHAIN_HAS_ZIHINTPAUSE=y
# CONFIG_RISCV_PMU is not set
CONFIG_BLK_DEV_DM=y
CONFIG_DM_MULTIPATH=y
CONFIG_OVERRIDE_RNG_ENTROPY=y
Expand Down
1 change: 1 addition & 0 deletions boards/firechip/base-workloads/ubuntu-base/trigger

0 comments on commit 4f7ac3e

Please sign in to comment.