gsora
Repos
79
Followers
70
Following
32

DIY FIDO2 U2F token

33
2

The Xous microkernel

0
0

Events

trial commit latest soc artifacts

updating Litex, seems to have broken things. trying to see if a rebuild with new SVD file helps.

add a trial version of the latest SOC

bump default precursor soc gitrev

bump all the things to absorb the SoC change

Merge branch 'main' of github.com:betrusted-io/xous-core into main

fix regressions from litex 2022.08

bump all the things because we changed utralib again

update verifier pins

README: add NLNet logo

Signed-off-by: Sean Cross sean@xobs.io

commit a fixed soc image at 2022.08

Created at 5 days ago

Squashed commit of the following:

commit 1106fcfa468e89b213fb492d28d99a691b52e79e Merge: 08de49da d57088a5 Author: bunnie bunnie@kosagi.com Date: Wed Nov 16 22:35:11 2022 +0800

Merge pull request #277 from gsora/feat/slider-widget

feat: user interaction-enabled slider

commit d57088a592637e883a676bad6f0edc7cfed3aa8a Author: Gianguido Sorà me@gsora.xyz Date: Wed Nov 16 14:45:46 2022 +0100

feat: add tests for slider

commit 5243e8c2583c835129f680e984b4c3fde7eaafd3 Author: Gianguido Sorà me@gsora.xyz Date: Mon Nov 14 19:36:25 2022 +0100

feat: user interaction-enabled slider

This commit adds `modals::Modals::slider()` with the same interface as
`modals::Modals::start_progress()`, with the striking difference that
users can move the slider, and press the center keypad button to confirm
 the selection.

 Useful for objects like audio volume controls.

commit 08de49dab1d83fab0c0ea56887e4129af35e8cec Author: bunnie bunnie@kosagi.com Date: Tue Nov 15 02:25:22 2022 +0800

make testing a little more ergonomic

commit ef5c05683c1f6970e95ec17dcb0efcfc8f13b017 Author: bunnie bunnie@kosagi.com Date: Tue Nov 15 02:23:13 2022 +0800

add a quick and dirty test command for headphone state

commit 04f700ac29257d7733f08e593fe766cb14df1cb4 Author: bunnie bunnie@kosagi.com Date: Tue Nov 15 02:23:01 2022 +0800

add headphone state polling to codec

commit 474a02c2cb58aee4a0300f5f2966085178bacdfb Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 15:06:51 2022 +0800

refactor all vault db retrieval to use new API

This refactors the remaining vault accessor routines to use
the new more efficient key pre-fetching routine. This also
fixes up an error in test case generation and hopefully resolves
an issue with concurrency errors using the older version of
the access routine.

commit c3ba30d55db81d65333c3df4702583b19f50f7d7 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 14:25:26 2022 +0800

expand on errors reported

commit e7e110ce76d66a6ffc02443e99caac100de00517 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 14:25:05 2022 +0800

cleanup and enhance test cases

commit 6d1d297500fccfdb395b7f9a65d4781118b0560c Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 01:01:42 2022 +0800

bump ring-xous to track latest PR

commit 11a0107e97a628d7894b4a57c8cb4cc88ea1e365 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 00:33:13 2022 +0800

fix UX state after button press on dynamic modal

This bug was hidden by the previous return of state before
the reliquish.

Now with the correct ordering, we end up getting a double-relinquish
which ends up trying to swap a modal into focus which doesn't exist.

This fixes that edge case

commit 4c45dfa6bf04d3e0f05f045f9eb8a668eb5a3c13 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 00:33:01 2022 +0800

more debugging help

commit 1129f1c3c6bb3951608ae44d8ae5b8fa32a575a2 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 23:05:32 2022 +0800

bump versions after xous-names bump

commit a7162fd03cb007430a21a2dc55e3ac0289317f37 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 22:19:38 2022 +0800

bump xous-names dependents

commit 28f42baa44ec48daa515dce4f8c5e6432cbdfe8f Merge: 1bc39cd5 3ca323f0 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 22:09:56 2022 +0800

Merge pull request #274 from betrusted-io/xous-names-tryconnect

Add TryConnect call to xous-names

commit 3ca323f0bb11388d432183cb87caa03c4342064e Author: Sean Cross sean@xobs.io Date: Mon Nov 7 18:46:02 2022 +0800

xous-names: implement non-blocking TryConnect call

This call can be used by clients to try connecting to a service. If the
service is not available, this will fail to connect.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 3ca57bcf8bf33e41f5343a439cce2e336adff85a Author: Sean Cross sean@xobs.io Date: Mon Nov 7 18:45:25 2022 +0800

xous-api-names: add TryConnect

This is a non-blocking version of Connect that is fallible.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 1bc39cd513a503d2a7a0c609fe0e2194f01b117b Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:25:16 2022 +0800

bump release notes

commit 781776b1feadc6924372f5f2f663a6bbb5f44711 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:22:49 2022 +0800

move the mount initiator back into status; fix waiting signal

mount initiator is now back inside of the status thread
(woo, no more app-specific dependency) and there is now a
wait on "attempted to mount" inside the status thread which is
the signal to clear the "waiting on boot" message.

commit 0646ec23ba76100d814d3ed35c9e17a76bc26e09 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:21:52 2022 +0800

track "attempted" mounts in PDDB

this is to allow a UX process to clear the "waiting for boot"
indicator once an attempt has completed.

right now, it responds *after* the mount process is done,
so the "please waiting" text persists even doing a format.

I think that is...appropriate?

commit 93dcfb7435b5f8e47081d9d1bfed00db4a2340ab Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:21:27 2022 +0800

fix hosted mode

commit 335b78d865dc66f20bd2f334b05c8b07daab5e80 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 20:50:15 2022 +0800

fix polarity of init_done flag. oops.

commit 1d7641cafa04b05c7fad0e8c9dcfea71c69877f9 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:48:23 2022 +0800

force please wait message to clear before doing PDDB init

While it's a kind of neat effect to have the "please wait"
message persist right up until the point where the dialog box
pops up, the problem is that the blit of the backplane captures
that, so when the context is reverted that message is still there.

On a very fast mount (empty PDDB under Renode emulation) the
mounting call finishes so quickly that the dialog box that would
normally trigger the redraw to clear this message never renders.

This patch forces the screen to blank before trying to call
PDDB init, ensuring that we don't have that persist after the
mount, even if it is very fast.

The downside is there is a fraction of a second where the please
wait disappears, and the dialog box pops up. That is just the
time it takes for the system to setup for the cryptographic
operations.

commit 382380bd8a355e691d5da8c5d22d054304fc3544 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:48:06 2022 +0800

fix Sender cast

commit 3ee36f41ee61fe4a2228a6e9cd99197ba62f4a61 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:45:17 2022 +0800

remove UX delays on PDDB path

retain just one of them going into the erase routine, because
it consumes enough CPU that the dialog box takes a bit too long to
pop up.

commit 880675c23881ce5653d38fcaa38967a25fb6e21f Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:44:56 2022 +0800

remove UX delays between dialog boxes

commit ffa8385e7c797789ca7cc7a84e98a1923c60c940 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:36:20 2022 +0800

refactor: send response packet after context has been switched

This refactor (at least partially) fixes a "mystery delay"
sometimes required after a dialog box swaps out. The previous
implementation would send the response, and then swap the contexts.
This would often cause the recipient to start drawing its UX
before the calling app was foregrounded, causing elements to go
missing.

This refactor puts the response after the context swap. The main
downside is it requires every type of modal to have a GAM
handle to issue the redraw call, and is especially complicated
by the fact that GAM is not clone-friendly. However, the
trade-offs of either creating a handle dynamically or storing
one in the object is probably worth the benefit of removing
an open-loop delay.

commit b0f443be4817cce8461d6f7c9abf248742fce209 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 16:33:31 2022 +0800

