-
Notifications
You must be signed in to change notification settings - Fork 26
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
Port to K210 again #34
Comments
I started porting today. Log the problems here.
Now rCore is working on K210! @ 2019.04.21 TODO in the future:
|
In a new development enviroment, many errors will be encountered when compiling the old version of rCore for K210. |
@wangrunji0408 did you ever document your findings somewhere? as the K210 made it into the linux kernel (with NOMMU to my knowledge) i am wondering if an actual MMU Linux Kernel for K210 would be possible. Would love to hear your thoughts. |
@z3cko All my findings are recorded here. As far as I know, the MMU feature in the K210 is not official documented. We can only assume that K210 has an MMU complies with the RISC-V spec v1.9.1, and it seems to be. So I think an MMU Linux kernel for K210 is possible in technical, but I'm not sure if the Linux community would like to accept that for an undocumented hardware. |
I was surprised to learn that K210 has S-Mode and Sv39 MMU!
So it's possible to run rCore on it!
But K210 is based on priv v1.9.1 spec, which has some differences compared to current v1.10.
For example:
sptbr
in v1.9.1,satp
in v1.10.Proof: MAIX MMU example: run 32MB GBA on FATFS!
The text was updated successfully, but these errors were encountered: