Commit graph

4157 commits

Author SHA1 Message Date
bunnie
d0dc2e2a9f add renode as a target to utralib 2022-09-27 18:09:33 +08:00
bunnie
4f2506f009 some housekeeping; remove bit-rotted test targets
these targets are so old they would need to be completely
re-written to be relevant, so just cull them.
2022-09-27 17:50:32 +08:00
bunnie
44cc459b33 fix hosted mode 2022-09-27 17:35:38 +08:00
bunnie
ab940e18db fixup warnings 2022-09-27 17:27:21 +08:00
bunnie
320a8e2b32 prep a fork of riscv package
for now, publish a xous-riscv package, until we can absorb
this into the kernel directly.

Want to recode all the assembly files into inline-assembly now
that it is supported in Rust, but, let's not put that yak on
the list of yaks to shave before we have a separable kernel.
2022-09-27 17:23:25 +08:00
bunnie
755556611c prep kernel for packaging
- strip out gdb-stub. Per xobs, the feature never worked, and it
depends upon a branch of a git repo which is not allowed by crates.io
Since the feature hasn't been developed, and crates.io will not
allow even an optional feature that points to a git repo, the feature
was stripped out.

- rename "kernel" to "xous-kernel", so that we can live in a crates.io
package namespace that is specific to Xous.

still have to figure out the riscv package issue.
2022-09-27 17:02:20 +08:00
bunnie
4f7f5855ec add the generated.rs top file which routes to specific configs with feature flags 2022-09-27 16:32:40 +08:00
bunnie
0cfc09f523 stop ignoring the generated files
generated files are now committed to tracked repo history
2022-09-27 16:32:15 +08:00
bunnie
be7b77e52a bump lockfile 2022-09-27 16:31:05 +08:00
bunnie
b97a2f7042 bump rev and update readme 2022-09-27 16:30:57 +08:00
bunnie
fad43a1e0f add target routing to build.rs 2022-09-27 16:30:45 +08:00
bunnie
e35dc90ce5 add specific targets so we can pass crates.io guidelines 2022-09-27 16:30:09 +08:00
bunnie
895957e53a pass the SVD config back to xtask
this is necessary because we need the full SVD path to generate
the whitelist of physical pages that can be addressed. Since the
SVD path is now domiciled in utralib, a file called "SVD_PATH"
is created in the target/ directory which contains the resolved
path to the SVD file given the abstract target/rev feature pair.
2022-09-27 15:12:28 +08:00
bunnie
a4c9dabd0f add description 2022-09-27 03:14:45 +08:00
bunnie
2f016c3876 handle case of a "clean" build without failure 2022-09-27 03:12:08 +08:00
bunnie
15bcb6328f fixup other refs 2022-09-27 03:09:41 +08:00
bunnie
3a6f69a4ad fix SVD spec toggle trigger
this fix makes it so that

1) you always get a correct build when the SVD spec is toggled
2) you don't always rebuild when nothing has changed

(2) is with the caveat that the no-change flag is only clean
after your second build (i.e. your third run will be fast).
I'm not quite sure why but I think it's because the "changes"
to the config file tracker are computed throughout the first
build and the second build still sees that file as recently
changed, so, it'll trigger a rebuild (could also just be
a race condition because the timestamp of the rebuild is
at the same second that the file was regenerated, so conservatively
you'd rebuild the next time).
2022-09-27 03:06:42 +08:00
bunnie
ecab0ba045 fix default-features in services 2022-09-27 02:44:46 +08:00
bunnie
6e6b846341 fix default-features setting in loader 2022-09-27 02:44:27 +08:00
bunnie
c3e1e94c71 update lockfile 2022-09-27 01:18:11 +08:00
bunnie
f3fc29abf8 bump ref to ring-xous which absorbs updated xous-ipc 2022-09-27 01:18:00 +08:00
bunnie
3bf363bf22 rework SVD files to be located in utralib crate
- default SVD file is specified now as a constant at the top of xtask
- SVD files are now tracked to commit refs in the betrused-soc tree

