<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Alexander,</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for your reply,</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ipmitool has raw and i2c commands, Please refer below image. </div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><img size="122453" contenttype="image/png" style="max-width: 607px;" data-outlook-trace="F:1|T:1" src="cid:87b5aef4-9628-47c7-b7d4-b714b7a92869"></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
As,<i> </i>I can see ipmi_rawi2c_main() function under <a href="https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_raw.c" id="LPlnk154330" class="OWAAutoLink" title="https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_raw.c">
ipmitool/lib/ipmi_raw.c</a> which is handling I2C Master Read-Write functionality.<br>
<br>
Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication.</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards.</div>
<div style="margin-top: 1em; margin-bottom: 1em; font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 128, 0);">root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 </span></div>
<div style="margin-top: 1em; margin-bottom: 1em; font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 128, 0);">ipmi_master_write_read: rsp_value:6207408, LineNo:104<br>
I2C Master Write-Read command failed: Invalid command<br>
ipmi_rawi2c_main: rsp_value:0, LineNo:264<br>
Unable to perform I2C Master Write-Read<br>
</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Thanks, and regards,</b></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Bala Subramaniyan M,</b></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><img id="Picture_x0020_12" width="330" height="2" style="width: 330px; height: 2px; max-width: 728px; margin-top: 0px; margin-bottom: 0px;" data-outlook-trace="F:1|T:1" src="cid:8e9aff04-3d96-4bb4-9c19-0645b7e852a4"></span></div>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><a href="https://www.ltts.com/" id="OWA23ba9490-8084-cb96-d8bc-1305e121866c" class="OWAAutoLink" style="color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px;"><img id="Graphic_x0020_2" width="249" height="38" style="width: 249px; height: 38px; max-width: 728px; margin-top: 0px; margin-bottom: 0px;" data-outlook-trace="F:1|T:1" src="cid:08db76b7-f643-4b96-8acd-5325e19c1e99"></a></span></p>
<p style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); line-height: 115%;"><br>
</span></p>
<p style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); line-height: 115%;">S1 Building, L&T Tech Park, Bellary Road,
</span></p>
<p style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); line-height: 115%;">Next to Raintree Boulevard, Park View Layout,
</span></p>
<p style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); line-height: 115%;">Byatarayanapura, Bengaluru-560092</span></p>
<p style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); line-height: 115%;">Mobile: +91 9677035467</span></p>
<p style="line-height: 150%;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(13, 13, 13); line-height: 150%;">ENGINEERING<b> THE CHANGE</b></span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); line-height: 150%;">
 | </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(13, 13, 13); line-height: 150%;"><a href="https://www.ltts.com/" id="OWA1ee078ba-3851-8e42-9376-8ec8bc4a00f7" class="OWAAutoLink" style="color: rgb(13, 13, 13); margin-top: 0px; margin-bottom: 0px;">www.LTTS.com</a></span></p>
<p style="line-height: 150%;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><img id="Picture_x0020_12" width="330" height="2" style="width: 330px; height: 2px; max-width: 728px; margin-top: 0px; margin-bottom: 0px;" data-outlook-trace="F:1|T:1" src="cid:15cbe041-9a4c-448d-9049-10acf4d98b93"></span></p>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Alexander A. Filippov <a.filippov@yadro.com><br>
<b>Sent:</b> Thursday, June 20, 2024 6:06 PM<br>
<b>To:</b> Bala Subramaniyan <Bala.Subramaniyan@Ltts.com><br>
<b>Cc:</b> openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com><br>
<b>Subject:</b> Re: Help with IPMB (IPMI over I2C).</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">CAUTION: This email is from an external source. Please do not open attachments or click links from an unknown or suspicious origin. Phishing attempts can be reported by using the report message button in Outlook or sending them as an
 attachment to phishing@Ltts.com. Thank you<br>
