Skip to content

fix(mosaico_nand_storage): flag GC ECC pages for format - #38

Merged
TDA-2030 merged 1 commit into
masterfrom
bugfix/nand_gc_ecc_format
Nov 5, 2026
Merged

TDA-2030 merged 1 commit into
masterfrom
bugfix/nand_gc_ecc_format

Conversation

@TDA-2030

@TDA-2030 TDA-2030 commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

A false program timeout in older spi_nand_flash can leave a double programmed page with uncorrectable ECC. Dhara GC stops at that page, so every later write, trim or sync fails with DHARA_E_ECC (0x6002) while the volume still mounts and reports no recoverable state.

Latch DHARA_E_ECC from mutation paths and report it through mosaico_nand_storage_error() as RECOVERABLE_FORMAT until the next format or remount, so the app can prompt a format. Read errors stay RETRYABLE_IO. Bump the component to 0.2.1.

A false program timeout in older spi_nand_flash can leave a double
programmed page with uncorrectable ECC. Dhara GC stops at that page,
so every later write, trim or sync fails with DHARA_E_ECC (0x6002)
while the volume still mounts and reports no recoverable state.

Latch DHARA_E_ECC from mutation paths and report it through
mosaico_nand_storage_error() as RECOVERABLE_FORMAT until the next
format or remount, so the app can prompt a format. Read errors stay
RETRYABLE_IO. Bump the component to 0.2.1.
@TDA-2030
TDA-2030 merged commit 716fc7b into master Nov 5, 2026
25 checks passed
@TDA-2030
TDA-2030 deleted the bugfix/nand_gc_ecc_format branch November 5, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant