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

PPC64 updates #9

Merged
merged 4 commits into from
Mar 10, 2023
Merged

PPC64 updates #9

merged 4 commits into from
Mar 10, 2023

Conversation

SergiiDmytruk
Copy link
Contributor

These are changes and additions to make flashtools build and work on OpenPower where flash is available through MTD device and has PNOR format.

Signed-off-by: Sergii Dmytruk <[email protected]>
 * don't crash if last 4 bytes are larger than ROM size
 * look for FMAP and from there for CBFS master header

Signed-off-by: Sergii Dmytruk <[email protected]>
* Flash isn't accessible via /dev/mem there.
* Flash has a format called PNOR with coreboot being stored in its HBI
  partition.
* Some PNOR partitions have ECC, which needs to be removed for the rest
  of code to work.

Signed-off-by: Sergii Dmytruk <[email protected]>
@tlaurion
Copy link

@osresearch : this is currently used under heads/master per merge of linuxboot/heads#1222

@osresearch osresearch merged commit d1e6f12 into osresearch:master Mar 10, 2023
@SergiiDmytruk SergiiDmytruk deleted the ppc64 branch June 13, 2023 12:37
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.

3 participants