riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

Boot Linux failed:Cannot open root device "generic-blkdev" or unknown-block(0,0): error -6 #243

Closed yonghaoXuGit closed 5 years ago

yonghaoXuGit commented 5 years ago

When I user command "spike bbl vmlinux" to boot linux,I encountered the error:"Cannot open root device "generic-blkdev" or unknown-block(0,0): error -6",and stuck at:“ret_from_syscall+0xc/0x10”. What's the reason of this problem, I followed the steps in tutorial in github.

aswaterman commented 5 years ago

Unfortunately, the instructions in the README are vastly out of date (note they were last updated over four years ago). I've submitted a pull request to redact the outdated README. In the mean time, I advise looking at SiFive's Freedom-U SDK (https://github.com/sifive/freedom-u-sdk) or soliciting help on the RISC-V software development mailing list (https://riscv.org/mailing-lists/).

yonghaoXuGit commented 5 years ago

OK,thanks!