Commit graph

10340 commits

Author SHA1 Message Date
bunnie
23c6464014
Merge pull request #244 from betrusted-io/lockscreen
feat: Lockscreen
2022-10-17 05:21:26 +08:00
bunnie
e81abdfc09 bump readme 2022-10-17 05:20:26 +08:00
bunnie
d053baf3e3 update lockfile and check versions 2022-10-17 05:17:59 +08:00
bunnie
4d1da235a9 bump revs that depend on susres to absorb changes 2022-10-17 05:11:09 +08:00
bunnie
c9cf1dc78b add more debug patches 2022-10-17 05:07:46 +08:00
bunnie
6dacf18213 replace remaining final few instances of com poweroff with susres poweroff 2022-10-17 05:06:39 +08:00
bunnie
dc2c79df4d deprecate reboot function in test routines 2022-10-17 05:06:05 +08:00
bunnie
9a4b530046 deprecate instances of llio reboot in favor of susres reboot 2022-10-17 05:05:37 +08:00
bunnie
746ab64c2f add routine to poweroff SoC directly via susres mechanism
the llio power-cut mechanism is no longer effective with
the power-down sequencing required by susres. use the susres
mechanism instead, and depracate the previous method.
2022-10-17 05:04:23 +08:00
bunnie
d7392d3704 improve comments and add count to the user-failed mount case 2022-10-17 03:51:36 +08:00
bunnie
de41e5ecff rework password login to have a count and reboot/suspend after N retries
The implementation is a bit clumsy because the original
premise of the login loop is that it should be infalliable, and
because of the isolation of the password mechanism there isn't
a great way to pass number of failures back and forth across
that firewall (and I don't think there should be).

The application calling the password routine tracks failures
but the mounting routine has to kick that up to the main loop.
However, the PDDB main loop can't get stuck on the mount attempt
if you want to suspend, because it has to respond to the suspend
request.

So the failure message has to get kicked all the way back to the
status thread, which is what kicks off the mount, and then handled
there.
2022-10-17 02:40:51 +08:00
bunnie
ec1d1b4444 don't try to unmount anything if nothing was mounted 2022-10-17 00:32:06 +08:00
bunnie
3bc2860eb0 reboot -> lock device; disconnect battery -> shutdown 2022-10-17 00:19:35 +08:00
bunnie
3a2b901f49 fix version check version pins 2022-10-15 01:42:08 +08:00
bunnie
4b368d71db bump versions of crates 2022-10-15 01:31:54 +08:00
bunnie
d88f9cf685 absorb regenerated utralib files from previous patch 2022-10-15 01:29:49 +08:00
bunnie
f4eb0ac5b7
Merge pull request #243 from eupn/svd2utra-generate-smaller-tests
svd2utra: generate smaller compile tests for each peripheral
2022-10-14 10:24:18 -07:00
eupn
722e8a1187
svd2utra: generate smaller compile tests for each peripheral 2022-10-14 21:03:53 +04:00
bunnie
f2ae008c25 various small fixups in crates.io to local source sync checks 2022-10-14 17:43:08 +08:00
bunnie
158ea5bb2d bump verification pins in xtask 2022-10-14 17:12:21 +08:00
bunnie
d33ee5a179 fix bugs in publish script 2022-10-14 17:12:06 +08:00
bunnie
63a87ca1bc bump all the versions 2022-10-14 16:54:43 +08:00
bunnie
efa8baf6f2 fixup utralib extensions 2022-10-14 16:52:27 +08:00
bunnie
64981a4bbd cleanup leftover dependency that was never used, commit Cargo.lock 2022-10-14 16:32:13 +08:00
bunnie
16b995e66b add utralib options to the publish set 2022-10-14 16:25:54 +08:00
bunnie
142caca365 update gitref to latest ring-xous
also some commented patches that are helpful for testing utralib changes
2022-10-14 16:25:19 +08:00
bunnie
61bb02ab99 add some notes to remind myself about the ring-xous patch 2022-10-14 16:24:30 +08:00
bunnie
e0a85ac1cd activate flags for timestamping; re-order dependencies for easier maintenance 2022-10-14 16:23:57 +08:00
bunnie
d4e3f81756 deprecate unused flags 2022-10-14 16:23:24 +08:00
bunnie
6ee5375934 move versioning infrastructure to a feature flag
this enables more smooth packaging of the ticktimer crate
2022-10-14 16:22:46 +08:00
bunnie
4d52bb40f0 update artifacts from svd patch 2022-10-14 16:22:24 +08:00
bunnie
65ecba75fa Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-10-14 15:04:25 +08:00
bunnie
8b9520ffcf
Merge pull request #240 from eupn/svd2utra-gen-bugfixes
Verious svd2utra generator bugfixes
2022-10-14 00:03:08 -07:00
bunnie
fad7c3df20 add preliminary publish script 2022-10-14 05:14:26 +08:00
bunnie
c2a78333c8 generalize script to fix all paths 2022-10-14 05:01:52 +08:00
bunnie
eaac18070e checkpoint on helper script 2022-10-14 04:01:10 +08:00
bunnie
7bb724142b absorb lockversion changes 2022-10-14 03:30:18 +08:00
Gianguido Sorà
c4e931a766 status: implement basic radio user preference 2022-10-13 17:59:34 +02:00
Gianguido Sorà
a0b74ef2d0 userprefs: publish Manager::new() method 2022-10-13 17:59:12 +02:00
Gianguido Sorà
073110c737 net: add method to turn on wifi without scanning 2022-10-13 17:58:52 +02:00
eupn
5ce93a8615
svd2utra: fix duplicate enum discriminants error for offsets 2022-10-13 12:04:26 +04:00
eupn
bcb99ba727
svd2utra: add bitRange tag support for fields 2022-10-13 11:59:44 +04:00
eupn
c7c3efae2b
svd2utra: read the field's <name> tag only once 2022-10-13 11:56:14 +04:00
bunnie
4ec076f130 ...and undo 2022-10-13 04:13:39 +08:00
bunnie
b9ed1c0106 add for publish crate 2022-10-13 04:13:06 +08:00
bunnie
ff30131f43 absorb more fixes into the kernel 2022-10-13 04:08:56 +08:00
bunnie
966cdef65f remove warning 2022-10-13 04:03:08 +08:00
bunnie
64b942f3b4 fix errors is the test module from PR#238 2022-10-13 04:01:43 +08:00
bunnie
51752aac9d
Merge pull request #239 from Foundation-Devices/baremetal
Use CARGO_CFG_TARGET_OS in build scripts.
2022-10-12 12:56:17 -07:00
bunnie
f5a558286a update lockfile with latest crates 2022-10-13 03:47:47 +08:00