fby3.5: hd: support 4-byte postcode#489
Closed
Yi-Shum wants to merge 1 commit into
Closed
Conversation
Summary: - Add pcc patch to solve the issue that may loss post code. - Support staging 4-byte post code. - Add IPMI command(NetFn 0x38, cmd 0x2A) to get 4-byte post code. Request: Byte 1:3 - MFG ID - 00A015h, LS byte first. Byte 4 - page number 0~17, page 0 to get the latest post code. Response: Byte 1 - Completion Code. 00h - Success Byte 2:4 - MFG ID - 00A015h, LS byte first. Byte 5:N - Post code value. Test Plan: - Apply patch: Pass. - Build code: Pass. - Command test: Pass. Log: ``` root@bmc-oob:~# bic-util slot1 0xe0 0x2a 0x15 0xa0 0x00 0x00 15 A0 00 B1 00 00 00 B1 00 00 00 B0 00 00 00 AF 00 00 00 2C A5 00 B0 2B A5 00 B0 AD 00 00 00 29 A5 00 B0 94 A6 00 B0 14 A6 00 B0 2A A5 00 B0 00 A6 00 B0 86 A6 00 B0 06 A6 00 B0 00 A6 00 B0 94 A6 00 B0 14 A6 00 B0 29 A5 00 B0 78 AF 00 B0 15 A9 00 B0 14 A9 00 B0 70 AF 00 B0 77 AF 00 B0 73 AF 00 B0 08 AF 00 B0 41 0C 00 B0 40 0C 00 B0 3B 0C 00 B0 3A 0C 00 B0 E6 AD 00 B0 56 AD 00 B0 E7 AC 00 B0 57 AC 00 B0 02 A0 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 root@bmc-oob:~# bic-util slot1 0xe0 0x2a 0x15 0xa0 0x00 0x11 15 A0 00 15 A9 00 B0 14 A9 00 B0 15 A9 00 B0 14 A9 00 B0 ```
Contributor
|
@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
There is an Open PR for aspeed kernel 00.01.06. |
Collaborator
Author
|
Hi @GoldenBug ,
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Request:
Byte 1:3 - MFG ID - 00A015h, LS byte first.
Byte 4 - page number 0~17, page 0 to get the latest post code.
Response:
Byte 1 - Completion Code.
00h - Success
Byte 2:4 - MFG ID - 00A015h, LS byte first.
Byte 5:N - Post code value.
Test Plan:
Log: