[Y35/CL]Added get device id command.#33
Closed
GoldenBug wants to merge 1 commit into
Closed
Conversation
Summary: - Impletmented get device id command. Test plan: -Build code: Pass root@bmc-oob:~# bic-util slot4 0x18 0x1 00 80 01 01 02 BF 9C 9C 00 00 00 00 00 00 00 [ghstack-poisoned]
Scron-Chang
added a commit
to Scron-Chang/OpenBIC
that referenced
this pull request
Jul 5, 2022
Associate the CXL power LED with the PWRGD_CARD_PWROK(GPIOE1). Tested: 1. Rainbow Falls build platform: Pass. (Removed the unused variable in the xdpe12284c c file.) 2. Check GPIO state on the BMC side. When PWRGD_CARD_PWROK(facebook#33) is high, the CXL power LED is bright, and vice versa. ``` root@bmc-oob:~# power-util slot1 status Power status for fru 1 : ON root@bmc-oob:~# power-util slot1 off Powering fru 1 to OFF state... root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 33 9C 9C 00 05 39 41 00 9C 9C 00 21 00 root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 66 9C 9C 00 05 39 41 00 9C 9C 00 5A 00 root@bmc-oob:~# power-util slot1 on Powering fru 1 to ON state... root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 33 9C 9C 00 05 39 41 00 9C 9C 00 21 01 root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 66 9C 9C 00 05 39 41 00 9C 9C 00 5A 01 root@bmc-oob:~# ``` Signed-off-by: Scron Chang <Scron.Chang@quantatw.com>
Scron-Chang
added a commit
to Scron-Chang/OpenBIC
that referenced
this pull request
Jul 5, 2022
Associate the CXL power LED with the PWRGD_CARD_PWROK(GPIOE1). Tested: 1. Rainbow Falls build platform: Pass. (Removed the unused variable in the xdpe12284c c file.) 2. Check GPIO state on the BMC side. When PWRGD_CARD_PWROK(facebook#33) is high, the CXL power LED is bright, and vice versa. ``` root@bmc-oob:~# power-util slot1 status Power status for fru 1 : ON root@bmc-oob:~# power-util slot1 off Powering fru 1 to OFF state... root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 33 9C 9C 00 05 39 41 00 9C 9C 00 21 00 root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 66 9C 9C 00 05 39 41 00 9C 9C 00 5A 00 root@bmc-oob:~# power-util slot1 on Powering fru 1 to ON state... root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 33 9C 9C 00 05 39 41 00 9C 9C 00 21 01 root@bmc-oob:~# bic-util slot1 0xe0 0x2 0x9c 0x9c 0x00 0x5 0xE0 0x41 0x9C 0x9c 0x00 0 66 9C 9C 00 05 39 41 00 9C 9C 00 5A 01 root@bmc-oob:~# ``` Signed-off-by: Scron Chang <Scron.Chang@quantatw.com>
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.
Stack from ghstack:
Summary:
Test plan:
-Build code: Pass
root@bmc-oob:~# bic-util slot4 0x18 0x1
00 80 01 01 02 BF 9C 9C 00 00 00 00 00 00 00