diff options
| author | Bernard Xiong <[email protected]> | 2017-12-05 20:17:55 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-12-05 20:17:55 +0800 |
| commit | 37c6eac27bbf8eb780b38419c761e95bf33424c2 (patch) | |
| tree | 2efe50b1d6933e8e696bbacb3907f7a08b7121aa | |
| parent | 9508b0e650531e8f1ffed1f11282b7365b2863f1 (diff) | |
[BSP] Update qemu nographic script
| -rwxr-xr-x[-rw-r--r--] | bsp/qemu-vexpress-a9/qemu-nographic.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/qemu-nographic.sh b/bsp/qemu-vexpress-a9/qemu-nographic.sh index bf808dead2..e5cac12517 100644..100755 --- a/bsp/qemu-vexpress-a9/qemu-nographic.sh +++ b/bsp/qemu-vexpress-a9/qemu-nographic.sh @@ -1 +1,6 @@ -qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -nographic +if [ ! -f "sd.bin" ]; then +dd if=/dev/zero of=sd.bin bs=64M count=1 +fi + +qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -nographic -sd sd.bin + |
