Commit graph

91 commits

Author SHA1 Message Date
bunnie
193f563782 very basic small key additions working as expected now 2021-11-21 02:21:25 +08:00
bunnie
c62b2a25fb dictionary adding now seems to work 2021-11-18 02:01:30 +08:00
bunnie
507d99ee41 moving toward refactoring the basis sync function 2021-11-18 00:09:55 +08:00
bunnie
bbbaa6b810 clean up the structural definition of the dictionaries and keys 2021-11-16 18:45:24 +08:00
bunnie
49d00c783e basic mounting of the PDDB & readout of system basis 2021-11-16 02:58:33 +08:00
bunnie
d7cc518552 add mbbb mechanism 2021-11-15 19:05:03 +08:00
bunnie
65bbc82ef5 commit to Repr(C), include doc comment for rationale and tests 2021-11-15 16:38:57 +08:00
bunnie
ce51205155 checkpoint with memory placement and disk storage
this probably isn't new to most other people but this has been
a very visceral exercise of how tricky it is to use Repr(c)
for data layouts in anything but the most trivial data structures.

Unfortunately the Basis root data structure needs to be fairly rich,
so we're playing around with using rkyv to help with the serialization
to disk but I'm also not convinced this is a good idea yet. This
checkpoints commits a "working" rkyv implementation, but I'm not
entirely happy with the notion that rkyv can shuffle around data
bits based on its particular version or decisions in the serializer
crate. I'd like deterministic, repeatable serialization that will
be solid through lots of revs...
2021-11-15 16:00:01 +08:00
bunnie
ba9b136f87 debugging alignment issues on serialization of compound structures 2021-11-15 04:03:55 +08:00
bunnie
94a86c542d add an entrails parser for the PDDB 2021-11-14 19:02:34 +08:00
bunnie
8b59bcdf61 add indices to create_image output
makes it easier to figure out what IniE section corresponds
with which PID.
2021-11-06 21:03:28 +08:00
bunnie
c87acaeddc clarify a bit of rounding code in the create-image routine 2021-11-06 20:30:01 +08:00
bunnie
6360d1c902 tighten up the hard-coded locations for the trng test
these locations look good for a while, now that i see the
structure of data allocation (it's split between top and bottom)
2021-10-31 02:58:43 +08:00
bunnie
5f327126ab Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-10-30 03:16:13 +08:00
bunnie
72df2ff7e4 commit tester stability tweaks 2021-10-30 03:15:53 +08:00
bunnie
ad66460543 move the trng tester ram locations on the corresponding host-side test script 2021-10-30 03:14:33 +08:00
bunnie
73c131cbcc fix help message 2021-10-07 01:09:53 +08:00
bunnie
42e298d79b add a sleep between update commands 2021-10-05 22:34:53 +08:00
bunnie
792ad953eb add wf200 artifacts to the update script 2021-10-05 22:28:30 +08:00
bunnie
2e40546a88 add a force overwrite option to the updater for the soc mode 2021-10-04 16:30:41 +08:00
bunnie
0f00e36dea loader was never updated. oops. 2021-10-04 16:26:33 +08:00
bunnie
6b0b768081 add a line break on the exit to call out the reminder 2021-10-04 15:48:37 +08:00
bunnie
e3ff753e83 add a line break on the help message 2021-10-04 15:48:23 +08:00
bunnie
9994b38e16 clarify update_ci role with respect to the SOC image 2021-10-04 15:47:02 +08:00
bunnie
7bfdce147c modify the update_ci script to be aware of the release tree 2021-10-04 15:38:04 +08:00
bunnie
966615270f update trng test wdt ping method 2021-09-09 22:38:51 +08:00
bunnie
f3786b01a1 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2021-09-07 19:01:02 +08:00
bunnie
840cccecda make the filename more obvious for the purpose of the legacy update script 2021-09-07 19:00:34 +08:00
bunnie
da9078749f add a script for xous 0.8 devices. because there are still a couple out there 2021-09-07 18:59:47 +08:00
bunnie
e510525a0a move wycheproof-import to tools 2021-09-06 14:42:19 +08:00
bunnie
e57587d9c8 update documentation to reflect bitstream padding added to align AES blocks 2021-09-05 18:31:42 +08:00
bunnie
0ae2d13602 update trng_test.py to xous 0.9 2021-09-05 17:47:52 +08:00
bunnie
d20a06e4eb fix update script to use the correct precursor 2021-08-30 03:30:45 +08:00
bunnie
69d9e38c8b add EC updates to the CI update script 2021-08-24 23:22:41 +08:00
bunnie
33d14b6ee3 add some timeouts after each phase, for the device to reboot 2021-08-24 22:59:10 +08:00
bunnie
1af98f7e43 Merge branch 'main' of github.com:betrusted-io/xous-core into bunnie-dev 2021-08-24 22:39:50 +08:00
bunnie
99ff36f529 add a quick CI update script 2021-08-24 22:37:31 +08:00
bunnie
a2bcf0fc2b match wdt ping to refactor + fix paths for default images to xous 2021-08-23 05:11:14 +08:00
bunnie
ccc577f8d7 clean up the update flow 2021-08-16 02:46:54 +08:00
bunnie
353311b987 fix USB update flow 2021-08-15 16:03:18 +08:00
bunnie
f334199ee6 commit host mode debugging 2021-08-12 23:01:34 +08:00
bunnie
ec6a3fd1a3 self-signing working, but the patch to use the SHA hash engine seems to be disregarded... 2021-08-09 03:27:43 +08:00
bunnie
d86c78eea8 partial progress on self-signing 2021-08-03 04:58:34 +08:00
bunnie
825322c730 add explicit .iter() for arrays so we still work with Rust 1.51 2021-07-18 16:04:22 +08:00
Sean Cross
aaa4407e21 sign-image: enable kernel image signing
Previously we only supported signing the loader. This also adds the
kernel as a thing that can be signed.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-15 16:39:35 +08:00
Sean Cross
f0bd6c6cd3 Merge branch 'sign-image' 2021-07-13 20:11:27 +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
b31ff527a3 more help for dealing with python shittiness 2021-07-11 17:01:56 +08:00