* Help with IPMB (IPMI over I2C). @ 2024-06-20 10:43 Bala Subramaniyan 2024-06-20 12:36 ` Alexander A. Filippov 2024-06-26 3:33 ` guilin1985 0 siblings, 2 replies; 8+ messages in thread From: Bala Subramaniyan @ 2024-06-20 10:43 UTC (permalink / raw) To: openbmc@lists.ozlabs.org; +Cc: Thangaraj S, Lalit Kumar [-- Attachment #1.1: Type: text/plain, Size: 1655 bytes --] Hi All, For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with IPMITOOL<https://github.com/openbmc/ipmitool>. Development Board: ASPEED AST2600 EVB Could you please suggest us how to proceed further with our below requirement. 1. BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. 2. Send/Receive IPMI commands through IPMITOOL<https://github.com/openbmc/ipmitool> from one BMC to other. 3. Send/Receive SDR, SEL logs between two BMC's. Any help would be highly appreciated. Thanks, and regards, Bala Subramaniyan M, [cid:59c4f387-285c-4c0f-ada0-09714ca611a9]<https://www.ltts.com/> 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<https://www.ltts.com/> [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<https://www.ltts.com/privacy-policies-notices> applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our privacy policy<https://www.ltts.com/data-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: 7254 bytes --] [-- Attachment #2: Outlook-ksfw50nf.png --] [-- Type: image/png, Size: 99 bytes --] [-- Attachment #3: Outlook-i2prdv3q.png --] [-- Type: image/png, Size: 5482 bytes --] [-- Attachment #4: Outlook-eb25bini.png --] [-- Type: image/png, Size: 99 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Help with IPMB (IPMI over I2C). 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-26 3:33 ` guilin1985 1 sibling, 1 reply; 8+ messages in thread From: Alexander A. Filippov @ 2024-06-20 12:36 UTC (permalink / raw) To: Bala Subramaniyan; +Cc: Thangaraj S, openbmc@lists.ozlabs.org, Lalit Kumar On Thu, Jun 20, 2024 at 10:43:59AM +0000, Bala Subramaniyan wrote: > Hi All, Hi, > > For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with IPMITOOL<https://github.com/openbmc/ipmitool>. > > Development Board: ASPEED AST2600 EVB > > Could you please suggest us how to proceed further with our below requirement. > > 1. > BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. > 2. > Send/Receive IPMI commands through IPMITOOL<https://github.com/openbmc/ipmitool> from one BMC to other. > 3. > Send/Receive SDR, SEL logs between two BMC's. > > Any help would be highly appreciated. > > As I can see, ipmitool has no any interfaces using i2c directly and I never listen about using i2c as the ipmi transport. Google shows me that the similar question already exists and answered: https://github.com/ipmitool/ipmitool/discussions/296 As an alternative, You could use lan/lanplus interfaces to communicate with remote BMC via ethernet. > > Thanks, and regards, > Bala Subramaniyan M, > > > > [cid:59c4f387-285c-4c0f-ada0-09714ca611a9]<https://www.ltts.com/> > > > 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<https://www.ltts.com/> > > > > [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<https://www.ltts.com/privacy-policies-notices> applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our privacy policy<https://www.ltts.com/data-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. -- Regads, Alexander Filippov ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Help with IPMB (IPMI over I2C). 2024-06-20 12:36 ` Alexander A. Filippov @ 2024-06-20 13:25 ` Bala Subramaniyan 2024-06-20 13:29 ` Bala Subramaniyan 0 siblings, 1 reply; 8+ messages in thread From: Bala Subramaniyan @ 2024-06-20 13:25 UTC (permalink / raw) To: Alexander A. Filippov; +Cc: Thangaraj S, openbmc@lists.ozlabs.org, Lalit Kumar [-- Attachment #1.1: Type: text/plain, Size: 8138 bytes --] Hi Alexander, Thanks for your reply, ipmitool has raw and i2c commands, Please refer below image. [cid:87b5aef4-9628-47c7-b7d4-b714b7a92869] As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_raw.c> which is handling I2C Master Read-Write functionality. Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 ipmi_master_write_read: rsp_value:6207408, LineNo:104 I2C Master Write-Read command failed: Invalid command ipmi_rawi2c_main: rsp_value:0, LineNo:264 Unable to perform I2C Master Write-Read Thanks, and regards, Bala Subramaniyan M, [cid:08db76b7-f643-4b96-8acd-5325e19c1e99]<https://www.ltts.com/> 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<https://www.ltts.com/> ________________________________ From: Alexander A. Filippov <a.filippov@yadro.com> Sent: Thursday, June 20, 2024 6:06 PM To: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> Subject: Re: Help with IPMB (IPMI over I2C). 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 On Thu, Jun 20, 2024 at 10:43:59AM +0000, Bala Subramaniyan wrote: > Hi All, Hi, > > For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with 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<https://github.com/openbmc/ipmitool>>. > > Development Board: ASPEED AST2600 EVB > > Could you please suggest us how to proceed further with our below requirement. > > 1. > BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. > 2. > Send/Receive IPMI commands through 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<https://github.com/openbmc/ipmitool>> from one BMC to other. > 3. > Send/Receive SDR, SEL logs between two BMC's. > > Any help would be highly appreciated. > > As I can see, ipmitool has no any interfaces using i2c directly and I never listen about using i2c as the ipmi transport. Google shows me that the similar question already exists and answered: 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<https://github.com/ipmitool/ipmitool/discussions/296> As an alternative, You could use lan/lanplus interfaces to communicate with remote BMC via ethernet. > > Thanks, and regards, > Bala Subramaniyan M, > > > > [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> > > > S1 Building, L&T Tech Park, Bellary Road, > > Next to Raintree Boulevard, Park View Layout, > > Byatarayanapura, Bengaluru-560092 > > Mobile: +91 9677035467 > > ENGINEERING THE CHANGE | 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><http://www.ltts.com/> > > > > [Ltts.com] > > L&T Technology Services Ltd > > 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<http://www.ltts.com/> > > L&T Technology Services Limited (LTTS) is committed to safeguard your privacy. Read the appropriate privacy notice<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<https://www.ltts.com/privacy-policies-notices>> applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our 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<https://www.ltts.com/data-privacy-policy>> available on our website 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<http://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. -- Regads, Alexander Filippov [-- Attachment #1.2: Type: text/html, Size: 14497 bytes --] [-- Attachment #2: image.png --] [-- Type: image/png, Size: 122453 bytes --] [-- Attachment #3: Outlook-3vqibvmn.png --] [-- Type: image/png, Size: 99 bytes --] [-- Attachment #4: Outlook-pdp4i4se.png --] [-- Type: image/png, Size: 5482 bytes --] [-- Attachment #5: Outlook-qfkgjwgm.png --] [-- Type: image/png, Size: 99 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Help with IPMB (IPMI over I2C). 2024-06-20 13:25 ` Bala Subramaniyan @ 2024-06-20 13:29 ` Bala Subramaniyan 2024-06-20 15:39 ` Alexander A. Filippov 0 siblings, 1 reply; 8+ messages in thread From: Bala Subramaniyan @ 2024-06-20 13:29 UTC (permalink / raw) To: Alexander A. Filippov; +Cc: Thangaraj S, openbmc@lists.ozlabs.org, Lalit Kumar [-- Attachment #1.1: Type: text/plain, Size: 9894 bytes --] Hi Alexander, Thanks for your reply, ipmitool has raw and i2c commands. Commands: raw Send a RAW IPMI request and print response i2c Send an I2C Master Write-Read command and print response spd Print SPD info from remote I2C device lan Configure LAN Channels As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_raw.c> which is handling I2C Master Read-Write functionality. Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 ipmi_master_write_read: rsp_value:6207408, LineNo:104 I2C Master Write-Read command failed: Invalid command ipmi_rawi2c_main: rsp_value:0, LineNo:264 Unable to perform I2C Master Write-Read Thanks, and regards, Bala Subramaniyan M, [cid:8c0f8170-e1d0-4031-a57d-20b6a72ccf58]<https://www.ltts.com/> 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<https://www.ltts.com/> ________________________________ From: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> Sent: Thursday, June 20, 2024 6:55 PM To: Alexander A. Filippov <a.filippov@yadro.com> Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> Subject: Re: Help with IPMB (IPMI over I2C). Hi Alexander, Thanks for your reply, ipmitool has raw and i2c commands, Please refer below image. [cid:87b5aef4-9628-47c7-b7d4-b714b7a92869] As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_raw.c> which is handling I2C Master Read-Write functionality. Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 ipmi_master_write_read: rsp_value:6207408, LineNo:104 I2C Master Write-Read command failed: Invalid command ipmi_rawi2c_main: rsp_value:0, LineNo:264 Unable to perform I2C Master Write-Read Thanks, and regards, Bala Subramaniyan M, [cid:08db76b7-f643-4b96-8acd-5325e19c1e99]<https://www.ltts.com/> 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<https://www.ltts.com/> ________________________________ From: Alexander A. Filippov <a.filippov@yadro.com> Sent: Thursday, June 20, 2024 6:06 PM To: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> Subject: Re: Help with IPMB (IPMI over I2C). 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 On Thu, Jun 20, 2024 at 10:43:59AM +0000, Bala Subramaniyan wrote: > Hi All, Hi, > > For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with 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<https://github.com/openbmc/ipmitool>>. > > Development Board: ASPEED AST2600 EVB > > Could you please suggest us how to proceed further with our below requirement. > > 1. > BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. > 2. > Send/Receive IPMI commands through 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<https://github.com/openbmc/ipmitool>> from one BMC to other. > 3. > Send/Receive SDR, SEL logs between two BMC's. > > Any help would be highly appreciated. > > As I can see, ipmitool has no any interfaces using i2c directly and I never listen about using i2c as the ipmi transport. Google shows me that the similar question already exists and answered: 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<https://github.com/ipmitool/ipmitool/discussions/296> As an alternative, You could use lan/lanplus interfaces to communicate with remote BMC via ethernet. > > Thanks, and regards, > Bala Subramaniyan M, > > > > [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> > > > S1 Building, L&T Tech Park, Bellary Road, > > Next to Raintree Boulevard, Park View Layout, > > Byatarayanapura, Bengaluru-560092 > > Mobile: +91 9677035467 > > ENGINEERING THE CHANGE | 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><http://www.ltts.com/> > > > > [Ltts.com] > > L&T Technology Services Ltd > > 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<http://www.ltts.com/> > > L&T Technology Services Limited (LTTS) is committed to safeguard your privacy. Read the appropriate privacy notice<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<https://www.ltts.com/privacy-policies-notices>> applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our 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<https://www.ltts.com/data-privacy-policy>> available on our website 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<http://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. -- Regads, Alexander Filippov [-- Attachment #1.2: Type: text/html, Size: 22487 bytes --] [-- Attachment #2: image.png --] [-- Type: image/png, Size: 122453 bytes --] [-- Attachment #3: Outlook-3vqibvmn.png --] [-- Type: image/png, Size: 99 bytes --] [-- Attachment #4: Outlook-pdp4i4se.png --] [-- Type: image/png, Size: 5482 bytes --] [-- Attachment #5: Outlook-qfkgjwgm.png --] [-- Type: image/png, Size: 99 bytes --] [-- Attachment #6: Outlook-dfbvx253.png --] [-- Type: image/png, Size: 99 bytes --] [-- Attachment #7: Outlook-21jb3dlu.png --] [-- Type: image/png, Size: 5482 bytes --] [-- Attachment #8: Outlook-callpznc.png --] [-- Type: image/png, Size: 99 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Help with IPMB (IPMI over I2C). 2024-06-20 13:29 ` Bala Subramaniyan @ 2024-06-20 15:39 ` Alexander A. Filippov 2024-06-21 7:29 ` Bala Subramaniyan 0 siblings, 1 reply; 8+ messages in thread From: Alexander A. Filippov @ 2024-06-20 15:39 UTC (permalink / raw) To: Bala Subramaniyan Cc: Thangaraj S, openbmc@lists.ozlabs.org, Alexander A. Filippov, Lalit Kumar On Thu, Jun 20, 2024 at 01:29:18PM +0000, Bala Subramaniyan wrote: > Hi Alexander, > > Thanks for your reply, > > ipmitool has raw and i2c commands. > > Commands: > raw Send a RAW IPMI request and print response > i2c Send an I2C Master Write-Read command and print response > spd Print SPD info from remote I2C device > lan Configure LAN Channels > > > As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_raw.c> which is handling I2C Master Read-Write functionality. > > Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. > > Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. > root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 > ipmi_master_write_read: rsp_value:6207408, LineNo:104 > I2C Master Write-Read command failed: Invalid command > ipmi_rawi2c_main: rsp_value:0, LineNo:264 > Unable to perform I2C Master Write-Read > This command doesn't define a transport for the IPMI command. It asks a remote system to write specified bytes and read an answer via i2c bus on that remote system. And ipmitool uses the default interface (or specified one via `-I` option) for this command. As I understood Your first message, You are looking for a transport interface working via i2c, and I don't know the such implementations. It should be something that You can specify via `-I` option of ipmitool. By default ipmitool in OpenBMC uses `dbus` as the transport. > Thanks, and regards, > Bala Subramaniyan M, > > > > > [cid:8c0f8170-e1d0-4031-a57d-20b6a72ccf58]<https://www.ltts.com/> > > > 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<https://www.ltts.com/> > > > > ________________________________ > From: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> > Sent: Thursday, June 20, 2024 6:55 PM > To: Alexander A. Filippov <a.filippov@yadro.com> > Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> > Subject: Re: Help with IPMB (IPMI over I2C). > > Hi Alexander, > > Thanks for your reply, > > ipmitool has raw and i2c commands, Please refer below image. > > [cid:87b5aef4-9628-47c7-b7d4-b714b7a92869] > > As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_raw.c> which is handling I2C Master Read-Write functionality. > > Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. > > Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. > root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 > ipmi_master_write_read: rsp_value:6207408, LineNo:104 > I2C Master Write-Read command failed: Invalid command > ipmi_rawi2c_main: rsp_value:0, LineNo:264 > Unable to perform I2C Master Write-Read > > > Thanks, and regards, > Bala Subramaniyan M, > > > > [cid:08db76b7-f643-4b96-8acd-5325e19c1e99]<https://www.ltts.com/> > > > 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<https://www.ltts.com/> > > > > ________________________________ > From: Alexander A. Filippov <a.filippov@yadro.com> > Sent: Thursday, June 20, 2024 6:06 PM > To: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> > Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> > Subject: Re: Help with IPMB (IPMI over I2C). > > 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 > > On Thu, Jun 20, 2024 at 10:43:59AM +0000, Bala Subramaniyan wrote: > > Hi All, > > Hi, > > > > > For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with 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<https://github.com/openbmc/ipmitool>>. > > > > Development Board: ASPEED AST2600 EVB > > > > Could you please suggest us how to proceed further with our below requirement. > > > > 1. > > BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. > > 2. > > Send/Receive IPMI commands through 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<https://github.com/openbmc/ipmitool>> from one BMC to other. > > 3. > > Send/Receive SDR, SEL logs between two BMC's. > > > > Any help would be highly appreciated. > > > > > > As I can see, ipmitool has no any interfaces using i2c directly and I never > listen about using i2c as the ipmi transport. > > Google shows me that the similar question already exists and answered: > 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<https://github.com/ipmitool/ipmitool/discussions/296> > > As an alternative, You could use lan/lanplus interfaces to communicate with > remote BMC via ethernet. > > > > > > Thanks, and regards, > > Bala Subramaniyan M, > > > > > > > > [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> > > > > > > S1 Building, L&T Tech Park, Bellary Road, > > > > Next to Raintree Boulevard, Park View Layout, > > > > Byatarayanapura, Bengaluru-560092 > > > > Mobile: +91 9677035467 > > > > ENGINEERING THE CHANGE | 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><http://www.ltts.com/> > > > > > > > > [Ltts.com] > > > > L&T Technology Services Ltd > > > > 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<http://www.ltts.com/> > > > > L&T Technology Services Limited (LTTS) is committed to safeguard your privacy. Read the appropriate privacy notice<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<https://www.ltts.com/privacy-policies-notices>> applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our 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<https://www.ltts.com/data-privacy-policy>> available on our website 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<http://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. -- Regads, Alexander Filippov ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Help with IPMB (IPMI over I2C). 2024-06-20 15:39 ` Alexander A. Filippov @ 2024-06-21 7:29 ` Bala Subramaniyan 2024-06-24 8:32 ` Alexander A. Filippov 0 siblings, 1 reply; 8+ messages in thread From: Bala Subramaniyan @ 2024-06-21 7:29 UTC (permalink / raw) To: Alexander A. Filippov; +Cc: Thangaraj S, openbmc@lists.ozlabs.org, Lalit Kumar [-- Attachment #1.1: Type: text/plain, Size: 18488 bytes --] Hi Alexander, Thanks for the reply, Could you please suggest an approach to way forward. Below are the requirements. 1. BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. 2. Send/Receive IPMI commands through IPMITOOL<https://github.com/openbmc/ipmitool/>. 3. Send/Receive SDR, SEL logs between two BMC's. Thanks, and regards, Bala Subramaniyan M. [cid:c0cbe0bc-b674-45a4-9cc5-477a0a219193]<https://www.ltts.com/> 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<https://www.ltts.com/> ________________________________ From: Alexander A. Filippov <a.filippov@yadro.com> Sent: Thursday, June 20, 2024 9:09 PM To: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> Cc: Alexander A. Filippov <a.filippov@yadro.com>; openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> Subject: Re: Help with IPMB (IPMI over I2C). 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 On Thu, Jun 20, 2024 at 01:29:18PM +0000, Bala Subramaniyan wrote: > Hi Alexander, > > Thanks for your reply, > > ipmitool has raw and i2c commands. > > Commands: > raw Send a RAW IPMI request and print response > i2c Send an I2C Master Write-Read command and print response > spd Print SPD info from remote I2C device > lan Configure LAN Channels > > > As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool%2Fblob%2Fmaster%2Flib%2Fipmi_raw.c&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744765697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=sQIaT9zo8mKDtWbF8KdZnyf35jn%2B%2FBPlEwrh0tL9rV0%3D&reserved=0> which is handling I2C Master Read-Write functionality. > > Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. > > Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. > root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 > ipmi_master_write_read: rsp_value:6207408, LineNo:104 > I2C Master Write-Read command failed: Invalid command > ipmi_rawi2c_main: rsp_value:0, LineNo:264 > Unable to perform I2C Master Write-Read > This command doesn't define a transport for the IPMI command. It asks a remote system to write specified bytes and read an answer via i2c bus on that remote system. And ipmitool uses the default interface (or specified one via `-I` option) for this command. As I understood Your first message, You are looking for a transport interface working via i2c, and I don't know the such implementations. It should be something that You can specify via `-I` option of ipmitool. By default ipmitool in OpenBMC uses `dbus` as the transport. > Thanks, and regards, > Bala Subramaniyan M, > > > > > [cid:8c0f8170-e1d0-4031-a57d-20b6a72ccf58]<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744773561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Gc47QOZGRP5O7K8T23JYBjkHqMzjFMsR88ecfygbq%2Fg%3D&reserved=0> > > > S1 Building, L&T Tech Park, Bellary Road, > > Next to Raintree Boulevard, Park View Layout, > > Byatarayanapura, Bengaluru-560092 > > Mobile: +91 9677035467 > > ENGINEERING THE CHANGE | https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744779111%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=LZgcENCI1k8SHeyxdJyux593EPlJ76bzUuIC%2B4wPahs%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744783277%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=N2hXDj4XNNY2k4M83fPv6uR6X7XXUNFySYhMlOk%2F8SI%3D&reserved=0><http://www.ltts.com/> > > > > ________________________________ > From: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> > Sent: Thursday, June 20, 2024 6:55 PM > To: Alexander A. Filippov <a.filippov@yadro.com> > Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> > Subject: Re: Help with IPMB (IPMI over I2C). > > Hi Alexander, > > Thanks for your reply, > > ipmitool has raw and i2c commands, Please refer below image. > > [cid:87b5aef4-9628-47c7-b7d4-b714b7a92869] > > As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool%2Fblob%2Fmaster%2Flib%2Fipmi_raw.c&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744787269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=WeGkVBWE2vqryoJ%2BpzbTeHJJUWtSpBgZtMsl5KtUP5Y%3D&reserved=0> which is handling I2C Master Read-Write functionality. > > Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. > > Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. > root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 > ipmi_master_write_read: rsp_value:6207408, LineNo:104 > I2C Master Write-Read command failed: Invalid command > ipmi_rawi2c_main: rsp_value:0, LineNo:264 > Unable to perform I2C Master Write-Read > > > Thanks, and regards, > Bala Subramaniyan M, > > > > [cid:08db76b7-f643-4b96-8acd-5325e19c1e99]<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744791162%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=1GSmh1Pl%2BuTiSBMC7gGRqJtfklIzGmZ%2FSo%2FH3WOc4p0%3D&reserved=0> > > > S1 Building, L&T Tech Park, Bellary Road, > > Next to Raintree Boulevard, Park View Layout, > > Byatarayanapura, Bengaluru-560092 > > Mobile: +91 9677035467 > > ENGINEERING THE CHANGE | https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744795243%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=p%2B7igJmYz8u%2Br8WSr3Q5tQsyOgIjyqAV6dvmGBvfFq8%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744798940%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=HyR%2Bcna4eZOvzQN5x7FqYP9UQesECVGIAPnnaoi6H84%3D&reserved=0><http://www.ltts.com/> > > > > ________________________________ > From: Alexander A. Filippov <a.filippov@yadro.com> > Sent: Thursday, June 20, 2024 6:06 PM > To: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> > Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> > Subject: Re: Help with IPMB (IPMI over I2C). > > 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 > > On Thu, Jun 20, 2024 at 10:43:59AM +0000, Bala Subramaniyan wrote: > > Hi All, > > Hi, > > > > > For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with IPMITOOL<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744802984%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=GC02wwEeHQ9qpASA0c0I2t%2BjSMlHz9ZRq%2Bfpxy%2FapmM%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744806939%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=82y7wAToBrDfZIkZRezCoQxzpxzqhYpQO3Y55AifF9c%3D&reserved=0<https://github.com/openbmc/ipmitool>>>. > > > > Development Board: ASPEED AST2600 EVB > > > > Could you please suggest us how to proceed further with our below requirement. > > > > 1. > > BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. > > 2. > > Send/Receive IPMI commands through IPMITOOL<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744811172%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=7qPcq%2FNzNZcT3HkPzYt%2FT1TUOAPSuiDJN1qE1JX9L1E%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744814924%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2F%2Fj8xGUvk6inxfHDTnABEsTV9sKo9cKp5AGJ4QggwqU%3D&reserved=0<https://github.com/openbmc/ipmitool>>> from one BMC to other. > > 3. > > Send/Receive SDR, SEL logs between two BMC's. > > > > Any help would be highly appreciated. > > > > > > As I can see, ipmitool has no any interfaces using i2c directly and I never > listen about using i2c as the ipmi transport. > > Google shows me that the similar question already exists and answered: > https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fipmitool%2Fipmitool%2Fdiscussions%2F296&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744818379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=V7u1FjjwCPOAFEFIZ0BAZPTvBnXAAvJ5V%2B%2BjZU37fDw%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fipmitool%2Fipmitool%2Fdiscussions%2F296&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744821873%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=pruQV4OVTvDxqgq94AH7erS0pxVinHfjAqlW9%2BJ2x78%3D&reserved=0><https://github.com/ipmitool/ipmitool/discussions/296> > > As an alternative, You could use lan/lanplus interfaces to communicate with > remote BMC via ethernet. > > > > > > Thanks, and regards, > > Bala Subramaniyan M, > > > > > > > > [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%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744825423%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=mEPJ1NiBT0nIBtqH6CymCHrswmHBhb3UGXUC813RCs8%3D&reserved=0> > > > > > > S1 Building, L&T Tech Park, Bellary Road, > > > > Next to Raintree Boulevard, Park View Layout, > > > > Byatarayanapura, Bengaluru-560092 > > > > Mobile: +91 9677035467 > > > > ENGINEERING THE CHANGE | https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744829092%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=GdWTZ34APtITjhplTyz5f1LxZdDmpOyaO%2BjMUzI9h%2FA%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744832693%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=T%2FKaZ6o4M%2FgeBuakvxFI9Fp84n1ISXCU%2FJyGKYOXfBc%3D&reserved=0><https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744836436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=w1Jmk1S8WEt5nfTAgWC8xmdJ%2BsPCANJvV7j5oSst%2FTE%3D&reserved=0><http://www.ltts.com/> > > > > > > > > [Ltts.com] > > > > L&T Technology Services Ltd > > > > https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744840097%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=VaMxCES6V7qlsf6nEd3EjQt9Z6XJQDZyCRWc8xWRPYM%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744843870%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=vGwyZ9JiQL8rq84V4cyFUF6oq8zgk%2FuY1BWFU%2BhiRZk%3D&reserved=0><http://www.ltts.com/> > > > > L&T Technology Services Limited (LTTS) is committed to safeguard your privacy. Read the appropriate privacy notice<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fprivacy-policies-notices&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744847397%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=lG2z6dFm80s0oZRXtyv5pmi43S%2BcX9bxaooU%2FO1zAlo%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fprivacy-policies-notices&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744851086%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=y%2BMMmKKFtM%2By06EH9iC2rM39IKsg2GKeqT21%2FzC4MtY%3D&reserved=0<https://www.ltts.com/privacy-policies-notices>>> applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our 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%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744854952%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=6lXolxhbmqyKJsTFXqmuJBB3y4H%2BqPViYwCipoTGgPY%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fdata-privacy-policy&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744858658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=G02ipd8nDw%2FgIUbNhbF9X%2FlDdVLEu6PED8Vs1X%2Bf3%2FI%3D&reserved=0<https://www.ltts.com/data-privacy-policy>>> available on our website https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744862422%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=WNmcpxHSxuE%2B3QyPQDWIA%2Bg%2FB2heNLkU54e%2FB5yujr0%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744866461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=k7gVerT9KSOp7enKmThxwY4ztDa3dmfVpkxPkaHR39o%3D&reserved=0><http://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. -- Regads, Alexander Filippov [-- Attachment #1.2: Type: text/html, Size: 26236 bytes --] [-- Attachment #2: Outlook-plmfv3o3.png --] [-- Type: image/png, Size: 99 bytes --] [-- Attachment #3: Outlook-srw23pzd.png --] [-- Type: image/png, Size: 5482 bytes --] [-- Attachment #4: Outlook-b3hsgxnc.png --] [-- Type: image/png, Size: 99 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Help with IPMB (IPMI over I2C). 2024-06-21 7:29 ` Bala Subramaniyan @ 2024-06-24 8:32 ` Alexander A. Filippov 0 siblings, 0 replies; 8+ messages in thread From: Alexander A. Filippov @ 2024-06-24 8:32 UTC (permalink / raw) To: Bala Subramaniyan Cc: Thangaraj S, openbmc@lists.ozlabs.org, Alexander A. Filippov, Lalit Kumar On Fri, Jun 21, 2024 at 07:29:38AM +0000, Bala Subramaniyan wrote: > Hi Alexander, > > Thanks for the reply, > > Could you please suggest an approach to way forward. > > Below are the requirements. > > 1. > BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. > 2. > Send/Receive IPMI commands through IPMITOOL<https://github.com/openbmc/ipmitool/>. > 3. > Send/Receive SDR, SEL logs between two BMC's. > Hi Bala, I guess You will have to write the implementation of IPMI transport for both sides of this channel: 1. The plugin for `ipmitool` that will pack the IPMI commands to i2c/smbus (for the master side) 2. The plugin for `phosphor-host-ipmid`, receiving commands from i2c-slave connection But it seems to me this work doesn't cost the efforts. I guess You would achieve the required functionally if You connect both BMC via ethernet. It seems to me the such solution would be significantly easier in the described conditions. Or You could go by another way and transfer via existing i2c-channel some other data isn't relying on IPMI. It depends on the global task You are solving to. > > Thanks, and regards, > Bala Subramaniyan M. > > > > [cid:c0cbe0bc-b674-45a4-9cc5-477a0a219193]<https://www.ltts.com/> > > > 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<https://www.ltts.com/> > > > > ________________________________ > From: Alexander A. Filippov <a.filippov@yadro.com> > Sent: Thursday, June 20, 2024 9:09 PM > To: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> > Cc: Alexander A. Filippov <a.filippov@yadro.com>; openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> > Subject: Re: Help with IPMB (IPMI over I2C). > > 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 > > On Thu, Jun 20, 2024 at 01:29:18PM +0000, Bala Subramaniyan wrote: > > Hi Alexander, > > > > Thanks for your reply, > > > > ipmitool has raw and i2c commands. > > > > Commands: > > raw Send a RAW IPMI request and print response > > i2c Send an I2C Master Write-Read command and print response > > spd Print SPD info from remote I2C device > > lan Configure LAN Channels > > > > > > As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool%2Fblob%2Fmaster%2Flib%2Fipmi_raw.c&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744765697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=sQIaT9zo8mKDtWbF8KdZnyf35jn%2B%2FBPlEwrh0tL9rV0%3D&reserved=0> which is handling I2C Master Read-Write functionality. > > > > Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. > > > > Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. > > root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 > > ipmi_master_write_read: rsp_value:6207408, LineNo:104 > > I2C Master Write-Read command failed: Invalid command > > ipmi_rawi2c_main: rsp_value:0, LineNo:264 > > Unable to perform I2C Master Write-Read > > > > > This command doesn't define a transport for the IPMI command. It asks a remote > system to write specified bytes and read an answer via i2c bus on that remote > system. And ipmitool uses the default interface (or specified one via `-I` > option) for this command. > > As I understood Your first message, You are looking for a transport interface > working via i2c, and I don't know the such implementations. > > It should be something that You can specify via `-I` option of ipmitool. > By default ipmitool in OpenBMC uses `dbus` as the transport. > > > > Thanks, and regards, > > Bala Subramaniyan M, > > > > > > > > > > [cid:8c0f8170-e1d0-4031-a57d-20b6a72ccf58]<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744773561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Gc47QOZGRP5O7K8T23JYBjkHqMzjFMsR88ecfygbq%2Fg%3D&reserved=0> > > > > > > S1 Building, L&T Tech Park, Bellary Road, > > > > Next to Raintree Boulevard, Park View Layout, > > > > Byatarayanapura, Bengaluru-560092 > > > > Mobile: +91 9677035467 > > > > ENGINEERING THE CHANGE | https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744779111%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=LZgcENCI1k8SHeyxdJyux593EPlJ76bzUuIC%2B4wPahs%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744783277%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=N2hXDj4XNNY2k4M83fPv6uR6X7XXUNFySYhMlOk%2F8SI%3D&reserved=0><http://www.ltts.com/> > > > > > > > > ________________________________ > > From: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> > > Sent: Thursday, June 20, 2024 6:55 PM > > To: Alexander A. Filippov <a.filippov@yadro.com> > > Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> > > Subject: Re: Help with IPMB (IPMI over I2C). > > > > Hi Alexander, > > > > Thanks for your reply, > > > > ipmitool has raw and i2c commands, Please refer below image. > > > > [cid:87b5aef4-9628-47c7-b7d4-b714b7a92869] > > > > As, I can see ipmi_rawi2c_main() function under ipmitool/lib/ipmi_raw.c<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool%2Fblob%2Fmaster%2Flib%2Fipmi_raw.c&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744787269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=WeGkVBWE2vqryoJ%2BpzbTeHJJUWtSpBgZtMsl5KtUP5Y%3D&reserved=0> which is handling I2C Master Read-Write functionality. > > > > Can you please guide us on this, Whether we can use this to perform BMC-to-BMC communication. > > > > Below is the error i'm getting while performing BMC-to-BMC Master-Slave Read-Write by connecting two i2c buses between the boards. > > root@ast2600-default:~# ipmitool i2c bus=14 0x12 0x00 0x00 0x00 0x31 0x32 0x33 0x34 > > ipmi_master_write_read: rsp_value:6207408, LineNo:104 > > I2C Master Write-Read command failed: Invalid command > > ipmi_rawi2c_main: rsp_value:0, LineNo:264 > > Unable to perform I2C Master Write-Read > > > > > > Thanks, and regards, > > Bala Subramaniyan M, > > > > > > > > [cid:08db76b7-f643-4b96-8acd-5325e19c1e99]<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744791162%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=1GSmh1Pl%2BuTiSBMC7gGRqJtfklIzGmZ%2FSo%2FH3WOc4p0%3D&reserved=0> > > > > > > S1 Building, L&T Tech Park, Bellary Road, > > > > Next to Raintree Boulevard, Park View Layout, > > > > Byatarayanapura, Bengaluru-560092 > > > > Mobile: +91 9677035467 > > > > ENGINEERING THE CHANGE | https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744795243%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=p%2B7igJmYz8u%2Br8WSr3Q5tQsyOgIjyqAV6dvmGBvfFq8%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744798940%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=HyR%2Bcna4eZOvzQN5x7FqYP9UQesECVGIAPnnaoi6H84%3D&reserved=0><http://www.ltts.com/> > > > > > > > > ________________________________ > > From: Alexander A. Filippov <a.filippov@yadro.com> > > Sent: Thursday, June 20, 2024 6:06 PM > > To: Bala Subramaniyan <Bala.Subramaniyan@Ltts.com> > > Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>; Thangaraj S <Thangaraj.S@Ltts.com>; Lalit Kumar <Lalit.Kumar2@ltts.com> > > Subject: Re: Help with IPMB (IPMI over I2C). > > > > 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 > > > > On Thu, Jun 20, 2024 at 10:43:59AM +0000, Bala Subramaniyan wrote: > > > Hi All, > > > > Hi, > > > > > > > > For one of our requirement (BMC to BMC, IPMI over I2C), We're exploring with IPMITOOL<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744802984%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=GC02wwEeHQ9qpASA0c0I2t%2BjSMlHz9ZRq%2Bfpxy%2FapmM%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744806939%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=82y7wAToBrDfZIkZRezCoQxzpxzqhYpQO3Y55AifF9c%3D&reserved=0<https://github.com/openbmc/ipmitool>>>. > > > > > > Development Board: ASPEED AST2600 EVB > > > > > > Could you please suggest us how to proceed further with our below requirement. > > > > > > 1. > > > BMC to BMC (IPMI over I2C), One BMC as Master and other as slave. > > > 2. > > > Send/Receive IPMI commands through IPMITOOL<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744811172%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=7qPcq%2FNzNZcT3HkPzYt%2FT1TUOAPSuiDJN1qE1JX9L1E%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fipmitool&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744814924%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2F%2Fj8xGUvk6inxfHDTnABEsTV9sKo9cKp5AGJ4QggwqU%3D&reserved=0<https://github.com/openbmc/ipmitool>>> from one BMC to other. > > > 3. > > > Send/Receive SDR, SEL logs between two BMC's. > > > > > > Any help would be highly appreciated. > > > > > > > > > > As I can see, ipmitool has no any interfaces using i2c directly and I never > > listen about using i2c as the ipmi transport. > > > > Google shows me that the similar question already exists and answered: > > https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fipmitool%2Fipmitool%2Fdiscussions%2F296&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744818379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=V7u1FjjwCPOAFEFIZ0BAZPTvBnXAAvJ5V%2B%2BjZU37fDw%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fipmitool%2Fipmitool%2Fdiscussions%2F296&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744821873%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=pruQV4OVTvDxqgq94AH7erS0pxVinHfjAqlW9%2BJ2x78%3D&reserved=0><https://github.com/ipmitool/ipmitool/discussions/296> > > > > As an alternative, You could use lan/lanplus interfaces to communicate with > > remote BMC via ethernet. > > > > > > > > > > Thanks, and regards, > > > Bala Subramaniyan M, > > > > > > > > > > > > [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%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744825423%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=mEPJ1NiBT0nIBtqH6CymCHrswmHBhb3UGXUC813RCs8%3D&reserved=0> > > > > > > > > > S1 Building, L&T Tech Park, Bellary Road, > > > > > > Next to Raintree Boulevard, Park View Layout, > > > > > > Byatarayanapura, Bengaluru-560092 > > > > > > Mobile: +91 9677035467 > > > > > > ENGINEERING THE CHANGE | https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744829092%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=GdWTZ34APtITjhplTyz5f1LxZdDmpOyaO%2BjMUzI9h%2FA%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744832693%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=T%2FKaZ6o4M%2FgeBuakvxFI9Fp84n1ISXCU%2FJyGKYOXfBc%3D&reserved=0><https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744836436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=w1Jmk1S8WEt5nfTAgWC8xmdJ%2BsPCANJvV7j5oSst%2FTE%3D&reserved=0><http://www.ltts.com/> > > > > > > > > > > > > [Ltts.com] > > > > > > L&T Technology Services Ltd > > > > > > https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744840097%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=VaMxCES6V7qlsf6nEd3EjQt9Z6XJQDZyCRWc8xWRPYM%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744843870%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=vGwyZ9JiQL8rq84V4cyFUF6oq8zgk%2FuY1BWFU%2BhiRZk%3D&reserved=0><http://www.ltts.com/> > > > > > > L&T Technology Services Limited (LTTS) is committed to safeguard your privacy. Read the appropriate privacy notice<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fprivacy-policies-notices&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744847397%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=lG2z6dFm80s0oZRXtyv5pmi43S%2BcX9bxaooU%2FO1zAlo%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fprivacy-policies-notices&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744851086%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=y%2BMMmKKFtM%2By06EH9iC2rM39IKsg2GKeqT21%2FzC4MtY%3D&reserved=0<https://www.ltts.com/privacy-policies-notices>>> applicable to you to know more about how LTTS collects, uses and stores your personal data. Please visit our 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%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744854952%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=6lXolxhbmqyKJsTFXqmuJBB3y4H%2BqPViYwCipoTGgPY%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ltts.com%2Fdata-privacy-policy&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744858658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=G02ipd8nDw%2FgIUbNhbF9X%2FlDdVLEu6PED8Vs1X%2Bf3%2FI%3D&reserved=0<https://www.ltts.com/data-privacy-policy>>> available on our website https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744862422%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=WNmcpxHSxuE%2B3QyPQDWIA%2Bg%2FB2heNLkU54e%2FB5yujr0%3D&reserved=0<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ltts.com%2F&data=05%7C02%7CBala.Subramaniyan%40ltts.com%7C2331d0069a2946fc9fcd08dc913f2bc6%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C638544947744866461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=k7gVerT9KSOp7enKmThxwY4ztDa3dmfVpkxPkaHR39o%3D&reserved=0><http://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. -- Regads, Alexander Filippov ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Help with IPMB (IPMI over I2C). 2024-06-20 10:43 Help with IPMB (IPMI over I2C) Bala Subramaniyan 2024-06-20 12:36 ` Alexander A. Filippov @ 2024-06-26 3:33 ` guilin1985 1 sibling, 0 replies; 8+ messages in thread From: guilin1985 @ 2024-06-26 3:33 UTC (permalink / raw) To: Bala Subramaniyan, openbmc@lists.ozlabs.org; +Cc: Thangaraj S, Lalit Kumar [-- 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 --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-06-26 3:50 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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.