Skip to content

Commit a4fbe15

Browse files
authored
Add APOB messages to host_sp_comms (#2006)
Implements the state machine described in [RFD 593](rfd.shared.oxide.computer/rfd/593) See oxidecomputer/stlouis#707, oxidecomputer/rfd#855 , oxidecomputer/amd-host-image-builder#222
1 parent c96f4bb commit a4fbe15

File tree

18 files changed

+1847
-121
lines changed

18 files changed

+1847
-121
lines changed

Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ zeroize = { version = "1.5.7", default-features = false, features = ["zeroize_de
143143
zip = { version = "0.6", default-features = false, features = ["bzip2", "deflate", "zstd"] }
144144

145145
# Oxide forks and repos
146+
apob = { git = "https://github.com/oxidecomputer/apob", default-features = false }
146147
attest-data = { git = "https://github.com/oxidecomputer/dice-util", default-features = false, version = "0.4.0" }
147148
dice-mfg-msgs = { git = "https://github.com/oxidecomputer/dice-util", default-features = false, version = "0.2.1" }
148149
gateway-messages = { git = "https://github.com/oxidecomputer/management-gateway-service", default-features = false, features = ["smoltcp"] }

app/cosmo/base.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ features = ["stm32h753", "usart6", "baud_rate_3M", "hardware_flow_control", "vla
256256
uses = ["usart6", "dbgmcu"]
257257
interrupts = {"usart6.irq" = "usart-irq"}
258258
priority = 9
259-
max-sizes = {flash = 66944, ram = 65536}
259+
max-sizes = {flash = 69120, ram = 65536}
260260
stacksize = 5400
261261
start = true
262262
task-slots = ["sys", { cpu_seq = "cosmo_seq" }, "hf", "control_plane_agent", "net", "packrat", "i2c_driver", { spi_driver = "spi2_driver" }, "sprot", "auxflash"]

app/gimlet/base.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ features = ["stm32h753", "uart7", "baud_rate_3M", "hardware_flow_control", "vlan
240240
uses = ["uart7", "dbgmcu"]
241241
interrupts = {"uart7.irq" = "usart-irq"}
242242
priority = 8
243-
max-sizes = {flash = 65952, ram = 65536}
243+
max-sizes = {flash = 67648, ram = 65536}
244244
stacksize = 5376
245245
start = true
246246
task-slots = ["sys", { cpu_seq = "gimlet_seq" }, "hf", "control_plane_agent", "net", "packrat", "i2c_driver", { spi_driver = "spi2_driver" }, "sprot"]

drv/cosmo-hf/Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ drv-hash-api = { path = "../hash-api" }
99
drv-hf-api = { path = "../hf-api" }
1010
drv-spartan7-loader-api = { path = "../spartan7-loader-api" }
1111
ringbuf = { path = "../../lib/ringbuf" }
12+
static-cell = { path = "../../lib/static-cell" }
1213
userlib = { path = "../../sys/userlib", features = ["panic-messages"] }
1314

15+
apob = { workspace = true }
1416
cortex-m = { workspace = true }
17+
crc = { workspace = true }
18+
hubpack = { workspace = true }
1519
idol-runtime = { workspace = true }
1620
num-traits = { workspace = true }
17-
stm32h7 = { workspace = true }
1821
serde = { workspace = true }
19-
hubpack = { workspace = true }
22+
sha2 = { workspace = true }
23+
static_assertions = { workspace = true }
24+
stm32h7 = { workspace = true }
2025
zerocopy = { workspace = true }
2126
zerocopy-derive = { workspace = true }
2227

0 commit comments

Comments
 (0)