mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 07:13:30 +08:00
[BSP][QEMU]fix run error on mac add dbg.sh on linux
This commit is contained in:
parent
0f3820f1b6
commit
eead9cbd63
6
bsp/qemu-vexpress-a9/qemu-dbg.sh
Executable file
6
bsp/qemu-vexpress-a9/qemu-dbg.sh
Executable file
@ -0,0 +1,6 @@
|
||||
if [ ! -f "sd.bin" ]; then
|
||||
dd if=/dev/zero of=sd.bin bs=1024 count=65536
|
||||
fi
|
||||
|
||||
|
||||
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial vc -serial vc -sd sd.bin -S -s
|
@ -1,5 +1,5 @@
|
||||
if [ ! -f "sd.bin" ]; then
|
||||
dd if=/dev/zero of=sd.bin bs=64M count=1
|
||||
dd if=/dev/zero of=sd.bin bs=1024 count=65536
|
||||
fi
|
||||
|
||||
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -nographic -sd sd.bin -net nic -net tap
|
||||
|
@ -1,5 +1,5 @@
|
||||
if [ ! -f "sd.bin" ]; then
|
||||
dd if=/dev/zero of=sd.bin bs=64M count=1
|
||||
dd if=/dev/zero of=sd.bin bs=1024 count=65536
|
||||
fi
|
||||
|
||||
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial stdio -sd sd.bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user