loongarch linux kvm NPUCore test

loongarch linux version
Linux dedsec7 6.8.0-4 #1 SMP PREEMPT Wed, 27 Mar 2024 01:16:09 +0000 loongarch64 GNU/Linux

qemu-system-loongarch64 version
[wheatfox@dedsec7 Documents]$ qemu-system-loongarch64 –version
QEMU emulator version 8.1.3
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

boot command
qemu-system-loongarch64 -m 2G -cpu la464-loongarch-cpu -M virt -smp 1 -serial stdio -accel kvm -kernel NPUCore.elf -display none

https://bbs.loongarch.org/d/335-kvm

run script and NPUCore.elf
booted NPUCore in qemu-system-loongarch64 with kvm

2023 – wheatfox © All Rights Reserved