bunnie
c9d7b1c504
add parsing for the <constants> extensions most recently added into Litex
2021-03-02 02:05:34 +08:00
bunnie
d7e1959fed
disintegrated fonts working
2021-02-27 14:35:53 +08:00
bunnie
0dc40f4185
attempt to separate fontmaps and loader out of kernel
2021-02-27 02:12:19 +08:00
bunnie
5b80b3fb42
get fcc-agent working again
2021-02-23 04:01:01 +08:00
bunnie
24e7885779
change out hw-image servers for rkyv testing
2021-02-12 01:51:42 +08:00
Sean Cross
4c76bb1a3d
emulation: memlcd: fix of-by-one error in redraw
...
This would cause us to escape the screen under rare circumstances.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:21:44 +08:00
bunnie
9716eba039
Merge remote-tracking branch 'origin/master' into hardware
2021-01-07 20:34:04 +08:00
Sean Cross
2d33c3903d
emulation: sync renode addresses
...
The addresses of the target system have changed. Update the platform
definition file to keep these addresses in sync.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 18:49:01 +08:00
bunnie
0ad4377586
update emulation.svd
2021-01-06 13:13:53 +08:00
Sean Cross
e88b4cae7c
emulation: update renode models to include trng
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-23 22:12:28 +08:00
Andrew Shen
432a4467c3
Copy WDT into emulator to fix build break
...
Quick fix a build break in ticktimer-server by copying the WDT
from the SoC into the emulator so that it can reference
utra::wdt::WATCHDOG_RESET_CODE .
Signed-off-by: Andrew Shen <Andrew.Y.Shen@jacobs.ucsd.edu>
2020-12-12 21:06:05 -08:00
Sean Cross
df4db87719
emulation: add fake COM interrupt for CI
...
The `renode.svd` file hasn't been updated yet, but code depends on
having an interrupt for COM. Add a fake interrupt to get CI building
again.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-25 20:39:37 +08:00
bunnie
d583e20b18
very basic battery monitoring via COM
2020-11-25 05:11:32 +08:00
Sean Cross
8270283868
renode: memlcd: accurately map all hardware dirty bits
...
Previously we were only checking one dirty bit, which doesn't match
what's going on with the real hardware.
Check all the bits to ensure we're accurate.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 19:31:11 +08:00
Sean Cross
1071a3246b
emulation: assign interrupt 8 to ticktimer
...
This matches the new value from hardware.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:34:50 +08:00
Sean Cross
8c05fa99d2
renode: update svd to match example file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 16:14:03 +08:00
Sean Cross
f6dc227ed2
emulation: add interrupt to betrusted platform
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:50:55 +08:00
Sean Cross
44a3d40b1c
emulation: sync latest svd file
...
This svd file reflects the latest svd from CI.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:50:27 +08:00
Sean Cross
0ed99d1eba
emulation: memlcd: format cs file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:50:07 +08:00
Sean Cross
e3dbf1e9d4
emulation: ticktimer: add msleep support
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-04 13:41:18 +08:00
Sean Cross
d8733a437c
README: rewrite to document xtask
...
The `xtask` command has come a long way, and is the preferred method of
building this repositry. Document the fun ways it can be used.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-03 20:41:37 +08:00
Sean Cross
ffcccab513
emulation: add ticktimer and serial uarts
...
This updates renode's emulation to match the current system design.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-15 11:56:41 +08:00
Sean Cross
a0a90cc3ab
emulation: rename example.svd to renode.svd
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-14 10:04:20 +08:00
Sean Cross
30abc1413a
utra: move example.svd to emulation
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:52:43 +08:00
Sean Cross
d0d687a239
utra: fix build on non-hardware release
...
This adds svd2utra, which enables building for non-embedded harware.
It also fixes some build issues, and paves the way for generating UTRA
at compile-time.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:13:51 +08:00
bunnie
8cc85f4e11
mods for running on DVT hardware
2020-09-25 17:50:02 +08:00
Sean Cross
965696df8b
emulation: fix path to loader
...
Loader isn't part of the workspace anymore, so its path has changed.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 17:00:19 +08:00
Sean Cross
1da460cd41
examples: fix betrusted LCD under Renode
...
This gets the Betrusted LCD demo working within emulation, which means
it ought to work on real hardware.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 12:09:23 +08:00
Sean Cross
a513800dc5
emulation: update path to target images
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-17 20:01:26 +08:00
Sean Cross
a467d6fcc7
kernel: baremetal: 2nd process starts to run and crashes
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-10 16:06:38 +08:00
Sean Cross
10ecacd136
kernel: native: create process for initial processes
...
These all need to bootstrap themselves.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-09 23:08:54 +08:00
Sean Cross
8c3f931445
messaging: first message passing example
...
THis commit allows us to pass Scalar messages between processes.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-30 16:07:58 +08:00
Sean Cross
b0d3a41067
emulation: add powershell script to build renode
...
This script can be used to build Renode on Windows.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-18 14:40:23 +08:00
Sean Cross
d10bc2e894
syscalls: begin adding message-passing syscalls
...
These are still not connected, however their existence is starting to
solidify the API.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-17 10:27:03 +08:00
Sean Cross
c8ccbe27c1
emulation: add initial files for lcd and keyboard
...
keyboard doesn't work yet, possibly due to upstream bug.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-14 15:44:44 +08:00
Sean Cross
c2008e5fe8
syscall: implement map_memory wrapper
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13 20:33:08 +08:00
Sean Cross
829570713f
README: update info on running renode
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-12 13:33:37 +08:00
Sean Cross
62cb867ad5
emulation: litex_timer_32: remove dead code
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 17:30:58 +08:00
Sean Cross
8b57b8c36b
emulation: add 32-bit litex timer
...
Litex uses 32-bit CSRs, so add a version of the litex timer module that
uses 32-bit CSRs.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 16:41:07 +08:00
Sean Cross
5708bcb89a
emulation: fix paths for boot.resc
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 14:44:12 +08:00
Sean Cross
279e0131c8
csr.csv: add emulation file
...
This is used to define the emulation target.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:50:14 +08:00
Sean Cross
f50ec67553
initial commit
...
This pulls together many disparate repositories into one xous-core
repository.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:13:05 +08:00