Learning purpose riscv64 (RV64GC) emulator. This project is built for 一生一芯 as a reference implementation.
RV64ACDFIMSU
Currently, the init
program cannot use serial device as console (I am trying hard to find the cause).
But the kernel was indeed successfully booted and initialized.
I was thinking that should I just give up trying to fix the console problem, instead,
go and implement a virtio-net
device and start the sshd
service when booted?
It's not that hard comparingly, and it's closer to the real-world use case.
With the following command:
cargo run --release -- --kernel tests/test-kernel.bin --bios tests/rustsbi-qemu.bin
With the following command:
$(CROSS)objcopy -O binary xv6/kernel xv6/kernel.bin
cargo run --release -- --kernel xv6/kernel.bin --disk xv6/fs.img