Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing qemu instructions (perhaps silly :) #4

Open
affixalex opened this issue Apr 2, 2020 · 1 comment
Open

Missing qemu instructions (perhaps silly :) #4

affixalex opened this issue Apr 2, 2020 · 1 comment

Comments

@affixalex
Copy link

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.

@vowstar
Copy link
Owner

vowstar commented Oct 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants