Commit graph

10340 commits

Author SHA1 Message Date
bunnie
16fdd25839 fix new compiler warnings since rust 1.55 re: workspace issues 2021-09-10 22:54:01 +08:00
bunnie
beed5c395a add volume control functions to the codec 2021-09-10 22:53:41 +08:00
bunnie
8648a342fc Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-09-10 02:56:52 +08:00
bunnie
3be7204ce6 audio test frameworks initial working cut 2021-09-10 02:56:27 +08:00
bunnie
966615270f update trng test wdt ping method 2021-09-09 22:38:51 +08:00
bunnie
bd89146967 commit latest formatting changes for test output 2021-09-09 22:32:08 +08:00
bunnie
549912c9d5 add rtc test 2021-09-09 16:55:56 +08:00
bunnie
7ac8b9100d create a test case for cosine intrinsics 2021-09-08 15:10:54 +08:00
bunnie
af016f95cc Merge branch 'main' into bunnie-dev 2021-09-07 19:12:34 +08:00
bunnie
ccbe7c479f improve braille testing flags, make them more consistent
i wonder if there isn't a workspace-level way to flip a flag...
2021-09-07 19:11:54 +08:00
bunnie
f3786b01a1 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2021-09-07 19:01:02 +08:00
bunnie
840cccecda make the filename more obvious for the purpose of the legacy update script 2021-09-07 19:00:34 +08:00
bunnie
da9078749f add a script for xous 0.8 devices. because there are still a couple out there 2021-09-07 18:59:47 +08:00
bunnie
3f998dd6e4 Merge branch 'main' into bunnie-dev 2021-09-07 05:10:21 +08:00
bunnie
c7b523cb02 commit precursors that fix curve25519 bug 2021-09-07 05:09:54 +08:00
bunnie
74e2f3f2d2 add a trace debug print in engine emulation for correlation
against cycle-accurate verilog simulator.
2021-09-07 05:08:56 +08:00
bunnie
3c67e7a89b update csharp docs 2021-09-06 21:11:27 +08:00
bunnie
0e94725d23 add wycheproof help message 2021-09-06 14:43:19 +08:00
bunnie
e510525a0a move wycheproof-import to tools 2021-09-06 14:42:19 +08:00
bunnie
01bfc375b2 Merge branch 'main' into bunnie-dev 2021-09-06 14:40:16 +08:00
bunnie
1a55973346 adjustments to self test routines 2021-09-06 14:39:44 +08:00
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
e240179f94 fix incorrect USB_CC return word count 2021-09-06 00:57:15 +08: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
ac81da5ecf emulation: watchdog: fix watchdog timer
This causes it to actually work.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-30 15:30:59 +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