fby3.5: rf: Support fru#301
Closed
DelphineChiu wants to merge 1 commit into
Closed
Conversation
Author
|
Dependency: #300 |
71afb26 to
a25af09
Compare
Contributor
|
@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: - Support read and write FRU. Test plan: - Build code: Pass - Read FRU: Pass - Write FRU: Pass Log: 1. Check RF FRU can read and write when FRU is empty. (1) Read failed due to FRU is empty root@bmc-oob:~# fruid-util slot2 1U Failed print FRUID for Server board 2 1U Check syslog for errors! (err 2h) (2) Write test FRU data root@bmc-oob:~# fruid-util slot2 1U --write /tmp/fruid_1ou_test.bin (3) Read FRU again root@bmc-oob:~# rm -rf /tmp/fruid_slot2_dev19.bin root@bmc-oob:~# /usr/local/bin/bic-cached -f slot2 root@bmc-oob:~# fruid-util slot2 1U FRU Information : Server board 2 1U --------------- : ------------------ Board Mfg Date : Mon Jul 12 04:51:00 2021 Board Mfg : test Board Product : test Board Serial : test Board Part Number : test Board FRU ID : test Product Manufacturer : Mellanox Product Name : Mellanox ConnectX-6 DX OCP3.0 Product Part Number : MCX623435MC-CDAE_FB Product Version : A8 Product Serial : MT2129T00085 Product Custom Data 3 : ConnectX-6 DX 2. Check RF FRU can read when FRU is normal. root@bmc-oob:~# fruid-util slot2 1U FRU Information : Server board 2 1U --------------- : ------------------ Board Mfg Date : Mon Jul 12 04:51:00 2021 Board Mfg : test Board Product : test Board Serial : test Board Part Number : test Board FRU ID : test Product Manufacturer : Mellanox Product Name : Mellanox ConnectX-6 DX OCP3.0 Product Part Number : MCX623435MC-CDAE_FB Product Version : A8 Product Serial : MT2129T00085 Product Custom Data 3 : ConnectX-6 DX
a25af09 to
9339a56
Compare
Contributor
|
@DelphineChiu has updated the pull request. You must reimport the pull request before landing. |
Contributor
|
Hi @GoldenBug , |
Contributor
|
@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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:
Dependency: #300
Test plan:
Log:
(1) Read failed due to FRU is empty
root@bmc-oob:~# fruid-util slot2 1U
Failed print FRUID for Server board 2 1U
Check syslog for errors! (err 2h)
(2) Write test FRU data
root@bmc-oob:~# fruid-util slot2 1U --write /tmp/fruid_1ou_test.bin
(3) Read FRU again
root@bmc-oob:
# rm -rf /tmp/fruid_slot2_dev19.bin# /usr/local/bin/bic-cached -f slot2root@bmc-oob:
root@bmc-oob:~# fruid-util slot2 1U
FRU Information : Server board 2 1U
--------------- : ------------------
Board Mfg Date : Mon Jul 12 04:51:00 2021
Board Mfg : test
Board Product : test
Board Serial : test
Board Part Number : test
Board FRU ID : test
Product Manufacturer : Mellanox
Product Name : Mellanox ConnectX-6 DX OCP3.0
Product Part Number : MCX623435MC-CDAE_FB
Product Version : A8
Product Serial : MT2129T00085
Product Custom Data 3 : ConnectX-6 DX
root@bmc-oob:~# fruid-util slot2 1U
FRU Information : Server board 2 1U
--------------- : ------------------
Board Mfg Date : Mon Jul 12 04:51:00 2021
Board Mfg : test
Board Product : test
Board Serial : test
Board Part Number : test
Board FRU ID : test
Product Manufacturer : Mellanox
Product Name : Mellanox ConnectX-6 DX OCP3.0
Product Part Number : MCX623435MC-CDAE_FB
Product Version : A8
Product Serial : MT2129T00085
Product Custom Data 3 : ConnectX-6 DX