Commit Graph

30 Commits

Author SHA1 Message Date
pi
da936a719b a bit of README keeps the doctor away, or something 2022-11-25 23:46:20 +01:00
pi
c48bdc7dc2 remove funding 2022-11-25 23:43:52 +01:00
pi
eb6e3447b2 add updated _Nix shader code too 2022-11-25 23:42:26 +01:00
pi
134e85e485 add rng, rtc, networking, more CSR paravirt exts and fixes
honestly forgot what I added all over the last year or so, but here you
go, enjoy more cursed code
2022-11-25 23:11:56 +01:00
pi
1b74a7a85d update buildroot to 2022 2022-11-25 23:09:11 +01:00
Stefan
93a50d7807 add rust_raytrace payload and image output
plus some minor fixes IIRC
2021-10-14 20:14:51 +02:00
Stefan
1f614a46b5 fixups and CSR memcpy test in bare_metal_test 2021-08-31 11:08:03 +02:00
Stefan
4bf645734e add image 2021-08-17 11:00:47 +02:00
pi
9918aea234
if you want ¯\_(ツ)_/¯ 2021-08-17 08:30:59 +00:00
Stefan
bfe37dee75 update README for public release 2021-08-17 10:26:30 +02:00
Stefan
2eea541a27 update busybox config
should include 'vi' now :)
2021-08-17 10:04:50 +02:00
Stefan
fc21ce692d remove build.marker 2021-08-17 10:02:08 +02:00
Stefan
6208912983 add Unity project 2021-08-17 09:52:24 +02:00
Stefan
21eaf258c1 update rust_payload 2021-08-17 09:50:08 +02:00
Stefan
b11654cbc9 add micropython with riscv32 port 2021-08-17 09:49:37 +02:00
Stefan
d4574fe724 add 'toimg' rust source, converts data to Unity textures 2021-08-17 09:45:29 +02:00
Stefan
04db178eb5 add slightly modified buildroot 2021-08-17 09:44:17 +02:00
Stefan
20119810cf update opensbi version and add optional performance patch 2021-08-17 09:43:14 +02:00
Stefan
17da3478bd update device tree 2021-08-17 09:42:13 +02:00
Stefan
81e95a6791 add linux kernel, custom patches and update Makefile 2021-08-17 09:41:21 +02:00
Stefan
9c936f211c add bare-metal test image and update .gitignore 2021-08-17 09:37:49 +02:00
Stefan
30bd88dbbf fix riscv-tests and add flag for exit call 2021-08-17 09:36:49 +02:00
Stefan
cb6d05178b add MMU support (SV32) and fix a bunch of bugs 2021-08-17 09:31:46 +02:00
Stefan
7f47c7655d Add rust_payload and fixes to allow running it as supervisor
Note that the 'riscv32ima-unknown-none-elf' target is not available by
default in rustc, you need a patched version.

I'm also pretty sure just converting the ELF binary to raw using objdump
messes with stack and heap addresses, but it seems to work fine for now.
2021-06-09 18:38:46 +02:00
Stefan
ed82c5487f implement UART, CLINT, device tree, opensbi build
...plus some comfort improvements, more testing.

This now successfully boots OpenSBI when built like specified in the
Makefile!
2021-06-03 22:45:13 +02:00
Stefan
9d170cc8d3
Update README.md 2021-05-28 17:14:10 +00:00
Stefan
6c8c33ada0
Create LICENSE 2021-05-28 17:10:08 +00:00
Stefan
43000d5d2e plz read me 2021-05-28 19:07:45 +02:00
Stefan
cf50244181 support for all necessary CSRs, privilege modes, traps, atomics
...plus some cleanups and debug improvements (single-step mode)

All tests specified in test.sh now pass! This pretty much means full
compliance with the RV32I base spec, M and A extensions, as well as correct
machine, supervisor and user mode traps/switches.

Next up is the SV32 MMU and external devices (UART, CLINT timer).
2021-05-28 19:02:11 +02:00
Stefan
64e2d0b45c initial commit
passes all RV32IM tests (run './test.sh all')

instructions.txt is extracted from takahirox/riscv-rust
2021-05-28 15:10:51 +02:00