fix race condition on relinquish focus v result return for dynamic and progress modals

There's a race condition between the return of a blocking scalar
and when focus is relinquished.

This causes chained graphics operations to get dropped sometimes.

Move the return result to after the focus switch; this allows us
to elimate some dead waits.

commit 5a0e3e5c1964c4d7f41a4962915d8cce156a9485 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 15:59:58 2022 +0800

clean up bitrot in dbg-ecupdate configuration

commit 69cf629329a47eb5da8bab16a885192cec9fa8cf Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 04:25:26 2022 +0800

fix problem in tts build

commit 767580d375e0abac1b90358e04234f7bda94f5a4 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 04:17:53 2022 +0800

bump versions

commit 30583bdf0700b80b7c772696b02ae1c4bfc57f6d Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:48:12 2022 +0800

bump versions with xous change

commit e85455a077016cf8bfa55ef2f06809f2697849bf Merge: a16304b0 c9f751f5 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:44:58 2022 +0800

Merge pull request #271 from betrusted-io/scalar5-support

Scalar5 support

commit a16304b0ebcc6c71992c545658d36ef878b72856 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:42:07 2022 +0800

bump release notes

commit 2a11f9dcafb3a124e5b4af6c1fb3c9eda512a1ce Merge: 1ca0ef7b fa90e74a Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:40:37 2022 +0800

Merge branch 'main' of github.com:betrusted-io/xous-core into main

commit fa90e74a104ae10516052ad922ff8f1245512515 Merge: 42642310 817e758f Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:40:17 2022 +0800

Merge pull request #270 from gsora/feat/pddb-init-notification

feat: show boot process notifications for PDDB

commit 817e758f7c5e4dc2ad389e752d9e4aa3789ce1f0 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:36:43 2022 +0800

remove the dead-wait before the PDDB is mounted

the "right" way to do this is to poll to see if trusted init is
done. once that is done, you can go ahead and try to mount the
PDDB.

commit a56b8c802fc804b464036823b8f3a979b8ab1894 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:11:23 2022 +0800

add automounter to shellchat, and initial wait message

The initial wait message is drawn directly under where
the modals would appear, so the message "goes away"
when modals pop up.

There's still a bit of trickiness around the timing of
some of the calls. Attempting to mount the PDDB too early
before all the contexts have been registered leads to
a lot of needless defacing.

Also, the final redraw needs a short delay to allow
the system to foreground shellchat again after closing
the modals.

commit e240ca64992ab0e805ae53f391ae37f558271ca3 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:10:00 2022 +0800

refactor the hardware boot screen

- remove a blanking operation. this makes the transision from
loader to runtime almost imperceptably smoother
- add the ability to summon the logo screen earlier in the process

Note that only GAM can call GFX, so, it's alright to expose that
API, since GAM should gate-keep and prevent abuse of that function.

commit 7eecf2b1ceea0dc74d8826dd26dc92469a88646a Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:07:35 2022 +0800

remove the initial wait from PDDB; move the pop-up modal location

The initial wait message is now rendered by the first app
that owns the screen (currently shellchat).

The location where the pop-up modal is rendered is also now bracketed
directly around the mount call to avoid interference with other
edge cases that may pop up modals.

commit 0d02415c82db51523d3051065e91e97fb663eb7c Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:05:30 2022 +0800

remove automounter from the status thread

it's now in shellchat. In general, the program that is assigned
as the initial app context is responsible for ensuring the
PDDB is mounted. Thus, if `vault` were to become a stand-alone app,
it should include some code to make sure the PDDB is mounted as
part of its boot sequence.

The reason is that it allows the initial app to guide the
power-on experience, instead of delegating this to the `status`
bar, which is oblivious to the state of the app.

commit 45009a01d95b6449c4d59456b91a6fd2b08f3a7f Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 23:06:47 2022 +0800

add debugging hints for figuring out context switch bugs in the future

commit 7c4ca05922a06ca2e366f89ee1011404ced71c9b Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 23:06:18 2022 +0800

adjust modal trust level down so it's not identical to chat

commit c9f751f5f0b0ded770d1dd1ae53bab50e39b3a27 Author: Sean Cross sean@xobs.io Date: Sat Nov 5 18:44:01 2022 +0800

xous: add api support for scalar5

With the addition of scalar5, existing api calls must be updated to take
advantage of it. This will allow `send_message()` to return a `scalar5`.

Signed-off-by: Sean Cross <sean@xobs.io>

commit da5647539f4a2a13b39a5275c0a0ba77231bc68a Author: Sean Cross sean@xobs.io Date: Sat Nov 5 18:39:54 2022 +0800

kernel: syscall: add support for return_scalar5

Add kernel support for returning 5 scalars.

Signed-off-by: Sean Cross <sean@xobs.io>

commit c8bb039c418d6c3f604ff078555e9dae51666fee Author: Sean Cross sean@xobs.io Date: Sat Nov 5 18:39:06 2022 +0800

xous: add api support for `Scalar5`

Add syscall and return definitions for Scalar5, as well as
ReturnScalar5. This will enable us to pass up to five scalars as a
return from a blockingscalar call.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 1ca0ef7b1f864cd7c0f562251da07f1352064b8b Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 16:30:29 2022 +0800

clean up warning

commit 601f3476f41fe91e83c5b15f37be328b039a1ac2 Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 16:19:15 2022 +0800

initial delay on NTP poller

no point in clogging up the boot sequence with requests that
will almost certainly fail.

commit d277ae955191d4da24333c11027a297106554752 Author: Gianguido Sorà me@gsora.xyz Date: Fri Nov 4 17:31:27 2022 +0100

feat: show boot process notifications for PDDB