<br>
On Thu, Jun 20, 2024 at 10:43:59AM +0000, Bala Subramaniyan wrote:<br>
> Hi All,<br>
<br>
Hi,<br>
<br>
><br>
> For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with IPMITOOL<<a href="https://github.com/openbmc/ipmitool">https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919310123%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=xV3gj1uMoigTrD9EV%2FzSYWUCrQG9KBqM8RMHAfkbjL4%3D&reserved=0</a>>.<br>
><br>
> Development Board: ASPEED AST2600 EVB<br>
><br>
> Could you please suggest us how to proceed further with our below requirement.<br>
><br>
>   1.<br>
> BMC to BMC (IPMI over I2C), One BMC as Master and other as slave.<br>
>   2.<br>
> Send/Receive IPMI commands through IPMITOOL<<a href="https://github.com/openbmc/ipmitool">https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919318108%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=2Ofk6FFhvtt9DE2Ku6l9E%2Bogf4rDoAnKLJ8IaKCAvnA%3D&reserved=0</a>>
 from one BMC to other.<br>
>   3.<br>
> Send/Receive SDR, SEL logs between two BMC's.<br>
><br>
> Any help would be highly appreciated.<br>
><br>
><br>
<br>
As I can see, ipmitool has no any interfaces using i2c directly and I never<br>
listen about using i2c as the ipmi transport.<br>
<br>
Google shows me that the similar question already exists and answered:<br>
  <a href="https://github.com/ipmitool/ipmitool/discussions/296">https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fipmitool%2Fipmitool%2Fdiscussions%2F296&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919323925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=CAO3AlVSwGz7qeFnakA69orWVnat2mADwtIrvMsLtX4%3D&reserved=0</a><br>
<br>
As an alternative, You could use lan/lanplus interfaces to communicate with<br>
remote BMC via ethernet.<br>
<br>
<br>
><br>
> Thanks, and regards,<br>
> Bala Subramaniyan M,<br>
><br>
><br>
><br>
> [cid:59c4f387-285c-4c0f-ada0-09714ca611a9]<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919328258%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=USGH2E9jlgxi8PFwnWtNVmkyHbhtghu94%2BdpEsvGors%3D&reserved=0><br>
><br>
><br>
> S1 Building, L&T Tech Park, Bellary Road,<br>
><br>
> Next to Raintree Boulevard, Park View Layout,<br>
><br>
> Byatarayanapura, Bengaluru-560092<br>
><br>
> Mobile: +91 9677035467<br>
><br>
> ENGINEERING THE CHANGE | <a href="http://www.ltts.com/">https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919332294%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=9Uv9AWzo8JPFstuhNWEwB15fAnmslAUHG3jXjdavo2U%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919336367%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=Kpop%2FwYjGgXiYRbB%2B8xGf%2FdUsbl4ZLp8Hl1YuomzM30%3D&reserved=0></a><br>
><br>
><br>
><br>
> [Ltts.com]<br>
><br>
> L&T Technology Services Ltd<br>
><br>
> <a href="http://www.ltts.com/">https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919340087%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=c46N5pRUVu%2BehD5RAcs3WXkECAobFoEhSCy0LZzqItA%3D&reserved=0</a><br>
><br>
> L&T Technology Services Limited (LTTS) is committed to safeguard your privacy. Read the appropriate privacy notice<<a href="https://www.ltts.com/privacy-policies-notices">https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fprivacy-policies-notices&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919344116%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=BwUKKDaLa%2BfTW2xoVVWwnWXnj11QQ3EPqVfcj3Y175A%3D&reserved=0</a>>
 applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our privacy policy<<a href="https://www.ltts.com/data-privacy-policy">https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fdata-privacy-policy&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919348226%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=WUa8W%2BHcu%2FaFmtd23zvWkveaKXnSUpz6%2Fa7yf%2FqhpbE%3D&reserved=0</a>>
 available on our website <a href="http://www.ltts.com/">https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7Ccc4bd8ff67674469a56408dc9125913a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544837919352183%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=ua8rLzmy8kkc2ePqG5xBoT8F7aEv8dnC4%2B7EcIFeTFk%3D&reserved=0</a>
 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.<br>
<br>
--<br>
Regads,<br>
Alexander Filippov<br>
<br>
<br>
<br>
</div>
</span></font></div>
</body>
</html>