Comments (4)
I'm really interested in this project, unfortunately it seems it is nailed to RV32 as for now.
However, SBCs like VisionFive2 and Star64 emerge, and there will be more RV64 actual hardware in the future.
Are there plans to port it to RV64? Run on real hardware?
from egos-2000.
Sorry I accidentally pressed the close button and closed this issue.
Although I don’t have this plan, I think it is not difficult. I guess the key is to modify ‘grass/context.S’ since most other parts of this OS are written in C so that you can compile them to RV64 with the right compiler flag.
from egos-2000.
Are there any other specifics to keep in mind? Does it talk 16550A style uart? Is changing base address 0x20400000
is enough to keep it going? So many questions, I hope to see answers :)
VF2's config:
16550A uart is at 0x10000000
Kernel load address 0x40200000
(OpenSBI sits at 0x40000000
), S-Mode.
If one might want to run from M-Mode, then SRAM is available at 0x08000000
, but idk how U-Boot SPL calls it.
from egos-2000.
You may wish to take a look at earth/bus_uart.c
. In particular, the uart_put
and uart_get
functions are just few lines and you may need to modify them for VF2. For example, use the address 0x10000000
.
In terms of adjusting memory map, please refer to issue #4.
I don’t have a good answer to the S-mode or M-mode part. You may need to modify several assembly. For example, change mret
, mstatus
, etc. to sret
, sstatus
, etc.
from egos-2000.
Related Issues (11)
- Additional course material available? HOT 5
- Can it run on stm32F429 HOT 20
- Releasing assignments related to CS5411/4411 at Cornell HOT 1
- Size of binary HOT 11
- Bug due to integer promotion in `mtime_get` HOT 2
- Great job! Any plan to make a Rust version? HOT 3
- Ox64 support HOT 1
- Can it run on ESP32-C3 a RISC V chipset? HOT 5
- Can this project completely compile in the Win10 ? HOT 6
- Can't boot up using qemu HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from egos-2000.