Skip to content

Commit f6ef38c

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 d545576 commit f6ef38c

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
@@ -98,7 +98,7 @@ jobs:
9898
fi
9999
echo "which $qemucmd" > $SHOWQEMUSH
100100
echo "$qemucmd --version" >> $SHOWQEMUSH
101-
echo "$qemucmd -M nuclei_${SOC},download=flashxip -cpu nuclei-${CORE},ext=${ARCH_EXT}_svpbmt_zicbom_sstc -smp 8 -m 2g -bios freeloader_qemu.elf -nographic -drive file=disk.img,if=sd,format=raw" > $RUNQEMUSH
101+
echo "$qemucmd -M nuclei_${SOC},download=flashxip -cpu nuclei-${CORE},ext=${ARCH_EXT}_svpbmt_zicbom_sstc_sscofpmf -smp 8 -m 2g -bios freeloader_qemu.elf -nographic -drive file=disk.img,if=sd,format=raw" > $RUNQEMUSH
102102
chmod +x $RUNQEMUSH
103103
chmod +x $SHOWQEMUSH
104104
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 -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 -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
@@ -557,7 +557,7 @@ $(qemu_disk): $(boot_zip)
557557

558558
run_qemu: $(qemu_disk) $(freeloader_elf)
559559
@echo "Run on qemu for simulation"
560-
$(qemu) $(QEMU_MACHINE_OPTS) -cpu nuclei-$(CORE),ext=$(ARCH_EXT)_svpbmt_zicbom_sstc -bios $(freeloader_elf) -nographic -drive file=$(qemu_disk),if=sd,format=raw
560+
$(qemu) $(QEMU_MACHINE_OPTS) -cpu nuclei-$(CORE),ext=$(ARCH_EXT)_svpbmt_zicbom_sstc_sscofpmf -bios $(freeloader_elf) -nographic -drive file=$(qemu_disk),if=sd,format=raw
561561

562562
.PHONY: backup snapshot genstamp genboot
563563
# 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)