This commit shows two notifications:
 1. as soon as the device boots, a notification greets the user and
 tells them everything is fine, the device is booting
 2. as soon as the user enters (or doesn't) enter the password, a
 notification tell the user Xous is loading and mounting PDDB

I spent too much time on this but I believe it's a nice UX improvement.

commit 4264231033b5a27bbf109f8ea180e3b044bd06c0 Merge: 5de44a95 f861af76 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 17:06:40 2022 +0800

Merge branch 'main' of github.com:betrusted-io/xous-core into main

commit 5de44a95023fbfc0c4954038f7d988841da38b87 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 17:05:51 2022 +0800

don't fail if keyattribute not found in current basis when no basis specified

This is not actually an error, we just need to try another basis
down the list. This is a copypasta bug that was only caught now. :-/

commit 0d9a39a349d070dfbcdaca8461f89b4016c05f45 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 17:05:32 2022 +0800

print debug information when a key goes missing in bulk read

this helps debug problems down the road

commit f861af7620ab3c511246522d838e8fd26a628e64 Author: Sean Cross sean@xobs.io Date: Fri Nov 4 12:27:13 2022 +0800

tools: elf: fix copy-elf when gcc links program

GCC will set the text size to `0` in a certain case that `rust-lld` did
not. This causes the elf copier to add about 512 MB to the image which
it otherwise shouldn't be doing.

Add a workaround that appears to fix the issue.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 3a8457852f9c941a8a29001d4b319f3e1eb46a3c Author: Sean Cross sean@xobs.io Date: Fri Nov 4 12:26:05 2022 +0800

loader: fix build with gcc-ld

With Rust 1.65.0, we may be forced to use gdb's linker due to bug that
appeared in llvm-15:

https://github.com/rust-lang/rust/issues/103949

Signed-off-by: Sean Cross <sean@xobs.io>

commit d74673ab292e9f2445f0119e2b1534a9114e6f32 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 03:55:57 2022 +0800

allow main menu to be used if there are no root keys

commit ed09ee03efcdc60bfa683278c3f716ec0b2591a6 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 03:53:03 2022 +0800

bump to latest ring-xous version

commit af91ec97cd7478206d484789fbfa806a37c48a12 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 23:28:08 2022 +0800

bump release notes

commit 80a1bd36545628d00120e8e3415fe05fbf6b02c6 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 23:18:13 2022 +0800

resolve issue #267

commit 4dc7135e0e6c549fec681b5b8ec443c77ddb74ff Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 23:06:20 2022 +0800

update the instructions to build soc.svd, and add note about verification

commit 01f660b04d436d0e895433b46bc4f082356fa27a Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:11:58 2022 +0800

didn't meant to check in that script

commit ff2a7f824096b1baf735854f0641c2ff9f66ebe4 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:06:04 2022 +0800

some more debugging to help trace through dict sync issues

commit b04dcc21ef1de4b63cacbcfd9b31783ccb57676b Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:04:14 2022 +0800

add `smalldb` flag, which builds a PDDB with a size of 4MiB

do not interchange this on devices with the full sized
PDDB, you may corrupt the database

commit 6c2e86d876c9d23006b28c869387f660cefdfc83 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:03:40 2022 +0800

add support for small-sized PDDB images plus some debugging info

commit 5c624e7e52d71dd9e51d67d51fccace71e8dbc6f Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:01:11 2022 +0800

add a flush after every PDDB write

uncommitted data will lead to corruption later on

commit c91837c10bc03af0e3441f34af615f88e0dd84aa Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 18:33:22 2022 +0800

fix max dicts in analyzer scripts

commit 719020b08ba476f5008cce3fd0ea0fad5d4c7398 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 17:23:11 2022 +0800

don't allow polls to the unmount to turn true until other callbacks have been allowed

commit 3bdf157f9d1727f3437fde2ba82da4b2f27d3d7c Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 17:22:22 2022 +0800

enhance debugging output on pddb analyzer

commit 779cc61c56dca623b110e738bbe4451bd9a428b5 Author: Sean Cross sean@xobs.io Date: Thu Nov 3 12:31:22 2022 +0800

emulation: spinor: implement erasesector4byte

Implement this command, which is used by the system for bulk erases.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 0c52a7a3fff3f996b7ee30bddbfd41f44acbf365 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:58:36 2022 +0800

the merge requested pulled multiple other crate versions backwards

this fixes it, hopefully.

commit c04cc0e61caf24ec914aca154335fcaf3ebaccee Merge: 7af04b70 f59bbc2d Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:54:00 2022 +0800

Merge branch 'main' of github.com:betrusted-io/xous-core into main

commit f59bbc2d2bfbccbe7c9636a8659d2c42d5a2df54 Merge: ebc0739b 6332bf1c Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:53:38 2022 +0800

Merge pull request #266 from Foundation-Devices/driver-refactor

kernel: Drivers refactor.

commit 6332bf1c901649ce535b961c5530a17812cd0ee0 Merge: 2cf4622f ebc0739b Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:53:23 2022 +0800

Merge branch 'main' into driver-refactor

commit 2cf4622f680b61f39fc8dda22fe5daa24a18f0f4 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:50:36 2022 +0800

commit lockfile and verification pins

commit 80094aef1e764f392da615b36ac8bd9b90b72464 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:49:28 2022 +0800

I see what's happening. The PR originator versions are very out of date.

hopefully this fixes the issue.

commit bbb7e279cd5dab3c6ef7429f1de9168ef582a6f8 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:42:59 2022 +0800

bump kernel version (this time with feeling)

commit ba46c6b04a0643fa8f6d198d1489da0582b4e511 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:41:24 2022 +0800

bump kernel version

commit 7af04b7000a255f1ed63e035a1844f88e0c73342 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:38:18 2022 +0800

a bit more debugging around dictionary creation

commit 6d2be1b6d720a5f3746a4ddb11aac5b2da35b06a Author: bunnie bunnie@kosagi.com Date: Wed Nov 2 21:52:28 2022 +0800

add va printouts

commit d8807e6ceadafc1b175845cd0283f71f39c7318b Author: Jean-Pierre De Jesus DIAZ me@jeandudey.tech Date: Wed Nov 2 14:29:53 2022 +0100

kernel: Move rand driver to platform module.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>

commit b334e5bc31e5e2da9f56be531142e83d27d9007f Author: Jean-Pierre De Jesus DIAZ me@jeandudey.tech Date: Wed Nov 2 13:30:20 2022 +0100

kernel: Split debug shell and uart driver.

I've added a `platform` module to store all platform specific code, (not
architecture specific) as some platforms will require custom drivers, e.g.
for debug output and for the random number generation code.  The platform
code is in charge of mapping any peripherals needed to work, also to
initialize any other parts of the kernel that require drivers, for example
the debug shell.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>

commit ebc0739beeb5e01215d6eebede8068101d0daa0a Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 21:25:04 2022 +0800

fix some defaults to make the Renode path cleaner to start

commit f738781a40f1123207295b6afb1c1e065c3293b1 Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 21:18:33 2022 +0800

make the default pin 'a', as it is on Renode

commit 4e2d79942ef525b4b5ec1798eba542f658a11f5e Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 21:17:07 2022 +0800

upgrade pdddbg to use basis decryption routines from the common libs

commit 54e929e877bf3ab38158b27100b0de241d5d92b0 Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 19:01:57 2022 +0800

move key extraction routines to pddbcommon.py

commit 05068c5cd07dd76cd2be3fb1985f786500f4c092 Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 13:03:52 2022 +0800

extract the renode key box as a dump

commit c74ceacfef2482d662a066ef2ce83ca5fff47195 Author: bunnie bunnie@kosagi.com Date: Mon Oct 31 22:33:27 2022 +0800

add a renode mode for reading in a renode.bin

commit a0dca39fa39485522a6270fee389897768ec4b21 Author: bunnie bunnie@kosagi.com Date: Mon Oct 31 22:14:10 2022 +0800

key file for decrypting .System basis on Renode

commit 05252663a43d9da5f391bc2d8a7b9fc803a60eba Author: Tom Marble tmarble@info9.net Date: Sat Oct 29 17:38:22 2022 -0500

Updates mtxcli README

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 604a3765b8a9ed3cb8e8152ec0f09e0f67865b52 Author: Tom Marble tmarble@info9.net Date: Sat Oct 29 17:34:32 2022 -0500

Adds images of mtxcli

Images of mtxcli
- in the hosted environment
- on the Precusor
- in French

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 072170efe15aa356222bcd38f76d7b247f2d239d Author: bunnie bunnie@kosagi.com Date: Sat Oct 29 18:01:18 2022 +0800

restore the top-level settings file per xobs suggestion

commit 2fd685c5138f796e781a7389178530bb46357ddc Merge: 052817c7 38286d86 Author: Sean Cross sean@xobs.io Date: Sat Oct 29 04:52:48 2022 -0400

Merge pull request #263 from sorpaas/sp-rename

RemoveClockEntry -> TryRemoveClockEntry

commit 38286d862385ce070a86fe0835f00693006fe4b1 Author: Wei Tang wei@that.world Date: Sat Oct 29 10:47:47 2022 +0200

RemoveClockEntry -> TryRemoveClockEntry

commit 052817c7935e8cd213f017f2d954f1a1821a289a Merge: 3814337f 9689b3bc Author: bunnie bunnie@kosagi.com Date: Sat Oct 29 00:39:27 2022 +0800

Merge pull request #261 from betrusted-io/remove-vscode

Removes VS Code artifacts

commit 9689b3bc070219e6e02ff84c6c87c97d25e2fbea Author: Tom Marble tmarble@info9.net Date: Fri Oct 28 11:23:56 2022 -0500

Removes VS Code artifacts

Also updates .gitignore to prevent adding IDE (VS Code, Emacs) artifacts

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 3814337f5141a4d406b5c624a4ce29bd77685f7c Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:27:52 2022 +0800

don't check in vscode settings

commit dd379aa9fb863bf4595b97da56709596ca3ce340 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:16:16 2022 +0800

bump kernel version

