

$ sudo apt-get install qemu-system-misc=1:4.2-3ubuntu6 You'll need to uninstall that package and install an older version: Qemu-system-riscv64 -machine virt -bios none -kernel kernel/kernel -m 128M -smp 3 -nographic -drive file=fs.img,if=none,format=raw,id=x0 -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0 If you run make qemu and the script appears to hang after (The version of QEMU on "buster" is too old, so you'd have to get that separately.) qemu-system-misc fixĪt this moment in time, it seems that the package qemu-system-misc has received an update that breaks its compatibility with our kernel. Make sure you are running either "bullseye" or "sid" for your debian version (on ubuntu this can be checked by running cat /etc/debian_version), then run: sudo apt-get install git build-essential gdb-multiarch qemu-system-misc gcc-riscv64-linux-gnu binutils-riscv64-linux-gnu PATH=$PATH:/usr/local/opt/riscv-gnu-toolchain/bin To add the appropriate directory to $PATH. The brew formula may not link into /usr/local. Next, install the RISC-V compiler toolchain: Next, install Homebrew, a package manager for macOS: Ssh into one of the Athena dialup machines and add the tools: If you are having trouble getting things set up, please come by to office Machine, you can install the tools directly or use virtual machine with Linux Of these tools are located in the 6.828 locker: just type ' add -fĦ.828' to get access to them. If you use the MIT Athena machines that run Linux, then all We highly recommend using a Debathena machine, such as, to For this class you'll need the RISC-V versions of a couple different tools:
