<div dir="ltr">I expect you will be able to use the same command out-of-band if you add the relevant parameters to ipmitool to use the LAN. Can you report back if that isn't working for you?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 21, 2019 at 7:14 PM Tony Lee (李文富) <<a href="mailto:Tony.Lee@quantatw.com">Tony.Lee@quantatw.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ZH-TW" link="#0563C1" vlink="#954F72">
<div class="m_-3355478774038688319WordSection1">
<p class="m_-3355478774038688319MsoPlainText"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="m_-3355478774038688319MsoPlainText"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="m_-3355478774038688319MsoPlainText"><span lang="EN-US"><a href="https://github.com/openbmc/openbmc/issues/3482" target="_blank">https://github.com/openbmc/openbmc/issues/3482</a> is asking support for NVMe-MI.<u></u><u></u></span></p>
<p class="m_-3355478774038688319MsoPlainText"><span lang="EN-US">Now, we found that Google has a package called
</span><span lang="EN-US" style="font-family:"Courier New"">“</span><span lang="EN-US">google-ipmi-i2c</span><span lang="EN-US" style="font-family:"Courier New"">”</span><span lang="EN-US">. It provides a ipmi bridge command which can get the device data where
are on the i2c bus.<u></u><u></u></span></p>
<p class="m_-3355478774038688319MsoPlainText"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="m_-3355478774038688319MsoPlainText"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">There are the command and response example below:</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-family:"Arial",sans-serif">$ ipmitool -I dbus raw 0x2e 2 0x79 0x2b 0x00 14 0 0xd4 0 1 0 0xd5 0 8<br>
response: 79 2b 00 06 bb ff 2a 00 00 00 2e<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-family:"Arial",sans-serif">$</span><span lang="EN-US" style="font-family:"Arial",sans-serif">
</span><span lang="EN-US" style="font-family:"Arial",sans-serif">ipmitool -I dbus raw 0x2e 2 0x79 0x2b 0x00 14 0 0xd4 0 1 8 0xd5 0 24<br>
response : 79 2b 00 16 80 86 50 48 4c 46 37 31 31 35 30 30<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-family:"Arial",sans-serif">Response is define in NVM Express Management Interface SPEC<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">It's only used for in-band now.<u></u><u></u></span></p>
<p class="m_-3355478774038688319MsoPlainText"><span lang="EN-US">How about adding support for out-of-band for this useful OEM command?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Best Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Tony<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
</blockquote></div>