bunnie
77ed8972f6
Merge branch 'aes' into bunnie-dev
2021-06-02 04:08:00 +08:00
bunnie
758bb64578
Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev
2021-06-02 04:04:21 +08:00
bunnie
1f7add35a1
update docs for usb updater
2021-06-02 04:04:04 +08:00
bunnie
fadc9c29ab
Merge remote-tracking branch 'origin/master' into bunnie-dev
2021-06-02 03:59:25 +08:00
bunnie
b9f3182bb9
mods for hosted mode to work again
2021-06-02 03:45:15 +08:00
bunnie
25e6bced00
add power-on utilization reporting
...
there is now an extra field in the status bar that gives
the %'age of time that the clocks are running.
2021-06-02 01:08:31 +08:00
Sean Cross
837885798d
xtask: add renode-aes-test as a target
...
This generates an image that allows for testing AES.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 20:02:15 +08:00
Sean Cross
0644d681c5
emulation: add simple vexriscv aes engine
...
This Python-based engine implements the vexriscv accelerated
instructions.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 20:01:43 +08:00
Sean Cross
9638c67aae
aes-test: add test program
...
This is a basic program that exercises the AES core
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 20:01:23 +08:00
Sean Cross
b22ec0369e
xous: asm: add aes calls for vexriscv
...
VexRiscv has accelerated AES instructions. This adds ASM hooks for these
instructions so they can be called from Rust.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 19:52:37 +08:00
Sean Cross
8ee3b2cc1b
Merge branch 'master' of github.com:betrusted-io/xous-core
2021-06-01 17:57:23 +08:00
bunnie
ee2e38be05
add commands to help manage wfi/power debugging
2021-06-01 17:02:30 +08:00
bunnie
61f95363fd
mark a commit for the latest build submitted for testing
2021-06-01 15:33:48 +08:00
bunnie
9f3647f3a3
have audio off by default on power-on to save power
2021-06-01 00:44:33 +08:00
bunnie
2f9fa57bdd
clock-gate based power management now seems to be more or less working
2021-05-31 23:14:35 +08:00
bunnie
d9e56fd321
very preliminary power savings working
2021-05-31 05:20:54 +08:00
bunnie
7c55925926
intermediate check-in on wfi
2021-05-30 23:07:16 +08:00
bunnie
d5318ba643
Update memory.md
2021-05-30 19:56:57 +08:00
bunnie
1e2d46366a
attempt to convert sha512 to use xous::wait_event()
...
doesn't work, for some reason the interrupt doesn't want to fire.
cross-check against hardware simulations...
2021-05-30 16:18:23 +08:00
bunnie
0e1464b815
turn off wdt for now
2021-05-30 04:50:54 +08:00
bunnie
afe8d8733d
updates to use the always-on power domain timers
2021-05-30 04:29:03 +08:00
bunnie
52c32cc4d1
auto-powerdown of sha block when not in use
2021-05-30 00:12:18 +08:00
bunnie
3c0e951803
woo i have a dvorak layout now.
2021-05-29 02:28:54 +08:00
bunnie
8145473167
remove what i think is no longer a necessary comment
2021-05-25 05:31:21 +08:00
bunnie
7f62851671
update xtask to be consistent with update docs
2021-05-25 05:29:00 +08:00
bunnie
25a77ddb19
EC updating seems to work.
2021-05-25 05:13:20 +08:00
bunnie
8398d22102
fix readme
2021-05-25 03:56:19 +08:00
bunnie
40b4f26dcb
fix alignment bug on erase blocks for usb_update.py
2021-05-25 03:54:37 +08:00
bunnie
c483581716
debugging some timing issues
2021-05-25 02:53:24 +08:00
bunnie
dd3db84859
Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev
2021-05-24 04:35:16 +08:00
bunnie
7529628053
partial progress on EC updater
2021-05-24 04:34:50 +08:00
bunnie
1e5bf6131d
update precursors with usb PHY reset patch
2021-05-23 23:55:55 +08:00
bunnie
548126d1b6
add a maintenance note to the docs
2021-05-23 15:11:11 +08:00
bunnie
e1d0dc2178
add USB updater scripts to xous-core
2021-05-23 14:55:43 +08:00
bunnie
d90aa639cc
update to include git version in soc_csr.bin
2021-05-22 23:40:38 +08:00
bunnie
a68330b06e
Update flash.md
2021-05-22 02:02:01 +08:00
bunnie
e277acb59c
Update flash.md
2021-05-22 00:15:54 +08:00
bunnie
c05da31ea5
Update flash.md
2021-05-21 19:12:02 +08:00
bunnie
809ad764aa
Update flash.md
2021-05-21 19:10:06 +08:00
bunnie
6a44a7f08d
Update flash.md
2021-05-21 19:05:04 +08:00
Sean Cross
be6e0a9895
kernel: fix thread termination and waiting
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 17:23:13 +08:00
Sean Cross
18a86a9a19
xous: add homepage and repository fields to Cargo.toml
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:43:30 +08:00
Sean Cross
8d41777dc1
release 0.8.3
...
This implements the `JoinThread(tid)` syscall.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:41:13 +08:00
Sean Cross
a83cf9fe48
xous: document some more functions
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:40:33 +08:00
Sean Cross
ca53abbd25
xous: wire up wait_thread for baremetal
...
Now that we have a `JoinThread`, connect the `wait_thread` syscall.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:37:19 +08:00
Sean Cross
714aff830c
kernel: implement JoinThread(tid)
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:32:38 +08:00
Sean Cross
091a655a0a
xous: document disconnect
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:32:27 +08:00
bunnie
30aa794f30
add reference counting on connections between servers
...
the connection number is re-used for all objects created
within a process space, so you can't `Drop` the connection
immediately when an object goes out of scope. You have to
make sure all instance of the object go out of scope. This
patch adds reference counting to all the objects so that
the `Drop` function works as intended.
2021-05-21 16:24:30 +08:00
bunnie
58edcc56f2
sha512 tests fully implemented, working through sus/res
...
note: sha512 will fail if a suspend is forced upon it!! but
it will vociferously complain if this happens.
2021-05-21 15:56:58 +08:00
Sean Cross
7c2d3a2247
kernel: implement thread exit support
...
Threads now have the ability to exit. Previously this resulted in a
kernel panic.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 13:04:14 +08:00