commit f01b2a871c2ce02b1f99b8776ddf0e11240aa0f5 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:12:07 2022 +0800

add some vscode stuff i guess to the release

commit f17e02460f91552f529e339b6d427c0dbfe78683 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:02:52 2022 +0800

bump kernel revision

commit c17a6d3786d3489734a4f52e3850466623a13e9a Author: Sean Cross sean@xobs.io Date: Fri Oct 28 17:38:25 2022 +0800

kernel: make SYSTEM_SERVICES unmangled

This symbol will be viewed by external tools.

Signed-off-by: Sean Cross <sean@xobs.io>

commit fd739c2177437a9931f8bb02419305a8af21bd6a Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:23:39 2022 +0800

add `fr` locale to update options

commit f7eed18f48192192a9ca4830f5f02a38f0db666f Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:18:34 2022 +0800

bump verification and locks

commit ba28dd8795cd8380023718b5ba12ec8a0021f28b Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:11:17 2022 +0800

bump to absorb utralib straggler configs

commit b5f4814bb488d9f906ce15e42357aabb3e4f810c Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:10:00 2022 +0800

cleanup some stragglers in utralib push

commit 6b296c9b48f94ddaf976208e1014313f7a28a21f Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:04:56 2022 +0800

fix a cargo file that got nuked in the merge

commit bcd1078fe2255d8e1c176afce45da0ed3625d3ff Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:01:38 2022 +0800

bump lockfile

commit e60f7cc85589a6fb2b783b7c6c34f84221873ce1 Merge: 0c7c90fb f8a66430 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:00:27 2022 +0800

Merge branch 'i18n/adds-french-localization' into main

commit f8a66430541a7eb260dcc6d6d402685a359364a8 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 14:55:33 2022 +0800

bump locks

commit dfb10ed7f221ede865fe0ea2bfd79c00f82c81b3 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 14:01:09 2022 +0800

bump crate numbers to publish lang-fr change into xous-rs

commit 006a69105ce6d6771abcf1f242fff11839906680 Author: Tom Marble tmarble@info9.net Date: Thu Oct 27 16:07:05 2022 -0500

Completes the i18n_helper.py tool

Added 'fr' translation
Added *.json to .gitattributes

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 0c7c90fb781e5b241f9cbcde8ee6cf30745543c2 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 02:55:42 2022 +0800

have the core spinor routines automatically retry on failure

normally we never see these failures, but, as we are seeing
flash wear-out on the CI machine the writes can take
long enough that we get some concurrent requests. As a work-around,
just automatically retry a few times before throwing the error
back to the caller.

commit d63c452fb63ee018a1addf9c079fe22504210f60 Author: bunnie bunnie@kosagi.com Date: Thu Oct 27 23:00:10 2022 +0800

catch serialization buffer edge case

if the buffer fills up to the point where there isn't enough
space for the 8-bytes of header, a split_at() call will fail before
the routine even gets to decide if the record can fit.

abort the loop if the buffer is that full.

commit 07cb2398d8304bfa9c5fcae14881002308f8990c Author: Tom Marble tmarble@info9.net Date: Wed Oct 26 22:32:49 2022 -0500

WIP: Adds new lang 'fr' for French

Adds new Internationalization Helper tool: i18n_helper.py

Signed-off-by: Tom Marble <tmarble@info9.net>
                                

feat(modals): allow user of slider() to specify a step value

Progress bars default to step = 1.

chore: codec for status!

feat(userprefs): add audio-related toggles

chore(status): add codec dep

feat(status): restore audio status and volume on boot

feat: handle volume preferences

Created at 1 week ago

add headphone state polling to codec

add a quick and dirty test command for headphone state

make testing a little more ergonomic

feat: user interaction-enabled slider

This commit adds modals::Modals::slider() with the same interface as modals::Modals::start_progress(), with the striking difference that users can move the slider, and press the center keypad button to confirm the selection.

Useful for objects like audio volume controls.

feat: add tests for slider

Merge pull request #277 from gsora/feat/slider-widget

feat: user interaction-enabled slider

Created at 1 week ago
pull request opened
fix: support HOTP codes in `vaultbackup`

While vault supports HOTP codes, vaultbackup didn't.

This commit brings it to feature parity.

Created at 1 week ago
create branch
gsora create branch feat/hotp-vaultbackup
Created at 1 week ago
issue comment
feat: user interaction-enabled slider

Tests have been committed :)

Created at 1 week ago

feat: add tests for slider

Created at 1 week ago
opened issue
vault: support HOTP restore through vaultbackup-rs

As the title says.

Vault supports HOTP but vaultbackup doesn't.

Created at 1 week ago
issue comment
feat: user interaction-enabled slider

Alright!

I'll add a test tomorrow.

Created at 1 week ago
pull request opened
feat: user interaction-enabled slider

This commit adds modals::Modals::slider() with the same interface as modals::Modals::start_progress(), with the striking difference that users can move the slider, and press the center keypad button to confirm the selection.

Useful for objects like audio volume controls.

Created at 1 week ago
create branch
gsora create branch feat/slider-widget
Created at 1 week ago

chore: remove preference l18n entry to allow for merge

Squashed commit of the following:

commit 474a02c2cb58aee4a0300f5f2966085178bacdfb Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 15:06:51 2022 +0800

refactor all vault db retrieval to use new API

This refactors the remaining vault accessor routines to use
the new more efficient key pre-fetching routine. This also
fixes up an error in test case generation and hopefully resolves
an issue with concurrency errors using the older version of
the access routine.

commit c3ba30d55db81d65333c3df4702583b19f50f7d7 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 14:25:26 2022 +0800

expand on errors reported

commit e7e110ce76d66a6ffc02443e99caac100de00517 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 14:25:05 2022 +0800

cleanup and enhance test cases

commit 6d1d297500fccfdb395b7f9a65d4781118b0560c Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 01:01:42 2022 +0800

bump ring-xous to track latest PR

commit 11a0107e97a628d7894b4a57c8cb4cc88ea1e365 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 00:33:13 2022 +0800

fix UX state after button press on dynamic modal

This bug was hidden by the previous return of state before
the reliquish.

Now with the correct ordering, we end up getting a double-relinquish
which ends up trying to swap a modal into focus which doesn't exist.

This fixes that edge case

commit 4c45dfa6bf04d3e0f05f045f9eb8a668eb5a3c13 Author: bunnie bunnie@kosagi.com Date: Wed Nov 9 00:33:01 2022 +0800

more debugging help

commit 1129f1c3c6bb3951608ae44d8ae5b8fa32a575a2 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 23:05:32 2022 +0800

bump versions after xous-names bump

commit a7162fd03cb007430a21a2dc55e3ac0289317f37 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 22:19:38 2022 +0800

bump xous-names dependents

commit 28f42baa44ec48daa515dce4f8c5e6432cbdfe8f Merge: 1bc39cd5 3ca323f0 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 22:09:56 2022 +0800

Merge pull request #274 from betrusted-io/xous-names-tryconnect

Add TryConnect call to xous-names

commit 3ca323f0bb11388d432183cb87caa03c4342064e Author: Sean Cross sean@xobs.io Date: Mon Nov 7 18:46:02 2022 +0800

xous-names: implement non-blocking TryConnect call

This call can be used by clients to try connecting to a service. If the
service is not available, this will fail to connect.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 3ca57bcf8bf33e41f5343a439cce2e336adff85a Author: Sean Cross sean@xobs.io Date: Mon Nov 7 18:45:25 2022 +0800

xous-api-names: add TryConnect

This is a non-blocking version of Connect that is fallible.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 1bc39cd513a503d2a7a0c609fe0e2194f01b117b Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:25:16 2022 +0800

bump release notes

commit 781776b1feadc6924372f5f2f663a6bbb5f44711 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:22:49 2022 +0800

move the mount initiator back into status; fix waiting signal

