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

qemu-system-riscv64 cannot start up #403

Open
weiyongjun-yyds opened this issue Apr 23, 2024 · 1 comment
Open

qemu-system-riscv64 cannot start up #403

weiyongjun-yyds opened this issue Apr 23, 2024 · 1 comment

Comments

@weiyongjun-yyds
Copy link

When I enter a command[qemu-system-riscv64 -machine virt -cpu rv64 -m 48 -smp 1 -bios none -nographic -kernel build-project1/lk.elf], the system cannot start up.

@travisg
Copy link
Member

travisg commented May 14, 2024

Well, there's no reason it shouldn't, but it depends a lot on how that particular project was configured. Since you're mentioning 'project1' in this case I assume you're building something different than the usual qemu-virt project?

Otherwise if you start it with ./script/do-qemuriscv -6 -m 48 you should get pretty much that exact build, which is a riscv64 build designed to run in Machine mode (vs supervisor mode build, specified with -S).

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