Commit graph

134 commits

Author SHA1 Message Date
bunnie
4c4ca1577f fix connection manager state machine
seems to work a lot better, but needs a lot more testing
2022-01-27 03:56:39 +08:00
bunnie
5ea9695c9c add precursors that fix the loader signature check as well 2021-11-02 03:54:15 +08:00
bunnie
651a05195f another attempt to sync up the precursors. something weird is doing on. 2021-10-29 03:22:04 +08:00
bunnie
f17c1df138 sync up precursors with what's generated by the CI system 2021-10-29 02:42:55 +08:00
bunnie
18d3e75773 update precursors in prep for a new tag 2021-10-28 18:39:35 +08:00
bunnie
010856406d fix permissions 2021-10-27 23:06:13 +08:00
bunnie
ec538025a8 changes to bring us up to date with rust 1.56. still not building. 2021-10-23 17:08:48 +08:00
bunnie
f1296d0dfd convert route table to use heap not static memory, since we have heap 2021-10-15 15:44:16 +08:00
bunnie
560c6e4197 something packet-oid is coming out of the serial port now? 2021-10-09 02:12:12 +08:00
bunnie
7ef9fd011c update to the latest litex core 2021-09-28 02:39:20 +08:00
bunnie
1f92ed3551 update precursors 2021-09-25 22:29:30 +08:00
bunnie
c7b523cb02 commit precursors that fix curve25519 bug 2021-09-07 05:09:54 +08:00
bunnie
d261dfd4e1 add precurcsors with the right tag 2021-08-30 00:57:30 +08:00
bunnie
823c23ccc8 latest precursors to correspond with fixes 2021-08-29 22:01:54 +08:00
bunnie
aab1625ba3 add precursors that correspond to the latest changes. this will
require a rebuild/reflash of loader + kernel beacuse it introduces
an extra CSR for WFI management during sleep.
2021-08-29 12:05:18 +08:00
bunnie
aa159c5e5e update precursors with correct gitrev 2021-08-27 16:22:01 +08:00
bunnie
58bff6aa3a commit working SoC image 2021-08-27 15:47:43 +08:00
bunnie
d417ef560a progress toward COM bus refactor; precursors reduce COM frequency slightly 2021-08-25 02:29:00 +08:00
bunnie
a3c5f1b428 absorb UART power management fix into gateware 2021-08-24 19:19:48 +08:00
bunnie
160a730d9f commit precursors
contains
 - refactored WDT
 - refactored keyboard interface

still exhibits issue #74, unfortunately. seems that key-up events
go missing every now and then. still not sure why.
2021-08-23 05:12:45 +08:00
bunnie
55c72097db well, now we know the signtaure check works.
gateware was missing the signature area due to a problem in
the preparation script. now fixed.
2021-08-20 04:32:30 +08:00
bunnie
d9cf901ae2 update precursors to v0.9.0 SoC build 2021-08-20 02:24:45 +08:00
bunnie
c3fc3ff23f add bbram provisioning sequence 2021-08-19 04:22:28 +08:00
bunnie
870bd5e632 committing a generic soc_csr.bin image -- should unbreak things for other users 2021-08-14 20:04:49 +08:00
bunnie
b4ee254001 finally, a semblance of sanity... 2021-08-14 16:24:19 +08:00
bunnie
ee4368e747 gateware update code in place 2021-08-13 06:00:21 +08:00
bunnie
f334199ee6 commit host mode debugging 2021-08-12 23:01:34 +08:00
bunnie
bc6ec8caf4 initial key provisioning demo working 2021-08-07 22:21:49 +08:00
bunnie
b6039361cf jtag script for burning the key 2021-08-04 13:57:09 +08:00
bunnie
ac190e2d97 add the test key for self-provisioning testing 2021-08-04 13:54:11 +08:00
bunnie
07bf3478fa add the KEYROM patching database for rewriting bitstreams with new keys
This code was originally in https://github.com/betrusted-io/rom-locate.
However, the majority of that crate is concerned with creating the database
files necessary for the patching, and it pulls in a lot of dependencies.