mount initiator is now back inside of the status thread
(woo, no more app-specific dependency) and there is now a
wait on "attempted to mount" inside the status thread which is
the signal to clear the "waiting on boot" message.

commit 0646ec23ba76100d814d3ed35c9e17a76bc26e09 Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:21:52 2022 +0800

track "attempted" mounts in PDDB

this is to allow a UX process to clear the "waiting for boot"
indicator once an attempt has completed.

right now, it responds *after* the mount process is done,
so the "please waiting" text persists even doing a format.

I think that is...appropriate?

commit 93dcfb7435b5f8e47081d9d1bfed00db4a2340ab Author: bunnie bunnie@kosagi.com Date: Mon Nov 7 00:21:27 2022 +0800

fix hosted mode

commit 335b78d865dc66f20bd2f334b05c8b07daab5e80 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 20:50:15 2022 +0800

fix polarity of init_done flag. oops.

commit 1d7641cafa04b05c7fad0e8c9dcfea71c69877f9 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:48:23 2022 +0800

force please wait message to clear before doing PDDB init

While it's a kind of neat effect to have the "please wait"
message persist right up until the point where the dialog box
pops up, the problem is that the blit of the backplane captures
that, so when the context is reverted that message is still there.

On a very fast mount (empty PDDB under Renode emulation) the
mounting call finishes so quickly that the dialog box that would
normally trigger the redraw to clear this message never renders.

This patch forces the screen to blank before trying to call
PDDB init, ensuring that we don't have that persist after the
mount, even if it is very fast.

The downside is there is a fraction of a second where the please
wait disappears, and the dialog box pops up. That is just the
time it takes for the system to setup for the cryptographic
operations.

commit 382380bd8a355e691d5da8c5d22d054304fc3544 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:48:06 2022 +0800

fix Sender cast

commit 3ee36f41ee61fe4a2228a6e9cd99197ba62f4a61 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:45:17 2022 +0800

remove UX delays on PDDB path

retain just one of them going into the erase routine, because
it consumes enough CPU that the dialog box takes a bit too long to
pop up.

commit 880675c23881ce5653d38fcaa38967a25fb6e21f Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:44:56 2022 +0800

remove UX delays between dialog boxes

commit ffa8385e7c797789ca7cc7a84e98a1923c60c940 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 18:36:20 2022 +0800

refactor: send response packet after context has been switched

This refactor (at least partially) fixes a "mystery delay"
sometimes required after a dialog box swaps out. The previous
implementation would send the response, and then swap the contexts.
This would often cause the recipient to start drawing its UX
before the calling app was foregrounded, causing elements to go
missing.

This refactor puts the response after the context swap. The main
downside is it requires every type of modal to have a GAM
handle to issue the redraw call, and is especially complicated
by the fact that GAM is not clone-friendly. However, the
trade-offs of either creating a handle dynamically or storing
one in the object is probably worth the benefit of removing
an open-loop delay.

commit b0f443be4817cce8461d6f7c9abf248742fce209 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 16:33:31 2022 +0800

fix race condition on relinquish focus v result return for dynamic and progress modals

There's a race condition between the return of a blocking scalar
and when focus is relinquished.

This causes chained graphics operations to get dropped sometimes.

Move the return result to after the focus switch; this allows us
to elimate some dead waits.

commit 5a0e3e5c1964c4d7f41a4962915d8cce156a9485 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 15:59:58 2022 +0800

clean up bitrot in dbg-ecupdate configuration

commit 69cf629329a47eb5da8bab16a885192cec9fa8cf Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 04:25:26 2022 +0800

fix problem in tts build

commit 767580d375e0abac1b90358e04234f7bda94f5a4 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 04:17:53 2022 +0800

bump versions

commit 30583bdf0700b80b7c772696b02ae1c4bfc57f6d Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:48:12 2022 +0800

bump versions with xous change

commit e85455a077016cf8bfa55ef2f06809f2697849bf Merge: a16304b0 c9f751f5 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:44:58 2022 +0800

Merge pull request #271 from betrusted-io/scalar5-support

Scalar5 support

commit a16304b0ebcc6c71992c545658d36ef878b72856 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:42:07 2022 +0800

bump release notes

commit 2a11f9dcafb3a124e5b4af6c1fb3c9eda512a1ce Merge: 1ca0ef7b fa90e74a Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:40:37 2022 +0800

Merge branch 'main' of github.com:betrusted-io/xous-core into main

commit fa90e74a104ae10516052ad922ff8f1245512515 Merge: 42642310 817e758f Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:40:17 2022 +0800

Merge pull request #270 from gsora/feat/pddb-init-notification

feat: show boot process notifications for PDDB

commit 817e758f7c5e4dc2ad389e752d9e4aa3789ce1f0 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:36:43 2022 +0800

remove the dead-wait before the PDDB is mounted

the "right" way to do this is to poll to see if trusted init is
done. once that is done, you can go ahead and try to mount the
PDDB.

commit a56b8c802fc804b464036823b8f3a979b8ab1894 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:11:23 2022 +0800

add automounter to shellchat, and initial wait message

The initial wait message is drawn directly under where
the modals would appear, so the message "goes away"
when modals pop up.

There's still a bit of trickiness around the timing of
some of the calls. Attempting to mount the PDDB too early
before all the contexts have been registered leads to
a lot of needless defacing.

Also, the final redraw needs a short delay to allow
the system to foreground shellchat again after closing
the modals.

commit e240ca64992ab0e805ae53f391ae37f558271ca3 Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:10:00 2022 +0800

refactor the hardware boot screen

- remove a blanking operation. this makes the transision from
loader to runtime almost imperceptably smoother
- add the ability to summon the logo screen earlier in the process

Note that only GAM can call GFX, so, it's alright to expose that
API, since GAM should gate-keep and prevent abuse of that function.

commit 7eecf2b1ceea0dc74d8826dd26dc92469a88646a Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:07:35 2022 +0800

remove the initial wait from PDDB; move the pop-up modal location

The initial wait message is now rendered by the first app
that owns the screen (currently shellchat).

The location where the pop-up modal is rendered is also now bracketed
directly around the mount call to avoid interference with other
edge cases that may pop up modals.

commit 0d02415c82db51523d3051065e91e97fb663eb7c Author: bunnie bunnie@kosagi.com Date: Sun Nov 6 03:05:30 2022 +0800

remove automounter from the status thread

it's now in shellchat. In general, the program that is assigned
as the initial app context is responsible for ensuring the
PDDB is mounted. Thus, if `vault` were to become a stand-alone app,
it should include some code to make sure the PDDB is mounted as
part of its boot sequence.

The reason is that it allows the initial app to guide the
power-on experience, instead of delegating this to the `status`
bar, which is oblivious to the state of the app.

commit 45009a01d95b6449c4d59456b91a6fd2b08f3a7f Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 23:06:47 2022 +0800

add debugging hints for figuring out context switch bugs in the future

commit 7c4ca05922a06ca2e366f89ee1011404ced71c9b Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 23:06:18 2022 +0800

adjust modal trust level down so it's not identical to chat

commit c9f751f5f0b0ded770d1dd1ae53bab50e39b3a27 Author: Sean Cross sean@xobs.io Date: Sat Nov 5 18:44:01 2022 +0800

xous: add api support for scalar5

With the addition of scalar5, existing api calls must be updated to take
advantage of it. This will allow `send_message()` to return a `scalar5`.

Signed-off-by: Sean Cross <sean@xobs.io>

commit da5647539f4a2a13b39a5275c0a0ba77231bc68a Author: Sean Cross sean@xobs.io Date: Sat Nov 5 18:39:54 2022 +0800

kernel: syscall: add support for return_scalar5

Add kernel support for returning 5 scalars.

Signed-off-by: Sean Cross <sean@xobs.io>

commit c8bb039c418d6c3f604ff078555e9dae51666fee Author: Sean Cross sean@xobs.io Date: Sat Nov 5 18:39:06 2022 +0800

