Click here to Skip to main content
15,921,212 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The perfect cat video has finally been created Pin
David O'Neil22-May-24 13:23
professionalDavid O'Neil22-May-24 13:23 
GeneralAssembly: One of those things I keep on trying Pin
raddevus19-May-24 6:37
mvaraddevus19-May-24 6:37 
GeneralRe: Assembly: One of those things I keep on trying Pin
honey the codewitch19-May-24 7:48
mvahoney the codewitch19-May-24 7:48 
GeneralRe: Assembly: One of those things I keep on trying Pin
raddevus19-May-24 9:37
mvaraddevus19-May-24 9:37 
GeneralRe: Assembly: One of those things I keep on trying Pin
honey the codewitch19-May-24 14:08
mvahoney the codewitch19-May-24 14:08 
GeneralRe: Assembly: One of those things I keep on trying Pin
Matt Bond20-May-24 5:46
Matt Bond20-May-24 5:46 
GeneralRe: Assembly: One of those things I keep on trying Pin
raddevus28-May-24 10:46
mvaraddevus28-May-24 10:46 
GeneralRe: Assembly: One of those things I keep on trying Pin
raddevus19-May-24 11:11
mvaraddevus19-May-24 11:11 
Check this out. I was searching everywhere to better understand how those risc-v 64 linux images were created.
I finally stumbled upon all the steps you need here[^].

But that was way too much. I was thinking, "Why can't I just download the rv64 images I need?"
Finally, I found this link: Debian Quick Image Baker pre-baked images[^]

When you go there and you want a Linux image which runs on risc-v 64 which can be virtualized (run in QEMU), you have to pick the link that looks like: "Images for riscv64-virt"

The link there ( Images for riscv64-virt[^] ) will automatically download a 331MB file named: 2baed3d2ab30e7a4ff39c7e587c8b16dce3885afb2dc047dae555a8bc13e which is a zip file, but doesn't have a zip file extension. Ok, fine.

Well, when you unzip that file, you have everything you need to run the QEMU virtual OS which is Debian which runs on RISC-V. Oh, wow, after 2 days of sitting, staring, reading, searching I finally get it. "Oh, I'm trying to run a virtualized Debian linux which thinks it is running on a RISC-V Processor!" Ohhhhhh.... Man, I'm slow a lot. Roll eyes | :rolleyes:

The list of files in that zip are:

* image.qcow2 -- image file
* initrd - linux stuff
* kernel - linux kernel
* readme.txt - readme provides command line for QEMU
* ssh_user_ecdsa_key -- stuff I don't know
* ssh_user_ed25519_key -- don't know
* ssh_user_rsa_key -- don't know.

I think if you follow my steps you may really get your virtual environment finally running.
But, of course maybe you don't care because much is different when you run on "real hardware" (ESP32) anyways. 🤓

Just thought I'd share this with someone else who has been thru the pain of QEMU / RISC-V.

modified 19-May-24 18:40pm.

GeneralRe: Assembly: One of those things I keep on trying Pin
obermd19-May-24 10:02
obermd19-May-24 10:02 
GeneralRe: Assembly: One of those things I keep on trying Pin
raddevus19-May-24 10:13
mvaraddevus19-May-24 10:13 
GeneralRe: Assembly: One of those things I keep on trying Pin
trønderen19-May-24 12:48
trønderen19-May-24 12:48 
GeneralRe: Assembly: One of those things I keep on trying Pin
raddevus19-May-24 13:18
mvaraddevus19-May-24 13:18 
GeneralRe: Assembly: One of those things I keep on trying Pin
obermd19-May-24 16:38
obermd19-May-24 16:38 
GeneralRe: Assembly: One of those things I keep on trying Pin
pkfox19-May-24 10:16
professionalpkfox19-May-24 10:16 
GeneralRe: Assembly: One of those things I keep on trying Pin
Nelek19-May-24 10:18
protectorNelek19-May-24 10:18 
GeneralRe: Assembly: One of those things I keep on trying Pin
CPallini20-May-24 1:36
mveCPallini20-May-24 1:36 
GeneralRe: Assembly: One of those things I keep on trying Pin
den2k8820-May-24 21:31
professionalden2k8820-May-24 21:31 
GeneralRe: Assembly: One of those things I keep on trying Pin
trønderen21-May-24 3:21
trønderen21-May-24 3:21 
GeneralRe: Assembly: One of those things I keep on trying Pin
den2k8821-May-24 4:07
professionalden2k8821-May-24 4:07 
GeneralFluent Api in Pascal, nothing earth-shattering ... Pin
0x01AA19-May-24 4:18
mve0x01AA19-May-24 4:18 
GeneralRe: Fluent Api in Pascal, nothing earth-shattering ... Pin
Mike Hankey19-May-24 4:49
mveMike Hankey19-May-24 4:49 
GeneralRe: Fluent Api in Pascal, nothing earth-shattering ... Pin
0x01AA19-May-24 4:53
mve0x01AA19-May-24 4:53 
GeneralRe: Fluent Api in Pascal, nothing earth-shattering ... Pin
Mike Hankey19-May-24 4:59
mveMike Hankey19-May-24 4:59 
GeneralRe: Fluent Api in Pascal, nothing earth-shattering ... Pin
0x01AA19-May-24 5:09
mve0x01AA19-May-24 5:09 
GeneralRe: Fluent Api in Pascal, nothing earth-shattering ... Pin
raddevus19-May-24 5:19
mvaraddevus19-May-24 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.