aboutsummaryrefslogtreecommitdiff
path: root/scripts/wrapper/qemu
AgeCommit message (Collapse)AuthorFilesLines
2023-11-21Inject CPU options to spike run test from elf filePan Li1-2/+4
* Refactor CPU options for exacting common part between qemu and spike. * Inject CPU options to spike run command line. The below common CPU options are extracted to common part. * xlen * vlen * extensions The above CPU options will be leveraged to build the run arguments for both the qemu and spike, for example. QEMU: qemu-riscv64 -cpu rv64,v=true,vlen=1024,elen=64,vext_spec=v1.0 SPIKE: spike --isa=rv64imafdcv_zicsr_zifencei_zmmul --varch=vlen:1024,elen:64 Signed-off-by: Pan Li <pan2.li@intel.com>
2023-04-24Add --get-elf-class for march-to-cpu-optKito Cheng1-1/+1
2023-04-24Set qemu cpu option from ELF attributeKito Cheng1-1/+1
This could help multi-lib testing, but the price is slightly increase the testing time since it will need to extract ELF attribute from binary before running qemu. But I think the cost is acceptable compare to make build system more complicate, and actually we already use this approach in our internal stuffs for years.
2022-06-03Pass right extension info to qemuKito Cheng1-1/+1
- Parse that from `--with-arch=` option
2021-04-01Specify the kernel version for qemu user mode.Kito Cheng1-1/+1
- RV32 require 5.10 which is too new for most linux distro.
2017-09-13Allow tests to pass special QEMU argumentsPalmer Dabbelt1-1/+13
2017-08-20Link all the QEMU wrapper scripts togetherPalmer Dabbelt4-4/+6
2017-02-09Use qemu for check-gcc-newlibAndrew Waterman2-0/+2
gdb-sim accounted for nearly all test failures, so don't use it for now.
2016-09-29Add support for run testsuite with qemuKito Cheng2-0/+2