Commit graph

10340 commits

Author SHA1 Message Date
bunnie
ecab0ba045 fix default-features in services 2022-09-27 02:44:46 +08:00
bunnie
6e6b846341 fix default-features setting in loader 2022-09-27 02:44:27 +08:00
bunnie
c3e1e94c71 update lockfile 2022-09-27 01:18:11 +08:00
bunnie
f3fc29abf8 bump ref to ring-xous which absorbs updated xous-ipc 2022-09-27 01:18:00 +08:00
bunnie
3bf363bf22 rework SVD files to be located in utralib crate
- default SVD file is specified now as a constant at the top of xtask
- SVD files are now tracked to commit refs in the betrused-soc tree

this is so that we don't have to guess which crate rev corresponds
to which SVD rev -- we specify it explicitly with a feature flag.
2022-09-27 01:16:29 +08:00
bunnie
09842006f5 std should not be a default feauter 2022-09-27 01:15:55 +08:00
bunnie
52728bce1f more xous-ipc bumps 2022-09-27 01:15:00 +08:00
bunnie
d667d7e1f5 bump xous-ipc version 2022-09-27 01:14:43 +08:00
bunnie
49b6698f15 don't hide the loader! 2022-09-27 01:14:06 +08:00
bunnie
ecd4aa2631 derp helps to name the default feature correctly 2022-09-26 23:25:58 +08:00
bunnie
17248fdbf1 revise utralib to use features to select the SVD file 2022-09-26 23:24:22 +08:00
bunnie
ac6dbb2689 bump version so we can update xous-ipc dependency 2022-09-26 17:15:54 +08:00
bunnie
f188e0f866 re-bump xous-ipc to 0.9.9 2022-09-26 16:50:38 +08:00
bunnie
19c90c1cc7 move precursors to the utralib
this will allow us to package up utralib for generation of soc
dependencies
2022-09-26 16:49:49 +08:00
bunnie
0e9cd1d4e3 add note about crates.io sourcing of key API files now. 2022-09-26 16:26:01 +08:00
bunnie
507ab42836 downgrade xous-ipc to 0.9.7 until i have permissions to push a new version 2022-09-26 16:11:26 +08:00
bunnie
3579dfdd17 update xous-ipc and xous versions 2022-09-26 16:07:35 +08:00
bunnie
d10683d29f contemplating splitting log-server itself into a crate, just to see what happens... 2022-09-26 14:58:05 +08:00
bunnie
f53bac3389 prep a version of utralib for push to crates.io 2022-09-26 14:23:10 +08:00
bunnie
119eac0c70 update manifest 2022-09-26 14:13:20 +08:00
bunnie
a1b7dde106 prep svd2utra for submission to crates.io 2022-09-26 14:07:28 +08:00
bunnie
114d60bc53 migrate logserver API to external package 2022-09-26 14:06:46 +08:00
bunnie
f8632e26b0 bump xous ref now that the latest xous is up 2022-09-26 13:14:17 +08:00
bunnie
4010ed9dee exclude the API crate source from the workspace 2022-09-26 12:16:00 +08:00
bunnie
a52cec1847 change from xousapi to xous-api naming
i think it's easier to read xous-api, even though it's got
an extra hyphen in it causing more visual noise.
2022-09-26 12:12:53 +08:00
bunnie
3b48ff8be7 initial cut at splitting out the lib section of log-server 2022-09-26 11:36:49 +08:00
bunnie
6811e23f20 remove unused/outdated artifacts 2022-09-26 11:26:03 +08:00
bunnie
b6afff7f14 bump lock file 2022-09-26 11:13:04 +08:00
bunnie
147d55bdf8 bump xous-rs version 2022-09-26 11:08:22 +08:00
bunnie
195bf26585 update release notes 2022-09-25 02:05:51 +08:00
bunnie
b82271d721 update release notes 2022-09-25 02:05:14 +08:00
bunnie
85279566f0 fix #77
This adds some UX feedback in the edge case that a suspend could not
happen due to a blocking sever, e.g. a sha512 hash pending or
a SPINOR flash write/erase pending.

