Commit graph

554 commits

Author SHA1 Message Date
bunnie
e05f9346b3 add baosec build
this is a slimmed down target designed for a smaller memory
footprint. there is some loss of process isolation security but
also a boost in performance due to more items sharing a memory
space.
2024-11-05 22:10:45 +08:00
bunnie
60eb2ec14b add feature for qr code extraction 2024-11-05 01:45:45 +08:00
bunnie
a7e59ad1bb change working set, and increase swap memory size 2024-10-27 23:28:59 +08:00
bunnie
6c1b809828 make USB a feature for the loader 2024-10-21 01:17:21 +08:00
bunnie
2d468eff60 make sram-margin explicit in cramium-soc target 2024-10-16 03:06:22 +08:00
bunnie
0580e8a2cd organize board flags more sensibly 2024-10-04 13:09:30 +08:00
bunnie
e581eb0b06 add board selector to build args 2024-10-02 01:46:01 +08:00
bunnie
f7c33c9427 move a comment that was displaced 2024-10-01 14:40:59 +08:00
bunnie
043dfd84ae update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
bunnie
f494da21cc absorb new xous-ipc version 2024-09-23 22:05:50 +08:00
bunnie
e01326c8ee update verifier pins 2024-09-23 01:47:26 +08:00
bunnie
75954de8d6 commit the version bump 2024-09-23 01:46:25 +08:00
bunnie
65e3a0386b update pin for xous-ipc verifier 2024-09-23 00:42:14 +08:00
bunnie
849ae5f874 regex search/replace instances of xous_ipc::String to String
codegenerator fixes
2024-09-22 14:19:46 +08:00
Gianguido Sorà
92d31b8366
xtask: fix build on Rust v1.80
Zip depends on time, which had some issues compiling on Rust v1.80: https://github.com/time-rs/time/issues/681

Update it to 2.1.6 in order to fix the issue.

Did not notice any apparent regression due to this update as of now.
2024-08-19 18:12:37 +02:00
bunnie
311154e231 absorb version bump 2024-06-27 00:26:12 +08:00
bunnie
857203731b adjust flags and features 2024-06-19 21:41:12 +08:00
bunnie
d3c205e3d4 add feature flag option for dumping trng 2024-06-18 00:09:21 +08:00
bunnie
7943e08c44 we were oom'ing on swap, so move some more things into rram 2024-06-15 17:37:22 +08:00
bunnie
9cbb37f466 turn off auto trng
we have a console now to start it manually at the right time
2024-06-14 18:21:59 +08:00
bunnie
123ff3ed66 add features for cramium target 2024-06-13 22:03:58 +08:00
bunnie
b2a8d0e7f4 add app manifest for cramium target 2024-06-13 22:03:16 +08:00
bunnie
a360f3ee52 bump xous pins for RawTrng API 2024-06-13 15:49:35 +08:00
bunnie
9bfc4c51f6 add some trng build features 2024-06-13 15:43:42 +08:00
bunnie
9dc2b15d4f add xtask state 2024-06-12 14:17:16 +08:00
bunnie
91806a2030 add latest xtask state 2024-06-11 23:19:14 +08:00
bunnie
3cad44e6a1 add flags for usb testing 2024-06-01 13:35:56 +08:00
bunnie
17a3ed6adb move graphics server to the resident set
this improves responsivitiy quite a bit
2024-05-31 20:45:07 +08:00
bunnie
6ed1b3398b cleanup debug 2024-05-31 03:35:47 +08:00
bunnie
94ee63d564 latest cram-soc build config 2024-05-29 14:05:44 +08:00
bunnie
97665d8785 bump verifier pins 2024-05-29 02:10:37 +08:00
bunnie
5599a3721e add missing dependencies for gam->keyboard->ea->spinor
yeesh....everything connected to everything...
2024-05-28 20:32:20 +08:00
bunnie
21fab71558 snapshot current testing config in xtask 2024-05-28 02:49:50 +08:00
bunnie
de7d876820 more missing prereqs for gam op 2024-05-26 12:13:13 +08:00
bunnie
2a1552b628 bring renode emulator params closer to in line with cram target 2024-05-25 14:35:17 +08:00
bunnie
01e04280b9 cleanup test/debug a little bit 2024-05-25 00:20:04 +08:00
bunnie
0877b9b274 add more testing packages to precursor staging target 2024-05-23 16:51:45 +08:00
bunnie
3e58bda6ba try putting more services into the cramium target 2024-05-23 14:47:18 +08:00
bunnie
c310f4831a a configuration that boots. 2024-05-21 18:07:23 +08:00
bunnie
b115b7e60c add swap-verbose placeholder 2024-05-18 00:09:57 +08:00
bunnie
d2d982b9f2
Merge branch 'main' into swap-opt 2024-05-16 14:56:02 +05:30
bunnie
a519bb2fa5 add resume to swap testing for completeness 2024-05-12 21:51:27 +08:00
bunnie
f1ee38cf6a remove unused feature flag that is triggering a warning 2024-05-10 00:38:29 +08:00
bunnie
12891d6af1 cleanup dangling server reference
i think this actually didn't break hosted mode because
sha2 emulation doesn't use hardware, but this cleans up
a warning at least
2024-05-10 00:08:04 +08:00
bunnie
403822277a add the verifier version bumps 2024-05-07 01:19:49 +08:00
bunnie
114a2c40bd add a flag for changing targets gracefully
at the moment an SVD pointer hangs out that messes builds up
when changing targets (sometimes) -- this is the pointer that
includes extra files in the build for targets that have disjoint
RTL sources. add a flag for cleaning this up.
2024-05-07 00:57:24 +08:00
bunnie
5ab014e715 cleanup the offsets for decrypt_src_page_at()
We had a "coincidence" before that allowed things to work,
where we had some data line up that we happened to think
was some other header data, so we "fixed" it by
subtracting the offset of the header data.

Actually, it wasn't.

Clarify that decrypt_src_page_at() offsets are relative
to the beginning of encrypted data, and not relative
to the absolute beginning of the disk.

Image creation is now fixed so that stuff lines up to what
this routine expects, and some asserts added to try and
save ourselves in the future as we try to fix other bugs
we discover over time.

loaders are hard.
2024-05-06 18:55:11 +08:00
bunnie
b8a088dc78 commit latest test config
- swap works on hardware (at least reading in the encrypted
images works)
- renode version is deliberately configured to trigger an edge
case in the swapper, and is broken -- to be debugged
2024-05-06 03:33:06 +08:00
bunnie
fbb5bb3e90 make monkeypatching more automated 2024-05-05 20:58:43 +08:00
bunnie
f2c877b7f7 add a sanity check around the aes patch
because we're doing shenanigans that we shouldn't be doing,
I think a sanity check on the environment is in order.
2024-05-05 16:28:33 +08:00