Changing hardware targets is considered to be a "huge" change for this
project, so we're pushing the code generator directly into xous-core,
and commiting the generated code directly. The theory is that we would
probably never have to modify this code, since it's so intimately linked
to the hardware; it's a bit like committing an include file with
register offsets for a particular peripheral.
2021-08-03 16:28:17 +08:00
bunnie
5280d232e5 figuring out which way is up on the RootKeys implementation 2021-07-21 19:47:09 +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
bunnie
98c0054d7e some progress on spinor drivers 2021-07-14 00:01:09 +08:00
bunnie
b8b034086c actually use the curve25519 engine in the loader
forgot to apply a patch.crates-io in the Cargo.toml file
for the loader, so we were using u32 software backend emulation.
2021-07-13 22:40:57 +08:00
bunnie
a4f8346c34 reflect the latest fixes to the secure boot process
also patch up some issues with sha512 reset and loose
ends on docs and updates
2021-07-13 00:46:31 +08:00
bunnie
5d62af49a5 simple signature checks in the bootloader now
checks xous.img as a single blob before accepting it.
2021-07-12 17:16:22 +08:00
bunnie
2b19f31da9 set the stage for simple signature validation on the kernel 2021-07-12 02:26:50 +08:00
bunnie
dfb8d89866 add comments about where to get packages from 2021-07-11 14:13:34 +08:00
bunnie
5c5cd36830 update the soc svd and precursors 2021-07-11 04:05:21 +08:00
bunnie
1949c1bbc9 a semblance of sanity, finally 2021-07-09 23:01:50 +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
6c697de512 add l2 cache support (suspend/resume flushing)
also noted some performance benchmark improvements
2021-07-05 17:05:10 +08:00
bunnie
00be94d913 devboot mode support 2021-07-03 21:08:39 +08:00
bunnie
25ea2c9cf9 move obsolete script into tools directory and update readme 2021-06-30 00:12:46 +08:00
bunnie
ee87fd35a8 add hw acceleration for the affine transform on curve25519 2021-06-28 04:43:56 +08:00
bunnie
9ebd181694 engine25519 core services now working 2021-06-25 19:35:31 +08:00
bunnie
1d274e4d7c engine passs tests, but still some issues with power management 2021-06-25 04:40:06 +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
9647559d25 update precursors to the latest pre-build 2021-06-21 19:22:44 +08:00
bunnie
a70b858812 convert to using the urandom interface 2021-06-11 16:29:25 +08:00
bunnie
abbd1574e5 add trng test and management commands 2021-06-08 21:29:23 +08:00
bunnie
2174ab7677 upgrade TRNG with health tests and reporting facilities 2021-06-08 01:22:07 +08:00
bunnie
ff5af4d66e update precursors to incorporate the correct git rev 2021-06-04 02:33:17 +08:00
bunnie
25e6bced00 add power-on utilization reporting
there is now an extra field in the status bar that gives
the %'age of time that the clocks are running.
2021-06-02 01:08:31 +08:00
bunnie
ee2e38be05 add commands to help manage wfi/power debugging 2021-06-01 17:02:30 +08:00
bunnie
61f95363fd mark a commit for the latest build submitted for testing 2021-06-01 15:33:48 +08:00
bunnie
2f9fa57bdd clock-gate based power management now seems to be more or less working 2021-05-31 23:14:35 +08:00
bunnie
d9e56fd321 very preliminary power savings working 2021-05-31 05:20:54 +08:00
bunnie
7c55925926 intermediate check-in on wfi 2021-05-30 23:07:16 +08:00
bunnie
afe8d8733d updates to use the always-on power domain timers 2021-05-30 04:29:03 +08:00
bunnie
52c32cc4d1 auto-powerdown of sha block when not in use 2021-05-30 00:12:18 +08:00
bunnie
1e5bf6131d update precursors with usb PHY reset patch 2021-05-23 23:55:55 +08:00
bunnie
d90aa639cc update to include git version in soc_csr.bin 2021-05-22 23:40:38 +08:00
bunnie
fe6b417643 checkpoint 2021-05-08 01:13:30 +08:00
bunnie
7dd66a4c18 playback is mostly working and stable 2021-05-07 05:42:39 +08:00
bunnie
d17ae106f1 kernel panic on memory lend 2021-05-05 00:58:48 +08:00
bunnie
a4ca725c2a add a reset to an i2c core 2021-05-03 21:24:37 +08:00
bunnie
8e8b515a36 add a script to provision audio artifacts 2021-05-03 18:02:20 +08:00
bunnie
4854cc98ee expand README 2021-05-02 18:15:29 +08:00
bunnie
d936b69c14 merge credits into README 2021-05-02 18:13:24 +08:00
bunnie
ba729bd172 rename as generics 2021-05-02 18:11:31 +08:00
bunnie
4fbee9cabd add a note about the audio samples 2021-05-02 18:08:34 +08:00
bunnie
c3e02cca0e add audio samples for testing + credits 2021-05-02 18:04:13 +08:00
bunnie
0ca2f58c6e add a note to indicate if we're in cold sleep
it's not terribly aesthetic right now, but we can fix that later.
2021-05-02 03:36:54 +08:00
bunnie
b28dff273f intermediate checkin figuring out ticktimer issue
seems to be a hardware problem with the loading routine
2021-05-01 19:13:22 +08:00
bunnie
46fe3885dc cleanup more turds left over during the bringup of suspend/resume 2021-05-01 00:35:32 +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
e481df71da add a resume kicker port for the handoff of bootloader to kernel 2021-04-29 01:05:50 +08:00
bunnie
9997749c4c fix soc version 2021-04-27 21:32:43 +08:00
bunnie
9ec1de4c01 commit a SoC version for pre-build
should show up as version 0.8 but probably a bug in the gitver
on the soc side, will chase that down later
2021-04-27 19:30:49 +08:00
bunnie
39eb916297 add pre-builds for users who aren't building the FPGA from source 2021-04-27 19:01:20 +08:00