Skip to content
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

is there pldm and ncsi support available? #57

Open
mb2rohit opened this issue Jul 9, 2017 · 4 comments
Open

is there pldm and ncsi support available? #57

mb2rohit opened this issue Jul 9, 2017 · 4 comments

Comments

@mb2rohit
Copy link

mb2rohit commented Jul 9, 2017

i looked at the code, i can see, only mctp over i2c code is available, but README doesn't say any thing about its availability, i just wanted to know if it is working and also if PLDM over MCTP, NCSI over MCTP support is also available?

@gmissonnier
Copy link

+1

I found this small MCTP example :
./meta-facebook/meta-fbttn/recipes-fbttn/fblibs/files/mctp/mctp.c

Is this example known to respect the MCTP standard?

From my understanding, MCTP over I2C requires to use only SMBUS Block Write protocol, with PEC enabled, and it need both side to have a slave address to enable bi-directionnal communications.
The example does not seems to receive MCTP response this way, and I do not see the PEC byte in the requests packets!

facebook-github-bot pushed a commit that referenced this issue May 8, 2019
Summary:
1. boot_info.sh to switch bmc/bios to master/slave
 2. eth0_mac_fixup.sh to fix mac address with that read from eeprom
 3. fpga_ver.sh show fpga version
 4. presence_util.sh show fan/scm/psu presence info
 5. seutil show scm eeprom info
Pull Request resolved: facebookexternal/openbmc.celestica#57

Test Plan:
root@shan0556:~# boot_info.sh
Usage:
boot_info.sh <bmc|bios> reset <master|slave>
root@shan0556:~# boot_info.sh bmc
WDT1 Timeout Count:  5
WDT2 Timeout Count:  0
Current Boot Code Source:  Master Flash
root@shan0556:~#

root@shan0556:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr AA:BB:CC:DD:AA:FF
          inet addr:10.204.28.249  Bcast:10.204.31.255  Mask:255.255.252.0
          inet6 addr: 2001:db8:2:0:a8bb:ccff:fedd:aaff%1630429545/64 Scope:Global
          inet6 addr: fe80::a8bb:ccff:fedd:aaff%1630429545/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:935318 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33505 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:147689004 (140.8 MiB)  TX bytes:3678387 (3.5 MiB)
          Interrupt:20

root@shan0556:~# weutil
Wedge EEPROM :
Version: 3
Product Name: WEDGE400-SMB
Product Part Number: 12-345678
System Assembly Part Number: abc-defghi-jk
Facebook PCBA Part Number: ABC-DEFGHI-JK
Facebook PCB Part Number: 123-456789-ab
ODM PCBA Part Number: abcdefghijklm
ODM PCBA Serial Number: ABCDEFGHIJKLM
Product Production State: 1
Product Version: 1
Product Sub-Version: 0
Product Serial Number: 123456789abcd
Product Asset Tag: ABCDEFGHIJKL
System Manufacturer: CTH
System Manufacturing Date: 03-29-19
PCB Manufacturer: ABCDEFGH
Assembled At: CTH
Local MAC: AA:BB:CC:DD:AA:FF
Extended MAC Base: AA:BB:CC:DD:EE:00
Extended MAC Address Size: 2
Location on Fabric: SMB
CRC8: 0x9
root@shan0556:~# seutil
Wedge EEPROM /sys/bus/i2c/devices/17-0052/eeprom:
Version: 3
Product Name: WEDGE400-SCM
Product Part Number: 12-345678
System Assembly Part Number: abc-defghi-jk
Facebook PCBA Part Number: ABC-DEFGHI-JK
Facebook PCB Part Number: 123-456789-ab
ODM PCBA Part Number: abcdefghijklm
ODM PCBA Serial Number: ABCDEFGHIJKLM
Product Production State: 1
Product Version: 1
Product Sub-Version: 0
Product Serial Number: 123456789abcd
Product Asset Tag: ABCDEFGHIJKL
System Manufacturer: CTH
System Manufacturing Date: 03-29-55
PCB Manufacturer: ABCDEFGH
Assembled At: CTH
Local MAC: AA:BB:CC:DD:AA:FF
Extended MAC Base: AA:BB:CC:DD:EE:00
Extended MAC Address Size: 2
Location on Fabric: SCM
CRC8: 0x9
root@shan0556:~#

root@shan0556:~# fpga_ver.sh
DOMFPGA1: 0.9
DOMFPGA2: 0.9

root@shan0556:~# presence_util.sh
CARDS
scm : 1
FANS
fan1 : 1
fan2 : 1
fan3 : 1
fan4 : 1
POWER SUPPLIES
psu1 : 0
psu2 : 1
root@shan0556:~#

Pass

Reviewed By: benwei13

fbshipit-source-id: 7fa5ee1d5a
facebook-github-bot pushed a commit that referenced this issue Aug 21, 2020
Summary:
ELBERT: Update wedge_power.sh
- Support pimreset
- Enable pim by default
- update nomenclature

Testing:

Tested the following commands 100x iterations
wedge_power.sh
wedge_power.sh -s
wedge_power.s pimreset -a

Pull Request resolved: facebookexternal/openbmc.arista#57

Reviewed By: tao-ren

fbshipit-source-id: b90b19a9d0
facebook-github-bot pushed a commit that referenced this issue Oct 24, 2022
Summary:
Recipe to fetch and build Cisco 8000 kernel modules on OBMC.

X-link: facebookexternal/openbmc.cisco#57

Test Plan:
1. Set up OBMC build environment.
2. Set up Sandia OBMC: source openbmc-init-build-env.
3. Build kernel modules: bitbake cisco-8000-kernel-modules. Build should complete without error.
4. Add cisco-8000-kernel-modules recipe to sandia-image and build. Image should build, load, and boot without error.

Reviewed By: tao-ren

fbshipit-source-id: d73059d2d944376ca57778ef860eafc6b7be46fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@mb2rohit @gmissonnier and others