-
Notifications
You must be signed in to change notification settings - Fork 2
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
add alternative header ending signature #141
Conversation
Hi! Hmm, not sure what's up with that. AMD docs for Turin, Genoa, Milan, Rome definitely say "BCPA" (which is "APCB" backward, ha ha). But it might be that actual images always say "BCBA" ? Could you maybe check a few images so we get an overview of what's the "compatible" thing to do? Is it ever "BCPA" at all? |
I've checked all the bioses we got for the AMD evaluation boards and they all say |
Alright, soooo... it looks like this occurs here and there. From a few samples, it looks like it correlates with the OEM. The following boards have
Whereas those have
|
Thanks for checking! Well, I guess we can merge the PR. Just wanted to make sure this situation doesn't hide something way worse first. Could you add a short comment to the source code that the case is undocumented but happens in the wild? Just so we don't scratch our heads later. Also, please create a github issue (for example using the "..." thing in the PR and "Reference in new issue") and refer to it in the commit message like this:
|
Will do, thank you! |
resolves #142 |
This is found in ASRock firmware images, e.g. A520M-HVS A52MIX_2.73. Also seen in coreboot 3rd_party/blobs/mainboard/, and used in Fiano: https://github.com/linuxboot/fiano/blob/d844cd98141518f41b3e4012bcf419984074a2b4/pkg/amd/apcb/internal.go#L16 Fixes <oxidecomputer#142>. Signed-off-by: Daniel Maslowski <info@orangecms.org>
I don't know if this is a typo here in amd-apcb or both are possible.
I have seen "BCBA" in a firmware image from an ASRock A520M-HVS board, version A52MIX_2.73.
And it is also in Fiano (just in different notation):
https://github.com/linuxboot/fiano/blob/d844cd98141518f41b3e4012bcf419984074a2b4/pkg/amd/apcb/internal.go#L16