代码拉取完成,页面将自动刷新
NEMU(NJU Emulator) is a simple but complete full-system emulator designed for teaching purpose. Currently it supports x86, mips32, and riscv32. To build programs run above NEMU, refer to the AM project.
The main features of NEMU include
All steps below use source code in RISCVERS
vmlinux
to binary format using objcopy
.build_linux.sh
where vmlinux and dtb path may need a modification. dtb can be compiled with dts files located in dts
subdirectory of OpenSBI.src/devices/sdcard.c
to boot Debian or Fedora.fw_payload.bin
generated by OpenSBI. e.g. ./build/riscv64-nemu-interpreter ~/Xiangshan_Linux/opensbi/build/platform/generic/firmware/fw_payload.bin
vmlinux
with initramfs, you will likely be greeted with a Hello
, otherwise you may see startup logs and finally a login prompt from Debian or Fedora if SD card is configured properly.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。