bunnie
cea0f7a4d7
Merge pull request #563 from betrusted-io/nto-work
...
Work on NTO items
2024-08-19 02:32:00 +08:00
bunnie
89f92c28a2
Merge branch 'main' into nto-work
2024-08-19 02:30:35 +08:00
bunnie
276c6cf6d5
Merge pull request #566 from betrusted-io/rust-1.80-warns
...
patches to clean up warnings in rust-1.80
2024-08-19 02:30:21 +08:00
bunnie
5ca815ad89
Merge branch 'main' into rust-1.80-warns
2024-08-19 02:26:29 +08:00
bunnie
6eab1c48bb
patches to clean up warnings in rust-1.80
2024-08-19 02:24:24 +08:00
bunnie
2a533d2e1c
bump utralib to include filter registers
2024-08-02 17:27:10 +08:00
bunnie
4884ee51d9
reserve the top-most word of RAM as a "gutter" for filtered DMA
...
it's much easier to gutter a blocked AXI transaction, than to
squash it. So we reserve a region of memory as a gutter for blocked
transactions.
2024-08-02 17:26:24 +08:00
bunnie
00da783c4d
add filter tests to dma suite
...
the filter is on by default (which blocks all DMA access with
the null settings) and can be configured to restrict access to
regions of memory that contain secret materials.
2024-08-02 17:25:38 +08:00
bunnie
8015b16cb8
clock tests
2024-07-19 17:16:02 +08:00
bunnie
4cfcc7ebd3
Merge pull request #565 from betrusted-io/nettype
...
Nettype - facility to "type" data retrieved from a URL
2024-07-14 01:49:22 +08:00
bunnie
7a31d54723
attempt to resolve rustfmt/whitespace issue
2024-07-14 01:46:46 +08:00
bunnie
4089bb4f21
Merge branch 'main' into nettype
2024-07-14 01:36:18 +08:00
bunnie
f8a0921f5b
fix rustfmt issues...
2024-07-14 01:35:02 +08:00
bunnie
bdfeb9917a
undo handlers for an aborted experiment
2024-07-14 00:55:59 +08:00
bunnie
12f6192dae
add nettype command
2024-07-14 00:01:22 +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
63983ab9e0
Merge pull request #564 from cpick/no-backend-available
...
Improve USB no backend available message
2024-07-04 18:41:14 +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
Chris Pick
b8feb4ec40
Improve USB no backend available message
...
Provide a more descriptive error message when pyusb can't find a backend
USB library.
2024-07-01 21:32:58 -04: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