Commit graph

573 commits

Author SHA1 Message Date
bunnie
aab0a06ab5 add cramium-emu as a server for hosted mode
takes the place of cramium-hal-service
2025-02-20 20:41:00 +08:00
bunnie
7321169854 specify hosted for kernel build in baosec-emu target 2025-02-20 13:28:33 +08:00
bunnie
e9dcdb015b modify hosted mode specifier to clarify build intentions 2025-02-18 23:18:47 +08:00
bunnie
33db7cf039 configure in bao-video to the emu mode to start feeling out the changes 2025-02-13 17:30:36 +08:00
bunnie
ac7dc1b390 create baosec-emu target
this is meant to be a "hosted mode" equivalent for the baosec
platform that should allow us to do more rapid development of
UX related things.
2025-02-02 07:03:44 +08:00
bunnie
4f14a67504 formatting changes due to changes in nightly rust
needed to get a clean check on gh
2025-02-01 22:26:40 +08:00
bunnie
b23909cb2a reconfigure xtask for better demo presentation 2025-01-20 15:27:47 +08:00
bunnie
44ec809713 add cramium-sim target
this allows us to build a simulation-focused xous image
this was previously called cramium-fpga but that precise
configuration is less accurate as the simulation environment
makes more shortcuts (and can include more peripherals)
than the fpga environment.
2025-01-01 22:45:07 +08:00
bunnie
f7b95dc942 configure baosec for usb dev 2024-12-22 00:28:13 +08:00
bunnie
3b21dc77c2 update verifier 2024-12-16 18:55:36 +08:00
bunnie
11ce81c6ea add frunk to the cargo lock for cramium usb 2024-12-16 18:47:17 +08:00
bunnie
69f476b26c
Update verifier.rs 2024-12-02 19:37:09 +08:00
bunnie
00744cf61a remove quantum-timer feature to simplify builds
we don't have pio block on nto; let's avoid maintaining two
versions of the code base for a non-essential feature (the
downside of not having this is that the system could end
up locking up if no processes call yield_slice(), but in
practice this happens often enough that we can get away with
it -- at least at this stage).
2024-12-02 01:00:02 +08:00
bunnie
56bd0decc9 add loader-feature flag; simplify cramium-soc target
the `cramium-soc` target is now the simulation target (just
the bare bones chip in a simulation harness, using the `dabao`
board configuration which is basically just a breakout board).
baosec continues to be the prototype for the first USB dongle
coming out.
2024-11-30 02:18:31 +08:00
bunnie
6c49e2a6dd include patches for shellchat and rootkeys 2024-11-21 02:18:58 +08:00
bunnie
25c30f6cde add bodge to work around HW configuration in patches
right now our patch set assumes a single HW configuration for
cryptography accelerators.

This isn't going to be true going forward. A more scalable approach
to patching accelerators is going to be needed.

For now, we're just falling back to software acceleration for
the cramium target.
2024-11-21 01:39:35 +08:00
bunnie
de12d0f73a add usb feature to loader 2024-11-20 01:43:05 +08:00
bunnie
4b9f1fce95 move bao-video back to the swap image
udma decongestion proves to prevent the hardware lockup, but the
solution is only so durable.
2024-11-08 00:18:03 +08:00
bunnie
fd6c2ad4ff shuffle around package order
There's a hardware bug that makes concurrent camera and SPIM
traffic unreliable. The work-around is to place the camera
code inside the XIP area so we don't have to hit SPIM to swap
in code while the camera is running.

However, we do need to figure out a more reliable fix for this.
2024-11-07 16:13:08 +08:00
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