<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI Emoji";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;
mso-ligatures:none;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoPlainText">Thanks Andrew,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I wish I had the experience to help with the review process
<span style="font-family:"Segoe UI Emoji",sans-serif">😊</span><o:p></o:p></p>
<p class="MsoPlainText">I have more than 2 decades experience with bare metal embedded systems but no experience with Embedded Linux\Yocto nor OpenBMC (nor Gerrit).<o:p></o:p></p>
<p class="MsoPlainText">It's all new to me and came to realize that many guides \ documentations I find on the web are old and doesn't work anymore on OpenBMC (e.g. using the oe-init-build-env vs setup script).<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I am happy to assist and contribute but I need some guidance.<o:p></o:p></p>
<p class="MsoPlainText">I have only 2 weeks experience with OpenBMC.<o:p></o:p></p>
<p class="MsoPlainText">I have succeeded to build few platforms and run them (e.g. qemuarm and RaspberryPi4).<o:p></o:p></p>
<p class="MsoPlainText">I watched many youtube videos on OpenBMC which gave me a good overall understanding but when it comes to start coding or adding new stuff I am lost.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">If we start our development with NVMe-MI basic management command as a starting point, what steps would you recommend we need to take?<o:p></o:p></p>
<p class="MsoPlainText">Can we use the PaspberryPi4 for this initial implementation?<o:p></o:p></p>
<p class="MsoPlainText">We have a basic OpenBMC image on this RaspPi and we have it's I2C connected to our PCIe card (which is using a Desktop as the host PC).<o:p></o:p></p>
<p class="MsoPlainText">(BTW, the i2c-dev module is not loaded automatically and we still haven't figured out why. As a workaround, we load the module manually with modprobe i2c-dev on the OpenBMC UART terminal)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">Lior.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: Andrew Jeffery <andrew@aj.id.au> <br>
Sent: Friday, April 7, 2023 2:46 PM<br>
To: Lior Weintraub <liorw@pliops.com><br>
Cc: Ed Tanous <ed@tanous.net>; openbmc@lists.ozlabs.org; rashmica@linux.ibm.com; jianghao@google.com<br>
Subject: Re: OpenBMC - Support NVMe drive health monitoring</p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">CAUTION: External Sender<o:p></o:p></p>
<p class="MsoPlainText"><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoPlainText">On Fri, 7 Apr 2023, at 19:50, Lior Weintraub wrote:<o:p></o:p></p>
<p class="MsoPlainText">> Hi Jet,<o:p></o:p></p>
<p class="MsoPlainText"><span dir="RTL"></span><span dir="RTL"></span><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><span dir="RTL"></span><span dir="RTL"></span>><o:p> </o:p></span></p>
<p class="MsoPlainText"><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR"></span>> My name is Lior Weintraub and I face exactly the same task that you
<o:p></o:p></p>
<p class="MsoPlainText">> handled 2 years ago <span style="font-family:"Segoe UI Emoji",sans-serif">
😊</span><o:p></o:p></p>
<p class="MsoPlainText">> I found this mailing list thread on OpenBmc:<o:p></o:p></p>
<p class="MsoPlainText">> <a href="https://lists.ozlabs.org/pipermail/openbmc/2020-November/024012.html">
<span style="color:windowtext;text-decoration:none">https://lists.ozlabs.org/pipermail/openbmc/2020-November/024012.html</span></a><o:p></o:p></p>
<p class="MsoPlainText"><span dir="RTL"></span><span dir="RTL"></span><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><span dir="RTL"></span><span dir="RTL"></span>><o:p> </o:p></span></p>
<p class="MsoPlainText"><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR"></span>> Can you please advice about the current status of this issue?<o:p></o:p></p>
<p class="MsoPlainText">> I need to add OOB support to our NVMe device (supporting NVMe MI ->
<o:p></o:p></p>
<p class="MsoPlainText">> MCTP with SMBus binding).<o:p></o:p></p>
<p class="MsoPlainText">> For this task we plan to buy the AST2600 development <o:p>
</o:p></p>
<p class="MsoPlainText">> kit<<a href="https://portwell.com/solutions/openBMC.php"><span style="color:windowtext;text-decoration:none">https://portwell.com/solutions/openBMC.php</span></a>> and use the OpenBMC
<o:p></o:p></p>
<p class="MsoPlainText">> for our development and testing.<o:p></o:p></p>
<p class="MsoPlainText"><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoPlainText">Currently OpenBMC only supports NVMe-MI via the basic management command. See phosphor-nvme or nvmesensor from dbus-sensors. We're working on migrating the OpenBMC MCTP stack to the AF_MCTP sockets that are now provided by Linux.<o:p></o:p></p>
<p class="MsoPlainText"><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoPlainText">Please help review and test Rashmica's work in Gerrit to speed that process along:<o:p></o:p></p>
<p class="MsoPlainText"><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoPlainText"><a href="https://gerrit.openbmc.org/q/topic:AF_MCTP"><span style="color:windowtext;text-decoration:none">https://gerrit.openbmc.org/q/topic:AF_MCTP</span></a><o:p></o:p></p>
<p class="MsoPlainText"><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoPlainText">Along with Hao Jiang's work to exploit libnvme-mi in nvmesensor:<o:p></o:p></p>
<p class="MsoPlainText"><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoPlainText"><a href="https://gerrit.openbmc.org/q/topic:nvme-mi"><span style="color:windowtext;text-decoration:none">https://gerrit.openbmc.org/q/topic:nvme-mi</span></a><o:p></o:p></p>
<p class="MsoPlainText"><span lang="HE" dir="RTL" style="font-size:10.5pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoPlainText">Andrew<o:p></o:p></p>
</div>
</body>
</html>