Commit graph

10340 commits

Author SHA1 Message Date
bunnie
1ae786b7d2 absorb lockfile changes due to library copying 2025-11-27 17:57:58 +08:00
bunnie
80eba30099 use screen real estate a bit more efficiently on panic 2025-11-27 17:57:41 +08:00
bunnie
6df070e95e notify waiters that mount is successful 2025-11-27 17:57:24 +08:00
bunnie
e18175a425 refer to local version of libraries
this fixes a dangling reference to the trng generator
2025-11-27 17:57:03 +08:00
bunnie
7b00f63d74 fix libraries to refer to local vendored-in version
this allows us to tweak the libs locally without affecting
the legacy stuff
2025-11-27 17:56:04 +08:00
bunnie
b0888f69df integration of QR code scanning in main
plus additional notes/thoughts on things to do
2025-11-27 16:56:06 +08:00
bunnie
7e5aaa805d implement totp auto-typing
also extend totp updater to return the string so we can use that
result to type a code
2025-11-27 16:54:43 +08:00
bunnie
8a980c1c81 add totp extractor directly from uri string in QR code 2025-11-27 16:54:09 +08:00
bunnie
833fa96041 add qr acqusition for totp 2025-11-27 16:53:35 +08:00
bunnie
74134bfac2 add ux-api acquisition features 2025-11-27 16:52:44 +08:00
bunnie
fbb04d96ab make center keypress a unique key so we handle it separately 2025-11-27 16:51:15 +08:00
bunnie
1f9ab022f2 implement on-demand QR code scanning 2025-11-27 16:50:47 +08:00
bunnie
cd769d4969 change default font to regular
it's readable enough without having to go to bold
2025-11-27 12:35:28 +08:00
bunnie
bc4e459e28 convert spim txrx timeout from a hard-error into an error message
occassionally when the bus is loaded, some SPIM transactions won't
complete. this needs to be looked into a little more, i think...
2025-11-27 12:34:40 +08:00
bunnie
a24aaaa944 increase keyup delay slightly
this prevents some keyboard stutter in case of ui lag
2025-11-27 12:34:13 +08:00
bunnie
72144ad35d builds with no timestamp should still display a git version
version descriptions should be reproducible, by definition.
2025-11-27 12:33:43 +08:00
bunnie
32aab99e97 clarify missing timestamp 2025-11-27 12:33:26 +08:00
bunnie
d41661c20a
Merge branch 'main' into vault2-progress 2025-11-26 15:08:14 +01:00
bunnie
c4312f44f8
Merge pull request #743 from betrusted-io/vault-ci-fixups
Progress on vault
2025-11-26 15:07:57 +01:00
bunnie
434e0c7ae5 refactor organization of code to fix dabao target
kpc isn't possible on dabao due to the pins not being broken out,
so gate out the service entirely for that target.
2025-11-26 21:37:31 +08:00
bunnie
d7eed5158d update deps 2025-11-26 20:48:54 +08:00
bunnie
cdf4a56d76 add backup manager ref in keystore
this claims the backup memory region - eventually we'll do
something with it
2025-11-26 20:48:29 +08:00
bunnie
77ae4f00a2 add feedback during test vector creation 2025-11-26 20:48:10 +08:00
bunnie
7e368d231f add mod refs for kpc_aoint 2025-11-26 20:47:28 +08:00
bunnie
59e8707b1a add hardware abstractions/translation maps for baosec keyboard 2025-11-26 20:47:10 +08:00
bunnie
b021a1bcd3 fix typo 2025-11-26 20:46:54 +08:00
bunnie
601d2763e8 add keyboard userland abstractions 2025-11-26 20:45:50 +08:00
bunnie
40c94b5abc add kpc_aoint abstraction layers 2025-11-26 20:45:12 +08:00
bunnie
1ca144f47f remove stale constants; add an irq handler storage class
constants made obsolete in the latest utra update are removed,
and a storage class for multi-purpose interrupt handlers is added.
2025-11-25 19:08:53 +08:00
bunnie
1ebf9b8d94 use the newly extracted utra; fix ranges
in xous, you can't make a range smaller than 4096 bytes,
so range lengths have to be enforced at an abstraction layer
above the page allocator
2025-11-25 19:08:07 +08:00
bunnie
765a36bd3a add option to defer draw updates
this is helpful for composited UIs
2025-11-25 19:07:32 +08:00
bunnie
27e5f0b72f fix flashing bar artifact in vault UI 2025-11-25 19:07:06 +08:00
bunnie
9821ed7d93 incidental readme improvements
these got updated as the bao1x repo had some maintenance
done while fixing up the register ranges
2025-11-25 19:06:16 +08:00
bunnie
e9d8ec8f1d add better debug output from the image generator
this helps to see when address ranges are truncated or missing
2025-11-25 19:05:32 +08:00
bunnie
41bf64c1ec fix UTRA to include some missing peripheral ranges
this is the latest autogen from the bao1x repo
2025-11-25 19:05:05 +08:00
bunnie
41f750163f change timing of PDDB mount
moving it a shy later into the boot makes the mount process faster
because it's not fighting for swap memory with everything else
trying to initialize at the time.
2025-11-25 01:08:47 +08:00
bunnie
fc30f4b877
Merge branch 'main' into vault2-progress 2025-11-24 17:19:02 +01:00
bunnie
091f4ffd7c
Merge pull request #742 from betrusted-io/fix-alt-boot
Fix alt boot
2025-11-24 17:18:52 +01:00
bunnie
b12ce104ec fix altboot issues
- don't slot-check in altboot (altboot actually runs in a security
environment that doesn't have boot privileges)
- force bootwait ON by default if altboot is entered - otherwise
we enter a boot-loop
- update release description as towards beta-0
2025-11-25 00:15:36 +08:00
bunnie
6614cbe2a4 force bootwait on in the dabao factory test 2025-11-25 00:14:01 +08:00
bunnie
49c1bd2db6
Merge branch 'main' into vault2-progress 2025-11-24 12:11:37 +01:00
bunnie
a08f35fe35
Merge pull request #741 from betrusted-io/rtc
RTC initialization and a bit more
2025-11-24 12:10:37 +01:00
bunnie
e6e13bc0ad narrow the scope of the pddb featuring 2025-11-24 19:04:02 +08:00
bunnie
7dd00090df add chrono dependency to bao-console for rtc testing 2025-11-24 18:56:58 +08:00
bunnie
c677f6f78a add apis & services for the rtc 2025-11-24 18:56:03 +08:00
bunnie
ea083c6573 add flags to make sure correct pddb apis are pulled into persistent_store 2025-11-24 18:55:33 +08:00
bunnie
543f455ad0 fix scalar return discipline in usb-bao1x
also add ability to read keyboard led state
2025-11-24 18:54:50 +08:00
bunnie
5964328bcf on second thought, best to keep the command undocumented
since dabao users might try to run it. the command only has
meaning on baosec devices
2025-11-24 18:44:08 +08:00
bunnie
2556b40614 add baosec-init to help list in boot1 2025-11-24 18:43:21 +08:00
bunnie
62b656db8a add some test routines for checking RTC functions 2025-11-24 18:28:50 +08:00