Last active
May 31, 2021 10:19
-
-
Save paranlee/a3757bda1171ac1f7562f079c7c604c3 to your computer and use it in GitHub Desktop.
Make RISC-V 64 QEMU.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<< 'MULTILINE-COMMENT' | |
sudo apt -y install git git-email ninja-build libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev \ | |
libaio-dev libbluetooth-dev libbrlapi-dev libbz2-dev \ | |
libcap-dev libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev \ | |
libibverbs-dev libjpeg8-dev libncurses5-dev libnuma-dev \ | |
librbd-dev librdmacm-dev \ | |
libsasl2-dev libsdl1.2-dev libseccomp-dev libsnappy-dev libssh2-1-dev \ | |
libvde-dev libvdeplug-dev libvte-dev libxen-dev liblzo2-dev \ | |
valgrind xfslibs-dev \ | |
libnfs-dev libiscsi-dev | |
referenced | |
https://www.qemu.org/download/#source | |
MULTILINE-COMMENT | |
git clone https://gitlab.com/qemu-project/qemu.git | |
cd qemu | |
git submodule init | |
git submodule update --recursive | |
# Check # git tag | |
# Latest release # git checkout v6.0.0 | |
./configure --target-list=riscv64-softmmu,riscv64-linux-user | |
make -j16 | |
# $ ~/qemu/build/qemu-system-riscv64 --version | |
# QEMU emulator version 6.0.50 (v6.0.0-1209-g52848929b7) | |
# Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment