k210-linux-nommu
k210-linux-nommu copied to clipboard
Missing qemu instructions (perhaps silly :)
Following your (excellent) instructions, I then try to run the resultant image in qemu like so:
qemu-system-riscv64 -nographic -machine sifive_u -smp 2 -m 8M -bios arch/riscv/boot/loader.bin
This doesn't work, hence the question. I'm running NuttX like this (also built for the K210), so curious what the problem is here or if there are any special steps that need to be taken to use qemu.
Sorry for late reply, this is a good issue, but arch/riscv/boot/loader.bin need the bootrom code for k210 to start, I think you need read this, https://bootlin.com/pub/conferences/2019/cdl/opdenacker-embedded-linux-40minutes-riscv/opdenacker-embedded-linux-40minutes-riscv.pdf, thanks