bunnie
160a730d9f
commit precursors
...
contains
- refactored WDT
- refactored keyboard interface
still exhibits issue #74 , unfortunately. seems that key-up events
go missing every now and then. still not sure why.
2021-08-23 05:12:45 +08:00
bunnie
80cae0d446
intermediate progress on issue #74
...
still not fixed, but things are leaned up.
2021-08-23 05:12:21 +08:00
bunnie
a2bcf0fc2b
match wdt ping to refactor + fix paths for default images to xous
2021-08-23 05:11:14 +08:00
bunnie
198ef3d0c8
attempt to address issue #75
...
resume failure was seen due to a crash in the engine-25519 process,
in particular, it's crashing on a try_send_message call.
Seems like probably the loader -> kernel transition could have
left some turds in the curve25519 engine, triggering an interrupt
when the system is not yet stable.
this attempts to smooth that over.
2021-08-23 05:07:38 +08:00
bunnie
5042da07fb
refactor wdt to be more reliable and simpler
2021-08-23 05:07:21 +08:00
bunnie
cf747f2844
fix keyboard repeat; accidentally eliminated it during power optimizations
2021-08-22 18:52:33 +08:00
bunnie
24d1bed9f8
restore thread in hosted mode
2021-08-22 17:52:28 +08:00
bunnie
5df8275c00
major refactor of the keyboard server
...
This one gets rid of a ton of awful, crufty code that was pre-std.
It also removes the following features:
- raw scancode reporting: nobody uses them, and they've never been tested.
They can be added in later if someone wants to e.g. build a MAME emulator.
- multi-listener: there is no good reason to do this on a secure system.
multi-listener is basically a keyboard logger. It's better if we just
control it to a single keyboard listener.
2021-08-22 17:13:36 +08:00
bunnie
abd8eadfd8
modify the console behavior to better capture panics on resume
...
switches to kernel console on suspend, keeps it in kernel
console on resume for a few hundred ms before switching back
to our original setting
2021-08-22 14:28:06 +08:00
bunnie
1cd95649df
expand the rootkeys environment sanity check to include the GAM
2021-08-22 02:41:22 +08:00
bunnie
491e3e5429
remove stale referecne from debugging bbram
2021-08-22 02:31:52 +08:00
bunnie
4d3a8c2ced
fix issue #81
...
background clears were going beyond their borders, and also
introducing a new border of their own. fixed.
2021-08-22 02:18:02 +08:00
bunnie
5706c9e525
fix stale comment
2021-08-22 02:17:53 +08:00
bunnie
8d6a9f6b46
add some helper scripts for development
2021-08-22 00:41:22 +08:00
bunnie
20fd465acd
a little more cleanup/re-org
2021-08-22 00:37:53 +08:00
bunnie
ca8bead919
improve organization of the modal crate
2021-08-22 00:29:42 +08:00
bunnie
b4a85318c1
fix up README.md to match today's release
2021-08-20 17:52:18 +08:00
Sean Cross
fea1961812
RELEASE-0.9: add section on Remode
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-20 17:39:17 +08:00
Sean Cross
a151fb0815
README: remove an unnecessary step from renode
...
The Renode steps no longer require you to install the -none target.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-20 15:55:35 +08:00
bunnie
55c72097db
well, now we know the signtaure check works.
...
gateware was missing the signature area due to a problem in
the preparation script. now fixed.
2021-08-20 04:32:30 +08:00
bunnie
d9cf901ae2
update precursors to v0.9.0 SoC build
2021-08-20 02:24:45 +08:00
bunnie
983aca8d70
note default branch change
2021-08-20 01:29:31 +08:00
bunnie
e7bbf209d0
add back-link to 0.8 for API docs
2021-08-20 01:28:04 +08:00
bunnie
2a37f616d3
release 0.9 notes
2021-08-20 01:25:23 +08:00
bunnie
693ec91f0e
finalize formatting run
2021-08-20 00:26:16 +08:00
bunnie
74531517dd
move more crates to standardized formatting
2021-08-20 00:24:16 +08:00
bunnie
d801749e18
move more crates to standardized formatting
2021-08-20 00:19:16 +08:00
bunnie
3f679bd1e9
alphebetize the rustfmt list
2021-08-20 00:06:17 +08:00
bunnie
340048aac9
move more crates into stardized formatting
2021-08-20 00:04:46 +08:00
bunnie
fd4e047d62
move trng into the standardized formatting set with some exceptions
2021-08-20 00:00:15 +08:00
bunnie
6f5be1e4bb
aes-tests into standard formatting
2021-08-19 23:52:54 +08:00
bunnie
7f3d2e3ce3
move xous-names into standard formatting
2021-08-19 23:51:20 +08:00
bunnie
323b2ed261
move more crates into standard formatting
2021-08-19 23:48:53 +08:00
bunnie
c0ce66ee51
fix permissions. windows is sort of stupid and makes everything +x
2021-08-19 23:34:29 +08:00
bunnie
2a2c75f420
add a rustfmt.toml and run rust fmt on the project
...
notably directories written by bunnie are excluded.
2021-08-19 23:33:23 +08:00
bunnie
49c94f63d4
Merge branch 'main' into bunnie-dev
2021-08-19 13:41:55 +08:00
Sean Cross
1e2f31a753
Cargo: add lockfile settings for xtask
...
xtask now includes libcurl and unzip in order to be able to extract the
toolchain.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-19 11:58:55 +08:00
Sean Cross
3c917d9be4
xtask: offer to download the toolchain
...
If the toolchain does not exist, offer to download it for the user.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-19 11:58:55 +08:00
bunnie
c44547336b
clean up xtask run warnings
2021-08-19 04:49:23 +08:00
bunnie
c3fc3ff23f
add bbram provisioning sequence
2021-08-19 04:22:28 +08:00
Sean Cross
05801f3f06
xtask: add simple check for toolchain
...
This adds a simple check for the proper Rust toolchain. A more advance
test will advise on toolchain installation.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:30:35 +08:00
Sean Cross
66a68f1757
emulation: use riscv32imac-unknown-xous-elf loader
...
Use the new target for the loader.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:23:09 +08:00
Sean Cross
e96d356e15
xtask: build kernel using riscv32imac-unknown-xous-elf
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:22:50 +08:00
Sean Cross
83f88f6fde
xous: hosted: improve performance by removing a copy
...
Remove one copy step when receiving packets. This should improve
performance of Hosted mode by around 1.5x.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:22:07 +08:00
Sean Cross
7dee05082c
xous: syscall: add function to modify memory ptr
...
Add a function to modify the pointer of a MemoryRange. This is used by
`hosted` mode in order to modify memory pointers when we receive them
from the remote client.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:21:19 +08:00
Sean Cross
f5de6551bc
loader: cargo: load packages that work with xous target
...
Load versions of the dalek crates that support the xous target.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:19:41 +08:00
Sean Cross
c9c02b5d93
loader: initial riscv32imac-unknown-xous compat
...
Initial changes required to get the loader building for the
`riscv32imac-unknown-xous-elf` target.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:18:56 +08:00
Sean Cross
f952d0d9fe
loader: cargo: add support for -xous- target_os
...
Add link commands to the cargo config so that the loader can be built
for the `riscv32imac-unknown-xous-elf` target.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:17:53 +08:00
Sean Cross
184274782c
kernel: config: temporarily remove support for lto
...
LTO is currently broken with Rust 1.54.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:16:13 +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