Help with IPMB (IPMI over I2C).

guilin1985 at 126.com guilin1985 at 126.com
Wed Jun 26 13:33:27 AEST 2024


If you use IPMB,two bmc need to set  different IPMB i2c slave address. 

This is not easy to do for two BMCs using the same image

 Maybe you can use uart instead.  The difficulty is that you need to write your own code to implement ipmi serialbridge.

Ipmitool use Like this:


root at bmc:/# ipmitool -I serial-terminal -D /dev/ttyS3:115200 lan print 1
Set in Progress                 : Set Complete
Auth Type Support           : 
Auth Type Enable             : Callback : 
                                         : User     : 
                                         : Operator : 
                                         : Admin    : 
                                         : OEM      : 
IP Address Source            : Static Address
IP Address                        : 10.0.0.235
Subnet Mask                    : 255.255.0.0
MAC Address                   : a0:19:b2:94:0c:03
Default Gateway IP          : 10.0.0.1
Default Gateway MAC     : 00:00:00:00:00:00
802.1q VLAN ID               : Disabled
RMCP+ Cipher Suites      : 3,17
Cipher Suite Priv Max      : aaaaaaaaaaaaaaa
                                         :     X=Cipher Suite Unused
                                         :     c=CALLBACK
                                         :     u=USER
                                         :     o=OPERATOR
                                         :     a=ADMIN
                                         :     O=OEM
Bad Password Threshold  : Not Available
root at bmc:/# 
root at bmc:/# ipmitool -I serial-terminal -D /dev/ttyS3:115200 sdr elist
board curr            | 00h | ok  | 23.1 | 1.00 Amps
psu2 curr in         | 01h | ok  | 14.2 | 0 Amps
psu2 curr out       | 02h | ok  | 14.2 | 1 Amps
Pwm 1                  | 03h | ok  | 29.1 | 79.97 percent
Pwm 2                  | 04h | ok  | 29.2 | 79.97 percent
Pwm 3                  | 05h | ok  | 29.3 | 79.97 percent
Pwm psu2 Fan 1   | 06h | ok  | 14.2 | 30.18 percent
fan1                      | 07h | ns  | 29.1 | No Reading
fan2                      | 08h | ns  | 29.2 | No Reading
fan3                      | 09h | ns  | 29.3 | No Reading
psu2 fan               | 0Ah | ok  | 14.2 | 3276 RPM
board power        | 0Bh | ok  | 23.1 | 192.08 Watts
psu2 power in      | 0Ch | ok  | 14.2 | 18.90 Watts
psu2 power out   | 0Dh | ok  | 14.2 | 12.60 Watts
total power          | 0Eh | ok  | 23.1 | 195.30 Watts
cpu 0                    | 0Fh | ns  | 23.3 | No Reading
pch temp             | 10h | ns  | 23.2 | No Reading
psu2 temp           | 11h | ok  | 14.2 | 33 degrees C
battery                 | 12h | ok  | 40.1 | 3.00 Volts
board vol             | 13h | ok  | 23.1 | 11.98 Volts
psu2 vol in           | 14h | ok  | 14.2 | 218.54 Volts
psu2 vol out        | 15h | ok  | 14.2 | 11.98 Volts
 
From: Bala Subramaniyan
Date: 2024-06-20 18:43
To: openbmc at lists.ozlabs.org
CC: Thangaraj S; Lalit Kumar
Subject: Help with IPMB (IPMI over I2C).

Hi All,

For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with IPMITOOL.

Development Board: ASPEED AST2600 EVB

Could you please suggest us how to proceed further with our below requirement.
BMC to BMC (IPMI over I2C), One BMC as Master and other as slave.
Send/Receive IPMI commands through IPMITOOL from one BMC to other.
Send/Receive SDR, SEL logs between two BMC's.
Any help would be highly appreciated.



Thanks, and regards,
Bala Subramaniyan M,


S1 Building, L&T Tech Park, Bellary Road, 
Next to Raintree Boulevard, Park View Layout, 
Byatarayanapura, Bengaluru-560092
Mobile: +91 9677035467
ENGINEERING THE CHANGE | www.LTTS.com


L&T Technology Services Ltd
www.LTTS.com
L&T Technology Services Limited (LTTS) is committed to safeguard your privacy. Read the appropriate privacy notice applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our privacy policy available on our website www.Ltts.com for more information about our commitment towards data privacy under applicable data protection laws. This email may contain confidential or privileged information for the intended recipient(s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20240626/8f7c1d6d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-ksfw50nf(06-26-10-50-06).png
Type: image/png
Size: 99 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20240626/8f7c1d6d/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-i2prdv3q(06-26-10-50-06).png
Type: image/png
Size: 5482 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20240626/8f7c1d6d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-eb25bini(06-26-10-50-06).png
Type: image/png
Size: 99 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20240626/8f7c1d6d/attachment-0005.png>


More information about the openbmc mailing list