WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 2ee5aee

Browse files
committed
docs: 2.01.2510250-2
1 parent 6703186 commit 2ee5aee

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

CHANGELOG.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 2.01.2510250-2 / 2025-12-
1+
# 2.01.2510250-2 / 2025-12-05
22
- fix: 代码没有高亮
33
- fix: 云开发右键“删除记录”缺失 #155
44

test/qemu-loongarch64

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
#!/bin/bash
2-
# qemu
3-
docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
42

5-
docker run --rm -it \
6-
--name hello \
7-
-v $(pwd):/workspace \
8-
-w /workspace \
9-
--platform=linux/loong64 \
10-
ghcr.io/loong64/debian:trixie-slim \
11-
/bin/bash
3+
root_dir=$(cd `dirname $0`/.. && pwd -P)
4+
5+
efi_version="8.0"
6+
7+
qemu-system-loongarch64 \
8+
-m 4G \
9+
-cpu la464-loongarch-cpu \
10+
-machine virt \
11+
-smp 8 \
12+
-bios $root_dir/cache/QEMU_EFI.fd \
13+
-serial stdio \
14+
-device virtio-gpu-pci \
15+
-boot d \
16+
-net nic -net user \
17+
-device nec-usb-xhci,id=xhci,addr=0x1b \
18+
-device usb-tablet,id=tablet,bus=xhci.0,port=1 \
19+
-device usb-kbd,id=keyboard,bus=xhci.0,port=2 \
20+
-nic user,model=virtio-net-pci,hostfwd=tcp::5555-:22 \
21+
-virtfs local,path=$root_dir,mount_tag=host0,security_model=passthrough,id=host0 \
22+
-hda $root_dir/cache/archlinux.qcow2 \
23+
-cdrom $root_dir/cache/archlinux-loong64.iso

0 commit comments

Comments
 (0)