Ast10x0 : FMC flash backend for the flash service - #433
Draft
rusty1968 wants to merge 11 commits into
Draft
Conversation
Signed-off-by: Chris Frantz <cfrantz@google.com>
Signed-off-by: Chris Frantz <cfrantz@google.com>
The flash-service branch's services/flash/client.rs calls ErrorCode::check_status, which was missing from util/error on this branch; restore it so the baseline compiles.
Adds the AST10x0 flash-service test image's system config, generic kernel target, and server app (flash_server_bin). The server process owns the SCU (pinctrl), FMC register, and CS0 AHB read-window device mappings, and serves services_flash_server::FlashIpcServer requests over the "flash" channel using the Task 3 FMC backend. The client app, system_image, and tests are added by the next task.
Completes the pinmux-ownership change already present in the flash test image (system.json5 no longer maps the SCU into the server process): the backend driver no longer touches the shared SCU; PINCTRL_FMC_QUAD is applied once by the kernel target before any process starts.
…mirrors smc/write)
rusty1968
force-pushed
the
fmc-flash-service
branch
from
August 20, 2026 02:42
6832870 to
063b91f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR depends on #365
Tests
The service is exercised end-to-end through the full IPC stack (FlashIpcClient → server → BlockingFlash → Ast10x0FmcFlashDriver → FMC CS0), not just at the peripheral level.