Sean Cross
c85925ef87
gh actions: fetch tags
...
The build system now requires tags, so fetch those
2022-07-13 20:27:03 +08:00
bunnie
ca7be97dfd
remove debug for push to CI
2022-07-13 15:16:53 +08:00
bunnie
5847cb04cf
improve resume error handling in the time block
2022-07-13 15:16:15 +08:00
bunnie
a05f9a5c92
revert to debugging
2022-07-13 05:03:42 +08:00
bunnie
df2de92d43
don't commit Debug flag
2022-07-13 05:02:55 +08:00
bunnie
e626c81851
Merge branch 'main' of github.com:betrusted-io/xous-core into main
2022-07-13 05:02:22 +08:00
bunnie
b4b6fc2a49
unbreak hosted mode
2022-07-13 05:01:36 +08:00
bunnie
f1d91b5b25
bump lockfile
2022-07-13 04:44:57 +08:00
bunnie
85ced42465
add automatic checks for backup/restore on boot
2022-07-13 04:44:44 +08:00
bunnie
7b72966c09
add restore flow to the root keys server (still untested)
...
- also recycles the PDDB when keys are initialized
2022-07-13 04:44:13 +08:00
bunnie
abe153208f
update shellchat to use the new semver returns
2022-07-13 04:43:35 +08:00
bunnie
c08bb6a3f9
add notes about the second ECC error reported
2022-07-13 04:43:20 +08:00
bunnie
02c886bf84
attempt to fix-up ECC error by clearing both ECC registers
...
this doesn't seem to fix it tho, when we hit the error
the chip just returns 0xFF's eternally.
2022-07-13 04:38:06 +08:00
bunnie
e26e6e6bd0
fix missing token search in bip39 return
2022-07-13 04:37:48 +08:00
bunnie
9569954ab4
add an extra line to the bip-39 display area
...
turns out you can have 5-line codes.
2022-07-13 04:37:14 +08:00
bunnie
65ee48f100
retrofit com to output semver structures
2022-07-13 04:36:54 +08:00
bunnie
d3337bdaba
make constant naming consistent (prefix indicates the address space offset)
2022-07-13 04:36:17 +08:00
bunnie
322941c4ae
add version with SemVer output for Xous
2022-07-13 04:35:53 +08:00
bunnie
bfb93269f3
create the backup side of the flow
2022-07-12 04:50:03 +08:00
bunnie
09e1b99315
initial infrastructure for running backups
...
code to serialize/deserialize and encrypt/decrypt the backup
block.
now filling in the UX flow around this.
2022-07-12 03:32:33 +08:00
bunnie
941d72f3c5
add a magic word check to the wf200 routine
...
avoids running an update if nothing is staged at all.
2022-07-12 03:31:54 +08:00
bunnie
fa21e01b94
add the location of the backup block
2022-07-12 03:31:37 +08:00
bunnie
ed2f029874
add SoC autoupdate flow options -- still needs testing
2022-07-11 18:36:00 +08:00
bunnie
f756c4ee66
note stats on quitting the updater thread
2022-07-11 16:27:13 +08:00
bunnie
3e8065ee56
quit the ec updater thread once we're done checking for updates
...
unless we're debugging, there is no more need for its resources
to be allocated.
2022-07-11 16:23:36 +08:00
bunnie
7248f47ca8
fix self-signing to reflect extra data for semvers
...
the loader is a little funky, and requires some maintainer hand-holding
due to the split of the page ownership between the root-keys
crate and the graphics-server crate.
Improved docs so I don't forget this detail in the future.
2022-07-11 16:11:32 +08:00
bunnie
af1013a1f3
rework SoC semver reporting to use xous-semver
2022-07-11 15:39:42 +08:00
bunnie
24c10dcfb2
bump the rate of update feedback slightly
...
slightly more aesthetic experience without too much performance
penalty.
2022-07-11 15:09:47 +08:00
bunnie
a90b5f2554
clean up autoupdate flow & clean up net link reset flow
...
We are now at a point where the EC update can be applied and the
net stack recovers gracefully, so no reboot is required in the
case of an EC update.
2022-07-11 15:07:53 +08:00
bunnie
8f3aa84e6d
refresh the wlan stats cache on resume...
2022-07-11 05:06:01 +08:00
bunnie
ca5455635b
add some heuristics to improve the connection manager
...
the CM can't always detect if the EC changes state; this is
especially true after an update or a forced reset where
the state caches are not reliably updated. If no packets are
seen for a while, poll the actual state and force a sync-up.
Also try to make sure that the interrupts are enabled correctly.
2022-07-11 04:58:48 +08:00
bunnie
3ee086b257
fix interrupts (broke them trying to do some exceptional error handling)
2022-07-11 04:39:10 +08:00
bunnie
2ad7ed10d6
bump semver version
2022-07-11 04:13:19 +08:00
bunnie
d639b3db55
fix debug output
2022-07-11 04:13:04 +08:00
bunnie
a89ae13463
move pddb mounter to status thread
2022-07-11 04:12:44 +08:00
bunnie
25e8da849e
rework semver returns and fix flash verify bugs in COM
2022-07-11 04:07:00 +08:00
bunnie
6e7798ff6c
remove ECUP from shellchat
2022-07-11 04:06:26 +08:00
bunnie
70003b641f
migrate ecup to the status thread
...
also rework the boot flow to have auto-update detect for EC updates
2022-07-11 04:05:53 +08:00
bunnie
734a382ae9
add FLASH_VERIFY to COM command set. Add apilevel to com_rs.
...
This adds the FLASH_VERIFY command, which is going to be used
to help automate some update logic.
The notion of an apilevel has also been added to every com_rs
command; this can be used by the COM to figure out what commands
are valid for talking to the current reported EC version.
The version parsing of the string passed back from the EC has
been replaced with the code in the xous-semver crate.
2022-07-10 01:04:34 +08:00
bunnie
b3aed616cd
Update flash.md
2022-07-09 15:37:50 +08:00
bunnie
398e4b1f88
Update flash.md
2022-07-09 15:34:55 +08:00
bunnie
1256fcb411
add min version requirement and current version to kernel and loader
2022-07-08 18:56:05 +08:00
bunnie
1da8578459
remove v1 PDDB migration in prep for min version setting
2022-07-08 18:07:10 +08:00
bunnie
40b16b3cdb
inject current semver info into signature appendix on loader and kernel
...
this allows for a quick readout of the version of each of these
artifacts, inside a signed region, by just inspecting the last
few words of the binary object.
2022-07-08 04:08:37 +08:00
bunnie
efc680ed36
Merge branch 'main' of github.com:betrusted-io/xous-core into main
2022-07-07 00:47:27 +08:00
bunnie
6fc83d363b
resolve issue #202 add a bail option to the BIP39 dialog
2022-07-07 00:46:58 +08:00
Sean Cross
095e8b594f
Merge branch 'main' of github.com:betrusted-io/xous-core
2022-07-06 14:00:23 +08:00
Sean Cross
d6ac900748
pddb: backend: use Instant for access time
...
Instead of using the ticktimer server directly, use
`std::time::Instant::now()`. This enables tests to be run in hosted
mode.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-07-06 13:59:35 +08:00
bunnie
d1c3ebce97
fix TTS in CI build
2022-07-06 05:08:22 +08:00
bunnie
7dfafe84e8
update release notes
2022-07-06 05:07:29 +08:00