Skip to content

Commit d15967b

Browse files
committed
conf/evalsoc: update dts for nuclei pmu version 2
Now we support pmu v2 in perf tool, and perf rv32 tool is also supported, see #26 Signed-off-by: Huaqi Fang <[email protected]>
1 parent 578d889 commit d15967b

File tree

7 files changed

+921
-127
lines changed

7 files changed

+921
-127
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
if [[ $CORE == *fd* ]] ; then
102102
ARCH_EXT=v
103103
fi
104-
echo "$qemucmd -M nuclei_${SOC},download=flashxip -cpu nuclei-${CORE},ext=${ARCH_EXT}_svpbmt_zicbom_sstc,h=true -smp 8 -m 2g -bios freeloader_qemu.elf -nographic -drive file=disk.img,if=sd,format=raw" > $RUNQEMUSH
104+
echo "$qemucmd -M nuclei_${SOC},download=flashxip -cpu nuclei-${CORE},ext=${ARCH_EXT}_svpbmt_zicbom_sstc_sscofpmf,h=true -smp 8 -m 2g -bios freeloader_qemu.elf -nographic -drive file=disk.img,if=sd,format=raw" > $RUNQEMUSH
105105
chmod +x $RUNQEMUSH
106106
chmod +x $SHOWQEMUSH
107107
unset TIMER_HZ

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ cache:
149149
fi
150150
echo "which $qemucmd" > $SHOWQEMUSH
151151
echo "$qemucmd --version" >> $SHOWQEMUSH
152-
echo "$qemucmd -M nuclei_${SOC},download=flashxip -cpu nuclei-${CORE},ext=${ARCH_EXT}_svpbmt_zicbom_sstc,h=true -smp 8 -m 2g -bios freeloader_qemu.elf -nographic -drive file=disk.img,if=sd,format=raw" > $RUNQEMUSH
152+
echo "$qemucmd -M nuclei_${SOC},download=flashxip -cpu nuclei-${CORE},ext=${ARCH_EXT}_svpbmt_zicbom_sstc_sscofpmf,h=true -smp 8 -m 2g -bios freeloader_qemu.elf -nographic -drive file=disk.img,if=sd,format=raw" > $RUNQEMUSH
153153
chmod +x $RUNQEMUSH
154154
chmod +x $SHOWQEMUSH
155155
- |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ $(qemu_disk): $(boot_zip)
562562

563563
run_qemu: $(qemu_disk) $(freeloader_elf)
564564
@echo "Run on qemu for simulation"
565-
$(qemu) $(QEMU_MACHINE_OPTS) -cpu nuclei-$(CORE),ext=$(ARCH_EXT)_svpbmt_zicbom_sstc,h=true -bios $(freeloader_elf) -nographic -drive file=$(qemu_disk),if=sd,format=raw
565+
$(qemu) $(QEMU_MACHINE_OPTS) -cpu nuclei-$(CORE),ext=$(ARCH_EXT)_svpbmt_zicbom_sstc_sscofpmf,h=true -bios $(freeloader_elf) -nographic -drive file=$(qemu_disk),if=sd,format=raw
566566

567567
.PHONY: backup snapshot genstamp genboot
568568
# backup your build

conf/evalsoc/nuclei_rv32imac.dts

Lines changed: 254 additions & 8 deletions
Large diffs are not rendered by default.

conf/evalsoc/nuclei_rv32imafdc.dts

Lines changed: 254 additions & 8 deletions
Large diffs are not rendered by default.

conf/evalsoc/nuclei_rv64imac.dts

Lines changed: 205 additions & 54 deletions
Large diffs are not rendered by default.

conf/evalsoc/nuclei_rv64imafdc.dts

Lines changed: 205 additions & 54 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)