Commit graph

467 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
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
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
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
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
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
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