[rom_ext] Try to boot other slot if primary is un-bootable
Open
@cfrantz is already working on this.
Since Jul 1, 2024.
SW:ROM_EXT
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
### Description
The ROM_EXT should try to boot into the other slot if the primary slot is not bootable.
I was just testing out the firmware update path where I corrupted the signed header of the primary slot while booted into the "next" slot to prevent a unintentional rollback if GSC is reset before the boot service message can take affect.
When I do that I get the following error message on infinite loop:
```
Starting ROM_EXT 0.3
MCAUSE=00000005 MEPC=200058be MTVAL=20090334
BFV:05524902
LCV:2318c631
VER:09976493
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.