You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to use the template inside a emulated RISC-V Qemu Ubuntu 22.04.4
I was able to compile the project via cargo build --target riscv64gc-unknown-hermit inside the vm, but now I want to run the image.
Should I use qemu inside the vm, that's gonna be a terrible experience, or can I use the image on my host system via a qemu command directly?
On my x86_64 host I used qemu-system-x86_64 -cpu qemu64,apic,fsgsbase,fxsr,rdrand,rdtscp,xsave,xsaveopt -smp 1 -m 128M -device isa-debug-exit,iobase=0xf4,iosize=0x04 -display none -serial stdio -kernel release/hermit-loader-x86_64 -initrd x86_64-unknown-hermit/debug/hermit-rs-template to succesfully run the HelloWorld example
Thanks
The text was updated successfully, but these errors were encountered:
Should I use qemu inside the vm, that's gonna be a terrible experience, or can I use the image on my host system via a qemu command directly?
You can use qemu-system-riscv64 on any host.
I have added some instructions to the loader's README in hermit-os/loader#345. Is this sufficient for a newcomer such as you, or should we be more explicit about other architectures in this project's README too?
Hi,
I'm trying to use the template inside a emulated RISC-V Qemu Ubuntu 22.04.4
I was able to compile the project via
cargo build --target riscv64gc-unknown-hermit
inside the vm, but now I want to run the image.Should I use qemu inside the vm, that's gonna be a terrible experience, or can I use the image on my host system via a qemu command directly?
On my x86_64 host I used
qemu-system-x86_64 -cpu qemu64,apic,fsgsbase,fxsr,rdrand,rdtscp,xsave,xsaveopt -smp 1 -m 128M -device isa-debug-exit,iobase=0xf4,iosize=0x04 -display none -serial stdio -kernel release/hermit-loader-x86_64 -initrd x86_64-unknown-hermit/debug/hermit-rs-template
to succesfully run the HelloWorld exampleThanks
The text was updated successfully, but these errors were encountered: