Commit graph

7524 commits

Author SHA1 Message Date
bunnie
8015b16cb8 clock tests 2024-07-19 17:16:02 +08:00
bunnie
9c227d2a93 beginning of clock tests 2024-07-13 22:45:58 +08:00
bunnie
53af83cdd8 sync lockfile 2024-07-13 22:35:32 +08:00
bunnie
83f5205a2d update artifacts with latest generated output 2024-07-13 22:35:14 +08:00
bunnie
28142e2b24 cleanup bios tests 2024-07-13 22:34:59 +08:00
bunnie
c3bbbbd672 fix bug in i2c library where i/o was not set low
you have to write *0* to the clear register to set the port low.
always the weird gotcha on that one...
2024-07-05 01:59:14 +08:00
bunnie
2ebe7f3c64 fix port ordering for NTO
don't think we'll be doing much with the MPW + PIO banks anyway anymore...
2024-07-05 01:58:42 +08:00
bunnie
059855201b add a simple dmareq handler test 2024-07-04 05:26:22 +08:00
bunnie
7f35fa8e72 add unit tests for aliased fifo pages 2024-07-04 03:58:33 +08:00
bunnie
7b2109b1cc improve bio tests
- don't dead reckon tests: read feedabck from the hw to know
when they are done
- fix doc bugs
- add more test feedback on long-running tests
2024-07-03 01:23:48 +08:00
bunnie
e0d09f1d3b more DMA corner cases
bytes, half-words, words, multi-core contention, oh my!
2024-07-01 16:45:02 +08:00
bunnie
64c281bfe0 add DMA tests to bio library 2024-06-30 03:28:22 +08:00
bunnie
6ddc8bc79a
Merge branch 'main' into nto-work 2024-06-27 00:41:07 +08:00
bunnie
9215276b60
Merge pull request #562 from betrusted-io/formatting-stupidity
Formatting stupidity
2024-06-27 00:40:48 +08:00
bunnie
823c8af562 ok, that's gold-level stupidity
rust format inserts a trailing space in some autoformatted
doc code.

we have a rule that doesn't allow trailing spaces

we also have a rule that requires rustfmt to run clean

unresolvable paradox.

Solution: just make the docs worse. I don't have time for this, really.
2024-06-27 00:37:10 +08:00
bunnie
89ed22a702 cleanup trailing spaces that weren't obvious because nightly runner issues 2024-06-27 00:30:52 +08:00
bunnie
311154e231 absorb version bump 2024-06-27 00:26:12 +08:00
bunnie
84f33b61e9 we're going to have to bump all the pins because *formatting*
Cargo changed how it decided to format some comments in one of
our key dependency crates, which is breaking all of our CI checks.

This fixes that. *sigh*.
2024-06-27 00:22:27 +08:00
bunnie
43db94061d add arithmetic tests
this exercises a simple stack-based routine to check that
the RAMs are correctly wired. Note that due to a lack of
creativity on my side, only cores 0, 1, and 3 are exercised;
it's just assumed that core 2 works as well since everything is
instantiated by loop.
2024-06-27 00:11:52 +08:00
bunnie
d665805523 Refactor remaining tests for multi-bank RAM op
BDMA memory pages for each core are now on separate pages, with
each core having a private memory space.

Also add code readback tests, debug PC & trap test
2024-06-26 15:01:59 +08:00
bunnie
2bf77883ee add bio-dma to lock and project 2024-06-25 03:33:47 +08:00
bunnie
bd9500110c copy xous-bio crate to xous-bio-dma
this is the starting point for the rework of the BIO with DMA mods
2024-06-25 03:32:49 +08:00
bunnie
d0f94424db reformatting and shuffling of test order and printouts
just determining a good target length for instruction memory size
for the next iteration of the bio core
2024-06-25 03:32:12 +08:00
bunnie
299b7a8659
Merge pull request #551 from rowr111/main
docs for modals library
2024-06-24 15:25:44 +08:00
bunnie
9ada468c5c
Merge pull request #561 from betrusted-io/trng-rework
Trng rework
2024-06-22 21:23:27 +08:00
bunnie
30eb2f145f fix a bug where the last seeded value was not being used.
Realized that the last round of mixed values wasn't actually being
used because we nuke the `seed` value at the top of the loop.

We effectively had a round of ChaCha8 that we were doing but then
throwing away.

This construction should capture all the benefit of the computation
without wasting computation.
2024-06-22 21:18:59 +08:00
bunnie
6618d8dc4d improve docs on what's happening in the TRNG buffer 2024-06-22 21:18:48 +08:00
bunnie
a9b0ba2666 improve documentation on how the CSPRNG is reseeded from the TRNG. 2024-06-22 21:18:24 +08:00
Jeanie
a00eecbe47 update location of images in prep for merge 2024-06-22 18:17:39 +09:00
Jeanie
bd21aac3f7 document dynamic_notification_blocking_listener 2024-06-22 17:51:24 +09:00
Jeanie
70f4fe54bd dynamic notification dialog and a little cleanup 2024-06-22 16:59:44 +09:00
Jeanie
70575195c3 docs for get_radio_index and get_check_index 2024-06-22 15:07:18 +09:00
Jeanie
5ae52fc490 add get_radiobutton docs 2024-06-22 14:21:21 +09:00
Jeanie
74c8bff8b3 Merge remote-tracking branch 'upstream/main' 2024-06-22 14:18:20 +09:00
bunnie
3cefb722e6 harmonize register set for testing to what's in hw 2024-06-21 18:55:54 +08:00
bunnie
3ae4fde572 fix comment 2024-06-21 18:20:10 +08:00
bunnie
10a90be082
Merge pull request #559 from betrusted-io/release-notes
update release notes
2024-06-20 02:05:20 +08:00
bunnie
0d79e525bd update release notes 2024-06-20 02:03:40 +08:00
bunnie
3027b895dc
Merge pull request #558 from betrusted-io/build-fixup
Build fixup
2024-06-20 01:59:01 +08:00
bunnie
19dd39c7c8 quiet warnings in hosted mode 2024-06-20 01:57:11 +08:00
bunnie
49da62a0ae mute warnings on mbox
we're not going to implement the remaining features, but leaving
them there as idea placeholders
2024-06-20 01:56:44 +08:00
bunnie
3e8cfab6b0 fix hosted mode 2024-06-20 01:56:36 +08:00
bunnie
1903deaf77
Merge pull request #557 from betrusted-io/mbox-testing
Mbox tests & contiguous RAM allocations
2024-06-20 00:48:06 +08:00
bunnie
32893b9b4c fix build option 2024-06-19 22:04:42 +08:00
bunnie
a081d6cd5d note benchmark results 2024-06-19 22:04:30 +08:00
bunnie
84bb801432 add clifford benchmark to shellchat 2024-06-19 22:04:18 +08:00
bunnie
420d75f49b reflect new dependencies 2024-06-19 21:41:29 +08:00
bunnie
857203731b adjust flags and features 2024-06-19 21:41:12 +08:00
bunnie
474343c24e deprecate SID assignment
We no longer send messages to the swapper via the server interface.

All calls go through the blocking handler; in general, there are
no scenarios where it makes sense to have a swapper operation
pre-emptable. We always want our swapper ops to complete quickly,
deterministically, and atomically.
2024-06-19 21:39:54 +08:00
bunnie
96630a11ee handle the case of a failed PTE allocation gracefully
instead of hard crashing, we return an appropriate error.

Also add some debug instrumentation.
2024-06-19 21:39:17 +08:00