diff --git a/boards/firechip/base-workloads/fedora-base.json b/boards/firechip/base-workloads/fedora-base.json index 20d6168b..15f5921d 100644 --- a/boards/firechip/base-workloads/fedora-base.json +++ b/boards/firechip/base-workloads/fedora-base.json @@ -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"] + ] } diff --git a/boards/firechip/base-workloads/fedora-base/host-init.sh b/boards/firechip/base-workloads/fedora-base/host-init.sh new file mode 120000 index 00000000..427af7e3 --- /dev/null +++ b/boards/firechip/base-workloads/fedora-base/host-init.sh @@ -0,0 +1 @@ +../br-base/host-init.sh \ No newline at end of file diff --git a/boards/firechip/base-workloads/fedora-base/linux-config b/boards/firechip/base-workloads/fedora-base/linux-config index 27ba9a2a..2817478d 100644 --- a/boards/firechip/base-workloads/fedora-base/linux-config +++ b/boards/firechip/base-workloads/fedora-base/linux-config @@ -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 - diff --git a/boards/firechip/base-workloads/fedora-base/trigger b/boards/firechip/base-workloads/fedora-base/trigger new file mode 120000 index 00000000..43c6f625 --- /dev/null +++ b/boards/firechip/base-workloads/fedora-base/trigger @@ -0,0 +1 @@ +../br-base/trigger/ \ No newline at end of file diff --git a/boards/firechip/base-workloads/ubuntu-base.json b/boards/firechip/base-workloads/ubuntu-base.json index d903c5c1..3843e08c 100644 --- a/boards/firechip/base-workloads/ubuntu-base.json +++ b/boards/firechip/base-workloads/ubuntu-base.json @@ -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"] + ] } diff --git a/boards/firechip/base-workloads/ubuntu-base/host-init.sh b/boards/firechip/base-workloads/ubuntu-base/host-init.sh new file mode 120000 index 00000000..427af7e3 --- /dev/null +++ b/boards/firechip/base-workloads/ubuntu-base/host-init.sh @@ -0,0 +1 @@ +../br-base/host-init.sh \ No newline at end of file diff --git a/boards/firechip/base-workloads/ubuntu-base/linux-config b/boards/firechip/base-workloads/ubuntu-base/linux-config index f2e13180..bd276c0e 100644 --- a/boards/firechip/base-workloads/ubuntu-base/linux-config +++ b/boards/firechip/base-workloads/ubuntu-base/linux-config @@ -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 diff --git a/boards/firechip/base-workloads/ubuntu-base/trigger b/boards/firechip/base-workloads/ubuntu-base/trigger new file mode 120000 index 00000000..43c6f625 --- /dev/null +++ b/boards/firechip/base-workloads/ubuntu-base/trigger @@ -0,0 +1 @@ +../br-base/trigger/ \ No newline at end of file