Skip to content

PPC64 updates#9

Merged
osresearch merged 4 commits intoosresearch:masterfrom
3mdeb:ppc64
Mar 10, 2023
Merged

PPC64 updates#9
osresearch merged 4 commits intoosresearch:masterfrom
3mdeb:ppc64

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 <sergii.dmytruk@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
 * 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 <sergii.dmytruk@3mdeb.com>
* 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 <sergii.dmytruk@3mdeb.com>
@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