xous: add api support for `Scalar5`

Add syscall and return definitions for Scalar5, as well as
ReturnScalar5. This will enable us to pass up to five scalars as a
return from a blockingscalar call.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 1ca0ef7b1f864cd7c0f562251da07f1352064b8b Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 16:30:29 2022 +0800

clean up warning

commit 601f3476f41fe91e83c5b15f37be328b039a1ac2 Author: bunnie bunnie@kosagi.com Date: Sat Nov 5 16:19:15 2022 +0800

initial delay on NTP poller

no point in clogging up the boot sequence with requests that
will almost certainly fail.

commit d277ae955191d4da24333c11027a297106554752 Author: Gianguido Sorà me@gsora.xyz Date: Fri Nov 4 17:31:27 2022 +0100

feat: show boot process notifications for PDDB

This commit shows two notifications:
 1. as soon as the device boots, a notification greets the user and
 tells them everything is fine, the device is booting
 2. as soon as the user enters (or doesn't) enter the password, a
 notification tell the user Xous is loading and mounting PDDB

I spent too much time on this but I believe it's a nice UX improvement.

commit 4264231033b5a27bbf109f8ea180e3b044bd06c0 Merge: 5de44a95 f861af76 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 17:06:40 2022 +0800

Merge branch 'main' of github.com:betrusted-io/xous-core into main

commit 5de44a95023fbfc0c4954038f7d988841da38b87 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 17:05:51 2022 +0800

don't fail if keyattribute not found in current basis when no basis specified

This is not actually an error, we just need to try another basis
down the list. This is a copypasta bug that was only caught now. :-/

commit 0d9a39a349d070dfbcdaca8461f89b4016c05f45 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 17:05:32 2022 +0800

print debug information when a key goes missing in bulk read

this helps debug problems down the road

commit f861af7620ab3c511246522d838e8fd26a628e64 Author: Sean Cross sean@xobs.io Date: Fri Nov 4 12:27:13 2022 +0800

tools: elf: fix copy-elf when gcc links program

GCC will set the text size to `0` in a certain case that `rust-lld` did
not. This causes the elf copier to add about 512 MB to the image which
it otherwise shouldn't be doing.

Add a workaround that appears to fix the issue.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 3a8457852f9c941a8a29001d4b319f3e1eb46a3c Author: Sean Cross sean@xobs.io Date: Fri Nov 4 12:26:05 2022 +0800

loader: fix build with gcc-ld

With Rust 1.65.0, we may be forced to use gdb's linker due to bug that
appeared in llvm-15:

https://github.com/rust-lang/rust/issues/103949

Signed-off-by: Sean Cross <sean@xobs.io>

commit d74673ab292e9f2445f0119e2b1534a9114e6f32 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 03:55:57 2022 +0800

allow main menu to be used if there are no root keys

commit ed09ee03efcdc60bfa683278c3f716ec0b2591a6 Author: bunnie bunnie@kosagi.com Date: Fri Nov 4 03:53:03 2022 +0800

bump to latest ring-xous version

commit af91ec97cd7478206d484789fbfa806a37c48a12 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 23:28:08 2022 +0800

bump release notes

commit 80a1bd36545628d00120e8e3415fe05fbf6b02c6 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 23:18:13 2022 +0800

resolve issue #267

commit 4dc7135e0e6c549fec681b5b8ec443c77ddb74ff Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 23:06:20 2022 +0800

update the instructions to build soc.svd, and add note about verification

commit 01f660b04d436d0e895433b46bc4f082356fa27a Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:11:58 2022 +0800

didn't meant to check in that script

commit ff2a7f824096b1baf735854f0641c2ff9f66ebe4 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:06:04 2022 +0800

some more debugging to help trace through dict sync issues

commit b04dcc21ef1de4b63cacbcfd9b31783ccb57676b Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:04:14 2022 +0800

add `smalldb` flag, which builds a PDDB with a size of 4MiB

do not interchange this on devices with the full sized
PDDB, you may corrupt the database

commit 6c2e86d876c9d23006b28c869387f660cefdfc83 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:03:40 2022 +0800

add support for small-sized PDDB images plus some debugging info

commit 5c624e7e52d71dd9e51d67d51fccace71e8dbc6f Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 21:01:11 2022 +0800

add a flush after every PDDB write

uncommitted data will lead to corruption later on

commit c91837c10bc03af0e3441f34af615f88e0dd84aa Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 18:33:22 2022 +0800

fix max dicts in analyzer scripts

commit 719020b08ba476f5008cce3fd0ea0fad5d4c7398 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 17:23:11 2022 +0800

don't allow polls to the unmount to turn true until other callbacks have been allowed

commit 3bdf157f9d1727f3437fde2ba82da4b2f27d3d7c Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 17:22:22 2022 +0800

enhance debugging output on pddb analyzer

commit 779cc61c56dca623b110e738bbe4451bd9a428b5 Author: Sean Cross sean@xobs.io Date: Thu Nov 3 12:31:22 2022 +0800

emulation: spinor: implement erasesector4byte

Implement this command, which is used by the system for bulk erases.

Signed-off-by: Sean Cross <sean@xobs.io>

commit 0c52a7a3fff3f996b7ee30bddbfd41f44acbf365 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:58:36 2022 +0800

the merge requested pulled multiple other crate versions backwards

this fixes it, hopefully.

commit c04cc0e61caf24ec914aca154335fcaf3ebaccee Merge: 7af04b70 f59bbc2d Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:54:00 2022 +0800

Merge branch 'main' of github.com:betrusted-io/xous-core into main

commit f59bbc2d2bfbccbe7c9636a8659d2c42d5a2df54 Merge: ebc0739b 6332bf1c Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:53:38 2022 +0800

Merge pull request #266 from Foundation-Devices/driver-refactor

kernel: Drivers refactor.

commit 6332bf1c901649ce535b961c5530a17812cd0ee0 Merge: 2cf4622f ebc0739b Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:53:23 2022 +0800

Merge branch 'main' into driver-refactor

commit 2cf4622f680b61f39fc8dda22fe5daa24a18f0f4 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:50:36 2022 +0800

commit lockfile and verification pins

commit 80094aef1e764f392da615b36ac8bd9b90b72464 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:49:28 2022 +0800

I see what's happening. The PR originator versions are very out of date.

hopefully this fixes the issue.

commit bbb7e279cd5dab3c6ef7429f1de9168ef582a6f8 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:42:59 2022 +0800

bump kernel version (this time with feeling)

commit ba46c6b04a0643fa8f6d198d1489da0582b4e511 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:41:24 2022 +0800

bump kernel version

commit 7af04b7000a255f1ed63e035a1844f88e0c73342 Author: bunnie bunnie@kosagi.com Date: Thu Nov 3 01:38:18 2022 +0800

a bit more debugging around dictionary creation

commit 6d2be1b6d720a5f3746a4ddb11aac5b2da35b06a Author: bunnie bunnie@kosagi.com Date: Wed Nov 2 21:52:28 2022 +0800

add va printouts

commit d8807e6ceadafc1b175845cd0283f71f39c7318b Author: Jean-Pierre De Jesus DIAZ me@jeandudey.tech Date: Wed Nov 2 14:29:53 2022 +0100

kernel: Move rand driver to platform module.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>

commit b334e5bc31e5e2da9f56be531142e83d27d9007f Author: Jean-Pierre De Jesus DIAZ me@jeandudey.tech Date: Wed Nov 2 13:30:20 2022 +0100

kernel: Split debug shell and uart driver.

I've added a `platform` module to store all platform specific code, (not
architecture specific) as some platforms will require custom drivers, e.g.
for debug output and for the random number generation code.  The platform
code is in charge of mapping any peripherals needed to work, also to
initialize any other parts of the kernel that require drivers, for example
the debug shell.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>

