Skip to content

opensbi: optionally support fw_payload - #505

Open
heshamelmatary wants to merge 2 commits into
mainfrom
opensbi_fw_payload
Open

opensbi: optionally support fw_payload#505
heshamelmatary wants to merge 2 commits into
mainfrom
opensbi_fw_payload

Conversation

@heshamelmatary

Copy link
Copy Markdown
Member

Current cheribuild only uses the fw_jump variant of OpenSBI while there exists other variants as well such as fw_payload that could be used. This commit enables choosing the payload variant of opensbi (which could embed u-boot and/or other OSes) and install it as an optional (QEMU's) firmware variant besides fw_jump.

Current cheribuild only uses the fw_jump variant of OpenSBI while
there exists other variants as well such as fw_payload that could
be used. This commit enables choosing the payload variant of
opensbi (which could embed u-boot and/or other OSes) and install
it as an optional (QEMU's) firmware variant besides fw_jump.

@arichardson arichardson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Isn't this missing the logic to actually add a payload when building opensbi?

@heshamelmatary

Copy link
Copy Markdown
Member Author

Isn't this missing the logic to actually add a payload when building opensbi?

Yeah but that's a separate issue/PR here [1]. I just decoupled them because even without [1], it will still build a dummy payload and run it, even if the user mistakenly/explicitly uses this new QEMU flag without building a proper payload.

[1] #504

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