this is so that we don't have to guess which crate rev corresponds
to which SVD rev -- we specify it explicitly with a feature flag.
2022-09-27 01:16:29 +08:00
bunnie
09842006f5 std should not be a default feauter 2022-09-27 01:15:55 +08:00
bunnie
52728bce1f more xous-ipc bumps 2022-09-27 01:15:00 +08:00
bunnie
d667d7e1f5 bump xous-ipc version 2022-09-27 01:14:43 +08:00
bunnie
49b6698f15 don't hide the loader! 2022-09-27 01:14:06 +08:00
bunnie
ecd4aa2631 derp helps to name the default feature correctly 2022-09-26 23:25:58 +08:00
bunnie
17248fdbf1 revise utralib to use features to select the SVD file 2022-09-26 23:24:22 +08:00
bunnie
ac6dbb2689 bump version so we can update xous-ipc dependency 2022-09-26 17:15:54 +08:00
bunnie
f188e0f866 re-bump xous-ipc to 0.9.9 2022-09-26 16:50:38 +08:00
bunnie
19c90c1cc7 move precursors to the utralib
this will allow us to package up utralib for generation of soc
dependencies
2022-09-26 16:49:49 +08:00
bunnie
0e9cd1d4e3 add note about crates.io sourcing of key API files now. 2022-09-26 16:26:01 +08:00
bunnie
507ab42836 downgrade xous-ipc to 0.9.7 until i have permissions to push a new version 2022-09-26 16:11:26 +08:00
bunnie
3579dfdd17 update xous-ipc and xous versions 2022-09-26 16:07:35 +08:00
bunnie
d10683d29f contemplating splitting log-server itself into a crate, just to see what happens... 2022-09-26 14:58:05 +08:00
bunnie
f53bac3389 prep a version of utralib for push to crates.io 2022-09-26 14:23:10 +08:00
bunnie
119eac0c70 update manifest 2022-09-26 14:13:20 +08:00
bunnie
a1b7dde106 prep svd2utra for submission to crates.io 2022-09-26 14:07:28 +08:00
bunnie
114d60bc53 migrate logserver API to external package 2022-09-26 14:06:46 +08:00
bunnie
f8632e26b0 bump xous ref now that the latest xous is up 2022-09-26 13:14:17 +08:00
bunnie
4010ed9dee exclude the API crate source from the workspace 2022-09-26 12:16:00 +08:00
bunnie
a52cec1847 change from xousapi to xous-api naming
i think it's easier to read xous-api, even though it's got
an extra hyphen in it causing more visual noise.
2022-09-26 12:12:53 +08:00
bunnie
3b48ff8be7 initial cut at splitting out the lib section of log-server 2022-09-26 11:36:49 +08:00
bunnie
6811e23f20 remove unused/outdated artifacts 2022-09-26 11:26:03 +08:00
bunnie
b6afff7f14 bump lock file 2022-09-26 11:13:04 +08:00
bunnie
147d55bdf8 bump xous-rs version 2022-09-26 11:08:22 +08:00
bunnie
195bf26585 update release notes 2022-09-25 02:05:51 +08:00
bunnie
b82271d721 update release notes 2022-09-25 02:05:14 +08:00
bunnie
85279566f0 fix #77
This adds some UX feedback in the edge case that a suspend could not
happen due to a blocking sever, e.g. a sha512 hash pending or
a SPINOR flash write/erase pending.

The UI will tell the user to retry again; usually the ops in
a normally functioning system for hashes or SPI are very short,
so we could almost just retry automatically but I think for now
I want to see if this edge case actually happens.
2022-09-24 02:40:11 +08:00
bunnie
d3daca9c5e migrate suspend/resume to the private server
this seems to resolve an issue where the time server fails to
suspend due to contention for the llio block.
2022-09-24 01:26:17 +08:00