commit ebc0739beeb5e01215d6eebede8068101d0daa0a Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 21:25:04 2022 +0800

fix some defaults to make the Renode path cleaner to start

commit f738781a40f1123207295b6afb1c1e065c3293b1 Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 21:18:33 2022 +0800

make the default pin 'a', as it is on Renode

commit 4e2d79942ef525b4b5ec1798eba542f658a11f5e Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 21:17:07 2022 +0800

upgrade pdddbg to use basis decryption routines from the common libs

commit 54e929e877bf3ab38158b27100b0de241d5d92b0 Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 19:01:57 2022 +0800

move key extraction routines to pddbcommon.py

commit 05068c5cd07dd76cd2be3fb1985f786500f4c092 Author: bunnie bunnie@kosagi.com Date: Tue Nov 1 13:03:52 2022 +0800

extract the renode key box as a dump

commit c74ceacfef2482d662a066ef2ce83ca5fff47195 Author: bunnie bunnie@kosagi.com Date: Mon Oct 31 22:33:27 2022 +0800

add a renode mode for reading in a renode.bin

commit a0dca39fa39485522a6270fee389897768ec4b21 Author: bunnie bunnie@kosagi.com Date: Mon Oct 31 22:14:10 2022 +0800

key file for decrypting .System basis on Renode

commit 05252663a43d9da5f391bc2d8a7b9fc803a60eba Author: Tom Marble tmarble@info9.net Date: Sat Oct 29 17:38:22 2022 -0500

Updates mtxcli README

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 604a3765b8a9ed3cb8e8152ec0f09e0f67865b52 Author: Tom Marble tmarble@info9.net Date: Sat Oct 29 17:34:32 2022 -0500

Adds images of mtxcli

Images of mtxcli
- in the hosted environment
- on the Precusor
- in French

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 072170efe15aa356222bcd38f76d7b247f2d239d Author: bunnie bunnie@kosagi.com Date: Sat Oct 29 18:01:18 2022 +0800

restore the top-level settings file per xobs suggestion

commit 2fd685c5138f796e781a7389178530bb46357ddc Merge: 052817c7 38286d86 Author: Sean Cross sean@xobs.io Date: Sat Oct 29 04:52:48 2022 -0400

Merge pull request #263 from sorpaas/sp-rename

RemoveClockEntry -> TryRemoveClockEntry

commit 38286d862385ce070a86fe0835f00693006fe4b1 Author: Wei Tang wei@that.world Date: Sat Oct 29 10:47:47 2022 +0200

RemoveClockEntry -> TryRemoveClockEntry

commit 052817c7935e8cd213f017f2d954f1a1821a289a Merge: 3814337f 9689b3bc Author: bunnie bunnie@kosagi.com Date: Sat Oct 29 00:39:27 2022 +0800

Merge pull request #261 from betrusted-io/remove-vscode

Removes VS Code artifacts

commit 9689b3bc070219e6e02ff84c6c87c97d25e2fbea Author: Tom Marble tmarble@info9.net Date: Fri Oct 28 11:23:56 2022 -0500

Removes VS Code artifacts

Also updates .gitignore to prevent adding IDE (VS Code, Emacs) artifacts

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 3814337f5141a4d406b5c624a4ce29bd77685f7c Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:27:52 2022 +0800

don't check in vscode settings

commit dd379aa9fb863bf4595b97da56709596ca3ce340 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:16:16 2022 +0800

bump kernel version

commit f01b2a871c2ce02b1f99b8776ddf0e11240aa0f5 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:12:07 2022 +0800

add some vscode stuff i guess to the release

commit f17e02460f91552f529e339b6d427c0dbfe78683 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 18:02:52 2022 +0800

bump kernel revision

commit c17a6d3786d3489734a4f52e3850466623a13e9a Author: Sean Cross sean@xobs.io Date: Fri Oct 28 17:38:25 2022 +0800

kernel: make SYSTEM_SERVICES unmangled

This symbol will be viewed by external tools.

Signed-off-by: Sean Cross <sean@xobs.io>

commit fd739c2177437a9931f8bb02419305a8af21bd6a Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:23:39 2022 +0800

add `fr` locale to update options

commit f7eed18f48192192a9ca4830f5f02a38f0db666f Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:18:34 2022 +0800

bump verification and locks

commit ba28dd8795cd8380023718b5ba12ec8a0021f28b Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:11:17 2022 +0800

bump to absorb utralib straggler configs

commit b5f4814bb488d9f906ce15e42357aabb3e4f810c Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:10:00 2022 +0800

cleanup some stragglers in utralib push

commit 6b296c9b48f94ddaf976208e1014313f7a28a21f Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:04:56 2022 +0800

fix a cargo file that got nuked in the merge

commit bcd1078fe2255d8e1c176afce45da0ed3625d3ff Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:01:38 2022 +0800

bump lockfile

commit e60f7cc85589a6fb2b783b7c6c34f84221873ce1 Merge: 0c7c90fb f8a66430 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 15:00:27 2022 +0800

Merge branch 'i18n/adds-french-localization' into main

commit f8a66430541a7eb260dcc6d6d402685a359364a8 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 14:55:33 2022 +0800

bump locks

commit dfb10ed7f221ede865fe0ea2bfd79c00f82c81b3 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 14:01:09 2022 +0800

bump crate numbers to publish lang-fr change into xous-rs

commit 006a69105ce6d6771abcf1f242fff11839906680 Author: Tom Marble tmarble@info9.net Date: Thu Oct 27 16:07:05 2022 -0500

Completes the i18n_helper.py tool

Added 'fr' translation
Added *.json to .gitattributes

Signed-off-by: Tom Marble <tmarble@info9.net>

commit 0c7c90fb781e5b241f9cbcde8ee6cf30745543c2 Author: bunnie bunnie@kosagi.com Date: Fri Oct 28 02:55:42 2022 +0800

have the core spinor routines automatically retry on failure

normally we never see these failures, but, as we are seeing
flash wear-out on the CI machine the writes can take
long enough that we get some concurrent requests. As a work-around,
just automatically retry a few times before throwing the error
back to the caller.

commit d63c452fb63ee018a1addf9c079fe22504210f60 Author: bunnie bunnie@kosagi.com Date: Thu Oct 27 23:00:10 2022 +0800

catch serialization buffer edge case

if the buffer fills up to the point where there isn't enough
space for the 8-bytes of header, a split_at() call will fail before
the routine even gets to decide if the record can fit.

abort the loop if the buffer is that full.

commit 07cb2398d8304bfa9c5fcae14881002308f8990c Author: Tom Marble tmarble@info9.net Date: Wed Oct 26 22:32:49 2022 -0500

WIP: Adds new lang 'fr' for French

Adds new Internationalization Helper tool: i18n_helper.py

Signed-off-by: Tom Marble <tmarble@info9.net>
                                

chore: re-add preferences l18n entry

chore: remove KBD_MENU_NAME context

Created at 1 week ago

feat: move time-related preferences under the Preferences menu

Time UX thread is now started from the preference manager. PDDB is still handled in time.rs, but I'm working on that.

feat: move timezone and utc offset into Preference lib

Created at 1 week ago

xous-api-names: add TryConnect

This is a non-blocking version of Connect that is fallible.

Signed-off-by: Sean Cross sean@xobs.io

xous-names: implement non-blocking TryConnect call

This call can be used by clients to try connecting to a service. If the service is not available, this will fail to connect.

Signed-off-by: Sean Cross sean@xobs.io

Merge pull request #274 from betrusted-io/xous-names-tryconnect

Add TryConnect call to xous-names

bump xous-names dependents

bump versions after xous-names bump

more debugging help

fix UX state after button press on dynamic modal

This bug was hidden by the previous return of state before the reliquish.

Now with the correct ordering, we end up getting a double-relinquish which ends up trying to swap a modal into focus which doesn't exist.

This fixes that edge case

