{"id":524,"date":"2024-05-07T20:50:50","date_gmt":"2024-05-07T12:50:50","guid":{"rendered":"https:\/\/wheatfox.dev\/?p=524"},"modified":"2024-05-07T20:55:24","modified_gmt":"2024-05-07T12:55:24","slug":"loongarch-linux-kvm-npucore-test","status":"publish","type":"post","link":"https:\/\/wheatfox.dev\/?p=524","title":{"rendered":"loongarch linux kvm NPUCore test"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><strong>loongarch linux version<\/strong><br>Linux dedsec7 6.8.0-4 #1 SMP PREEMPT Wed, 27 Mar 2024 01:16:09 +0000 loongarch64 GNU\/Linux<\/p>\n\n\n\n<p><strong>qemu-system-loongarch64 version<\/strong><br>[wheatfox@dedsec7 Documents]$ qemu-system-loongarch64 &#8211;version<br>QEMU emulator version 8.1.3<br>Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers<\/p>\n\n\n\n<p><strong>boot command<\/strong><br><code>qemu-system-loongarch64 -m 2G -cpu la464-loongarch-cpu -M virt -smp 1 -serial stdio -accel kvm -kernel NPUCore.elf -display none<\/code><\/p>\n\n\n\n<p><a href=\"https:\/\/bbs.loongarch.org\/d\/335-kvm\">https:\/\/bbs.loongarch.org\/d\/335-kvm<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-42-36-1024x576.png\" alt=\"\" class=\"wp-image-526\" srcset=\"https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-42-36-1024x576.png 1024w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-42-36-300x169.png 300w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-42-36-768x432.png 768w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-42-36-1536x864.png 1536w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-42-36.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">run script and NPUCore.elf<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-44-15-1024x576.png\" alt=\"\" class=\"wp-image-527\" srcset=\"https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-44-15-1024x576.png 1024w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-44-15-300x169.png 300w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-44-15-768x432.png 768w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-44-15-1536x864.png 1536w, https:\/\/wheatfox.dev\/wp-content\/uploads\/2024\/05\/Screenshot-at-2024-05-07-20-44-15.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">booted NPUCore in qemu-system-loongarch64 with kvm<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>loongarch linux versionLinux 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 &#8211;versionQEMU emulator version 8.1.3Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers boot commandqemu-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<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-524","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wheatfox.dev\/index.php?rest_route=\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wheatfox.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wheatfox.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wheatfox.dev\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wheatfox.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=524"}],"version-history":[{"count":12,"href":"https:\/\/wheatfox.dev\/index.php?rest_route=\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":539,"href":"https:\/\/wheatfox.dev\/index.php?rest_route=\/wp\/v2\/posts\/524\/revisions\/539"}],"wp:attachment":[{"href":"https:\/\/wheatfox.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wheatfox.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wheatfox.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}