Comments (9)
It "should be able to" but I've never understood opensbi, or gotten it to successfully build and run on literally anything except qemu.
I encourage you to do this, it would be cool for someone to understand it. But I do not.
from mini-rv32ima.
Makes sense
from mini-rv32ima.
I think the first step to accomplish this is either:
- define a device tree (dts) for the mini-rv32ima
- make platform specific binding for the mini-rv32ima in OpenSBI
The former is the preferred solution as Linux, and I also believe U-boot, can leverage the dts file.
This has been the best reference on the subject so far.
from mini-rv32ima.
I think the first step to accomplish this is either:
- define a device tree (dts) for the mini-rv32ima
- make platform specific binding for the mini-rv32ima in OpenSBI
The former is the preferred solution as Linux, and I also believe U-boot, can leverage the dts file.
This has been the best reference on the subject so far.
Thanks! I'm going to try that
from mini-rv32ima.
@ElectroBoy404NotFound as long as @cnlohr doesn't mind the chatter, feel free to share your notes here.
from mini-rv32ima.
I'll see if I have time for a deeper dive later this month, but to start out:
@cnlohr emulates a 8250 UART, The output buffer address is 0x10000000
and input is 0x10000005
. The DTS documentation for describing this is found here
Seems like we would need to determine the register start address (assuming 0x10000000
) and length (guessing 0x100
but not sure) and other other settings.
from mini-rv32ima.
nevermind this is already made https://github.com/cnlohr/mini-rv32ima/blob/master/mini-rv32ima/sixtyfourmb.dts
from mini-rv32ima.
I def don't mind the chatter. And yeah, the idea is I just don't use OpenSBI, it feels like a lot of extra cruft without any real payoff. I still don't "get it" for something where the kernel should just be able to boot. But if someone gets it working, please let me know! I'm happy to accept patches as long as they are small.
from mini-rv32ima.
Well, I guess I better start checking notifications..
from mini-rv32ima.
Related Issues (20)
- Doom build fails since 32-bit libraries not installed (I think?) HOT 3
- Please express true isa as RV32IMAZicsr_Zifencei HOT 18
- (Suggestion) extension to G(IMAFD)-spec? HOT 4
- vi with no filename faults with access fault HOT 12
- Human readable unit tests for rv64imafdc instructions
- Bare-metal libc HOT 3
- Kernel panics on emulator compiled for ARM (trying to run linux on the Raspberry Pi Pico) HOT 8
- inittab for buildroot HOT 1
- "make testdlimage" => "./mini-rv32ima -f DownloadedImage" ... hangs (tested on 3 different platforms). HOT 4
- I Made it! esp32c3 can run linux with this wonderful emulator HOT 10
- Test page trimming
- Use as an embedded application loader HOT 2
- U-BOOT HOT 5
- Customizing allowed instruction set? HOT 1
- Possible to get a full debian running on this? HOT 1
- Virtual Graphical interface HOT 1
- Invalid Discord Invite HOT 3
- Integrating Kernel on FPGA HOT 3
- Simplify sign-extension of immediates during instruction decoding HOT 3
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 mini-rv32ima.