lowRISC / lowRISC/opentitan

[rom_ext] Try to boot other slot if primary is un-bootable

Open
#23,876 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.