Commit graph

10340 commits

Author SHA1 Message Date
bunnie
057d9895a6 beginnings of image signing 2021-07-06 17:31:09 +08:00
bunnie
c51c8081b4 update another build that solves some WDT issues
opened a task to look at WDT stability. seems like we're
still not there yet...
2021-07-06 02:07:31 +08:00
bunnie
d846c5ad0e add a memory stress tester 2021-07-06 01:35:19 +08:00
Sean Cross
2339b7315f emulation: memlcd: add DEVBOOT register and defacement
Add this new register as well as the defacement that occurs when it is
enabled.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-05 17:35:15 +08:00
Sean Cross
c1d41bb168 emulation: repl: shrink memory range for sram
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-05 17:34:58 +08:00
Sean Cross
2c2fdaa1b4 emulation: sync svd from precursors
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-05 17:18:29 +08:00
bunnie
2c6ba2f127 fix brokenness with ptr_meta crate 2021-07-05 17:17:33 +08:00
bunnie
6ee6316beb Merge branch 'main' into bunnie-dev 2021-07-05 17:12:43 +08:00
bunnie
6c697de512 add l2 cache support (suspend/resume flushing)
also noted some performance benchmark improvements
2021-07-05 17:05:10 +08:00
bunnie
1b5d4bd79b push of spinor changes to validate l2cache 2021-07-05 00:08:58 +08:00
bunnie
79ce51c32c Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-07-04 02:15:13 +08:00
bunnie
a25f244426 Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-07-04 01:50:55 +08:00
bunnie
f63b29cadd fix bugs in the trng tester helper script 2021-07-04 01:50:31 +08:00
bunnie
47c1a98d13 fix the aesthetics of the suspend screen 2021-07-03 21:46:58 +08:00
bunnie
00be94d913 devboot mode support 2021-07-03 21:08:39 +08:00
bunnie
22906ce366 make the defaults for usb_update.py map to something immediately usable in-situ 2021-07-02 04:27:26 +08:00
bunnie
3f08dcccee increase the susres timeout to be less aggressive
now that we have auto-clock throttling, fast SR cycles are not
as critical to power saving. They are more a mechanism to be
invoked based on user command, not automatically, and thus it's
not as critical to shut things down ungracefully if the CPU is
heavily loaded.
2021-06-30 19:05:20 +08:00
bunnie
25ea2c9cf9 move obsolete script into tools directory and update readme 2021-06-30 00:12:46 +08:00
bunnie
b24ac8a34d Merge branch 'bunnie-dev' into main 2021-06-29 23:46:58 +08:00
bunnie
674faa46d9 button up after debugging the ed25519 issue 2021-06-29 23:46:15 +08:00
bunnie
d00717bc17 try to make a simpler example 2021-06-29 01:35:03 +08:00
bunnie
c880eda822 commit renode changes 2021-06-29 00:51:52 +08:00
bunnie
0bad1ad755 isolate a potential compiler bug 2021-06-29 00:10:46 +08:00
Sean Cross
deb524e570 emulation: sha512: wire up done bit
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-28 21:37:42 +08:00
Sean Cross
3de0b4cf06 emulation: connect sha512 to Renode
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-28 21:35:17 +08:00
Sean Cross
96c3c59b72 emulation: add first draft of sha512 engine
This should be feature complete, but has not been tested.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-28 21:34:50 +08:00
Sean Cross
2877fcc72a emulation: correctly wire keyboard inject interrupt
This interrupt was wired to the incorrect variable.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-28 21:34:20 +08:00
bunnie
8da62390ad add RFC7748 test vectors for diffie hellman 2021-06-28 19:01:22 +08:00
bunnie
e01676d563 move the montgomery multiply code into the engine server
this saves a fairly substantial amount of time marshalling
re-used bits of microcode around on the benchmarks.
2021-06-28 18:41:34 +08:00
bunnie
ee87fd35a8 add hw acceleration for the affine transform on curve25519 2021-06-28 04:43:56 +08:00
bunnie
89b3875bfc commit before working on acceleration code 2021-06-28 02:33:32 +08:00
bunnie
d50b620f33 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2021-06-28 01:34:04 +08:00
bunnie
4a3258f6bd Merge branch 'bunnie-dev' into main 2021-06-28 01:33:42 +08:00
bunnie
d791548b9d straggler. 2021-06-28 01:32:42 +08:00
bunnie
0563bfb8ad remove local paths so we can push to CI 2021-06-28 01:32:17 +08:00
bunnie
e2ada8f8fe attempt to fix up some build system warts 2021-06-28 01:31:43 +08:00
Sean Cross
4e54bfdc7a kernel: use gdbstub dev/0.6
The previous brach will shortly be deleted.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-27 19:23:53 +08:00
bunnie
a9cc7c3b53 unbreak the renode build 2021-06-27 16:22:30 +08:00
bunnie
7dfa77de11 Merge branch 'bunnie-dev' into main 2021-06-27 03:19:50 +08:00
bunnie
906882be71 un-break hosted mode 2021-06-27 03:19:22 +08:00
bunnie
5ab0c0b426 commit a version that should be able to build in CI now 2021-06-27 03:14:50 +08:00
bunnie
e39c2200cd fix up the build system warts & integration with dalek crates
we are at least now only requiring users to use our patched
curve25519-dalek crate, which now builds cleanly in both
xous and std environments, but the higher-level crates can be
directly used from crates.io
2021-06-27 03:07:39 +08:00
bunnie
6efdb7e0db stash a version with XousEngine25519 traits in case we want it back later 2021-06-27 00:31:15 +08:00
Sean Cross
6b53b1e159 keyboard: map "Home" key to home button
It just makes sense.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-26 00:40:48 +08:00
Sean Cross
e6073c585d emulation: fix mapping for down/left
This also maps backslash to Menu.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-26 00:39:45 +08:00
Sean Cross
24fbdd9c48 emulation: check in newly-minted i2c drivers
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-25 23:55:50 +08:00
Sean Cross
a0cc1e2f24 svd2repl: generate i2c bus for betrusted
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-25 23:55:21 +08:00
Sean Cross
2c270ee355 emulation: add initial drafts of i2c for soc
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-25 23:55:04 +08:00
bunnie
9ebd181694 engine25519 core services now working 2021-06-25 19:35:31 +08:00
bunnie
1d9b474a6d add in a missing redraw command 2021-06-25 09:09:42 +08:00