bunnie
01d3455a16
Merge branch 'main' into bunnie-dev
2021-07-18 12:33:16 +08:00
bunnie
91fe69ca27
add some real-hardware tests for spinor writes
...
definitely still bugs.
need to sleep on it.
2021-07-18 02:36:31 +08:00
bunnie
168d0fc2cb
start of some basic tests
2021-07-17 17:12:23 +08:00
bunnie
7e7ae82156
pivot spinor implementation
...
realizing some core assumptions were wrong, so, scrapping and
restarting
2021-07-15 23:00:50 +08:00
Sean Cross
fcbc901df8
Cargo: update latest versions of dependencies
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-15 15:58:13 +08:00
bunnie
ef93196cfc
stash commit to fix a bootloader issue
2021-07-13 22:28:46 +08:00
bunnie
84a2e9f768
fix status bar so that it redraws out of suspend/resume
...
the bootloader modifies the screen, so all elements must
be redrawn regardless of the pervious state change!
2021-07-11 18:47:19 +08:00
bunnie
2c6ba2f127
fix brokenness with ptr_meta crate
2021-07-05 17:17:33 +08:00
bunnie
1b5d4bd79b
push of spinor changes to validate l2cache
2021-07-05 00:08:58 +08:00
bunnie
674faa46d9
button up after debugging the ed25519 issue
2021-06-29 23:46:15 +08:00
bunnie
0bad1ad755
isolate a potential compiler bug
2021-06-29 00:10:46 +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
d791548b9d
straggler.
2021-06-28 01:32:42 +08:00
bunnie
e2ada8f8fe
attempt to fix up some build system warts
2021-06-28 01:31:43 +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
bunnie
75dca6bd4c
checkin for a rollback to sanity check some things
2021-06-25 02:09:42 +08:00
bunnie
ae25142acb
engine25519 doesn't crash on boot, at least.
...
ManagedMemory structure for susres has some issues with large
blocks, so use "heap-allocated" structures
2021-06-24 03:17:32 +08:00
bunnie
5d21ef0c76
beginnings of the curve25519 accelerator engine core driver
...
the engine-25519 server just takes microcode jobs and runs them
on the curve25519 accelerator engine.
all the fancy crypto stuff comes from other crates, which will
be filled in later.
2021-06-22 01:48:51 +08:00
bunnie
69a22adee9
menus basically working
2021-06-19 00:25:18 +08:00
bunnie
03bcf18348
clean up enum-based dispatch for Layouts, pulling in enum_dispatch crate.
2021-06-16 17:41:47 +08:00
bunnie
5301f4af20
major refactor of the Ux -- can create, redirect I/O contexts
...
getting ready for Precursor to do more than just one thing.
2021-06-16 04:50:26 +08:00
bunnie
0db9ad9e6f
add status bar extension to inform of security states
...
- inverted text indicates a trusted message. policy is enforced in the GAM.
- we don't have a way to lock the USB port yet; but at least now it's communicated.
2021-06-13 04:40:50 +08:00
bunnie
2174ab7677
upgrade TRNG with health tests and reporting facilities
2021-06-08 01:22:07 +08:00
bunnie
b1d027bc52
adding AES native instruction support
2021-06-04 00:49:34 +08:00
bunnie
77ed8972f6
Merge branch 'aes' into bunnie-dev
2021-06-02 04:08:00 +08:00
bunnie
fadc9c29ab
Merge remote-tracking branch 'origin/master' into bunnie-dev
2021-06-02 03:59:25 +08:00
Sean Cross
9638c67aae
aes-test: add test program
...
This is a basic program that exercises the AES core
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 20:01:23 +08:00
Sean Cross
8d41777dc1
release 0.8.3
...
This implements the `JoinThread(tid)` syscall.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:41:13 +08:00
bunnie
21a5ddb40f
sha512 hardware acceleration is working, now benchmarking
...
also need to extend hw implementation to sha512/256
2021-05-21 03:15:13 +08:00
Sean Cross
3b540e4e9a
xous: tag 0.8.2
...
This contains some minor modifications to the ABI.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-20 11:53:02 +08:00
bunnie
d44ad58637
sha512 now compiling, at least.
2021-05-20 03:29:26 +08:00
Sean Cross
74abf35a08
svd2repl: add program to generate a repl file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:12:01 +08:00
bunnie
7d9e84c456
initial frameworks around sha512 acceleration integration
2021-05-19 00:39:03 +08:00
bunnie
5d4e716e1b
add status thread mechanism to check charger state
2021-05-16 16:30:58 +08:00
bunnie
b06e8d2a81
fix issue with datetime on hosted mode on windows
...
just monkey-patch over the call in hosted mode...
2021-05-16 02:26:24 +08:00
Sean Cross
fb677f32da
cargo: commit new lockfile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:22:15 +08:00
bunnie
a8a35fa434
roll back heapless crate on ime-frontend
2021-05-08 23:55:08 +08:00
bunnie
a24803354c
refactor xous-names to eliminate heapless
...
see issue #30
2021-05-08 23:34:08 +08:00
bunnie
391122823d
refactor heapless version in attempt to debug issue that cropped up in xous-names
...
somehow, updating the toolchain has broken the FnvIndexMap implementation
2021-05-08 18:44:23 +08:00
bunnie
15fc4a6c36
audio working, trying out longer samples
2021-05-08 03:14:14 +08:00
bunnie
46fa8fa01e
extend shellchat to allow for multiple callback registrations
2021-05-07 16:22:06 +08:00
bunnie
b596c40dd6
refactor I2C to have work queue, cleaner (but untested) APIs
2021-05-06 03:40:04 +08:00
bunnie
d17ae106f1
kernel panic on memory lend
2021-05-05 00:58:48 +08:00
bunnie
7a7e77d346
intermediate checkin, taking a break
2021-05-04 19:08:56 +08:00
bunnie
f8979d6341
intermediate progress on audio. doesn't compile.
2021-05-04 02:22:35 +08:00
bunnie
a4ca725c2a
add a reset to an i2c core
2021-05-03 21:24:37 +08:00
bunnie
f558f75116
add the skeleton for the codec server
2021-05-03 00:20:51 +08:00
bunnie
b17753ce8b
retrofit the rest of the servers for suspend/resume
...
we can now do suspend/resume in the xous chat!
2021-05-02 01:38:44 +08:00
bunnie
85d78439d7
fcc-agent is now deprecated
2021-05-01 21:01:46 +08:00
bunnie
2d3a643d20
retrofit COM for suspend/resume
2021-04-29 23:53:35 +08:00
bunnie
a55735fb1f
add llio to suspend/resume set
2021-04-29 23:15:47 +08:00
bunnie
1014b53726
clean up some hosted mode errors
...
hosted mode is still a bit broken, but we'll figure that
out later. at least it compiles.
2021-04-29 17:24:38 +08:00
bunnie
bbcf698ff3
flesh out a simple touch-and-go suspend/resume demo loop
...
now the debuggening begins. lord help us.
2021-04-29 02:56:53 +08:00
bunnie
3153d6aa66
intermediate progress on suspend/resume
2021-04-28 04:15:25 +08:00
bunnie
85211bb57d
add susres server skeleton
2021-04-27 00:38:51 +08:00
bunnie
ec2a87e306
make TRNG testing variants easier to configure
2021-04-20 03:21:53 +08:00
bunnie
809f0445e1
add vibe command
2021-04-16 19:27:48 +08:00
bunnie
93400df67c
an initial cut at fcc test commands
2021-04-15 04:10:47 +08:00
bunnie
9f4dc8a7b1
add wifi reset opcodes
2021-04-14 22:43:23 +08:00
bunnie
5a6956d6de
initial cut of test
2021-04-13 05:10:00 +08:00
bunnie
f15266c070
callback test coding
2021-04-12 13:32:00 +08:00
bunnie
8b93dd0c63
RTC server now basically working
...
There is an issue with the rtc commandline time checking
with respect to unhooking its callback, maybe related to
the new disconnect/destroy server code
2021-04-09 05:24:29 +08:00
bunnie
0fa3d3c969
begin debugging of the RTC
2021-04-08 04:38:01 +08:00
bunnie
45c90659e5
rtc first draft
2021-04-08 02:30:57 +08:00
bunnie
01a0fcc73f
Merge branch 'master' of github.com:betrusted-io/xous-core into bunnie-dev
2021-04-07 18:30:13 +08:00
bunnie
0f9eea10d9
flesh out callback handling of events in LLIO
2021-04-07 18:29:50 +08:00
Sean Cross
e2996935cf
0.8.0: tag release
...
This bumps version numbers to 0.8.0, indicating we're nearing final
release.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-07 16:34:16 +08:00
bunnie
35353f38dd
bring benchmarks to v0.8 and record benchmark results
2021-04-07 00:45:11 +08:00
bunnie
01486b5552
remove shell
2021-04-06 23:12:30 +08:00
bunnie
ea43e236ee
refactor fcc-agent for v0.8
2021-04-06 23:09:33 +08:00
bunnie
b9162fda3d
gettin' there! major modules now mostly working under v0.8
2021-04-06 19:32:35 +08:00
bunnie
9ba2fb134c
refactor most major modules, but Xous now crashes
2021-04-05 23:50:00 +08:00
bunnie
4a504943dc
part-way through the GAM refactor
2021-04-05 05:47:17 +08:00
bunnie
75a6f779f8
initial refactor of ime-frontend
2021-04-05 03:39:14 +08:00
bunnie
8fed353a83
refactor of the imef interface part 1
2021-04-05 00:30:46 +08:00
bunnie
da7ace04d4
rebuild and prep for testing on hardware
2021-04-04 02:15:46 +08:00
bunnie
bd54b48f8f
initial cut of a major refactor of the keyboard server
...
- debounce is now in hardware (requires latest version of betrusted-soc)
- key events originate from an interrupt context and propagate through
to the listeners as messages
- attempt to reduce the use of heapless::Vec; there is an awkward
interposer step still between the array methodology and the Vec
methodology
I'm not sure if trying to eliminate the Vec is a good idea,
because...I'm finding that we're just re-implementing Vec, but
much worse.
However, for the purpose of movement of data across
IPC boundaries, it's more robust to use primitive types,
because serializing Vec is not possible without either
forking the heapless crate to derive the rkyv traits; or, we'd
have to do some probably quite dangerous conversion of the Vec
to a raw slice which also doesn't feel nice.
2021-04-04 01:42:30 +08:00
bunnie
b9ff993845
refactor graphics server
2021-04-03 00:53:30 +08:00
bunnie
d6fd42b593
COM refactor of callbacks
2021-04-02 16:40:17 +08:00
bunnie
d21c0fa3e7
refactor of COM
...
this was much harder than I liked.
2021-04-02 05:43:47 +08:00
bunnie
7210f100f4
upgrade log server to pass rich message types
2021-04-02 01:54:17 +08:00
bunnie
a3adf797b0
refactor TRNG server to new API
2021-04-01 17:20:36 +08:00
bunnie
88d66f4fd2
partial refactor but need to switch branches
2021-03-28 19:36:55 +08:00
bunnie
e889765caf
refactor the Ticktimer API.
2021-03-28 18:14:41 +08:00
Sean Cross
fdce58d06e
ipc: convert project to use xous-ipc
...
This rewrites the entire project so that most runnable projects now use
`xous-ipc` instead of `xous::String` where possible.
This also removes `rkyv` from the list of dependencies in `xous-rs`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 20:22:33 +08:00
Sean Cross
fd255d8f53
services: add rkyv-test-client and rkyv-test-server
...
These servers demonstrate how we might use rkyv in the future.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 23:39:35 +08:00
Sean Cross
9a702437b0
cargo: add lockfile for kernel-test
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-23 21:43:55 +08:00
bunnie
6677d79834
initial RTC framework
2021-03-18 16:22:08 +08:00
bunnie
0cedcffd0c
revert submodule ref for public build
2021-03-18 05:10:16 +08:00
bunnie
ea8b208a15
finalize rkyv 0.4.1 refactor
2021-03-18 03:54:48 +08:00
bunnie
8fbd900a4c
Merge branch 'hardware-no-cb' into rkyv-refactor
...
Bring the two branches up to date, while also laying the groundwork
for XousServerName to be used as a native index type in xous-names
so we aren't burdening xous::String with a hasher
2021-03-17 16:06:06 +08:00
bunnie
eff3e7d7bf
incremental i2c changes
2021-03-16 15:52:13 +08:00
bunnie
f9439b48d6
checking in a refactor that we're going to abort
2021-03-16 12:27:29 +08:00
bunnie
d68e3e8cf4
an attempt to refactor to rkyv 0.4.1
...
unfortunately, it looks like deserialize requires an alloc??
2021-03-16 02:02:53 +08:00
bunnie
be38661a1e
half-baked i2c stuff, but about to tear a bunch of it out
2021-03-15 14:58:48 +08:00