Commit graph

10340 commits

Author SHA1 Message Date
bunnie
ca3c1c7de4 remodeled Cargo.lock after the aes-xous -> aes name change 2021-11-07 05:18:19 +08:00
bunnie
7208a86fdb rename aes-xous to aes, and change version number
this allows us to patch AES for external crates, too,
such as aes_gcm_siv
2021-11-07 05:17:34 +08:00
bunnie
fabc84aaf6 working through an initial Flash format routine as a pipecleaner
clean compile checkpoint, not much else.
2021-11-07 03:16:32 +08:00
bunnie
b8396a4fb0 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2021-11-06 21:04:47 +08:00
bunnie
f7be98348d add indices to create_image output
makes it easier to figure out what IniE section corresponds
with which PID.
2021-11-06 21:04:28 +08:00
bunnie
2ba37a7fe4 clarify a bit of rounding code in the create-image routine 2021-11-06 21:04:20 +08:00
bunnie
8b59bcdf61 add indices to create_image output
makes it easier to figure out what IniE section corresponds
with which PID.
2021-11-06 21:03:28 +08:00
bunnie
c87acaeddc clarify a bit of rounding code in the create-image routine 2021-11-06 20:30:01 +08:00
bunnie
778fa8d271 just journaling intermediate work 2021-11-06 04:22:34 +08:00
bunnie
56e82f37d3 more thoughts on the pddb.
this is definitely a rough-draft implementation and is going to
need a v2 or v3 to plug all the serious holes.
2021-11-05 03:58:58 +08:00
bunnie
629803fe72 basic front-end APIs sketched out 2021-11-03 01:42:25 +08:00
bunnie
5ea9695c9c add precursors that fix the loader signature check as well 2021-11-02 03:54:15 +08:00
bunnie
337afbbe47 bump loader version number 2021-11-02 03:26:16 +08:00
bunnie
8d501cfcc6 add a check that the detached signature metadata matches signed data
the unsigned metadata in the signature header is used to compute
the signature, which contains a copy of the key metadata. We forgot
to make sure these match, which means the signed copy was worthless.

Until now.
2021-11-02 03:16:40 +08:00
bunnie
edb43a17a3 some structure on a more refined version of the pddb api.
doesn't compile tho, need to figure out what the status of
Path is on Xous.
2021-11-01 04:30:19 +08:00
bunnie
6f522b0844 tag Rust issue onto a wart in the LLIO API crate for better tracking 2021-11-01 04:18:53 +08:00
bunnie
846fea1c0f add a note on callback implementations 2021-11-01 03:53:10 +08:00
bunnie
46f1f60cda commit to journal of bad ideas issue #243: a misguided attempt at a PDDB API. 2021-10-31 22:58:20 +08:00
bunnie
21e320a905 Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-10-31 03:03:02 +08:00
bunnie
e204d62d08 Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-10-31 02:59:28 +08:00
bunnie
6360d1c902 tighten up the hard-coded locations for the trng test
these locations look good for a while, now that i see the
structure of data allocation (it's split between top and bottom)
2021-10-31 02:58:43 +08:00
bunnie
059513f228 refactor "net/backend" to "net/protocols" - slightly more descriptive 2021-10-31 02:07:55 +08:00
bunnie
d667f0e063
Update README.md 2021-10-31 00:29:08 +08:00
bunnie
3a25578cc4 Merge branch 'bunnie-dev' into main 2021-10-30 19:15:54 +08:00
bunnie
8da2364832 clean out some old debug cruft in the susres crate 2021-10-30 19:15:32 +08:00
bunnie
5f327126ab Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev 2021-10-30 03:16:13 +08:00
bunnie
72df2ff7e4 commit tester stability tweaks 2021-10-30 03:15:53 +08:00
bunnie
ad66460543 move the trng tester ram locations on the corresponding host-side test script 2021-10-30 03:14:33 +08:00
bunnie
f6e91d6260 move the trng test bases to make space for more kernel 2021-10-30 03:12:58 +08:00
bunnie
65bad96f52 fix killbounce & formatting
sleep killbounce wouldn't work because we started limiting the
number of connections to the LLIO.

This change makes connections to the LLIO unlimited, but perhaps later
on we should split out the I2C bus into a separate security domain,
so that the LLIO's unlimited connection policy doesn't introduce a
risk into a rogue process being able to overwrite the RTC contents.
2021-10-30 02:14:31 +08:00
bunnie
295bbd9602 change windows script from BAT to PS1 2021-10-29 18:46:59 +08:00
bunnie
662e60e484 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2021-10-29 16:25:57 +08:00
Sean Cross
75116d36cd kernel: add debug command to print interrupts
This can be used to ensure the interrupt handlers are where we think
they are.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-10-29 16:21:07 +08:00
Sean Cross
42fcba6c25 Merge branch 'main' of github.com:betrusted-io/xous-core 2021-10-29 14:57:32 +08:00
Sean Cross
de65145397 kernel: add debug command to print interrupts
This can be used to ensure the interrupt handlers are where we think
they are.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-10-29 14:57:05 +08:00
bunnie
2962d4ffc3 add a wifi retry to the oqc test 2021-10-29 05:25:40 +08:00
bunnie
651a05195f another attempt to sync up the precursors. something weird is doing on. 2021-10-29 03:22:04 +08:00
bunnie
f17c1df138 sync up precursors with what's generated by the CI system 2021-10-29 02:42:55 +08:00
bunnie
1e6134dc37 fix loader offsets after Rust 1.56 made things grow a bit.
hopefully this is the last of the "the compiler grew it" code extensions?

....
2021-10-28 22:52:39 +08:00
bunnie
060aa4fee2 remove a warning that crept in 2021-10-28 18:50:07 +08:00
bunnie
18d3e75773 update precursors in prep for a new tag 2021-10-28 18:39:35 +08:00
bunnie
db454603ee improve resilience to ping flood attack
much better, but still eventually the stack can fall over eventually.
also, the stack doesn't behave well when you try to initiate new
commands in the middle of a flood, because the back-pressure mechanisms
are primarily in-stack at the moment.

I think i have an idea on how to fix that but this will have to be later.
2021-10-28 18:38:02 +08:00
bunnie
81edf6a9c0 fix net ping description and help info 2021-10-28 18:37:48 +08:00
bunnie
de2a3db242 Merge branch 'bunnie-dev' into main 2021-10-28 05:25:29 +08:00
bunnie
72ffee7f13 cleanup of debug chatter, clarify some comments 2021-10-28 05:12:03 +08:00
bunnie
10a333eace parse raw IP addresses when passed to the DNS lookup 2021-10-28 05:11:22 +08:00
bunnie
2c7a35a36c fix various bugs in ping. behaves much more "as expected" now. 2021-10-28 04:30:44 +08:00
bunnie
468b1d59f6
Update README.md 2021-10-28 00:34:10 +08:00
bunnie
010856406d fix permissions 2021-10-27 23:06:13 +08:00
Sean Cross
85ab31cc8b
Merge pull request #88 from follower/patch-2
Typo fix: "-unkwon-" -> "-unknown-"
2021-10-27 13:59:29 +08:00