Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
350bfd6
Add APOB message to host_sp_comms
mkeeter Feb 7, 2025
065b31e
s/APOB/Apob
mkeeter Aug 28, 2025
698dae6
Thanks, clippy
mkeeter Aug 28, 2025
6ee0313
s/offset/page_offset
mkeeter Aug 28, 2025
d1eeebd
Add ApobRead
mkeeter Aug 28, 2025
d4e28d3
Clippy fixes
mkeeter Aug 28, 2025
c9dd2bf
add ApobFlashOffset register
Aaron-Hartwig Sep 17, 2025
dcfeeb1
Working on new APOB messages
mkeeter Sep 18, 2025
205ae09
Get gimlet_hf working (requires custom FailServer, sadly)
mkeeter Sep 19, 2025
9d75162
Get cosmo-hf building
mkeeter Sep 19, 2025
7fbff49
Implement apob_write
mkeeter Sep 19, 2025
c5fac41
Implement apob_read
mkeeter Sep 19, 2025
a2c253b
Move functionality into apob_state
mkeeter Sep 19, 2025
a932483
Remove dead code
mkeeter Sep 19, 2025
6bafe94
Remove redundant apob_state.apob_* names
mkeeter Sep 19, 2025
f35f98b
Implement apob_commit
mkeeter Sep 19, 2025
2978941
Post-rebase fixes
mkeeter Sep 19, 2025
2fe4f2c
Reinitialize the APOB when muxing to the host
mkeeter Sep 19, 2025
0506062
Reset the APOB offset under all circumstances
mkeeter Sep 19, 2025
4cdca32
Fix apob_read call
mkeeter Sep 24, 2025
d1810bd
update grapefruit with the ApobFlashOffset register
Aaron-Hartwig Sep 24, 2025
3c66b99
Get stuff working with faux-ipcc
mkeeter Sep 24, 2025
d191501
Clippy fix
mkeeter Sep 24, 2025
ec74ca7
Changes to match new HSS messages
mkeeter Sep 26, 2025
4a7914c
Check APOB shape
mkeeter Sep 26, 2025
8a421aa
Erase data if there's a validation error
mkeeter Sep 26, 2025
d35e4ce
Small APOB tweaks
mkeeter Sep 26, 2025
cac99c2
Fix read offset
mkeeter Sep 30, 2025
003c154
Fix build
mkeeter Oct 1, 2025
e638119
Push u64 -> u32 conversion upstream
mkeeter Oct 1, 2025
a0994ff
More memory fixes
mkeeter Oct 1, 2025
2f91e98
clippyyyyyy
mkeeter Oct 2, 2025
31e6828
Lock APOB state machine on unapproved messages
mkeeter Oct 2, 2025
f883776
Only erase written region on validation failure
mkeeter Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ zeroize = { version = "1.5.7", default-features = false, features = ["zeroize_de
zip = { version = "0.6", default-features = false, features = ["bzip2", "deflate", "zstd"] }

# Oxide forks and repos
apob = { git = "https://github.com/oxidecomputer/apob", default-features = false }
attest-data = { git = "https://github.com/oxidecomputer/dice-util", default-features = false, version = "0.4.0" }
dice-mfg-msgs = { git = "https://github.com/oxidecomputer/dice-util", default-features = false, version = "0.2.1" }
gateway-messages = { git = "https://github.com/oxidecomputer/management-gateway-service", default-features = false, features = ["smoltcp"] }
Expand Down
2 changes: 1 addition & 1 deletion app/cosmo/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ features = ["stm32h753", "usart6", "baud_rate_3M", "hardware_flow_control", "vla
uses = ["usart6", "dbgmcu"]
interrupts = {"usart6.irq" = "usart-irq"}
priority = 9
max-sizes = {flash = 66944, ram = 65536}
max-sizes = {flash = 69120, ram = 65536}
stacksize = 5400
start = true
task-slots = ["sys", { cpu_seq = "cosmo_seq" }, "hf", "control_plane_agent", "net", "packrat", "i2c_driver", { spi_driver = "spi2_driver" }, "sprot", "auxflash"]
Expand Down
2 changes: 1 addition & 1 deletion app/gimlet/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ features = ["stm32h753", "uart7", "baud_rate_3M", "hardware_flow_control", "vlan
uses = ["uart7", "dbgmcu"]
interrupts = {"uart7.irq" = "usart-irq"}
priority = 8
max-sizes = {flash = 65952, ram = 65536}
max-sizes = {flash = 67648, ram = 65536}
stacksize = 5376
start = true
task-slots = ["sys", { cpu_seq = "gimlet_seq" }, "hf", "control_plane_agent", "net", "packrat", "i2c_driver", { spi_driver = "spi2_driver" }, "sprot"]
Expand Down
8 changes: 6 additions & 2 deletions drv/cosmo-hf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ drv-spartan7-loader-api = { path = "../spartan7-loader-api" }
ringbuf = { path = "../../lib/ringbuf" }
userlib = { path = "../../sys/userlib", features = ["panic-messages"] }

apob = { workspace = true }
cortex-m = { workspace = true }
crc = { workspace = true }
hubpack = { workspace = true }
idol-runtime = { workspace = true }
num-traits = { workspace = true }
stm32h7 = { workspace = true }
serde = { workspace = true }
hubpack = { workspace = true }
sha2 = { workspace = true }
static_assertions = { workspace = true }
stm32h7 = { workspace = true }
zerocopy = { workspace = true }
zerocopy-derive = { workspace = true }

Expand Down
Loading