Commit graph

10340 commits

Author SHA1 Message Date
bunnie
3fc271e9b5 ...and undo. 2022-10-13 03:45:55 +08:00
bunnie
75443f075f add dummy commit for publish 2022-10-13 03:45:26 +08:00
bunnie
3503965f98 bump versions to absorb xous-rs changes 2022-10-13 03:41:16 +08:00
bunnie
84bdfa1d2f fix some escapes from #237/#238 due to xous-rs being on crates.io 2022-10-13 03:29:46 +08:00
bunnie
db7d190270 handle bad signature cases with a dialog box 2022-10-13 03:11:33 +08:00
bunnie
cc996fce0b
Merge pull request #235 from betrusted-io/mtxcli
Adds app mtxcli
2022-10-12 12:08:41 -07:00
Tom Marble
e9ba2e1b9a
Updates mtxcli README
Rebase on main
2022-10-12 13:54:32 -05:00
Tom Marble
f715bec89a Updates PR with requested changes
Removes automatically generated lines.
2022-10-12 13:51:44 -05:00
Tom Marble
21908e9d01 Adds app mtxcli
Initial version of mtxcli is simply a copy of repl with the
requisite manifest changes to make the app unique.

Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-12 13:51:44 -05:00
bunnie
be239f9812
Merge pull request #238 from Foundation-Devices/from-into
Implement From instead of Into.
2022-10-12 11:49:19 -07:00
bunnie
33b72fd6d2
Merge pull request #237 from Foundation-Devices/display
Implement `Display` instead of `Into<String>`.
2022-10-12 11:46:11 -07:00
bunnie
35584cf6bf
Merge pull request #226 from gsora/fix/root-keys-invalid-image-fail
root-keys: gracefully handle cases where gateware signature is malformed, invalid public key or signature type
2022-10-12 11:44:47 -07:00
bunnie
e8f305f6d7
Merge pull request #236 from eupn/patch-1
utralib: employ macros to simplify features check
2022-10-12 11:42:18 -07:00
Jean-Pierre De Jesus DIAZ
955fbc8788
xous: Use CARGO_CFG_TARGET_OS in build scripts.
This allows for a more reliable detection of target_os configuration
in build scripts. The target is inconsistent between some architectures,
notably armv7a is `armv7a-none-eabi` skipping the `unknown` (the vendor,
I guess) part. This happen with some of the unrelated Cortex-M targets
present, and others may also be.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 19:03:46 +02:00
Jean-Pierre De Jesus DIAZ
3cbcf7b7e4
xous-rs: Implement Display instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:39:02 +02:00
Jean-Pierre De Jesus DIAZ
5971507410
apps/vault: Implement Display instead of Into
Avoid allocations in some cases, for example, when formatting
to an I/O buffer. Or when formatting an string.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:39:01 +02:00
Jean-Pierre De Jesus DIAZ
c74d54f345
xous-rs: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:44 +02:00
Jean-Pierre De Jesus DIAZ
59e3378d11
services/root-keys: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:43 +02:00
Jean-Pierre De Jesus DIAZ
479694869a
services/llio: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:42 +02:00
Jean-Pierre De Jesus DIAZ
91e4b9fa15
services/ime-plugin-api: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:41 +02:00
Jean-Pierre De Jesus DIAZ
136aec042b
services/graphics-server: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:40 +02:00
Jean-Pierre De Jesus DIAZ
0316cd2a3a
services/content-plugin-api: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:39 +02:00
Jean-Pierre De Jesus DIAZ
d651ce51cc
services/com: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:38 +02:00
Jean-Pierre De Jesus DIAZ
01bc25c55d
apps/vault: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:37 +02:00
Jean-Pierre De Jesus DIAZ
6163414dd1
keyboard: Implement From instead of Into
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 15:38:35 +02:00
eupn
e616f5348e
utralib: employ macros to simplify features check
Use declarative macros and compile-time computations to make feature flags checks more cleaner and future-proof at the cost of introducing some macros
2022-10-12 16:32:16 +04:00
bunnie
006a7cc8a6 make busybox linux image ro so it doesn't modify the JFFS2 image in renode 2022-10-12 01:27:54 +08:00
Gianguido Sorà
82c31e760b document how to add user preferences, general cleanup 2022-10-10 15:52:25 +02:00
Gianguido Sorà
db9372d5d0 make the thing compile 2022-10-10 15:36:36 +02:00
Gianguido Sorà
8c9cdc4ec5 WIP user prefs 2022-10-10 13:36:34 +02:00
bunnie
709ff8f9f2 cleanup lockfile 2022-10-10 03:31:55 +08:00
bunnie
acc52f1f8e revert version commit for package push 2022-10-10 03:22:19 +08:00
bunnie
2f97738449 add version for package push 2022-10-10 03:21:19 +08:00
bunnie
f8a2ea51bb remove rkyv warnings from xous-api-names 2022-10-10 03:16:40 +08:00
bunnie
94aa4b62b1 forgot to bump kernel version 2022-10-10 03:09:27 +08:00
bunnie
02b80425f5 bump xous-rs to absorb change in language specification 2022-10-10 03:07:44 +08:00
bunnie
c52c02013e add command line feature flags back to xtask; detect & track language changes 2022-10-10 02:53:15 +08:00
bunnie
b1eecb4cca update analysis script to match new package names 2022-10-10 00:32:01 +08:00
bunnie
2173f73aa8 add an ignore 2022-10-09 23:38:23 +08:00
bunnie
9732ecdc18 add v0.9.10 to restore URL list 2022-10-09 23:37:48 +08:00
bunnie
78e72e6ef4 re-institute manual cache flushing because we're seeing a CI error triggered by a cache flush failure... 2022-10-09 19:50:19 +08:00
bunnie
6f255d1e44 note backups in release notes 2022-10-09 18:52:00 +08:00
bunnie
13217fa402 fix hosted mode warning 2022-10-09 18:08:00 +08:00
bunnie
96e64b6388 always emit long format tags 2022-10-09 17:57:01 +08:00
bunnie
d048372d46 absorb v0.9.10 soc artifacts 2022-10-09 17:53:12 +08:00
bunnie
2a440f6409 retry bad passwords on backups; add note that backups are not abortable
Because we unmount the PDDB and put the system in a semi-shutdown
state, backups are not abortable if you type in the wrong root password.
This patch retries the root password forever, but also adds a note
at the beginning of the process that the process cannot be stopped
once started.
2022-10-09 17:44:46 +08:00
bunnie
b2048d0066 note the previous commit for future reference in a place where i can hopefully find it :-l 2022-10-09 17:26:41 +08:00
bunnie
f815ed85b5 fix rust 1.64.0 rkyv warning regressions on unused enum types
rkyv-derived enums throw warnings that they are unused.
Not sure how to get rid of them; I've tried surrounding them in
`#[allow(dead_code)]` directives, and also explicitly creating
each enum variant that I'm aware of through some dummy code and
some log prints of the dummy code calls to ensure the results are
used, and the warnings still persist.

Significantly, the warnings only happen for enums that take
a value. Simple rkyv enums do not throw a warning.

These warnings overwhelm the build logs, so they need to be isolated
in order for us to ensure that the build is clean of other more
important warnings.

The method chosen to isolate them is to take the enums that are
problematic, carve them into their own special file, and add
a file-wide `#![allow(dead_code)]` directive. This only happens
in 7 service crates, and this change commits all of the modifications
in a single big commit that could be undone later if this turns out
to be a compiler regression or something similar.

I also opened an issue with the rkyv maintainer to see what his
opinion is on the situation.

https://github.com/rkyv/rkyv/issues/318
2022-10-09 17:17:20 +08:00
bunnie
4aad245b31 add notes about how to maintain the XOUS_MIN_VER field 2022-10-09 14:22:02 +08:00
bunnie
01b68cbdc9 fix development roll-out process for picking a restore kernel 2022-10-09 14:18:57 +08:00