Commit graph

2201 commits

Author SHA1 Message Date
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
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
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
bunnie
0ec75861e6 cleanup a normalization that escaped due to merge conflict 2022-10-25 17:40:18 +08:00
bunnie
30ea893c74
Merge branch 'main' into xous-rs-os-selection 2022-10-25 17:28:33 +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
bunnie
97f0d34daa more analytics on PDDB debugging 2022-10-24 02:35:55 +08:00
bunnie
83d31ff8b9 fix non-perf builds for pddb 2022-10-24 00:37:05 +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
3171629131 add PDDB performance profiling to shellchat 2022-10-23 23:15:48 +08:00
bunnie
e515092636 add performance profiling options to PDDB 2022-10-23 23:14:57 +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
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
bunnie
fc8f2a25e8 expand on "internal error" for .get() results from PDDB 2022-10-20 17:40:11 +08:00
bunnie
805a7d528c flip back to using remote references 2022-10-20 16:30:06 +08:00
bunnie
47a6305264 reduce flush to instruction + fence
remove the nops because maybe the bug is fixed in this core version
2022-10-20 13:45:08 +08:00
bunnie
320097a29d toggle out core assembly when soft flush is used 2022-10-20 04:20:03 +08:00
bunnie
c90bbb6276 make the extra buffer flush a feature, so we can experiment more easily 2022-10-19 23:42:19 +08:00
bunnie
4263bfd6b4 clean up the cache flushing, routine; don't use the custom vex instruction
suspect maybe the custom vex routine for cache flush has a subtle
issue, so fall back to first-principles read-region flush.

remove excess calls to flushing as well, turns out we effectively
duplicated the call because it was both in the core patch routine
and outside of it too.
2022-10-19 21:41:59 +08:00
Gianguido Sorà
8eab76de33 fix: make hosted mode work on macos again
When ditherpunk flag is enabled, graphics-server cannot start.
I suspect macOS doesn't tranfer thread-local variables when a new one
is spawned, and this makes xous-names, logs crash.

This commit adds a compile setting that will bypass ditherpunk thread
settings on macOS as well, allowing developers who happen to run this OS
to develop and prototype for betrusted again.
2022-10-19 14:20:12 +02:00
bunnie
8e05925cfa somehow the transition to local paths got missed in the merge 2022-10-18 00:39:01 +08:00
bunnie
0584ad2f2c switch to local paths to see if this helps the build 2022-10-18 00:26:56 +08:00
bunnie
74f96260ed normalize test crate path 2022-10-17 23:00:56 +08:00
bunnie
579bd61166 tighten up path filtering so that kernel-test is included 2022-10-17 22:57:27 +08:00
bunnie
e2fcc42d99 normalize version numbers 2022-10-17 22:47:04 +08:00
bunnie
fc14af1de1 fix an out of date crate ref 2022-10-17 16:24:39 +08:00
bunnie
4d1da235a9 bump revs that depend on susres to absorb changes 2022-10-17 05:11:09 +08:00
bunnie
6dacf18213 replace remaining final few instances of com poweroff with susres poweroff 2022-10-17 05:06:39 +08:00
bunnie
dc2c79df4d deprecate reboot function in test routines 2022-10-17 05:06:05 +08:00
bunnie
9a4b530046 deprecate instances of llio reboot in favor of susres reboot 2022-10-17 05:05:37 +08:00
bunnie
746ab64c2f add routine to poweroff SoC directly via susres mechanism
the llio power-cut mechanism is no longer effective with
the power-down sequencing required by susres. use the susres
mechanism instead, and depracate the previous method.
2022-10-17 05:04:23 +08:00
bunnie
d7392d3704 improve comments and add count to the user-failed mount case 2022-10-17 03:51:36 +08:00
bunnie
de41e5ecff rework password login to have a count and reboot/suspend after N retries
The implementation is a bit clumsy because the original
premise of the login loop is that it should be infalliable, and
because of the isolation of the password mechanism there isn't
a great way to pass number of failures back and forth across
that firewall (and I don't think there should be).

The application calling the password routine tracks failures
but the mounting routine has to kick that up to the main loop.
However, the PDDB main loop can't get stuck on the mount attempt
if you want to suspend, because it has to respond to the suspend
request.

So the failure message has to get kicked all the way back to the
status thread, which is what kicks off the mount, and then handled
there.
2022-10-17 02:40:51 +08:00
bunnie
ec1d1b4444 don't try to unmount anything if nothing was mounted 2022-10-17 00:32:06 +08:00
bunnie
3bc2860eb0 reboot -> lock device; disconnect battery -> shutdown 2022-10-17 00:19:35 +08:00
bunnie
4b368d71db bump versions of crates 2022-10-15 01:31:54 +08:00
bunnie
63a87ca1bc bump all the versions 2022-10-14 16:54:43 +08:00
bunnie
64981a4bbd cleanup leftover dependency that was never used, commit Cargo.lock 2022-10-14 16:32:13 +08:00
bunnie
61bb02ab99 add some notes to remind myself about the ring-xous patch 2022-10-14 16:24:30 +08:00
bunnie
6ee5375934 move versioning infrastructure to a feature flag
this enables more smooth packaging of the ticktimer crate
2022-10-14 16:22:46 +08:00
bunnie
4ec076f130 ...and undo 2022-10-13 04:13:39 +08:00
bunnie
b9ed1c0106 add for publish crate 2022-10-13 04:13:06 +08:00
bunnie
ff30131f43 absorb more fixes into the kernel 2022-10-13 04:08:56 +08:00
bunnie
51752aac9d
Merge pull request #239 from Foundation-Devices/baremetal
Use CARGO_CFG_TARGET_OS in build scripts.
2022-10-12 12:56:17 -07:00
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