Commit graph

10340 commits

Author SHA1 Message Date
bunnie
792ad953eb add wf200 artifacts to the update script 2021-10-05 22:28:30 +08:00
bunnie
81653ec94b wot. how are these changes not being saved. 2021-10-04 17:37:17 +08:00
bunnie
013606a4b2 this time, with saving the merge file (some weirdness in vscode...) 2021-10-04 17:34:24 +08:00
bunnie
44615c9acf Merge branch 'main' of github.com:betrusted-io/xous-core into main 2021-10-04 17:28:35 +08:00
bunnie
f0c33bc99c tighten up operator flow for factory tests 2021-10-04 17:25:49 +08:00
bunnie
2e40546a88 add a force overwrite option to the updater for the soc mode 2021-10-04 16:30:41 +08:00
bunnie
0f00e36dea loader was never updated. oops. 2021-10-04 16:26:33 +08:00
bunnie
6b0b768081 add a line break on the exit to call out the reminder 2021-10-04 15:48:37 +08:00
bunnie
e3ff753e83 add a line break on the help message 2021-10-04 15:48:23 +08:00
bunnie
9994b38e16 clarify update_ci role with respect to the SOC image 2021-10-04 15:47:02 +08:00
bunnie
7bfdce147c modify the update_ci script to be aware of the release tree 2021-10-04 15:38:04 +08:00
bunnie
e4c79a5f47 start to lay out skeleton for pddb 2021-10-04 14:50:30 +08:00
Sean Cross
24dd538a5c kernel: fix process exception handling state
Correctly handle transitions to and from exception handling.

Previously, the thread ID was incorrectly set such that the exception
handler became a valid thread. This has been adjusted so that the
exception handler is no longer considered a thread, and all other
threads will cease scheduling during this process.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-09-28 09:20:12 +08:00
bunnie
7ef9fd011c update to the latest litex core 2021-09-28 02:39:20 +08:00
Sean Cross
63dc07d633 emulation: get more of the EC working
Signed-off-by: Sean Cross <sean@xobs.io>
2021-09-27 19:42:04 +08:00
Sean Cross
09d7445c88 xtask: update list of base packages
The susres server is now required as a base package, as well as the two
servers that it depends on.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-09-27 19:41:24 +08:00
Sean Cross
1ef4c0d87d kernel: mem: actually free unmapped pages
Previously we would only free a page if it was valid. Now we
unconditionally free it.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-09-27 19:40:39 +08:00
Sean Cross
956d5f0866 kernel: remove debugging prints for memory allocation
Signed-off-by: Sean Cross <sean@xobs.io>
2021-09-27 19:38:15 +08:00
Sean Cross
fa31e2235c kernel: allow freeing unbacked virtual memory
Memory is on-demand allocated, meaning it's entirely possible to
allocate and free memory without ever touching physical pages.

Previously, when we attempted to free memory, it would skip over pages
that were never backed by real memory.

With this patch, we continue to free the virtual page even if there is
no associated physical page.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-09-27 13:42:48 +08:00
Sean Cross
62216b7295 kernel: allow freeing unbacked virtual memory
Memory is on-demand allocated, meaning it's entirely possible to
allocate and free memory without ever touching physical pages.

Previously, when we attempted to free memory, it would skip over pages
that were never backed by real memory.

With this patch, we continue to free the virtual page even if there is
no associated physical page.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-09-27 13:39:10 +08:00
bunnie
6304ba4616 backout syscall patch 2021-09-27 13:34:02 +08:00
Sean Cross
b1fec878a4 Merge branch 'main' of github.com:betrusted-io/xous-core 2021-09-26 22:21:05 +08:00
bunnie
5e9af8821b back out build-impacting changes from the attempt to make a test case 2021-09-26 00:55:26 +08:00
bunnie
be8a3a9acd an attempt to create the failing test case, but it seems this is too simple 2021-09-26 00:43:46 +08:00
bunnie
011466ceb5 start on a minimal test stub for the heap allocation problem 2021-09-26 00:01:59 +08:00
bunnie
a629681c59 re-enable the watchdog timer for the master branch 2021-09-25 22:36:35 +08:00
bunnie
1f92ed3551 update precursors 2021-09-25 22:29:30 +08:00
bunnie
4a57adac3d add battery check, version print to oqc test 2021-09-20 00:05:21 +08:00
bunnie
87228ad747 basically working OQC test 2021-09-19 01:06:21 +08:00
bunnie
c2c919ba81 add oqc test service
this works around the problem with stdlib allocator not
working quite correctly in spawned threads.
2021-09-18 02:22:35 +08:00
bunnie
74207851ac don't even include the code to print server ID 2021-09-18 02:22:06 +08:00
bunnie
bdbaba027b improve drawing performance
the trailing update after every event seems redundant now that
the gam is cleaned up

also fix a bug that causes overflow text on tl fitted text
to overflow the drawing region
2021-09-18 02:21:12 +08:00
bunnie
5df4e38caf add some debug helpers for suspend/resume 2021-09-18 02:19:43 +08:00
bunnie
029c845359 add ssid, suspend/resume test to the OQC test routine; comment out keyboard
keyboard routine still pending fixing a possible bug in xous allocator
2021-09-16 03:54:35 +08:00
bunnie
ce026e661d clear warning from previous mux fix 2021-09-16 03:54:19 +08:00
bunnie
21fb59c4d9 fix incorrect &mut self in library call 2021-09-16 03:53:36 +08:00
bunnie
9aef2eb7b4 fix dirty rectangles on resume 2021-09-16 03:53:04 +08:00
bunnie
4882016d08 add a graphics test routine for OQC
invoked via the GAM, callable exactly once per boot for up
to 60 seconds.
2021-09-16 01:00:22 +08:00
bunnie
f0dd512d7d bump sha2 version number so it matches what's on crates.io (for clean patching) 2021-09-15 18:53:11 +08:00
bunnie
8edb02ba40 try a version using scalars, still crashes 2021-09-15 18:29:27 +08:00
bunnie
8ce0e8c789 intermediate checkpoint of failing memory-passing for keyrawstates 2021-09-15 17:59:13 +08:00
Sean Cross
45d8124418 Merge branch 'main' of github.com:betrusted-io/xous-core 2021-09-15 17:18:14 +08:00
bunnie
dfc6444d78 add killkey test to the self test suite 2021-09-14 20:15:03 +08:00
bunnie
3f1ba5e279 add com trng seed, uptime on EC; EC reset test commands 2021-09-13 23:28:54 +08:00
bunnie
d0a83b6865 add backlight test 2021-09-11 22:53:20 +08:00
bunnie
49919c6123 fix typo in check clause 2021-09-11 18:02:26 +08:00
bunnie
5bff7433a5 add internal vcc measeruments to self test 2021-09-11 18:00:22 +08:00
bunnie
e06188c5fa add trng module to self-test 2021-09-11 00:16:55 +08:00
bunnie
5c33e84858 fix hosted mode missing audio dummy functions 2021-09-10 22:58:03 +08:00
bunnie
6eed8deb4c improve audio testing integration for automation framework 2021-09-10 22:54:23 +08:00