Commit graph

83 commits

Author SHA1 Message Date
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