<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I’m having great difficulty getting IPMB to work with IPMBBridgeD.
<div class=""><br class="">
</div>
<div class="">I have Haiyue’s patch, have enabled slave-mqueue in the .cfg file, have written to enable the option (though ipmbbridged now does that itself).</div>
<div class=""><br class="">
</div>
<div class="">I had it working at one point, but after rebooting can’t get back to where I was…</div>
<div class=""><br class="">
</div>
<div class="">Error I’m getting:</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Jan 01 01:06:32 tiogapass ipmbbridged[305]:
</span><span style="font-variant-ligatures: no-common-ligatures; color: #fef48b; background-color: #000000" class="">[</span><span style="font-variant-ligatures: no-common-ligatures" class="">[0;1;31m</span><span style="font-variant-ligatures: no-common-ligatures; color: #fef48b; background-color: #000000" class="">[</span><span style="font-variant-ligatures: no-common-ligatures" class="">[0;1;39m</span><span style="font-variant-ligatures: no-common-ligatures; color: #fef48b; background-color: #000000" class="">[</span><span style="font-variant-ligatures: no-common-ligatures" class="">[0;1;31mprocessI2cEvent:
 error getting response from IPMI</span><span style="font-variant-ligatures: no-common-ligatures; color: #fef48b; background-color: #000000" class="">[</span><span style="font-variant-ligatures: no-common-ligatures" class="">[0m</span></div>
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Tiogapass.cfg:</span></font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[wilfred@centos-linux-for-openbmc linux-aspeed]$ cat tiogapass.cfg </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_SENSORS_TMP421=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_SENSORS_MAX31785=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_RTC_DRV_RV8803=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_TCG_TPM=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_TCG_TIS_I2C_INFINEON=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_NCSI_OEM_CMD_GET_MAC=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_I2C_SLAVE=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_I2C_SLAVE_MQUEUE_MESSAGE_SIZE=120</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_I2C_SLAVE_MQUEUE_QUEUE_SIZE=32</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(254, 244, 139);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CONFIG_I2C_SLAVE_MQUEUE=y</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 255, 255);" class=""><br class="">
</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 255, 255);" class="">Linux-aspeed_%.bbappend:</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures;" class="">
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">FILESEXTRAPATHS_prepend := "${THISDIR}/linux-aspeed:"</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">SRC_URI += "<a href="file://tiogapass.cfg" class="">file://tiogapass.cfg</a>"</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">SRC_URI += "<a href="file://PATCHv7-1-3-dt-bindings-i2c-document-bindings-for-i2c-slave-mqueue.patch" class="">file://PATCHv7-1-3-dt-bindings-i2c-document-bindings-for-i2c-slave-mqueue.patch</a>"</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">SRC_URI += "<a href="file://PATCHv7-2-3-i2c-slave-mqueue-add-a-slave-backend-to-receive-and-queue-messages.patch" class="">file://PATCHv7-2-3-i2c-slave-mqueue-add-a-slave-backend-to-receive-and-queue-messages.patch</a>"</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">SRC_URI += "<a href="file://PATCHv7-3-3-Documentation-ABI-Add-i2c-slave-mqueue-sysfs-documentation.patch" class="">file://PATCHv7-3-3-Documentation-ABI-Add-i2c-slave-mqueue-sysfs-documentation.patch</a>”</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 255, 255);" class="">I have done echo slave-mqueue 0x1010 > /sys/bus/i2c/devices/i2c-5/new_device</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class="">
</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: rgb(255, 255, 255);" class="">For my busses of interest (4 and 9)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class="">
</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 255, 255);" class="">/usr/share/ipmbbridge/ipmb-channels.json:</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 255, 255);" class="">{</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  "channels": [</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    {</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "type": "me",</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "master-path": "/dev/i2c-4",</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "slave-path": "/sys/bus/i2c/devices/4-1010/slave-mqueue",</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "bmc-addr": 32,</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "remote-addr": 44</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    },</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    {</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "type": "ipmb",</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "master-path": "/dev/i2c-9",</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "slave-path": "/sys/bus/i2c/devices/9-1010/slave-mqueue",</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "bmc-addr": 32,</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">      "remote-addr": 96</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    }</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  ]</span></div>
<div style="background-color: rgb(254, 244, 139); margin: 0px; font-stretch: normal; line-height: normal;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">}</span></div>
</div>
</span></div>
</div>
</body>
</html>