neilberkman opened a new pull request, #18519:
URL: https://github.com/apache/nuttx/pull/18519

   nxboot currently has no automated testing for power-loss resilience during 
OTA updates. A power cut at the wrong moment during a firmware update can leave 
a device permanently bricked — this is a known failure class in other 
bootloaders (MCUboot PRs #2100, #2109, #2199 all shipped bricking regressions 
that were only found after release).
   
   This PR adds a weekly canary workflow that builds the nucleo-h743zi 
nxboot-loader and nxboot-app configs, then uses 
[tardigrade](https://github.com/neilberkman/tardigrade) (a Renode-based 
fault-injection harness) to inject power-loss faults at write points during the 
OTA update path and verify the device always recovers to a bootable state.
   
   **What it does:** builds nxboot from this repo's configs, emulates an OTA 
update in Renode, interrupts it at ~64 points across the full write range, and 
checks that the bootloader recovers every time.
   
   **What it does not do:** it runs on a weekly schedule and 
`workflow_dispatch` only. It does not trigger on push or pull_request, so it 
never blocks normal development or CI. If it ever becomes a nuisance, deleting 
the one YAML file has zero impact on the project.
   
   **Dependencies:** requires the nucleo-h743zi nxboot board configs from 
#18509 to be merged first. Tardigrade is pinned by full commit SHA.
   
   Signed-off-by: Neil Berkman <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to