bunnie
fd5c6568d1
trim out some excess redraw calls that are slowing down boot
2022-02-05 18:55:46 +08:00
bunnie
a7c9027d05
make the COM reset no longer open loop; unblock as soon as EC responds
2022-02-05 15:44:47 +08:00
bunnie
06b9f88926
improve test oqc interface with new API
2022-02-04 17:11:42 +08:00
bunnie
43842fb1ce
mirror the link ping code into the LinkReset command on the COM
...
we've got it, might as well use it.
2022-01-31 23:37:43 +08:00
bunnie
3d7ee0663c
improve the link sync-up for the EC after a WF200 reset
2022-01-31 23:32:59 +08:00
bunnie
faa51908d7
maybe, just maybe...we finally have version info baked into the kernel correctly.
2022-01-31 23:02:32 +08:00
bunnie
2a1ab53e6b
fix termination condition detection error
2022-01-31 12:40:26 +08:00
bunnie
9762894550
add timeout on wf200 reset
2022-01-31 05:01:58 +08:00
bunnie
82a7b7ebb3
make wf200 reset a blocking call so other status bits don't de-sync
2022-01-30 19:07:29 +08:00
bunnie
69a8f2777f
change default value on the null SSID string value
2022-01-28 23:32:45 +08:00
bunnie
5a1139a367
move cache flush on susres to just before the suspend event
...
- also nail down the interrupt handlers from firing from the COM
during suspend
- ensure that connects don't happen while scanning
2022-01-27 22:05:38 +08:00
bunnie
a94bb0e4d7
prevent interrupt storm on sleep from the COM
2022-01-27 15:01:01 +08:00
bunnie
71c017641a
fix up some debug messages and other minor nits
2022-01-27 04:07:22 +08:00
bunnie
4c4ca1577f
fix connection manager state machine
...
seems to work a lot better, but needs a lot more testing
2022-01-27 03:56:39 +08:00
bunnie
18130cddae
fix suspend/resume regression
...
had to pin down the correct order of events to avoid lockups on suspend
2022-01-17 22:46:18 +08:00
bunnie
4f9374e860
add enhanced debugging to the COM for wf200
2022-01-14 15:27:24 +08:00
bunnie
a4bb889a5d
update wlan status to a binary version with more detailed output
2022-01-14 02:23:57 +08:00
bunnie
0ba8650731
refactor SSID reporting
...
later on we'll have to add some UX around this but for now
the command line stuff is a bit nicer.
2022-01-13 21:12:14 +08:00
bunnie
b275b1d3c2
move some low-level hardware facing services to "Late" suspend status
...
So far it's been no problem to suspend these in any order, but as
more services come to rely upon them it's better if they suspend after
any client applications have been suspended.
2022-01-10 13:48:49 +08:00
bunnie
c5fe1bc99b
add sequencing to suspend/resume order of operations
...
this is necessary because we want to make sure that the SPINOR
service does not shut down before the PDDB service finishes syncing
its disks.
2022-01-10 13:45:56 +08:00
bunnie
dd18d94a03
e2e demo of pddb working now, we can store an ssid/password pair...finally.
2022-01-09 13:12:36 +08:00
bunnie
7aa2c7b054
a very basic e2e pddb application that tries to restore a network connection
...
lots of problems to solve still, but let's pick that up on the refactor
stage -- for now we want to get some evidence that the pddb API is
workable.
2022-01-09 01:29:28 +08:00
bunnie
3cf1cbaeb6
add visible warnings around COM timeouts
2021-10-17 21:43:39 +08:00
bunnie
f1296d0dfd
convert route table to use heap not static memory, since we have heap
2021-10-15 15:44:16 +08:00
bunnie
ef70daf7bb
fix hosted mode build config
2021-10-13 02:07:55 +08:00
bunnie
ec34b01bd9
pings working with smoltcp (can originate and respond)
2021-10-13 01:57:00 +08:00
bunnie
b93109cad2
cleaning up net event loop, still figuring out APIs and integration
...
currently there is some issue with ARPs not sure where it's breaking,
suspect issue on EC side...
2021-10-11 05:21:01 +08:00
bunnie
74a3c6df44
disastrous first draft of figuring out how to integrate smoltcp using a ping example.
2021-10-10 01:57:31 +08:00
bunnie
560c6e4197
something packet-oid is coming out of the serial port now?
2021-10-09 02:12:12 +08:00
bunnie
b43eb56346
add some skeleton for a net crate; testing COM interrupts
2021-10-08 20:01:13 +08:00
bunnie
dfc6444d78
add killkey test to the self test suite
2021-09-14 20:15:03 +08:00
bunnie
3f1ba5e279
add com trng seed, uptime on EC; EC reset test commands
2021-09-13 23:28:54 +08:00
bunnie
1a55973346
adjustments to self test routines
2021-09-06 14:39:44 +08:00
bunnie
858a1ed019
beginnings of a factory self-test routine; expand COM functionality
2021-09-05 23:26:07 +08:00
Sam Blenny
af25697a6f
Merge remote-tracking branch 'upstream/main' into com-wlan
2021-08-13 23:01:12 +00:00
Sam Blenny
53a0bf2827
Use com_rs::serdes::StringDes for wlan status
...
Switch to using the new com_rs::serdes::StringDes struct for
deserializing the COM protocol response to WLAN_STATUS.
With this change, `wlan status` will receive a string of up to 64
bytes and print it to the shellchat log. Status string formatting
is handled by the betrusted-ec EC firmware code.
Signed-off-by: samblenny
2021-08-06 08:30:16 +00:00
bunnie
8b83fb7c65
remove heapless, go to libstd for all collections!!!!
...
*fistpump*
2021-08-04 01:25:32 +08:00
bunnie
34d44ee9e7
start to remove heapless and commit to libstd flow
2021-08-04 00:07:47 +08:00
Sam Blenny
ba4ca72703
Use com_rs::serdes::StringSer for wlan ssid & pass
...
Switch to using the new com_rs::serdes::StringSer struct for
serializing the COM protocol arguments to WLAN_SET_SSID and
WLAN_SET_PASS. The point is to reduce the amount of ad hoc,
untested packing and unpacking.
Signed-off-by: samblenny
2021-08-03 14:04:20 +00:00
Sean Cross
b86e0a65cd
services: recognize xous as a hardware OS
...
Support `xous` as a valid OS. This allows us to build the entire kernel
under this target.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-02 18:11:48 +08:00
Sam Blenny
5c93365acd
implement COM bus txrx for wlan commands
...
Signed-off-by: samblenny
2021-07-21 09:06:12 +00:00
Sam Blenny
03ad8bd2e4
add support for wlan commands to com server
...
Signed-off-by: samblenny
2021-07-21 09:06:12 +00:00
bunnie
eee9f4e765
refactor xous-names to permit only a fixed number of connections
...
this prevents less trusted processes from connecting to servers
after the kernel initializations are done.
this works so long as we don't have disconnects from the kernel
servers. In order to support disconnects we will also need a
way to re-enumerate the SID to guarantee that we don't have a re-use
problem. But for now, the kernel is not designed with any practical
disconnect mechanism; there is no code that calls the Quit mechanism
on any server.
2021-06-15 17:41:14 +08:00
bunnie
fadc9c29ab
Merge remote-tracking branch 'origin/master' into bunnie-dev
2021-06-02 03:59:25 +08:00
bunnie
25a77ddb19
EC updating seems to work.
2021-05-25 05:13:20 +08:00
bunnie
7529628053
partial progress on EC updater
2021-05-24 04:34:50 +08:00
Sean Cross
eb7895d601
xous: add a return code to TerminateProcess
...
As part of this refactor, make `terminate_process()` a divergent call.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-20 11:01:00 +08:00
bunnie
7d9e84c456
initial frameworks around sha512 acceleration integration
2021-05-19 00:39:03 +08:00
bunnie
3f12b0a69b
add a gyro test command to shellchat
2021-05-16 16:52:27 +08:00
bunnie
5d4e716e1b
add status thread mechanism to check charger state
2021-05-16 16:30:58 +08:00