bunnie
0c095cced6
Merge pull request #84 from fweissberg/port-wycheproof-vectors
...
Port wycheproof vectors
2021-09-06 14:38:07 +08:00
Fabian Weißberg
4bb454ef10
Import x25519 vectors from Project Wycheproof
...
Closes #76
The test vectors in wycheproof-import/x25519_test.json correspond to the upstream commit 4672ff74d6 .
For details see wycheproof-import/README.md.
Signed-off-by: Fabian Weißberg <fabian.weissberg@tu-dortmund.de>
2021-09-05 22:27:16 +02:00
bunnie
858a1ed019
beginnings of a factory self-test routine; expand COM functionality
2021-09-05 23:26:07 +08:00
bunnie
19c26cbbe9
clean up release notes
2021-09-05 20:46:23 +08:00
bunnie
4c17244f3c
split API examples into a separate file independent of a particular release
2021-09-05 20:45:47 +08:00
bunnie
e57587d9c8
update documentation to reflect bitstream padding added to align AES blocks
2021-09-05 18:31:42 +08:00
bunnie
0ae2d13602
update trng_test.py to xous 0.9
2021-09-05 17:47:52 +08:00
bunnie
2f5a38b117
Merge branch 'main' of github.com:betrusted-io/xous-core into main
2021-09-05 17:15:56 +08:00
bunnie
dd858183be
change compiler fence to SeqCst
2021-09-05 17:15:31 +08:00
Sean Cross
b8c23af4fd
emulation: fix betrustedsoci2c implementation
...
This fixes the RTC, which gets things working again.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-30 15:12:13 +08:00
Sean Cross
9f46fbdcb3
emulation: map soc_csr.bin to flash
...
This is required in order to get the keys, which are used by the
firmware now.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-30 13:32:41 +08:00
Sean Cross
a3d69684c8
Merge branch 'main' of github.com:betrusted-io/xous-core
2021-08-30 12:36:40 +08:00
Sean Cross
5aaf166541
emulation: implement partial ec i2c
...
This implements some i2c functionality on the EC. Additionally, it
implements the Betrusted watchdog.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-30 12:36:04 +08:00
bunnie
d20a06e4eb
fix update script to use the correct precursor
2021-08-30 03:30:45 +08:00
bunnie
d261dfd4e1
add precurcsors with the right tag
2021-08-30 00:57:30 +08:00
bunnie
b722758d96
Merge branch 'bunnie-dev' into main
2021-08-30 00:31:18 +08:00
bunnie
c2afa2b09f
fix runs index length that was not pulled in after gateware optimization
2021-08-30 00:30:44 +08:00
bunnie
73e63da863
Merge branch 'bunnie-dev' into main
2021-08-29 23:17:31 +08:00
bunnie
c8b15a3c81
pull in the latest blitstr
2021-08-29 23:17:13 +08:00
bunnie
0c5a2e3df3
Merge branch 'bunnie-dev' into main
2021-08-29 22:59:17 +08:00
bunnie
dcc22a910f
update renode.svd with extra register for susres
2021-08-29 22:58:57 +08:00
bunnie
d1fb4e32be
Merge branch 'main' of github.com:betrusted-io/xous-core into main
2021-08-29 22:02:31 +08:00
bunnie
823c23ccc8
latest precursors to correspond with fixes
2021-08-29 22:01:54 +08:00
bunnie
dbab3d2b27
adjust L2 cache flush region to 512k
...
although te cache is only 128k, experiments show that the cache
is not reliably flushed until 512k is written. Not sure why...
2021-08-29 18:28:25 +08:00
bunnie
4c05ee2fe6
patch to fix backspace on console injection
2021-08-29 13:28:06 +08:00
bunnie
aab1625ba3
add precursors that correspond to the latest changes. this will
...
require a rebuild/reflash of loader + kernel beacuse it introduces
an extra CSR for WFI management during sleep.
2021-08-29 12:05:18 +08:00
bunnie
f4232a3236
stabilize suspend/resume a bit
...
- introduce wfi backoff during the suspend process
- increase the region of cache flush - seems to improve
stability
- remove some print calls to avoid interference during
the sleeping process
2021-08-29 12:04:20 +08:00
bunnie
57c504af49
Update memory.md
2021-08-27 23:21:37 +08:00
bunnie
bc78e91452
Update memory.md
2021-08-27 23:21:05 +08:00
bunnie
040e30c87a
Update memory.md
2021-08-27 21:37:09 +08:00
bunnie
aa159c5e5e
update precursors with correct gitrev
2021-08-27 16:22:01 +08:00
bunnie
759ce9e05c
Merge branch 'bunnie-dev' into main
2021-08-27 15:48:26 +08:00
bunnie
58bff6aa3a
commit working SoC image
2021-08-27 15:47:43 +08:00
bunnie
e2ce3cad2c
make sure that the power states get set correctly early in the resume process
2021-08-27 15:47: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
7d3d710554
kernel: gdb_server: don't inline functions
...
This was a holdover from size benchmarks.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-25 16:05:27 +08:00
Sean Cross
30eb24af61
kernel: debug: fix wrap-print on xous target
...
When targeting the `xous` target, we were missing some variables due to
them relying on `target_os="none"`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-25 16:04:42 +08:00
Sean Cross
b43366e6ec
kernel: services: fix suspend for running processes
...
If a process is currently running, it needs to be placed into the
`Debug` state rather than the `Ready` state.
Additionally, the process that's being switched to must enter the
`Running` state.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-25 16:03:06 +08:00
Sean Cross
1cb86078d5
kernel: riscv: suspend or terminate processes that fail
...
If a process fails for some reason (e.g. by performing a fault) and
there is no exception handler, either terminate the process or (if
gdbserver is enabled) have it suspend the process.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-25 16:02:11 +08:00
bunnie
d417ef560a
progress toward COM bus refactor; precursors reduce COM frequency slightly
2021-08-25 02:29:00 +08:00
bunnie
e407e77b4f
unbreak renode build
2021-08-24 23:38:26 +08:00
bunnie
57574495d8
handle case of sleep request before resume is fully completed
2021-08-24 23:35:32 +08:00
bunnie
f5b69a8cef
fix hosted mode
2021-08-24 23:34:33 +08:00
bunnie
69d9e38c8b
add EC updates to the CI update script
2021-08-24 23:22:41 +08:00
bunnie
33d14b6ee3
add some timeouts after each phase, for the device to reboot
2021-08-24 22:59:10 +08:00
bunnie
1af98f7e43
Merge branch 'main' of github.com:betrusted-io/xous-core into bunnie-dev
2021-08-24 22:39:50 +08:00
bunnie
99ff36f529
add a quick CI update script
2021-08-24 22:37:31 +08:00
bunnie
f6d1c9fda7
Merge branch 'main' of github.com:betrusted-io/xous-core into main
2021-08-24 21:28:28 +08:00
bunnie
163e811dd7
cleanup build script
2021-08-24 21:28:00 +08:00
bunnie
a3c5f1b428
absorb UART power management fix into gateware
2021-08-24 19:19:48 +08:00