Skip to content

Commit c0dabc2

Browse files
committed
ci: try to fix qemu run ci in gitlab
Signed-off-by: Huaqi Fang <[email protected]>
1 parent 47d1deb commit c0dabc2

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ jobs:
9898
fi
9999
echo "which $qemucmd" > $SHOWQEMUSH
100100
echo "$qemucmd --version" >> $SHOWQEMUSH
101+
if [[ $CORE == *fd* ]] ; then
102+
ARCH_EXT=v
103+
fi
101104
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
102105
chmod +x $RUNQEMUSH
103106
chmod +x $SHOWQEMUSH

.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ build_ux900fd_flash:
415415
variables:
416416
SOC: "evalsoc"
417417
CORE: "ux900fd"
418-
ARCH_EXT: ""
418+
ARCH_EXT: "v"
419419
BOOT_MODE: "flash"
420420
parallel:
421421
matrix:
@@ -430,7 +430,7 @@ build_ux900fd_sd:
430430
variables:
431431
SOC: "evalsoc"
432432
CORE: "ux900fd"
433-
ARCH_EXT: ""
433+
ARCH_EXT: "v"
434434
BOOT_MODE: "sd"
435435
parallel:
436436
matrix:
@@ -445,7 +445,7 @@ build_ux900fd_sd_manual:
445445
variables:
446446
SOC: "evalsoc"
447447
CORE: "ux900fd"
448-
ARCH_EXT: ""
448+
ARCH_EXT: "v"
449449
BOOT_MODE: "sd"
450450
<<: *build_linux_sdk_manual_job_def
451451

@@ -457,7 +457,7 @@ build_ux900fd_flash_manual:
457457
variables:
458458
SOC: "evalsoc"
459459
CORE: "ux900fd"
460-
ARCH_EXT: ""
460+
ARCH_EXT: "v"
461461
BOOT_MODE: "flash"
462462
<<: *build_linux_sdk_manual_job_def
463463

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ opensbi_sim: $(opensbi_payload)
546546

547547
# Deprecated, internal usage for xlspike
548548
sim: $(opensbi_payload)
549-
$(xlspike) --isa=$(ISA) $(opensbi_payload)
549+
# ERROR: bad --isa option 'rv64imafdcv_svpbmt_zicbom_sstc'. unsupported extension: sstc
550+
$(xlspike) --isa=$(ISA)$(ARCH_EXT)_svpbmt_zicbom $(opensbi_payload)
550551

551552
.PHONY: gendisk run_qemu
552553

0 commit comments

Comments
 (0)