Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pentest] Split FPGA firmware #26285

Merged
merged 1 commit into from
Feb 14, 2025
Merged

[pentest] Split FPGA firmware #26285

merged 1 commit into from
Feb 14, 2025

Conversation

nasahlpa
Copy link
Member

Due to size constraints, this commit splits the pentest framework into a SCA, FI, and FI OTBN part.

@nasahlpa nasahlpa requested a review from pamaury February 13, 2025 18:39
@nasahlpa nasahlpa requested a review from a team as a code owner February 13, 2025 18:39
@nasahlpa nasahlpa added the CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0 label Feb 13, 2025
srcs = [":firmware_fi.c"],
exec_env = {
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": "silicon_owner",
"//hw/top_earlgrey:sim_dv": None,
"//hw/top_earlgrey:fpga_cw310_test_rom": None,
Copy link
Contributor

@a-will a-will Feb 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be tested in CI? If so, it looks like it needs substantially longer than 60 seconds.

If not, the FPGA params need a "manual" tag.

Same for the other opentitan_test() targets that have CW310 added.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @a-will!

The pentest framework is never meant to be executed in CI as ot-sca is needed to trigger the pentests over UART.

I've tried adding the "manual" tag but then I couldn't compile the binaries anymore.

To unblock the failing CI, I've switched back to the opentitan_binary approach.

Due to size constraints, this commit splits the pentest framework into
a SCA, FI, and FI OTBN part.

Signed-off-by: Pascal Nasahl <[email protected]>
@nasahlpa nasahlpa merged commit b81c6d1 into lowRISC:master Feb 14, 2025
42 checks passed
@nasahlpa nasahlpa deleted the fix_ci branch February 14, 2025 08:17
Copy link

Backport failed for earlgrey_1.0.0, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin earlgrey_1.0.0
git worktree add -d .worktree/backport-26285-to-earlgrey_1.0.0 origin/earlgrey_1.0.0
cd .worktree/backport-26285-to-earlgrey_1.0.0
git switch --create backport-26285-to-earlgrey_1.0.0
git cherry-pick -x 034e3cf69744dc48501eb2c6e5699a880a8ba977

@github-actions github-actions bot added the Manually CherryPick This PR should be manually cherry picked. label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0 Manually CherryPick This PR should be manually cherry picked.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants