Skip to content

Conversation

@pamaury
Copy link
Contributor

@pamaury pamaury commented Jan 22, 2026

Backport #26786

@pamaury pamaury requested a review from a team as a code owner January 22, 2026 10:00
@pamaury pamaury requested review from cfrantz, jwnrt, moidx and timothytrippel and removed request for a team January 22, 2026 10:00
Rather than passing `bootdata` and `boot_log` along in every call, store
pointers to them into the `rescue_state_t` structure.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 1213c98)
Discussion in lowRISC#26785.

1. Examine the first rescue block and determine if the rescue stream
   contains a ROM_EXT.
2. If the rescue stream contains a ROM_EXT _and_ we're performing rescue
   to the non-active flash slot, then erase and reprogram the inactive
   ROM_EXT area.  Otherwise, silently consume the ROM_EXT portion of the
   rescue stream and flash the application payload.
3. Test that each combination of rom_ext slot and rescue slot always
   results in the inactive rom_ext slot updating and the active slot not
   updating.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit ab4b517)
@pamaury
Copy link
Contributor Author

pamaury commented Jan 28, 2026

CI failure is unrelated

@pamaury pamaury added this pull request to the merge queue Jan 28, 2026
Merged via the queue into lowRISC:master with commit c0b52d8 Jan 29, 2026
46 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants