Skip to content

Commit 66210dc

Browse files
committed
✨ feat(prebuilt/qemu-virt64-aarch64): update qemu-virt64-aarch64
1 parent 9741204 commit 66210dc

3 files changed

Lines changed: 28 additions & 1 deletion

File tree

11.1 KB
Binary file not shown.

prebuilt/qemu-virt64-aarch64/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ qemu-system-aarch64 \
1515
-M virt,gic-version=2 \
1616
-cpu cortex-a53 \
1717
-m 128M \
18-
-smp 4 \
1918
-kernel ${script_dir}/rtthread.bin \
2019
-nographic \
2120
-drive if=none,file=${script_dir}/ext4.img,format=raw,id=blk0 \
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
3+
# @author zhouquan
4+
# @file run.sh
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# ------------ ---------- -----------------------------------------------
9+
# 2023-01-12 zhouquan initial version
10+
#
11+
12+
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
13+
14+
qemu-system-aarch64 \
15+
-M virt,gic-version=2 \
16+
-cpu cortex-a53 \
17+
-m 128M \
18+
-kernel ${script_dir}/rtthread.bin \
19+
-nographic \
20+
-drive if=none,file=${script_dir}/ext4.img,format=raw,id=blk0 \
21+
-device virtio-blk-device,drive=blk0,bus=virtio-mmio-bus.0 \
22+
-netdev user,id=net0,hostfwd=tcp::8080-:80 \
23+
-device virtio-net-device,netdev=net0,bus=virtio-mmio-bus.1 \
24+
-device virtio-serial-device \
25+
-chardev socket,host=127.0.0.1,port=43211,server=on,wait=off,telnet=on,id=console0 \
26+
-device virtserialport,chardev=console0 \
27+
-S \
28+
-gdb tcp::1234

0 commit comments

Comments
 (0)