hermit-os / loader

The Hermit bootloader.
Apache License 2.0
68 stars 22 forks source link

docs(README): add 64-bit RISC-V QEMU instructions #345

Closed mkroening closed 4 months ago

mkroening commented 5 months ago

Related: https://github.com/hermit-os/hermit-rs-template/issues/65

marcomaas1990 commented 5 months ago

I'm getting errors with the virtio devices when compiling the hermit-rs-template for the risc-v hermit target.

mkroening commented 5 months ago

I'm getting errors with the virtio devices when compiling the hermit-rs-template for the risc-v hermit target.

Yeah, virtio support on RISC-V is not quite there yet. I have opened https://github.com/hermit-os/kernel/issues/1217 to track that.

Are you happy with these instructions for running without virtio, though?

marcomaas1990 commented 5 months ago

I will check the running in qemu part later, but what should I change for successfuly compiling when cargo build --target riscv64gc-unknown-hermit isn't working properly? I'm not quite sure.

mkroening commented 5 months ago

I will check the running in qemu part later, but what should I change for successfuly compiling when cargo build --target riscv64gc-unknown-hermit isn't working properly? I'm not quite sure.

Disabling all default features of the hermit dependency should work.

marcomaas1990 commented 4 months ago

I'm getting errors with the virtio devices when compiling the hermit-rs-template for the risc-v hermit target.

Yeah, virtio support on RISC-V is not quite there yet. I have opened hermit-os/kernel#1217 to track that.

Are you happy with these instructions for running without virtio, though?

Yeah, they are working now.