bunnie
51278451a0
update version pins to pull in cramium target
2023-07-19 21:07:56 +08:00
bunnie
3c13516d57
kernel integrations for cramium
2023-07-17 18:49:21 +08:00
bunnie
4ac979f0ab
update pins, again
2023-07-04 11:20:12 +08:00
bunnie
c9f8f2681b
update version pins
2023-07-04 11:09:13 +08:00
bunnie
952ba18fba
commit vesrion pin bumps
2023-06-16 01:30:18 +08:00
bunnie
fbe3cb2a3d
bump package numbers to absorb PR #388
2023-05-28 15:58:11 +08:00
bunnie
5a2df4432c
technical debt: cleanup UTRA package
...
- make the "base" field no longer public. It is accessible, but only
through an `unsafe` method, because, it is unsafe.
- add accessors to offest/mask fields. Because, it's not at all
unsafe to access these, and it can be useful for bit-ops that are
not part of the generic set of UTRA.
- add Arc to AtomicCSR, and require `std` for AtomicCSR types.
This should not break anything, I checked inside @foundation-devices
keyOS and they don't seem to be using AtomicCSR anywhere.
The Arc makes it a bit safer to clone the AtomicCSR base pointer
and share it between threads, but it will have an impact on performance.
The USB stack (which requires AtomicCSR) was regression testing and the
impact seems minimal.
Recall that the main purpose of AtomicCSR is to provide a CSR accessor
that does not require a mutable reference to the base object. This
can make certain Rust idioms a bit cleaner. We wrap the base accessor
in Arc+Atomic to try and improve the safety of throwing the borrow
checker under the bus, but it's still not perfect because hardware
mutable state can have side-effects within hardware itself that cannot
be modeled or checked by Rust's borrow checker.
2023-05-23 18:11:24 +08:00
bunnie
697d44de3d
bump version pins to absorb changes to svd2utra etc.
2023-05-03 23:11:12 +08:00
Jean-Pierre De Jesus DIAZ
66df563313
kernel: update rand to 0.8
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-05-02 12:50:56 +02:00
bunnie
8a574f937f
bump for xous-rs version pin update
2023-04-27 22:18:30 +08:00
bunnie
849c136b90
bump versions because API crate changed
2023-04-12 23:02:30 +08:00
bunnie
8357ab31a5
bump all pins because utralib got updated
2023-04-09 00:48:35 +08:00
bunnie
9c94d6b4c0
bump versions because xous-rs API changed for gdb-stub
2023-04-08 23:49:24 +08:00
Sean Cross
7c2ffbb34e
kernel: implement gdb server
...
The gdb server runs on an additional serial port and provides
process-level debugging to the kernel.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-04-06 10:48:45 +08:00
Sean Cross
13029a76a2
kernel: initial gdb-stub reimplementation
...
Add an initial reimplementation of the gdb-stub using the gdbstub
backing crate.
This supports process enumeration and basic thread investigation.
Processes will pause when the debugger is inspecting them. Memory and
registers can be investigated. Threads can be listed and selected.
It does not yet support breakpoints.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-04-06 10:45:42 +08:00
eupn
90df83f885
kernel: revamp IRQ handling
2023-04-05 16:35:01 +04:00
bunnie
e469eba167
bump version for utralib patch
2023-04-04 02:13:02 +08:00
bunnie
704aaf98af
bump versions for kernel interface changes
2023-03-22 02:48:55 +08:00
bunnie
488a220d43
fix URL to public URL
...
didn't know i could just edit this directly in GH!
2023-03-22 01:05:10 +08:00
eupn
618392ca52
kernel: add arm features and deps to Cargo.toml
2023-03-14 18:39:19 +04:00
bunnie
303f595d6f
bump versions to cleanup renode.rs sync issue
2023-03-14 16:34:53 +08:00
bunnie
82e3aa322f
bump toml files in prep for publish
2023-03-08 03:54:37 +08:00
bunnie
6563ad174e
bump revision
2023-02-15 20:35:16 +08:00
bunnie
fced4608b6
bump kernel package rev
2023-02-15 20:26:30 +08:00
bunnie
80f031b7e7
bump kernel version
2023-02-12 12:58:42 +08:00
bunnie
053bc8a06f
bump kernel rev
2023-02-03 00:12:57 +08:00
bunnie
8b7876360f
bump kernel package version
2023-02-01 22:45:37 +08:00
bunnie
cc97f157e4
bump kernel rev for publication
2023-01-31 16:10:53 +08:00
bunnie
9256e7cc09
bump versions to absorb xous-names fix
2023-01-31 15:07:32 +08:00
bunnie
84368c3f3a
bump versions for publication
2023-01-31 02:18:12 +08:00
bunnie
232a4b6c6c
bump xous version
2023-01-18 00:02:46 +08:00
bunnie
bb5d7b3adf
bump versions to absorb hosted mode fix
2023-01-05 14:07:24 +08:00
bunnie
36398810dd
bump version numbers to absorb new syscalls
2022-12-30 15:24:36 +08:00
bunnie
5370ce396d
bump all revs due to SoC artifact update
2022-12-12 16:07:20 +08:00
bunnie
1d1b3a35b7
commit version bump
2022-11-26 10:00:44 +08:00
bunnie
aa9977cc58
bump all the things because we changed utralib again
2022-11-17 22:13:40 +08:00
bunnie
dabbfd6c35
bump all the things to absorb the SoC change
2022-11-17 19:39:18 +08:00
bunnie
30583bdf07
bump versions with xous change
2022-11-06 03:48:12 +08:00
bunnie
0c52a7a3ff
the merge requested pulled multiple other crate versions backwards
...
this fixes it, hopefully.
2022-11-03 01:58:36 +08:00
bunnie
6332bf1c90
Merge branch 'main' into driver-refactor
2022-11-03 01:53:23 +08:00
bunnie
80094aef1e
I see what's happening. The PR originator versions are very out of date.
...
hopefully this fixes the issue.
2022-11-03 01:49:28 +08:00
bunnie
bbb7e279cd
bump kernel version (this time with feeling)
2022-11-03 01:42:59 +08:00
bunnie
ba46c6b04a
bump kernel version
2022-11-03 01:41:24 +08:00
bunnie
f17e02460f
bump kernel revision
2022-10-28 18:02:52 +08:00
bunnie
ba28dd8795
bump to absorb utralib straggler configs
2022-10-28 15:11:17 +08:00
bunnie
dfb10ed7f2
bump crate numbers to publish lang-fr change into xous-rs
2022-10-28 14:01:09 +08:00
bunnie
cc873919f5
fix dangling kernel dep
2022-10-25 23:08:50 +08: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
d331d405ee
bump version numbers for publication
2022-10-25 17:23:40 +08:00
bunnie
805a7d528c
flip back to using remote references
2022-10-20 16:30:06 +08: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
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
ff30131f43
absorb more fixes into the kernel
2022-10-13 04:08:56 +08:00
bunnie
3503965f98
bump versions to absorb xous-rs changes
2022-10-13 03:41:16 +08:00
bunnie
94aa4b62b1
forgot to bump kernel version
2022-10-10 03:09:27 +08:00
bunnie
02b80425f5
bump xous-rs to absorb change in language specification
2022-10-10 03:07:44 +08:00
bunnie
3bca9de2a0
bump version numbers for xous-kernel patch
...
this fixes tests in CI
2022-10-05 23:51:35 +08:00
bunnie
969f93b001
cross-repo update versions from xous-rs bump
2022-10-05 18:32:44 +08:00
bunnie
5c6dc80249
xous-rs change bumps kernel rev
2022-10-05 17:33:25 +08:00
bunnie
d699ddf998
also move utralib change into kernel, update cargo.lock
2022-10-02 02:21:27 +08:00
bunnie
df96605531
update utralib reference
2022-09-29 22:22:33 +08:00
bunnie
96300db925
add license to kernel Cargo.toml
2022-09-27 18:43:39 +08:00
bunnie
c9f3d6a3d5
bump utralib ref in kernel so it works with the renode target
2022-09-27 18:32:04 +08:00
bunnie
ab940e18db
fixup warnings
2022-09-27 17:27:21 +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
57673052bf
pass the v2p dependency onto xous-rs when it's activated in the kernel
2022-09-15 19:17:00 +08:00
bunnie
ea37ce2ea1
add feature gate on v2p per xobs' request
2022-09-15 14:06:07 +08:00
bunnie
7456158fa9
remove custom ditherpunk flag from kernel
...
we can now do per-process stack size adjustment
2022-06-16 03:39:25 +08:00
bunnie
c687f7dc02
add a kernel feature flag so we can adjust stack size for ditherpunk
...
Don't want to make the stack size adjustment across the board
because it's helpful for managing/checking bloat as it happens.
2022-06-14 17:08:32 +08:00
bunnie
e32ea4d3f5
fix #174
2022-06-10 21:36:53 +08:00
bunnie
09a968ef09
remove debug-here dependency
...
this contains a dependency to `failure` two levels down that has a critical
vulnerability. Unfortunately no new versions of debug-here have been
published in a while. It's no longer used, so just stripping it out
altogether.
2022-06-07 14:00:25 +08:00
Sean Cross
7cd86b4fcf
Merge branch 'main' of github.com:betrusted-io/xous-core into kernel-monorepo
...
Signed-off-by: Sean Cross <sean@xobs.io>
2022-01-14 15:33:10 +08:00
Sean Cross
35af35381a
kernel: integrate kernel into main monorepo
...
This moves the kernel into the main monorepo, allowing it to share
packages with the rest of the system. This change will allow us to
reduce the number of rebuilds that take place, as well as reducing disk
usage.
Note that the loader is still an indepenent project, and the integration
of that into the monorepo is pending.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-01-14 15:31:36 +08:00
bunnie
b3788a54af
clarify the dependency policy
2022-01-10 16:50:10 +08:00
bunnie
995915ed4e
nail down a couple more dependencies, and add a policy note to Cargo.toml
...
Each Cargo.toml now includes a comment which remnids maintainers
of the dependency policy for Xous (that is, nail down every dependency
to the minor number).
2022-01-10 15:54:27 +08:00
bunnie
d06d58b132
harmonize rand crate to 0.7.4 (version used by ed25519-dalek)
2022-01-10 15:03:23 +08:00
bunnie
4819703d20
trim unnecessary sha3 dependency
2022-01-10 14:59:41 +08:00
bunnie
66606ed3e0
initial attempt to make hosted mode more deterministic
...
replace all threadRng with a seeded Rng
2021-12-25 15:58:27 +08:00
Sean Cross
0ae6d1460a
kernel: update version of gdbserver
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-25 16:05:56 +08:00
Sean Cross
bb0339652a
kernel: use local copy of riscv crate
...
A local copy of the `riscv` crate is used in order to get support for
the `xous` target_os.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:15:29 +08:00
Sean Cross
afdf8531aa
kernel: use resolver v2
...
This is required now to support tests, since tests create processes as
threads.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-16 12:25:15 +08:00
Sean Cross
afcef0d05b
kernel: use vendered version of utralib
...
By vendoring this package, we can avoid causing a rebuild unnecessarily.
This will be removed when Rust 1.55 is released and we can bring the
`kernel` package back into the main workspace.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-04 12:19:16 +08:00
Sean Cross
4e54bfdc7a
kernel: use gdbstub dev/0.6
...
The previous brach will shortly be deleted.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-27 19:23:53 +08:00
Sean Cross
f1041f6f6e
kernel: add gdbserver to Cargo.toml
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-21 14:11:26 +08:00
Sean Cross
fb839f3217
wip
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-16 16:53:40 +08:00
Sean Cross
664bd5b26a
kernel: use git for feature/state-machine-recv-packet
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-06 11:49:37 +08:00
Sean Cross
bbda4365ae
wip commit
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 17:57:01 +08:00
Sean Cross
3b540e4e9a
xous: tag 0.8.2
...
This contains some minor modifications to the ABI.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-20 11:53:02 +08:00
Sean Cross
09b8242bb2
kernel: get process termination "working" on risc-v
...
This successfully allows a process to call `terminate_process(val)`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-20 11:42:31 +08:00
Sean Cross
d15127fef6
kernel: run cargo fmt
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:18:46 +08:00
Sean Cross
30b82b25b1
kernel: run cargo fmt
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:12:01 +08:00
Sean Cross
7087fbe823
Cargo: add hooks to reduce binary size
...
These can be turned on if we want to reduce the size of our binaries.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-10 15:09:24 +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
93fc8a0b99
kernel: cargo: add wrap-print feature
...
This is used to force kernel messages to be wrapped to 80 columns.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-23 19:52:53 +08:00
bunnie
eda33b5de7
factor out the shellchat callback, which mysterious breaks things
2021-03-16 18:03:12 +08:00
bunnie
2fb6ae5ee7
debugging i2c
2021-03-16 17:03:10 +08:00
bunnie
d1609d2a31
another commit checkpoint. somehow, i have a race condition now.
2021-03-01 15:08:08 +08:00