All of lore.kernel.org
 help / color / mirror / Atom feed
From: "guilin1985@126.com" <guilin1985@126.com>
To: "Bala Subramaniyan" <Bala.Subramaniyan@Ltts.com>,
	 "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Cc: Thangaraj S <Thangaraj.S@Ltts.com>, Lalit Kumar <Lalit.Kumar2@ltts.com>
Subject: Re: Help with IPMB (IPMI over I2C).
Date: Wed, 26 Jun 2024 11:33:27 +0800	[thread overview]
Message-ID: <2024062611332746222218@126.com> (raw)
In-Reply-To: MA1PR01MB4308AF26A122B17FCC91768C80C82@MA1PR01MB4308.INDPRD01.PROD.OUTLOOK.COM


[-- Attachment #1.1: Type: text/plain, Size: 4312 bytes --]

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@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@bmc:/# 
root@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@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.

[-- Attachment #1.2: Type: text/html, Size: 14876 bytes --]

[-- Attachment #2: Outlook-ksfw50nf(06-26-10-50-06).png --]
[-- Type: image/png, Size: 99 bytes --]

[-- Attachment #3: Outlook-i2prdv3q(06-26-10-50-06).png --]
[-- Type: image/png, Size: 5482 bytes --]

[-- Attachment #4: Outlook-eb25bini(06-26-10-50-06).png --]
[-- Type: image/png, Size: 99 bytes --]

      parent reply	other threads:[~2024-06-26  3:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20 10:43 Help with IPMB (IPMI over I2C) Bala Subramaniyan
2024-06-20 12:36 ` Alexander A. Filippov
2024-06-20 13:25   ` Bala Subramaniyan
2024-06-20 13:29     ` Bala Subramaniyan
2024-06-20 15:39       ` Alexander A. Filippov
2024-06-21  7:29         ` Bala Subramaniyan
2024-06-24  8:32           ` Alexander A. Filippov
2024-06-26  3:33 ` guilin1985 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2024062611332746222218@126.com \
    --to=guilin1985@126.com \
    --cc=Bala.Subramaniyan@Ltts.com \
    --cc=Lalit.Kumar2@ltts.com \
    --cc=Thangaraj.S@Ltts.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.