-
Notifications
You must be signed in to change notification settings - Fork 507
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
ManageabilityPkg/IpmiSmbiosTransferDxe: add support of sending SMBIOS table to BMC #187
Conversation
Add missing "EFIAPI" to fix GCC5 build failure. Signed-off-by: Nickle Wang <[email protected]>
Add missing PCD: PcdIpmiSsifSmbusSlaveAddr. Signed-off-by: Nickle Wang <[email protected]>
I'm getting the following error when testing on Ampere Mt. Jade platform.
|
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.inf
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.inf
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.inf
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.inf
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.inf
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Show resolved
Hide resolved
It could be a bug in the
|
Features/ManageabilityPkg/Universal/IpmiSmbiosTransferDxe/IpmiSmbiosTransferDxe.c
Outdated
Show resolved
Hide resolved
Hi @nicklela, for BMC-HOST synchronization, what will happen if users update the BMC firmware without preserving the configuration data while the HOST is still powered on? I think BMC will not be able to tell HOST to resend the SMBIOS table in that case. |
Adding support to transfer SMBIOS binary blob to the BMC by using the IpmiBlobTransfer protocol. Signed-off-by: Nick Ramirez <[email protected]> Co-authored-by: Nickle Wang <[email protected]>
Add IpmiSmbiosTransferDxe to ManageabilityPkg. Signed-off-by: Nickle Wang <[email protected]>
5544ef0
to
f423d1c
Compare
When BMC works in that way, BIOS has to send smbios table on every boot because there is no defined interface between BMC and BIOS to know this. So probably we can define |
I think we need a clean solution for this corner case, rather than setting the PCD to always transfer the SMBIOS which impacts boot time performance. I'm unsure whether this is a gap in the IPMI blob transfer specification. @changab any thoughts? |
Can you apply this fix? The Mt. Jade platform does not work without this fix.
|
I think the condition statement would be:
When Please correct me if I misunderstand your comment. |
Ah, you're right. Please incorporate this change to the pull request. |
While calling IpmiBlobTransferSendIpmi(), it is expected that there is no response data for certain command. Enhance this function to accept NULL response data parameter. Signed-off-by: Nickle Wang <[email protected]>
Done. I add additional commit to handle the case when response data is optional.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nicklela. It works perfectly on my Mt. Jade system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went through the changes and I have no problem with this commit.
Add IpmiSmbiosTransferDxe driver to ManageabilityPkg. This enables the ability of sending SMBIOS table to BMC by using IPMI Blob transfer protocol.
I also fixed several build issues observed on GCC5 build.