Skip to content

[pentest] Create a boot fi test#29423

Merged
nasahlpa merged 1 commit intolowRISC:masterfrom
siemen11:cherry_boot_fi
Mar 9, 2026
Merged

[pentest] Create a boot fi test#29423
nasahlpa merged 1 commit intolowRISC:masterfrom
siemen11:cherry_boot_fi

Conversation

@siemen11
Copy link
Contributor

@siemen11 siemen11 commented Mar 9, 2026

Create a part in the pentest framework to help testing the ROM/ROM_EXT. To that end, there is a status check on the ePMP and which slots were booted.
Then, create a function to invalidate the inactive slot. This is mainly useful when there is no bootstrap and only rescue functionality where the pentest firmware can ensure it is the only valid firmware in the chip.
Also create a function to switch the primary boot slot.

(cherry picked from commit 77f1f02)

Create a part in the pentest framework to help testing the ROM/ROM_EXT.
To that end, there is a status check on the ePMP and which slots
were booted.
Then, create a function to invalidate the inactive slot. This is mainly
useful when there is no bootstrap and only rescue functionality where
the pentest firmware can ensure it is the only valid firmware in the
chip.
Also create a function to switch the primary boot slot.

Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
(cherry picked from commit 77f1f02)
@siemen11 siemen11 requested review from a team and cfrantz as code owners March 9, 2026 14:56
@siemen11 siemen11 requested review from nasahlpa and pamaury and removed request for a team, cfrantz and pamaury March 9, 2026 14:56
@nasahlpa nasahlpa added this pull request to the merge queue Mar 9, 2026
Merged via the queue into lowRISC:master with commit 6f0723f Mar 9, 2026
72 of 78 checks passed
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.

2 participants