Commit graph

1386 commits

Author SHA1 Message Date
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
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
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
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
bunnie
5526bc4100 add hardware support for sha512/256 2021-05-21 04:35:01 +08:00
bunnie
21a5ddb40f sha512 hardware acceleration is working, now benchmarking
also need to extend hw implementation to sha512/256
2021-05-21 03:15:13 +08:00
bunnie
d44ad58637 sha512 now compiling, at least. 2021-05-20 03:29:26 +08:00
bunnie
a8e68bcebe fix file permissions 2021-05-19 00:39:47 +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
bunnie
87b6d9b6d7 add backlight commands 2021-05-16 04:29:12 +08:00
bunnie
5328e09a5b Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-05-16 03:06:54 +08:00
bunnie
7fb7402fe0 clean up some trailing whitespace 2021-05-16 03:06:11 +08:00
bunnie
d7b64972e9 Merge remote-tracking branch 'betrusted/master' into bunnie-dev 2021-05-16 02:28:02 +08:00
bunnie
b06e8d2a81 fix issue with datetime on hosted mode on windows
just monkey-patch over the call in hosted mode...
2021-05-16 02:26:24 +08:00
bunnie
b8a7605ba5 add a scaffolding to help automate windows-based build and update 2021-05-16 01:24:18 +08:00
bunnie
4d0de65f49 fix benchmark package issue 2021-05-16 01:23:45 +08:00
bunnie
b36865a893 add some delay on hosted mode for failed name requests
helps make startup a bit more orderly on multi-core systems
2021-05-16 01:22:25 +08:00
bunnie
1ba2d004f3 Merge remote-tracking branch 'betrusted/master' into bunnie-dev 2021-05-12 23:34:13 +08:00
Sean Cross
04f1d11c69 emulation: fix interrupt offset for keyboard
This fixes the keyboard interrupt offset to be at 11, rather than 10.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:26:18 +08:00
Sean Cross
fb677f32da cargo: commit new lockfile
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:22:15 +08:00
Sean Cross
a8e9492560 log-server: implement opcodes and stdout
This allows the log server to support various opcodes, and gives us
stdout as a suitable command.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:22:15 +08:00
Sean Cross
04055c1bf5 xous: add StringBuffer
This is a simple lendable StringBuffer variant of String that is
suitable for sending across process boundaries.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:22:15 +08:00
Sean Cross
b74396cfe7 syscall: add return_memory_offset_valid()
This sets the `valid` field in addition to the `offset` field when
returning a MemoryMessage.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:22:15 +08:00
Sean Cross
32d740aa15 xous: run cargo fmt on definitions
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:22:15 +08:00
bunnie
69576695bf give a little more time for the suspend
right now some graphics ops aren't completing.
2021-05-11 16:51:52 +08:00