bump ring-xous to track latest PR

cleanup and enhance test cases

expand on errors reported

refactor all vault db retrieval to use new API

This refactors the remaining vault accessor routines to use the new more efficient key pre-fetching routine. This also fixes up an error in test case generation and hopefully resolves an issue with concurrency errors using the older version of the access routine.

Created at 2 weeks ago

chore: disable cbor capability advertisement

Created at 2 weeks ago
create branch
gsora create branch feat/no-cbor
Created at 2 weeks ago

enhance debugging output on pddb analyzer

don't allow polls to the unmount to turn true until other callbacks have been allowed

fix max dicts in analyzer scripts

add a flush after every PDDB write

uncommitted data will lead to corruption later on

add support for small-sized PDDB images plus some debugging info

add smalldb flag, which builds a PDDB with a size of 4MiB

do not interchange this on devices with the full sized PDDB, you may corrupt the database

some more debugging to help trace through dict sync issues

didn't meant to check in that script

update the instructions to build soc.svd, and add note about verification

resolve issue #267

bump release notes

bump to latest ring-xous version

allow main menu to be used if there are no root keys

loader: fix build with gcc-ld

With Rust 1.65.0, we may be forced to use gdb's linker due to bug that appeared in llvm-15:

https://github.com/rust-lang/rust/issues/103949

Signed-off-by: Sean Cross sean@xobs.io

tools: elf: fix copy-elf when gcc links program

GCC will set the text size to 0 in a certain case that rust-lld did not. This causes the elf copier to add about 512 MB to the image which it otherwise shouldn't be doing.

Add a workaround that appears to fix the issue.

Signed-off-by: Sean Cross sean@xobs.io

print debug information when a key goes missing in bulk read

this helps debug problems down the road

don't fail if keyattribute not found in current basis when no basis specified

This is not actually an error, we just need to try another basis down the list. This is a copypasta bug that was only caught now. :-/

Merge branch 'main' of github.com:betrusted-io/xous-core into main

feat: show boot process notifications for PDDB

This commit shows two notifications:

  1. as soon as the device boots, a notification greets the user and tells them everything is fine, the device is booting
  2. as soon as the user enters (or doesn't) enter the password, a notification tell the user Xous is loading and mounting PDDB

I spent too much time on this but I believe it's a nice UX improvement.

initial delay on NTP poller

no point in clogging up the boot sequence with requests that will almost certainly fail.

Created at 2 weeks ago
pull request opened
feat: show boot process notifications for PDDB

This commit shows two notifications:

  1. as soon as the device boots, a notification greets the user and tells them everything is fine, the device is booting
  2. as soon as the user enters (or doesn't) enter the password, a notification tell the user Xous is loading and mounting PDDB

I spent too much time on this but I believe it's a nice UX improvement.

Created at 3 weeks ago
create branch
gsora create branch feat/pddb-init-notification
Created at 3 weeks ago

chore: use pddb crate-level system basis name

Created at 3 weeks ago

flip back to using remote references

move the precursor binary artifacts out of the package

there is a limit on the size of a package that can be sent up to crates.io and this doesn't scale

add maintainer notes

bump verification parameters

update release notes

more release note updates

expand on "internal error" for .get() results from PDDB

renode: place all peripherals under "Betrusted" ns

Give a "Betrusted" namespace to all of the peripherals. This will enable us to upstream various modules without breaking compatibility with our own versions of these peripherals.

Signed-off-by: Sean Cross sean@xobs.io

svd2repl: generate repl with namespaced peripherals

Now that the peripherals are all namespaced, generate the repl files as part of the build using this new convention.

Signed-off-by: Sean Cross sean@xobs.io

Merge pull request #251 from betrusted-io/renode-namespacing

Renode: namespace all peripherals under Betrusted

add a no-codec feature for DVT builds

specifying this turns off all dependencies that rely on the codec, which is a different device on DVT.

Merge branch 'main' of github.com:betrusted-io/xous-core into main

uh-oh...saw a CI fail on cache flush again. back to the drawing board.

re-introduce extra flush to see if this fixes things

renode: remove custom LiteX_Timer_32

When we started this project, all Renode Litex modules were 8-bits, and we had to custom-make a 32-bit timer module. However, in the interim, upstream has grown a 32-bit variant of this timer. As of this writing, this change was made two years ago.

Remove our custom variant and use the upstream version instead.

Signed-off-by: Sean Cross sean@xobs.io

Merge branch 'main' of github.com:betrusted-io/xous-core

add performance profiling options to PDDB

cleanup error messages from perflib

add PDDB performance profiling to shellchat

update SoC to latest version for performance profiling

the git release number on this is a lie. But, it also doesn't matter since it's a test build. I just didn't want to bump the whole OS package dependencies because I'm tweaking a non-deployed configuration.

Created at 3 weeks ago

chore: remove wifi menu mentions from status main

Created at 3 weeks ago

chore: delete kbdmenu file kbd menu now in preferences

feat: set keyboard layout system-wide when setting it in preferences

fix: share a single keyboard instance instead of creating a new one just to restore prefs

chore: Remove keyboard menu entry from main menu

fix: keep order of keyboard mappings in prefs view stable

Created at 3 weeks ago

fix: load all prefs when pddb ready, restore keyboard layout on boot

feat: implement Display trait for keyboard::KeyMap

chore: increment connection limit for keyboard

Needed for prefs restore

feat: implement keyboard layout settigns

Created at 3 weeks ago

feat: support keyboard layout setting in userprefs

Created at 3 weeks ago

chore: remove wifi menu from status

Created at 3 weeks ago

renode: place all peripherals under "Betrusted" ns

Give a "Betrusted" namespace to all of the peripherals. This will enable us to upstream various modules without breaking compatibility with our own versions of these peripherals.

Signed-off-by: Sean Cross sean@xobs.io

svd2repl: generate repl with namespaced peripherals

Now that the peripherals are all namespaced, generate the repl files as part of the build using this new convention.

Signed-off-by: Sean Cross sean@xobs.io

Merge pull request #251 from betrusted-io/renode-namespacing

Renode: namespace all peripherals under Betrusted

add a no-codec feature for DVT builds

specifying this turns off all dependencies that rely on the codec, which is a different device on DVT.

Merge branch 'main' of github.com:betrusted-io/xous-core into main

uh-oh...saw a CI fail on cache flush again. back to the drawing board.

re-introduce extra flush to see if this fixes things

renode: remove custom LiteX_Timer_32

When we started this project, all Renode Litex modules were 8-bits, and we had to custom-make a 32-bit timer module. However, in the interim, upstream has grown a 32-bit variant of this timer. As of this writing, this change was made two years ago.

Remove our custom variant and use the upstream version instead.

Signed-off-by: Sean Cross sean@xobs.io

Merge branch 'main' of github.com:betrusted-io/xous-core

add performance profiling options to PDDB

cleanup error messages from perflib

add PDDB performance profiling to shellchat

update SoC to latest version for performance profiling

the git release number on this is a lie. But, it also doesn't matter since it's a test build. I just didn't want to bump the whole OS package dependencies because I'm tweaking a non-deployed configuration.

add a generic performance log analysis tool

handle multiple performance manager options

by default, shellchat drives the performance management interface. But if an alternative one is specified, it overrides shellchat.

fix some typos

rename "testing" flag to gfx-testing so as to avoid namespace collision

add vault app to sources

fix non-perf builds for pddb

add vault-perf to profile performance issues in vault

Created at 3 weeks ago

chore: clean up userprefs readme a little

feat: create the all() method for prefs

Returns an instance of UserPrefs with all the preferences filled in.

chore: create Preferences menu GAM entry and l18n

chore: restructure preference loading with userprefs::Manager::all() instead of individual calls

feat: wire up Preferences menu in status

feat: implement preference server in status

chore: update crossbeam deps for status

Created at 1 month ago