Skip to content

Commit ae79b7c

Browse files
committed
Add HostFlash gateway commands
Introduce three new commands: `ReadHostFlash`, `StartHostFlashHash` and `GetHostFlashHash`. `ReadHostFlash` is self-explanatory. `StartHostFlashHash` starts an asynchronous calculation of a host flash slot and `GetHostFlashHash` retrieves it when available.
1 parent a006af5 commit ae79b7c

File tree

15 files changed

+690
-94
lines changed

15 files changed

+690
-94
lines changed

Cargo.lock

Lines changed: 23 additions & 16 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ zip = { version = "0.6", default-features = false, features = ["bzip2", "deflate
143143
# Oxide forks and repos
144144
attest-data = { git = "https://github.com/oxidecomputer/dice-util", default-features = false, version = "0.4.0" }
145145
dice-mfg-msgs = { git = "https://github.com/oxidecomputer/dice-util", default-features = false, version = "0.2.1" }
146-
gateway-messages = { git = "https://github.com/oxidecomputer/management-gateway-service", default-features = false, features = ["smoltcp"] }
146+
gateway-messages = { git = "https://github.com/oxidecomputer/management-gateway-service", branch = "read_host_flash", default-features = false, features = ["smoltcp"] }
147147
gimlet-inspector-protocol = { git = "https://github.com/oxidecomputer/gimlet-inspector-protocol", version = "0.1.0" }
148148
hif = { git = "https://github.com/oxidecomputer/hif", default-features = false }
149149
humpty = { git = "https://github.com/oxidecomputer/humpty", default-features = false, version = "0.1.3" }

app/cosmo/base.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ start = true
205205
uses = ["mmio_spi_nor"]
206206
task-slots = ["hash_driver", "spartan7_loader"]
207207
stacksize = 4000
208+
notifications = ["timer"]
208209

209210
[tasks.update_server]
210211
name = "stm32h7-update-server"

app/gimlet/base.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ start = true
205205
uses = ["quadspi"]
206206
interrupts = {"quadspi.irq" = "qspi-irq"}
207207
task-slots = ["sys", "hash_driver"]
208-
notifications = ["qspi-irq"]
208+
notifications = ["qspi-irq", "timer"]
209209

210210
[tasks.update_server]
211211
name = "stm32h7-update-server"

app/grapefruit/base.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ start = true
345345
uses = ["mmio_base", "mmio_spi_nor"]
346346
task-slots = ["hash_driver", "spartan7_loader"]
347347
stacksize = 4000
348+
notifications = ["timer"]
348349

349350
[config.net]
350351
# VLAN configuration

0 commit comments

Comments
 (0)