Commit graph

272 commits

Author SHA1 Message Date
bunnie
45632385d5 downgrade susres to a common api
doesn't make sense to push this to crates.io because it's not
common across all platforms, I think.
2026-01-28 00:36:05 +08:00
bunnie
5b01c1e7b8 reset pins and patch dependencies 2026-01-08 03:11:25 +08:00
bunnie
fba011db3a commit version bump so that we may publish our packages 2026-01-08 03:04:19 +08:00
bunnie
9e25c6110e add swap test servers to workspace 2026-01-08 02:03:28 +08:00
bunnie
93ec0872d3 add bio-lib to workspace 2026-01-02 11:27:39 +08:00
bunnie
3df456532c
Merge branch 'main' into vault2 2025-10-08 01:19:08 +08:00
bunnie
fc3b226414 add initial scripts & strategy for image signing
- poc signing flow using hardware key is demonstrated
- tested with signature verification using python script
- beta key committed to tree (the "secret" key just contains
the key identifier, not the key itself; the key resides in the
token)
2025-10-06 01:37:22 +08:00
bunnie
ca9b20bee6 bring lockfiles up to date for vault2 2025-10-06 01:34:22 +08:00
bunnie
8d067e6819 Merge branch 'main' into vault2 2025-10-06 01:23:21 +08:00
bunnie
b335d002ac add app-dabao to workspace 2025-10-05 17:18:06 +08:00
bunnie
1a0db7bb4d add boot1 to the workspace 2025-09-29 13:52:26 +08:00
bunnie
b3763af7d6 updates to lockfile for new crates 2025-09-24 01:05:44 +08:00
bunnie
1255bf12d9 FLAG DAY: fix all names to harmonize around 'bao1x'
The code base had evolved through several code names, interim
names, company names and chip names that alternatively did or did
not exist.

Baochip is the definitive name of the company, and the Baochip1x
(full part number BAO1X2S4F-WA) is the definitivey part number of
the SoC. For convenience, the part number is shortened to 'bao1x'
in most feature flags and variable references.

This commit fixes all of the odd names and removes some unmaintained
early targets.
2025-09-18 21:25:51 +08:00
bunnie
2af7aecd73 add some reminders for future debugging on usb-device 2025-09-13 01:12:54 +08:00
bunnie
8f9b7166c2 fix usb-bao1x naming in workspace 2025-09-09 22:25:27 +08:00
bunnie
7fa4bb0cc5
Merge branch 'main' into vault2 2025-09-07 11:54:17 +08:00
bunnie
1efb49bc97 cleanup from fixing aes transitive deps 2025-09-07 11:52:16 +08:00
bunnie
01701dbeef
Merge branch 'main' into vault2 2025-07-22 01:47:36 +08:00
bunnie
2433fe9179 add baremetal option to the workspace 2025-06-14 01:43:02 +08:00
bunnie
c393f590dc build system changes to target minimum ui 2025-06-01 14:39:01 +08:00
bunnie
c0b6965adc update pins 2025-05-11 15:06:54 +08:00
bunnie
8a4959056b bump version for xous crate update - commit so we can publish crates 2025-05-11 14:45:24 +08:00
bunnie
12a9511ae3 add keystore to the workspace 2025-05-04 03:34:44 +08:00
bunnie
7d8c3b9d74 add cramium-api and fix formatting in workspace 2025-02-20 15:07:46 +08:00
bunnie
c9d72f8723 add emulation target to workspace 2025-02-18 23:22:35 +08:00
bunnie
66be51c9e4 add blitstr2 library to the workspace 2025-02-17 18:29:02 +08:00
bunnie
b65d352925 add ux-api to the workspace 2025-02-02 07:03:15 +08:00
bunnie
678bb5c1f1 update lockfile and top-level toml file to remove pio refs 2024-12-02 01:22:30 +08:00
bunnie
ec409fedc0 add formatting nit to allow for bodge to work around HW configs
the curve 25519 accelerator hw is different on different targets
so it can't be enabled for all of them all at once.

This is going to be come a bigger problem as time goes on...
2024-11-21 01:37:48 +08:00
bunnie
5c5c473a3f add new baosec packages 2024-11-05 22:10:26 +08:00
bunnie
d39ca54684 lose the local patches 2024-09-23 01:47:55 +08:00
bunnie
888cd2252e
Merge branch 'main' into rkyv-0.8-migration 2024-09-23 01:23:12 +08:00
bunnie
d78cbffec7 update some of the references to published packages 2024-09-23 00:36:27 +08:00
bunnie
4c7c9312c1 change xous-ipc api to 0.10.0 2024-09-23 00:24:48 +08:00
Sean Cross
a77fdac6f0 libs: add flatipc implementation
flatipc is a new method for doing IPC. This is a zero-copy approach
where structs are given `repr(C)` implementations that are well-defined
and work across process boundaries.

If the same struct or enum is used in two processes that has the same
layout, then data can be freely passed between the two processes without
incurring a serialization or deserialization penalty, provided the
following hold:

1. The buffer must be page-aligned and be a multiple of the page size
2. The item must be `#[repr(C)]`
3. There must be no pointers or references of any kind

If these three things hold, then the object is safe to sling across the
process boundary.

This crate adds the ability to annotate structs with
`#[derive(flatipc::Ipc)]` to provide them with this functionality. When
doing so, objects gain the `.into_ipc()` call that turns them into
something that can be sent across process boundaries.

The resulting object has `.lend()`, `.lend_mut()`, `.try_lend()`, and
`.try_lend_mut()` as functions.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-09-22 18:32:58 +08:00
bunnie
abb245543c create a planning directory, and add the rkyv test
The purpose of the planning directory is a place where we can stash
code for reference in various github issues and project plans without
having to integrate it into the code base. This is for large changes
to the code base that require extensive planning and discussion prior
to integration.
2024-09-17 18:29:24 +08:00
bunnie
2bf77883ee add bio-dma to lock and project 2024-06-25 03:33:47 +08:00
bunnie
6b107abab5 add cram-console to workspace 2024-06-13 16:29:58 +08:00
bunnie
a425c863ae undo debug patch 2024-06-11 23:21:34 +08:00
bunnie
f7b4930209 part of the back-trace 2024-06-10 18:46:15 +08:00
bunnie
a721c60d45 add bio to project workspace 2024-06-02 19:17:46 +08:00
bunnie
ceb89c64e6 attempt to remove the last hold-out legacy sha2 dependency 2024-05-12 14:12:28 +08:00
bunnie
9e66c1bee2 commit the version bump 2024-05-07 01:03:05 +08:00
bunnie
2d68807d51
Merge branch 'main' into swap 2024-03-28 18:39:19 -07:00
bunnie
df5923e092 remove engine25519 from workspace 2024-03-28 16:23:32 +08:00
bunnie
1cc0a7121b Point curve25519 patch to the github version 2024-03-25 07:08:27 +08:00
bunnie
a2e6a75b2d add test code to lock and top level workspace 2024-03-23 11:59:31 +08:00
bunnie
e4c7a86aa1 add ourselves to the workspace Cargo files 2024-03-23 11:59:31 +08:00
bunnie
c1af9f32da set up for swap mods 2024-03-23 11:59:31 +08:00
bunnie
c121da07ac cargo.toml points to local repo. should fix this before merge! 2024-03-11 19:12:50 +08:00