diff --git a/bsp/qemu-vexpress-a9/gdb.init b/bsp/qemu-vexpress-a9/gdb.init new file mode 100644 index 0000000000000000000000000000000000000000..b16f519fc68630344fcf9ff3405b4ac444410f78 --- /dev/null +++ b/bsp/qemu-vexpress-a9/gdb.init @@ -0,0 +1,3 @@ +target remote localhost:1234 +b *0x100010 +add-symbol-file ../../../userapps/gnu-apps/wget/wget-1.20/src/wget 0x100000 diff --git a/bsp/qemu-vexpress-a9/qemu-nographic.sh b/bsp/qemu-vexpress-a9/qemu-nographic.sh index 5519c6c2213e4e3168781cf11b2b2c227ce8d95e..646375faec4988383979281cb3b0487de6cbc59a 100755 --- a/bsp/qemu-vexpress-a9/qemu-nographic.sh +++ b/bsp/qemu-vexpress-a9/qemu-nographic.sh @@ -2,4 +2,8 @@ if [ ! -f "sd.bin" ]; then dd if=/dev/zero of=sd.bin bs=1024 count=65536 fi -qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -nographic -sd sd.bin +# for normal +#qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -nographic -sd sd.bin + +# for debug +qemu-system-arm -M vexpress-a9 -smp cpus=1 -kernel rtthread.bin -nographic -sd sd.bin -S -s