mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-26 22:44:28 +00:00
8 lines
486 B
Bash
Executable File
8 lines
486 B
Bash
Executable File
customQemu="/courses/e190ax/qemu_sim/rv64_initrd/qemu_experimental/qemu/build/qemu-system-riscv64"
|
|
imageDir="../buildroot-image-output"
|
|
($customQemu -M virt -nographic -bios $imageDir/fw_jump.elf -kernel $imageDir/Image -append "root=/dev/vda ro" -initrd $imageDir/rootfs.cpio -d nochain,cpu,in_asm -serial /dev/null -singlestep -gdb tcp::1235 -S 2>/dev/null >/dev/null) &
|
|
riscv64-unknown-elf-gdb -x gdbinit_mem
|
|
echo "Translating Mem from GDB to Questa format"
|
|
./fix_mem.py
|
|
echo "Done"
|