Commit graph

10340 commits

Author SHA1 Message Date
bunnie
0ec75861e6 cleanup a normalization that escaped due to merge conflict 2022-10-25 17:40:18 +08:00
bunnie
83cd23694c commit updated cargo.lock and improve publish script timing 2022-10-25 17:39:07 +08:00
bunnie
87a883826b
Merge pull request #252 from betrusted-io/xous-rs-os-selection
xous-rs: use `target_os` and `target_arch` cfgs
2022-10-25 17:38:01 +08:00
bunnie
30ea893c74
Merge branch 'main' into xous-rs-os-selection 2022-10-25 17:28:33 +08:00
bunnie
40374bcbcb bump xtask verifiers 2022-10-25 17:24:38 +08:00
bunnie
d331d405ee bump version numbers for publication 2022-10-25 17:23:40 +08:00
bunnie
67fc21fbdd harmonize hosted mode selection, but retain an explicit hosted flag
In general, hosted mode is assumed "by default" if the target
is not Xous. This allows packages to be built cleanly on command
lines that don't know to pass a --feature flag to specify a target.

However, an explicit "hosted" flag is still retained so that we
can confirm the build system intent. This saves us from the failure
mode that we thought we were building for target A, but accidentally
ommitted the flag, and instead we've been silently building for
"hosted" mode without any warning. The main consumer of the "hosted"
flag is now just the build.rs script inside of the utralib.
2022-10-25 17:21:02 +08:00
Sean Cross
6066619906 xous-rs: use target_os and target_arch cfgs
Look at `target_os` to determine whether to enter "hosted" mode or not.
If `target_os` is "xous", then the Xous standard library should default
to using builtin Rust libstd features.

If it is "xous", then we should instead use our arch-specific
implementations.

This enables third-party programs to directly use the `xous` crate
without specifying feature flags.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-25 15:50:53 +08:00
bunnie
41a95f4381 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-10-24 02:36:59 +08:00
bunnie
1bee0cd0c1 cargo.lock now has optional crates for performance profiling 2022-10-24 02:36:27 +08:00
bunnie
65e9e2399d more detail on where time is being spent in the vault 2022-10-24 02:36:07 +08:00
bunnie
97f0d34daa more analytics on PDDB debugging 2022-10-24 02:35:55 +08:00
bunnie
1256f6f713 add vault-perf to profile performance issues in vault 2022-10-24 00:37:18 +08:00
bunnie
83d31ff8b9 fix non-perf builds for pddb 2022-10-24 00:37:05 +08:00
bunnie
e04d135e83 add vault app to sources 2022-10-24 00:36:51 +08:00
bunnie
359da58cd2 rename "testing" flag to gfx-testing so as to avoid namespace collision 2022-10-24 00:36:30 +08:00
bunnie
1b70801861 fix some typos 2022-10-23 23:20:08 +08:00
bunnie
901525e3c9 handle multiple performance manager options
by default, shellchat drives the performance management interface.
But if an alternative one is specified, it overrides shellchat.
2022-10-23 23:17:16 +08:00
bunnie
f05a879d93 add a generic performance log analysis tool 2022-10-23 23:16:56 +08:00
bunnie
a1ebf76e3e 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.
2022-10-23 23:16:00 +08:00
bunnie
3171629131 add PDDB performance profiling to shellchat 2022-10-23 23:15:48 +08:00
bunnie
9489342d4b cleanup error messages from perflib 2022-10-23 23:15:18 +08:00
bunnie
e515092636 add performance profiling options to PDDB 2022-10-23 23:14:57 +08:00
Sean Cross
fd42770ee0 Merge branch 'main' of github.com:betrusted-io/xous-core 2022-10-21 08:47:50 +08:00
Sean Cross
46fab8cbc8 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>
2022-10-21 08:40:10 +08:00
bunnie
dd8553d71a re-introduce extra flush to see if this fixes things 2022-10-21 04:24:45 +08:00
bunnie
63a4e08a80 uh-oh...saw a CI fail on cache flush again. back to the drawing board. 2022-10-21 03:18:35 +08:00
bunnie
831a705ce1 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-10-20 22:35:59 +08:00
bunnie
c127f00dc1 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.
2022-10-20 22:35:17 +08:00
Sean Cross
5ce00cbe25
Merge pull request #251 from betrusted-io/renode-namespacing
Renode: namespace all peripherals under `Betrusted`
2022-10-20 22:23:31 +08:00
Sean Cross
934fb38f03 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>
2022-10-20 22:20:37 +08:00
Sean Cross
4b3d1503e7 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>
2022-10-20 22:19:40 +08:00
Gianguido Sorà
4aface7eb5 feat: generate a pref getter that returns the type's default value on
error

PDDB errors might still be there.
2022-10-20 12:30:40 +02:00
Gianguido Sorà
fcd3217b52 fix: make sure to wait for pddb to be ready before loading prefs 2022-10-20 12:30:00 +02:00
Gianguido Sorà
d1e700058c Merge branch 'main' into feat/user-preferences 2022-10-20 11:42:44 +02:00
bunnie
fc8f2a25e8 expand on "internal error" for .get() results from PDDB 2022-10-20 17:40:11 +08:00
bunnie
fea53fad34 more release note updates 2022-10-20 17:36:02 +08:00
bunnie
66b365fc72 update release notes 2022-10-20 17:35:34 +08:00
bunnie
e47032aa23 bump verification parameters 2022-10-20 17:23:24 +08:00
bunnie
e96d711e94 add maintainer notes 2022-10-20 17:08:16 +08:00
bunnie
eb7796b275 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
2022-10-20 17:07:53 +08:00
Gianguido Sorà
1636259003 Merge branch 'main' into feat/user-preferences 2022-10-20 10:46:01 +02:00
bunnie
805a7d528c flip back to using remote references 2022-10-20 16:30:06 +08:00
bunnie
86c81fde1c Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-10-20 16:28:51 +08:00
bunnie
86d2437f03 improve formatting so section alignments are easier to debug 2022-10-20 16:14:56 +08:00
bunnie
c577798f81
Merge pull request #250 from betrusted-io/utralib-no-rebuilds
Fix rebuild logic on utralib
2022-10-20 15:58:50 +08:00
bunnie
8fc79674dc
leave maintainer hints
cargo debugging is so hard. If you're OK with it, I really would like gems like how to debug this code to be included as a comment in the source where you might look to fix such problems. Google turns up crap results when you try to search for these hints, and the results have been really unstable as well. I know such comments pollute the source code but it'll save a lot of time in the future trying to remember the trick to debug a tricky thing later on, I think.
2022-10-20 15:55:24 +08:00
bunnie
3fb3641439 Merge remote-tracking branch 'origin/utralib-no-rebuilds' into main 2022-10-20 15:49:10 +08:00
bunnie
6ea4cd38b2
Merge pull request #249 from betrusted-io/rename-args.bin
Rename args.bin
2022-10-20 15:27:51 +08:00
Sean Cross
66311005ae xtask: builder: remove LAST_CONFIG
We now use build flags to decide which version of utralib to use. This
makes `LAST_CONFIG` obsolete, since the version of utralib is decided
using a hash of build configs and build flags.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-20 15:12:45 +08:00