Skip to content

Commit 13bc12f

Browse files
author
dongyongtao
committed
ci: show qemu version when make run_qemu and add zba_zbb_zbc_zbs_zicon to qemu ext flags
Signed-off-by: dongyongtao <[email protected]>
1 parent d15967b commit 13bc12f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
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_sscofpmf,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_zba_zbb_zbc_zbs_zicond,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_sscofpmf,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_zba_zbb_zbc_zbs_zicond,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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,8 @@ $(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_sscofpmf,h=true -bios $(freeloader_elf) -nographic -drive file=$(qemu_disk),if=sd,format=raw
565+
$(qemu) --version
566+
$(qemu) $(QEMU_MACHINE_OPTS) -cpu nuclei-$(CORE),ext=$(ARCH_EXT)_svpbmt_zicbom_sstc_sscofpmf_zba_zbb_zbc_zbs_zicond,h=true -bios $(freeloader_elf) -nographic -drive file=$(qemu_disk),if=sd,format=raw
566567

567568
.PHONY: backup snapshot genstamp genboot
568569
# backup your build

0 commit comments

Comments
 (0)