User Tools

Site Tools


riscv-qemu-debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
riscv-qemu-debian [2025/02/03 11:43]
admin created
riscv-qemu-debian [2025/02/03 17:40] (current)
me
Line 1: Line 1:
-Here are the simple steps: 
- 
-Pre-Step 
  
 Install QEMU on your system.  Follow the instructions at the official QEMU site^. Install QEMU on your system.  Follow the instructions at the official QEMU site^.
  
  
-1) go to Debian Quick Image Baker pre-baked images[[https://people.debian.org/~gio/dqib/]] — this contains all the latest build images for QEMU virtualization (including a RISC-V build.+1) go to Debian Quick Image Baker pre-baked images[[https://people.debian.org/~gio/dqib/]] — this contains all the latest build images for QEMU virtualization (including a RISC-V build).
  
 2) When you get there, look for the link labeled: “Images for riscv64-virt” — clicking that link (Images for riscv64-virt[^]) will instantly begin the download of a (zip) file which is named very oddly, like a hash value (2baed3d2ab30e7a4ff39c7e587c8b16dce3885afb2dc047dae555a8bc13e is the current name). 2) When you get there, look for the link labeled: “Images for riscv64-virt” — clicking that link (Images for riscv64-virt[^]) will instantly begin the download of a (zip) file which is named very oddly, like a hash value (2baed3d2ab30e7a4ff39c7e587c8b16dce3885afb2dc047dae555a8bc13e is the current name).
Line 18: Line 15:
      kernel – linux kernel      kernel – linux kernel
      readme.txt – readme provides command line for QEMU      readme.txt – readme provides command line for QEMU
-     ssh_user_ecdsa_key — stuff I don’t know +     ssh_user_ecdsa_key  
-     ssh_user_ed25519_key — don’t know +     ssh_user_ed25519_key  
-     ssh_user_rsa_key — don’t know.+     ssh_user_rsa_key 
  
 The readme contains the QEMU command that you can use to start virtual environment. The readme contains the QEMU command that you can use to start virtual environment.
Line 50: Line 47:
 Note: There cannot be any spaces after the line-continuation-character (\). Note: There cannot be any spaces after the line-continuation-character (\).
  
-I've broken the command up over lines so you can see each argument which is passed to the QEMU executable Did you know there is a separate EXE for each QEMU platform (riscv64, x86_64, etc.)?   +I've broken the command up over lines so you can see each argument which is passed to the QEMU executable There is a separate EXE for each QEMU platform (riscv64, x86_64, etc.)  
-BAT+
  
 qemu-system-riscv64 -machine 'virt' \ qemu-system-riscv64 -machine 'virt' \
Line 67: Line 64:
  
 Once you start the virtual environment login using : Once you start the virtual environment login using :
-root (username) and root (pwd)+root(username) and root (pwd)
  
 Now you can install the build_essential packages so you can write assembly and link. Now you can install the build_essential packages so you can write assembly and link.
riscv-qemu-debian.1738583004.txt.gz · Last modified: 2025/02/03 11:43 by admin