The UI will tell the user to retry again; usually the ops in
a normally functioning system for hashes or SPI are very short,
so we could almost just retry automatically but I think for now
I want to see if this edge case actually happens.
2022-09-24 02:40:11 +08:00
bunnie
d3daca9c5e migrate suspend/resume to the private server
this seems to resolve an issue where the time server fails to
suspend due to contention for the llio block.
2022-09-24 01:26:17 +08:00
bunnie
6cf5135a7d fix #129
just strip out the unused code.
2022-09-23 03:01:18 +08:00
bunnie
72859d18dd fix UX update issue on FIDO adding records.
maybe need to also chase this down in the password add new area too?

need to check.
2022-09-23 00:37:15 +08:00
bunnie
278570d8d3 progress on issue #223
This adds the abort flow to the U2F approvals. Needs more testing.
2022-09-23 00:27:14 +08:00
bunnie
13402b99b9 fix #224
was a logic bug where the database name was not updated while
doing some refactoring previously
2022-09-22 22:05:57 +08:00
bunnie
9a712e643f fix hosted mode 2022-09-22 16:42:41 +08:00
bunnie
7b040f5c34 Close issue #71 (wait_event() for SHA512 block)
I was this many years old when I learned that:

- If you put a `let` inside a block and then pass it outside
the block, it definitely gets a different address. This was causing
KP's in the interrupt handler routine because I was using a block
to mark off the configuration feature and then passing the handle
to the data structure outside the block; instead of just aliasing
the handle over as I assumed it actually makes a copy in a new
address location. This made debugging really hard until I figured
that out, the solution was to put #cfg directives on every line
related to the feature instead of grouping them together into a
block and using a single #cfg directive.

- event_wait() takes longer than 2us to execute. However, the
sha512 computation is done in 2us. So, by the time we checked
if we should wait and called event_wait(), the interrupt that
would wake us up from event_wait would have already happened.
This race condition is what broke event_wait() in the first place.

We now just use a spin loop without even a yield(); as the yield
would take longer to execute than waiting for the hash function
to finalize.
2022-09-22 15:06:54 +08:00
bunnie
d6b8310495 fix a typo
man that would have been a hard bug to track down.
2022-09-22 01:27:10 +08:00
bunnie
8fe4c50373 improve error reproting on #206 2022-09-20 23:24:42 +08:00
bunnie
ba45fc2685 fix validator issue on hotp count 2022-09-20 23:13:18 +08:00
bunnie
9225cbaba3 resolve issue #206 by adding check for existing basis 2022-09-20 23:06:22 +08:00
bunnie
ef65d1aa9f Merge branch 'wlan-mgr' into main 2022-09-20 19:38:24 +08:00
bunnie
035bdaf986 complete wifi on/off interface
fully integrates wifi on and off commands. measured standby power
when wifi is off is "immeasurable" (0 mA), so probably < 1-2mA.

fix ui transitions so that the off request is respected, through
sleep/resume cycles as well.
2022-09-20 19:36:55 +08:00
bunnie
ec8a16f3d7 touch up some UI interactions 2022-09-20 15:54:48 +08:00
bunnie
d561e07beb bump release notes 2022-09-20 15:54:43 +08:00
bunnie
851604f471 add translations and minor fixes to workflow 2022-09-20 01:51:40 +08:00
bunnie
22a440f75f Add HOTP initial count feature; try to fix HOTP panic
- HOTP now prompts for an initial count
- Found a code path where improperly formatted HOTP field can
lead to a 0-value being passed to a totp generator
- Added guardrails around the TOTP generator so it can't divide by 0:
it issues a warning instead.
2022-09-19 23:44:45 +08:00
bunnie
d21bd5c935 Merge branch 'main' into wlan-mgr 2022-09-19 17:50:35 +08:00