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

[rom_ext] ROM_EXT Recovery mode #19151

Closed
dmcardle opened this issue Jul 10, 2023 · 2 comments
Closed

[rom_ext] ROM_EXT Recovery mode #19151

dmcardle opened this issue Jul 10, 2023 · 2 comments
Assignees
Labels
Component:Software Issue related to Software SW:ROM_EXT ROM_EXT related issues

Comments

@dmcardle
Copy link
Contributor

dmcardle commented Jul 10, 2023

OpenTitan ROM_EXT Recovery Mode

This issue tracks the implementation of the ROM_EXT Recovery mode, which enables the silicon owner to the parts of flash not occupied by ROM_EXT.

N.B. We are shifting terminology from "ROM_EXT Recovery" to "ROM_EXT Bootstrap".

@dmcardle dmcardle added Component:Software Issue related to Software SW:ROM_EXT ROM_EXT related issues labels Jul 10, 2023
@dmcardle dmcardle self-assigned this Jul 10, 2023
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 10, 2023
The goal of the overarching refactor is to move bootstrap code into a
library that can be shared by ROM Bootstrap and ROM_EXT Recovery.

This commit renames bootstrap.c and does a little surgery on BUILD files
to ensure the bootstrap library still builds. Splitting this refactor
into two commits preserves bootstrap.c's edit history.

Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 10, 2023
Now, bootstrap() in bootstrap.c checks whether bootstrap is requested,
but farms out the SPI loop to the reflash library.

Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 11, 2023
The goal of the overarching refactor is to move bootstrap code into a
library that can be shared by ROM and ROM_EXT. This will enable us to
share code between the two variants of bootstrap. (ROM_EXT bootstrap is
also referred to as "recovery".)

This commit renames bootstrap.c and does a little surgery on BUILD files
to ensure the bootstrap library still builds. Splitting this refactor
into two commits preserves bootstrap.c's edit history.

Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 11, 2023
Now, bootstrap() in bootstrap.c checks whether bootstrap is requested,
but delegates the SPI loop to the common bootstrap library.

Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 11, 2023
Now, bootstrap() in bootstrap.c checks whether bootstrap is requested,
but delegates the SPI loop to the common bootstrap library.

Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 11, 2023
Now, bootstrap() in bootstrap.c checks whether bootstrap is requested,
but delegates the SPI loop to the common bootstrap library.

Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit that referenced this issue Jul 11, 2023
The goal of the overarching refactor is to move bootstrap code into a
library that can be shared by ROM and ROM_EXT. This will enable us to
share code between the two variants of bootstrap. (ROM_EXT bootstrap is
also referred to as "recovery".)

This commit renames bootstrap.c and does a little surgery on BUILD files
to ensure the bootstrap library still builds. Splitting this refactor
into two commits preserves bootstrap.c's edit history.

Issue #19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit that referenced this issue Jul 11, 2023
Now, bootstrap() in bootstrap.c checks whether bootstrap is requested,
but delegates the SPI loop to the common bootstrap library.

Issue #19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 31, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Jul 31, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit that referenced this issue Jul 31, 2023
Issue #19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 1, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 1, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
alphan pushed a commit that referenced this issue Aug 1, 2023
Issue #19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
bilgiday pushed a commit to bilgiday/opentitan that referenced this issue Aug 7, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
bilgiday pushed a commit to bilgiday/opentitan that referenced this issue Aug 7, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 9, 2023
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 9, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 9, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 9, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 11, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 14, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 14, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 21, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 22, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 22, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 22, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 30, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 30, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 30, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit to dmcardle/opentitan that referenced this issue Aug 31, 2023
Issue lowRISC#19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
dmcardle added a commit that referenced this issue Aug 31, 2023
Issue #19151

Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
@timothytrippel timothytrippel added this to the Earlgrey ES ROM_EXT milestone Sep 1, 2023
@timothytrippel
Copy link
Contributor

This is being called "Rescue" now. Additionally, it is being tracked in #19590, #19591, and #19592. So I think we can close this now?

@timothytrippel timothytrippel changed the title [sw/silicon_creator] ROM_EXT Recovery mode [rom_ext] ROM_EXT Recovery mode Sep 1, 2023
@arunthomas
Copy link
Contributor

Yup, makes sense to close

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

No branches or pull requests

3 participants