<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:MingLiU;
panose-1:2 2 5 9 0 0 0 0 0 0;}
@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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"\@MingLiU";
panose-1:2 1 6 9 0 1 1 1 1 1;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:24.0pt;
margin-bottom:.0001pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:0in;
mso-para-margin-left:2.0gd;
mso-para-margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Calibri",sans-serif;}
p.HTML, li.HTML, div.HTML
{mso-style-name:"HTML 預設格式";
mso-style-link:"HTML 預設格式 字元";
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
span.HTML0
{mso-style-name:"HTML 預設格式 字元";
mso-style-priority:99;
mso-style-link:"HTML 預設格式";
font-family:MingLiU;}
p.a, li.a, div.a
{mso-style-name:註解方塊文字;
mso-style-link:"註解方塊文字 字元";
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
span.a0
{mso-style-name:"註解方塊文字 字元";
mso-style-priority:99;
mso-style-link:註解方塊文字;
font-family:"Cambria",serif;}
span.EmailStyle27
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle28
{mso-style-type:personal;
font-family:"Times New Roman",serif;
color:#1F497D;}
span.EmailStyle29
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle30
{mso-style-type:personal;
font-family:"Times New Roman",serif;
color:#1F497D;}
span.EmailStyle31
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle32
{mso-style-type:personal;
font-family:"Times New Roman",serif;
color:#1F497D;}
span.EmailStyle33
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:182481562;
mso-list-template-ids:-2119655358;}
@list l0:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1
{mso-list-id:1437361603;
mso-list-template-ids:-1977822422;}
@list l1:level1
{mso-level-start-at:3;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks Tony,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I will try that.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Tony_Ao@wiwynn.com" <Tony_Ao@wiwynn.com><br>
<b>Date: </b>Thursday, January 24, 2019 at 5:58 PM<br>
<b>To: </b>Vijay Khemka <vijaykhemka@fb.com>, "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org><br>
<b>Subject: </b>RE: configuring lpc register from user space<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Hi Vijay,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Maybe you can try this way.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Use ‘<b>mknod -m 660 /dev/mem c 1 1</b>’ to create /dev/mem in the BMC runtime system(This way does not require a system reboot. Please refer to
Snapshot#1)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">But /dev/mem will disappear when you reboot the system.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">So I suggest you can use the mknod to create /dev/mem in the runtime environment.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">In order to avoid the /dev/mem disappear when system rebooting, you can use mem.devmem parameters(once you set it, the value will be kept in the
flash) to prevent this situation. </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">You can refer to mem.devmem setting in the previous mail.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Snapshot#1</span><o:p></o:p></p>
<p class="MsoNormal"><img width="364" height="137" style="width:3.7916in;height:1.427in" id="_x0000_i1027" src="cid:image001.png@01D4B413.C1DC0FF0" alt="cid:image003.png@01D4B48F.40B713D0"><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Tony</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Vijay Khemka [mailto:vijaykhemka@fb.com]
<br>
<b>Sent:</b> Friday, January 25, 2019 2:35 AM<br>
<b>To:</b> Tony Ao/WYHQ/Wiwynn; openbmc@lists.ozlabs.org<br>
<b>Subject:</b> Re: configuring lpc register from user space</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Tony,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">It is not feasible to set boot parameter and reboot in production release. We need to set some lpc register while system is booting.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-Vijay</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Tony_Ao@wiwynn.com" <Tony_Ao@wiwynn.com><br>
<b>Date: </b>Wednesday, January 23, 2019 at 5:31 PM<br>
<b>To: </b>Vijay Khemka <vijaykhemka@fb.com>, "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org><br>
<b>Subject: </b>RE: configuring lpc register from user space</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Hi Vijay,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">The following steps for your reference.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">In BMC OS,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Use
<b>fw_printenv</b> to check the bootargs</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Use
<b>fw_setenv </b>to append<b> mem.devmem=1 </b>to the bootargs</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">root@tiogapass:~# fw_setenv bootargs console=ttyS4,115200n8 root=/dev/ram rw mem.devmem=1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;mso-list:l1 level1 lfo4">
<![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Use
<b>fw_printenv </b>to check the bootargs again</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;mso-list:l1 level1 lfo4">
<![if !supportLists]><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Reboot the BMC system</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;mso-list:l1 level1 lfo4">
<![if !supportLists]><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">When BMC is ready, you can use
<b>devmem</b> to modify the register values</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">The snapshots:</span><o:p></o:p></p>
<p class="MsoNormal"><img width="714" height="255" style="width:7.4375in;height:2.6562in" id="圖片_x0020_1" src="cid:image002.png@01D4B413.C1DC0FF0" alt="cid:image002.png@01D4B3C7.7B047320"><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><img width="300" height="61" style="width:3.125in;height:.6354in" id="圖片_x0020_3" src="cid:image003.png@01D4B413.C1DC0FF0" alt="cid:image003.png@01D4B3C7.7B047320"><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Tony</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Vijay Khemka [mailto:vijaykhemka@fb.com]
<br>
<b>Sent:</b> Thursday, January 24, 2019 2:26 AM<br>
<b>To:</b> Tony Ao/WYHQ/Wiwynn; openbmc@lists.ozlabs.org<br>
<b>Subject:</b> Re: configuring lpc register from user space</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Tony,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">How do you append this to bootargs, can you please give me some example and I have to enable this in my production code.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-Vijay</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Tony_Ao@wiwynn.com" <Tony_Ao@wiwynn.com><br>
<b>Date: </b>Tuesday, January 22, 2019 at 9:22 PM<br>
<b>To: </b>Vijay Khemka <vijaykhemka@fb.com>, "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org><br>
<b>Subject: </b>RE: configuring lpc register from user space</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D">Hi Vijay,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D">If you want to use devmem to set the specific register, you can append mem.devmem to bootargs and restart the system.</span><o:p></o:p></p>
<pre style="margin-bottom:7.5pt;mso-line-height-alt:10.75pt;background:white;word-break:break-all"><span style="font-family:"Times New Roman",serif;color:#1F497D">Then you can set the specific register using devmem.</span><o:p></o:p></pre>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D">You can refer the below link for details.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__patchwork.ozlabs.org_patch_982894_&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=KA69FVnlR8bLEMZ31BR4OQYBvagLgpv1hn8STKGirbo&s=hzAe_Ozp-uao2QqzTI-4i7xWFnFPihbN1lFEqIUy0aA&e=">https://patchwork.ozlabs.org/patch/982894/</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN">Tony
</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> openbmc [mailto:openbmc-bounces+tony_ao=wiwynn.com@lists.ozlabs.org]
<b>On Behalf Of </b>Vijay Khemka<br>
<b>Sent:</b> Wednesday, January 23, 2019 8:02 AM<br>
<b>To:</b> openbmc@lists.ozlabs.org<br>
<b>Subject:</b> configuring lpc register from user space</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Team,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I know /dev/mem is not supported in production, I need to configure some lpc register to route uart output, so please suggest what is the best ways to do the same. Is there any application or driver interface
available which can be used to set some lpc register like 0x1E78909C.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-Vijay</span><o:p></o:p></p>
</div>
</body>
</html>