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模拟器 #37

Closed
suxiao111 opened this issue Mar 29, 2022 · 4 comments
Closed

qemu模拟器 #37

suxiao111 opened this issue Mar 29, 2022 · 4 comments

Comments

@suxiao111
Copy link

运行在qemu-system-riscv64上,模拟器是基于k210的板子吗

@retrhelo
Copy link

QEMU模拟和k210是有区别的。一些主要的区别在于

  • 内存布局的不同
  • 外设驱动不同
  • k210的指令集实现较老

在代码中你可以看见很多地方使用了条件编译,这些代码就是QEMU和k210的不同之处。

@suxiao111
Copy link
Author

qemu-system-riscv64的参数中, -machine设置的是 virt,-device设置的是 virtio-blk-device,模拟器和基于k210的板子没什么关系吗?

@retrhelo
Copy link

我记得QEMU是没有提供k210的仿真模拟的。

@suxiao111
Copy link
Author

好的,感谢

@retrhelo retrhelo closed this as completed Apr 4, 2022
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