Commit graph

10340 commits

Author SHA1 Message Date
Gianguido Sorà
660fee1fce chore: update crossbeam deps for status 2022-10-27 15:29:51 +02:00
Gianguido Sorà
2bb4cb2b62 feat: implement preference server in status 2022-10-27 15:18:23 +02:00
Gianguido Sorà
17b7ba2ad0 feat: wire up Preferences menu in status 2022-10-27 15:17:01 +02:00
Gianguido Sorà
a3a94ad50a chore: restructure preference loading with userprefs::Manager::all() instead of individual calls 2022-10-27 15:12:40 +02:00
Gianguido Sorà
e11bef1eff chore: create Preferences menu GAM entry and l18n 2022-10-27 14:55:56 +02:00
Gianguido Sorà
34cbd4218e feat: create the all() method for prefs
Returns an instance of `UserPrefs` with all the preferences filled in.
2022-10-27 14:55:22 +02:00
Gianguido Sorà
c05bfce3f8 chore: clean up userprefs readme a little 2022-10-27 14:53:32 +02:00
bunnie
c82a79dab9 add performance monitoring in for bulk reads 2022-10-27 16:45:04 +08:00
Tom Marble
07cb2398d8
WIP: Adds new lang 'fr' for French
Adds new Internationalization Helper tool: i18n_helper.py

Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-26 22:32:49 -05:00
bunnie
9856f60fbb bump verifiers 2022-10-27 03:30:25 +08:00
bunnie
a8fde09229 adjust build states to match 2022-10-27 03:30:11 +08:00
bunnie
7d80fb7598 rebuild and commit all the prebuild utralib artifacts 2022-10-27 03:27:39 +08:00
bunnie
1fc4aa11b3 bump the lock file 2022-10-27 03:21:30 +08:00
bunnie
361fc084bd lean up the publish process a bit 2022-10-27 03:21:18 +08:00
bunnie
87d3a32b3d commit utralib mods 2022-10-27 03:11:01 +08:00
bunnie
475e464efe bump versions due to svd2utra change 2022-10-27 03:04:22 +08:00
bunnie
2b0cd8c07c
Merge pull request #257 from eupn/clippy-fix-svd2utra
svd2utra: fix clippy lints
2022-10-27 03:02:17 +08:00
bunnie
872eec5aaa
Merge pull request #256 from eupn/implement-derivefrom
Implement derivedFrom SVD attribute for peripherals
2022-10-27 03:00:33 +08:00
bunnie
e7a78aaf9e
Merge pull request #258 from betrusted-io/pddb-bulk-bufserializer
Pddb bulk bufserializer
2022-10-27 02:59:44 +08:00
bunnie
bef734553e clarify some comments and clean up debug messages 2022-10-27 02:53:38 +08:00
bunnie
6992b31104 fix the bufserializer approach
this is much more efficient than the alloc serializer
2022-10-27 02:41:46 +08:00
bunnie
6272a94604 intermediate attempt to extract a length parameter 2022-10-27 01:57:42 +08:00
bunnie
ac01088ec7 Merge branch 'pddb-bulk' into pddb-bulk-bufserializer 2022-10-27 01:30:27 +08:00
eupn
d4073ea086
svd2utra: fix clippy lints 2022-10-26 21:20:33 +04:00
Tom Marble
e55c7495b1
Updates the mtxcli app (#254)
* Updates the mtxcli app

mtxcli:
- Simple chat now functional!
- All strings use translations
- Updates the README
- updates mtxcli to handle PDDB existence check

Adds *.pyc to .gitignore

Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-26 12:16:09 -05:00
bunnie
3d1885e165 add test code
results are slightly better on the first run (3700ms instead of 4900ms)
but there seems to be really excessive allocations using the heap
allocated serializer by rkyv. We really need to use the bufserializer
I think for this to work.
2022-10-27 01:10:17 +08:00
eupn
36db49d7b7
svd2utra: apply rustfmt 2022-10-26 21:03:51 +04:00
eupn
947ff2d172
svd2utra: implement derivedFrom SVD attribute 2022-10-26 21:01:46 +04:00
Sean Cross
bad8ba5ea2 tools: sign-image: write remainder of file
During the previous port, we only wrote the first 4096 bytes. Write the
remainder of the file to the destination.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-26 23:40:09 +08:00
bunnie
721dbc82d7 add an attempt to use bufserializer that didn't work 2022-10-26 23:29:43 +08:00
Sean Cross
22de2bc614 tools: sign_image: fix utterly broken git signing
The previous approach didn't work, for unknown reasons.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-26 22:32:24 +08:00
Sean Cross
a4ed78fb96
Merge pull request #255 from betrusted-io/add-renode-boot
Add renode boot
2022-10-26 10:24:02 -04:00
Sean Cross
2cf8ff12a6 tools: add make-renode-boot
This experimental tool can be used to create all-in-one images based
on precomputed file lists. It generates "test images" using just the
bare minimum number of processes.

This program includes all the keys, kernel, and initial images required
to support a simple program.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-26 22:22:31 +08:00
Sean Cross
2382d57dd6 tools: add sign_image.rs
Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-26 22:22:18 +08:00
Sean Cross
46cd5e7098 tools: elf: allow loading files from &[u8]
Instead of assuming everything is a file or a path, allow
loading ELF files from u8 slices. This will enable us to create
images with `include_bytes!()`.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-26 22:21:24 +08:00
Sean Cross
c50314d4a8 tools: sign-image: break image signing into a library
Move the code used to sign images into its own library file. This will
enable us to use the image signing functions from other code.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-26 22:20:33 +08:00
bunnie
d9bffb3556 add some notes about making this more efficient 2022-10-26 22:06:00 +08:00
bunnie
665e7dce51 fix minor bugs, now passing basic test 2022-10-26 15:16:40 +08:00
bunnie
4c1e416244 add shellchat test routines for bulk read 2022-10-26 05:29:56 +08:00
bunnie
bffe92cab9 add first draft of bulk serialize/deserialize functions 2022-10-26 05:29:44 +08:00
bunnie
2e768dd19e Merge branch 'main' of github.com:betrusted-io/xous-core into pddb-bulk 2022-10-25 23:15:51 +08:00
bunnie
4f9e6f1a8d
Merge pull request #253 from Foundation-Devices/2022_10_25-features
xous-rs: remove unused features.
2022-10-25 23:14:29 +08:00
bunnie
c987d5dfbd undo version inc on utra dependencies, which were not bumped 2022-10-25 23:13:15 +08:00
bunnie
8d82f5bf38 update verifiers and locksgis 2022-10-25 23:12:14 +08:00
bunnie
cc873919f5 fix dangling kernel dep 2022-10-25 23:08:50 +08:00
bunnie
0ee9ec1d80 bump version numbers for crate publication 2022-10-25 22:38:58 +08:00
Jean-Pierre De Jesus DIAZ
f5176ea380
Remove xous-rs unused features
The rationale is that xous-rs should have only architecture
specific code, e.g.: riscv, arm, x86, etc. To make other
crates that depend on it not specify the features.

This could be useful when using xous-rs with `libstd`
for example.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-25 13:29:15 +02:00
Jean-Pierre De Jesus DIAZ
14b92dede4
Remove baremetal cfg detection in build script
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-25 13:24:59 +02:00
bunnie
9e39c432bd Merge branch 'main' into pddb-bulk 2022-10-25 17:41:58 +08:00
bunnie
f5289be6fe experiment with 'std' in rkyv for pddb crate 2022-10-25 17:41:12 +08:00