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

[FPGA] MASK_ROM/ROM_EXT exec_environments require info flash page initialization #23038

Open
moidx opened this issue May 9, 2024 · 3 comments
Labels
Component:FPGA FPGA related issues

Comments

@moidx
Copy link
Contributor

moidx commented May 9, 2024

Description

Issue

Currently, the flash_ctrl and keymgr may raise alerts due to the initial info flash configuration when booting with the mask_rom and rom_ext targets.

  • The keymgr requires the Owner and Secret owner pages to be initialized.
  • Ownership transfer requires the owner block to be initialized.

Options

  1. Modify all environments using the real rom_ext so that there is an initial bootstrap operation with the personalization image to initialize all required info partitions. Applicable to all FPGA configurations.
  2. Register a weak functions in the rom_ext to initialize the owner partition for silicon targets already deployed in various environments.

CC: @cfrantz @timothytrippel @jwnrt

@moidx moidx added the Component:FPGA FPGA related issues label May 9, 2024
@moidx moidx added this to the Earlgrey-PROD.ROM milestone May 9, 2024
@timothytrippel
Copy link
Contributor

I think it may be more efficient to go with option 2, since it could be much lighter weight than running a full personalization on every boot, since we really just need to program those two pages.

@jwnrt
Copy link
Contributor

jwnrt commented May 9, 2024

Related #21225

@timothytrippel
Copy link
Contributor

yes, another option is splicing, the only downside with splicing is it will require a lot more infrastructure than a weak function in the ROM_EXT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:FPGA FPGA related issues
Projects
None yet
Development

No branches or pull requests

3 participants