Commit graph

4535 commits

Author SHA1 Message Date
Tom Marble
9689b3bc07
Removes VS Code artifacts
Also updates .gitignore to prevent adding IDE (VS Code, Emacs) artifacts

Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-28 11:23:56 -05:00
bunnie
3814337f51 don't check in vscode settings 2022-10-28 18:27:52 +08:00
bunnie
dd379aa9fb bump kernel version 2022-10-28 18:16:16 +08:00
bunnie
f01b2a871c add some vscode stuff i guess to the release 2022-10-28 18:12:07 +08:00
bunnie
f17e02460f bump kernel revision 2022-10-28 18:02:52 +08:00
Sean Cross
c17a6d3786 kernel: make SYSTEM_SERVICES unmangled
This symbol will be viewed by external tools.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-28 17:38:25 +08:00
bunnie
fd739c2177 add fr locale to update options 2022-10-28 15:23:39 +08:00
bunnie
f7eed18f48 bump verification and locks 2022-10-28 15:18:34 +08:00
bunnie
ba28dd8795 bump to absorb utralib straggler configs 2022-10-28 15:11:17 +08:00
bunnie
b5f4814bb4 cleanup some stragglers in utralib push 2022-10-28 15:10:00 +08:00
bunnie
6b296c9b48 fix a cargo file that got nuked in the merge 2022-10-28 15:04:56 +08:00
bunnie
bcd1078fe2 bump lockfile 2022-10-28 15:01:38 +08:00
bunnie
e60f7cc855 Merge branch 'i18n/adds-french-localization' into main 2022-10-28 15:00:27 +08:00
bunnie
f8a6643054 bump locks 2022-10-28 14:55:33 +08:00
bunnie
dfb10ed7f2 bump crate numbers to publish lang-fr change into xous-rs 2022-10-28 14:01:09 +08:00
Tom Marble
006a69105c
Completes the i18n_helper.py tool
Added 'fr' translation
Added *.json to .gitattributes

Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-27 16:07:05 -05:00
bunnie
0c7c90fb78 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.
2022-10-28 02:55:42 +08:00
bunnie
d63c452fb6 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.
2022-10-27 23:00:10 +08: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