Qemu system tutorial7/27/2023 machine virt -nographic -m 2048 -smp 4 \ A working example with all the options is: Next use u-boot-qemu to boot the virtual machine. Qemu-img resize -f raw ubuntu-22.04.2-preinstalled-server-riscv64 unmatched.img 5G Optionally, if you want a larger disk, you can expand the disk (the filesystem will be automatically resized too). Xz -dk ubuntu-22.04.2-preinstalled-server-riscv64 ![]() Sudo apt-get install opensbi qemu-system-misc u-boot-qemuįor booting Ubuntu 22.04 (Jammy) or later images use u-boot-qemu from release Ubuntu 22.04 or later.īooting a preinstalled server image with QEMUĪ preinstalled server image can be downloaded from. u-boot-qemu - U-Boot is the firmware implementing the UEFI API and loads GRUB.qemu-system-misc - QEMU 18 is used to emulate a virtual RISC-V machine.To boot a RISC-V virtual machine you will need the following packages:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |