Commit graph

10340 commits

Author SHA1 Message Date
bunnie
ffb38957bf remove debug on listeners 2021-04-15 18:43:33 +08:00
bunnie
024a072a7c absorb WDT fix to eliminate a race condition 2021-04-15 18:40:00 +08:00
bunnie
24ae5686c8 closing in on a final PDS set 2021-04-15 13:44:32 +08:00
bunnie
11ad8e4824 finalize FCC test files 2021-04-15 05:49:01 +08:00
bunnie
93400df67c an initial cut at fcc test commands 2021-04-15 04:10:47 +08:00
bunnie
a38ba534f1 fix rmwf bug where mask is not shifted before use
can't believe this went unnoticed for so long...
2021-04-15 02:59:14 +08:00
bunnie
9f4dc8a7b1 add wifi reset opcodes 2021-04-14 22:43:23 +08:00
bunnie
9647c47c2c refine/update docs for unhooking callbacks 2021-04-14 03:20:40 +08:00
bunnie
06f7f6ff7f add a define for the maximum CID 2021-04-14 03:20:30 +08:00
bunnie
75295485a7 fix RTC callbacks 2021-04-14 02:58:22 +08:00
bunnie
1994b730b7 improve cb test structure and try out bool-based cb registration 2021-04-13 16:46:49 +08:00
bunnie
c2eaece3c8 add library file 2021-04-13 05:10:17 +08:00
bunnie
5a6956d6de initial cut of test 2021-04-13 05:10:00 +08:00
bunnie
82dd9f2a91 Merge branch 'bunnie-dev' into cb-test 2021-04-12 23:16:48 +08:00
bunnie
b408882de7 add updated SVD files to track litex changes 2021-04-12 22:42:02 +08:00
bunnie
fbe2b7d961 Merge remote-tracking branch 'betrusted/fix-section-loading' into bunnie-dev 2021-04-12 20:49:40 +08:00
Sean Cross
ac9570a767 log-server: remove UB in log server init
Previously, the log server would call `setup` on an uninitialized
struct. This is very undefined behavior, and risked running into
optimization errors.

This reworks the log server such that the singleton is protected by a
`None` value that gets initialized.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-12 17:47:26 +08:00
Sean Cross
c5ca371e08 loader: fix debug warnings
These warnings appeared as part of a change in Rust 1.50.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-12 17:15:52 +08:00
Sean Cross
8b06017c66 loader: fix double-allocation of memory regions
Due to an error in how small regions were loaded, memory was mapped to
the wrong offset. This didn't affect us for the most part, since these
small regions were mostly in the backtrace report which we don't usually
hit.

With this patch, we now can verify that processes are loaded correctly.
For example:

    (gdb) compare-sections
    Section .rodata, range 0x100e0 -- 0x13bdc: matched.
    Section .eh_frame, range 0x13bdc -- 0x15040: matched.
    Section .text, range 0x16040 -- 0x2dd6e: matched.
    Section .sdata, range 0x2ed70 -- 0x2ed78: matched.
    Section .data, range 0x2ed78 -- 0x2eda4: matched.
    (gdb)

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-12 17:15:44 +08:00
bunnie
c984756539 add the initial templates 2021-04-12 13:32:13 +08:00
bunnie
f15266c070 callback test coding 2021-04-12 13:32:00 +08:00
bunnie
f1d97fe428 RTC cmdline function mostly working
seems there is some issue with de-registering/disconnecting
connections though, need to make simpler test cases to diagnose
2021-04-10 01:01:51 +08:00
bunnie
4957effe9c fix up callbacks 2021-04-09 18:56:44 +08:00
bunnie
84853c696a drop message should be non-blocking 2021-04-09 18:53:41 +08:00
bunnie
2916eb3775 relocate the destroy callback call to after the server exits 2021-04-09 18:51:43 +08:00
bunnie
162bf01819 intermediate check in of callback destroy problem 2021-04-09 18:06:21 +08:00
bunnie
aed2325f68 fix some minor bugs in hosted mode
memory is not page-aligned so `if !cfg()`-out the alignment
checks in hosted mode
2021-04-09 17:31:36 +08:00
bunnie
8b93dd0c63 RTC server now basically working
There is an issue with the rtc commandline time checking
with respect to unhooking its callback, maybe related to
the new disconnect/destroy server code
2021-04-09 05:24:29 +08:00
bunnie
fbcb795693 this delta makes it work 2021-04-09 00:34:43 +08:00
bunnie
e7e10a0ec9 commit again for debugging 2021-04-09 00:29:53 +08:00
bunnie
856934c2c9 some progress, but check in to recreate previous crash 2021-04-09 00:15:42 +08:00
bunnie
a9de4782c5 crashing on load when logger is in callback 2021-04-08 23:07:02 +08:00
bunnie
0fa3d3c969 begin debugging of the RTC 2021-04-08 04:38:01 +08:00
bunnie
45c90659e5 rtc first draft 2021-04-08 02:30:57 +08:00
bunnie
01a0fcc73f Merge branch 'master' of github.com:betrusted-io/xous-core into bunnie-dev 2021-04-07 18:30:13 +08:00
bunnie
0f9eea10d9 flesh out callback handling of events in LLIO 2021-04-07 18:29:50 +08:00
Sean Cross
11955ba6b1 xous-ipc: utilize published xous 0.8.0
This uses the published version of `libxous`.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-07 16:38:36 +08:00
Sean Cross
e2996935cf 0.8.0: tag release
This bumps version numbers to 0.8.0, indicating we're nearing final
release.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-07 16:34:16 +08:00
Sean Cross
c497cd4864 Revert "remove legacy buffer/string from xous-rs"
This reverts commit 628be639f6.

This file is still in use by at least one project, and will be used by
the libstd implementation.
2021-04-07 16:30:08 +08:00
bunnie
0e8ac6929a
Update README.md 2021-04-07 01:27:23 +08:00
bunnie
50fa517f3f
Update README.md 2021-04-07 01:24:41 +08:00
bunnie
9b40cf8917
Update RELEASE-v0.8.md 2021-04-07 01:00:27 +08:00
bunnie
12bb5ee972
Update README.md 2021-04-07 00:59:25 +08:00
bunnie
39db5084ab
Update README.md 2021-04-07 00:58:28 +08:00
bunnie
c55d1d860e set hosted mode default target to the full version 2021-04-07 00:53:59 +08:00
bunnie
4e8598216d Merge branch 'xous-ipc-refactor' 2021-04-07 00:50:55 +08:00
bunnie
628be639f6 remove legacy buffer/string from xous-rs 2021-04-07 00:50:11 +08:00
bunnie
d5aef77bdc clean up warnings, as much as they make sense to clean up 2021-04-07 00:48:48 +08:00
bunnie
35353f38dd bring benchmarks to v0.8 and record benchmark results 2021-04-07 00:45:11 +08:00
bunnie
01486b5552 remove shell 2021-04-06 23:12:30 +08:00