吴小白 一个简单的方法是用qemu-system-loongarch64跑一个archlinux loong64,在arch上debootstrap构建即可,原因是debian12的debootstrap版本不够,不低于131版本就行,感谢TG Loongson社区,附一个我自己用的
"c:\Program Files\qemu\qemu-system-loongarch64.exe" \
-m 4G
-cpu la464-loongarch-cpu \
-machine virt \
-smp 4 \
-bios ./QEMU_EFI_8.0.fd \
-serial stdio \
-device virtio-gpu-pci \
-net nic \
-net user \
-device nec-usb-xhci,id=xhci,addr=0x1b \
-device usb-tablet,id=tablet,bus=xhci.0,port=1 \
-device usb-kbd,id=keyboard,bus=xhci.0,port=2 \
-hda archlinux-minimal-2023.05.10-loong64.qcow2
Arch:
pacman -Syyu
pacman -Sy debootstrap debian-ports-archive-keyring debian-archive-keyring vim
debootstrap \
--verbose \
--keyring=/etc/apt/trusted.gpg.d/debian-ports-archive-2023.gpg \
--include=debian-ports-archive-keying,ca-certificates,apt-transport-https \
--arch=loong64 \
--variant=minbase \
--components=main,non-free,contrib,non-free-firmware \
--extra-suites=unreleased \
unstable \
debian_unstable_loong64 \
https://mirror.sjtu.edu.cn/debian-ports/ \
unstable