mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
changed QEMU to use different ports
This commit is contained in:
parent
99587f58f7
commit
64d22753b5
@ -1,5 +1,5 @@
|
|||||||
set pagination off
|
set pagination off
|
||||||
target extended-remote :1234
|
target extended-remote :1235
|
||||||
set logging overwrite on
|
set logging overwrite on
|
||||||
set logging redirect on
|
set logging redirect on
|
||||||
printf "Creating bootmemGDB.txt\n"
|
printf "Creating bootmemGDB.txt\n"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
customQemu="/courses/e190ax/qemu_sim/rv64_initrd/qemu_experimental/qemu/build/qemu-system-riscv64"
|
customQemu="/courses/e190ax/qemu_sim/rv64_initrd/qemu_experimental/qemu/build/qemu-system-riscv64"
|
||||||
imageDir="../buildroot-image-output"
|
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 -s -S 2>/dev/null >/dev/null) &
|
($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
|
riscv64-unknown-elf-gdb -x gdbinit_mem
|
||||||
echo "Translating Mem from GDB to Questa format"
|
echo "Translating Mem from GDB to Questa format"
|
||||||
./fix_mem.py
|
./fix_mem.py
|
||||||
|
Loading…
Reference in New Issue
Block a user