<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:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 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:等线;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@等线";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 1 6 1 0 1 1 1 1 1;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        font-size:12.0pt;
        font-family:宋体;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:宋体;}
p.gmail-m-3943518016435637397msolistparagraph, li.gmail-m-3943518016435637397msolistparagraph, div.gmail-m-3943518016435637397msolistparagraph
        {mso-style-name:gmail-m_-3943518016435637397msolistparagraph;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:宋体;}
p.gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph, li.gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph, div.gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph
        {mso-style-name:gmail-m_-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:宋体;}
p.gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696, li.gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696, div.gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696
        {mso-style-name:"gmail-m_-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:宋体;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:等线;
        color:#1F497D;}
span.src
        {mso-style-name:src;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle25
        {mso-style-type:personal-compose;
        font-family:等线;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:等线;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:136458116;
        mso-list-type:hybrid;
        mso-list-template-ids:671773502 1821301444 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%2\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:42.0pt;
        text-indent:-21.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:63.0pt;
        text-indent:-21.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:84.0pt;
        text-indent:-21.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%5\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:105.0pt;
        text-indent:-21.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:126.0pt;
        text-indent:-21.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:147.0pt;
        text-indent:-21.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%8\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:168.0pt;
        text-indent:-21.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:189.0pt;
        text-indent:-21.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="ZH-CN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW">Hi
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Patrick,</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW">Could you give me a hand on below problems? Thanks.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">I compiled the latest version of phosphor-ipmi-flash with OpenBMC SDK environment</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW">
 to build host tool</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">, but encounter configuration error message as below, could you help to take a look at it?<br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:0cm"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW">./configure --enable-oe-sdk --host "$(uname -m)" --disable-build-bmc-blob-handler  AR=x86_64-openbmc-linux-gcc-ar
 RANLIB=x86_64-openbmc-linux-gcc-ranlib<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:42.0pt;text-indent:0cm"><span lang="EN-US" style="font-family:"Calibri",sans-serif;background:silver;mso-highlight:silver">checking whether C++ compiler accepts -lgmock... yes<br>
checking whether C++ compiler accepts -pthread... (cached) yes<br>
checking for main in -lgmock... yes<br>
checking for valgrind... no<br>
checking whether to build with code coverage support... no<br>
configure: Enabling OE-SDK at /home/pengms1/SDK/openbmc-sdk/2.8.0/sysroots/core2-64-openbmc-linux<br>
<span style="color:red">configure: error: conditional "HAVE_SYSTEMD" was never defined.<br>
Usually this means the macro was only invoked conditionally.</span></span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:red"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:42.0pt;text-indent:0cm"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW">According to your suggestion, our BIOS engineer help to reserve host memory addr 0x40000000 with size 256KB and initiate this region
 with value 0xaa. I can see the value Oxaaaaaaaa from memory addr 0x40000000 via devmem2 tool. The memory region was
</span><span class="src"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;background:white">overwritten</span></span><span class="apple-converted-space"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;background:white">
 during</span></span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> executable burn_my_bmc running, I compared the content between BMC and host image but it was Inconsistent.
<span style="background:white">Could you give me some </span>advice to solve it?</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:0cm"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"><br>
<span style="background:silver;mso-highlight:silver">BMC configuration setting:<br>
EXTRA_OECONF += " --enable-reboot-update  --enable-static-layout --enable-aspeed-lpc MAPPED_ADDRESS=0x40000000 --enable-reboot-update"<o:p></o:p></span></span></p>
<p class="gmail-m-3943518016435637397msolistparagraph" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;background:silver;mso-highlight:silver">Host tool setting:<br>
./burn_my_bmc --command update --interface ipmilpc --image ./630.mtd --sig ./sig.txt --type static --address 0x40000000 --length 65536</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;mso-fareast-language:ZH-TW">Regards,<br>
Andrew<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:等线">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt;font-family:等线"> Patrick Venture <venture@google.com>
<br>
</span><b><span style="font-size:11.0pt;font-family:等线">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt;font-family:等线"> 2019</span><span style="font-size:11.0pt;font-family:等线">年<span lang="EN-US">7</span>月<span lang="EN-US">16</span>日<span lang="EN-US">
 23:38<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> Andrew MS1 Peng <pengms1@lenovo.com><br>
</span><b>抄送<span lang="EN-US">:</span></b><span lang="EN-US"> openbmc@lists.ozlabs.org; Duke KH Du <dukh@lenovo.com><br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> [External] Re: configure error and the image content seems to be incorrect<o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Tue, Jul 16, 2019 at 5:31 AM Andrew MS1 Peng <<a href="mailto:pengms1@lenovo.com">pengms1@lenovo.com</a>> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Hi Patrick,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397msolistparagraph" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">1.</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman",serif;color:black">     
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">I downloaded the latest version of phosphor-ipmi-flash to build host tool with the SDK environment you provide, but encounter configure error as below, could you help to take a look
 at it?</span><span lang="EN-US"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:21.0pt;border-collapse:collapse">
<tbody>
<tr>
<td width="333" valign="top" style="width:250.55pt;border:solid windowtext 1.0pt;background:yellow;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Source code hash id</span></b><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="85" valign="top" style="width:124.95pt;border:solid windowtext 1.0pt;border-left:none;background:yellow;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Compile Status</span></b><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="252" valign="top" style="width:16.0cm;border:solid windowtext 1.0pt;border-left:none;background:yellow;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Error message</span></b><span lang="EN-US"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="333" valign="top" style="width:250.55pt;border:solid windowtext 1.0pt;border-top:none;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">b90cacdd0c1ab8ea7576d4ca9f20aa5828a84e42</span><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="85" valign="top" style="width:124.95pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">configure successful</span><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="252" valign="top" style="width:16.0cm;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
</td>
</tr>
<tr>
<td width="333" valign="top" style="width:250.55pt;border:solid windowtext 1.0pt;border-top:none;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">fd182168d9d1c852b1047b9eccea56812b614586<br>
<span style="background:white">1999eef0e6ad3ab4ad6fcf58cce47f352ca5e137<br>
fa06a5f0056e91bfada390c4007fbd3472d75a56<br>
7c2a00e02f1f0169b3e80ef1715002cefc6fa0d0<br>
c9792e75361c86da7f674976eacd03c761021d2f</span></span><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="85" valign="top" style="width:124.95pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">configure failed</span><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="252" valign="top" style="width:16.0cm;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph">
<span lang="EN-US" style="font-family:"Calibri",sans-serif">checking whether C++ compiler accepts -lgtest... yes<br>
checking whether C++ compiler accepts -pthread... (cached) yes<br>
checking for main in -lgtest... yes<br>
checking whether C++ compiler accepts -lgmock... yes<br>
checking whether C++ compiler accepts -pthread... (cached) yes<br>
checking for main in -lgmock... yes<br>
checking for valgrind... no<br>
checking whether to build with code coverage support... no<br>
configure: Enabling OE-SDK at /home/pengms1/SDK/openbmc-sdk/2.8.0/sysroots/core2-64-openbmc-linux<br>
<span style="color:red">configure: error: conditional "HAVE_SYSTEMD" was never defined.<br>
Usually this means the macro was only invoked conditionally.</span></span><span lang="EN-US"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">2.</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman",serif;color:black">     
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">The host tool compiled with phosphor-ipmi-flash hash id b90cacdd0c1ab8ea7576d4ca9f20aa5828a84e42 and BMC flash library compiled with phosphor-ipmi-flash hash id
<span style="background:white">c9792e75361c86da7f674976eacd03c761021d2f, the BMC image can transfer from host side to BMC side via LPC bridge. The image size is correct, but the image content seems to be incorrect as below, could you give us some
</span>clues to solve it if this is an issue? </span><span lang="EN-US"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:18.0pt;border-collapse:collapse">
<tbody>
<tr>
<td width="358" valign="top" style="width:307.65pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Image of host side</span><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="316" valign="top" style="width:318.95pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Image of BMC side</span><span lang="EN-US"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="358" valign="top" style="width:307.65pt;border:solid windowtext 1.0pt;border-top:none;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">pengms1@hsbmc:/flash_tool$ hexdump -n 64 ./630.mtd
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000000 00be ea00 f014 e59f f014 e59f f014 e59f</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000010 f014 e59f f014 e59f f014 e59f f014 e59f</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000020 0060 0000 00c0 0000 0120 0000 0180 0000</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000030 01e0 0000 0240 0000 02a0 0000 beef dead</span><span lang="EN-US"><o:p></o:p></span></p>
</td>
<td width="316" valign="top" style="width:318.95pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">root@hr630:~# hexdump -n 64 /run/initramfs/bmc-image</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000000 abc4 ef4e 11f2 b128 2538 fd9c 9f7a 2e00</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000010 78c4 af6e 01f2 a92a 7438 759c 8e76 2e00</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000020 f397 05f0 84e4 6546 0ac6 b6d0 ef19 cb80</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">0000030 e9d7 82f0 c4e4 75dc 1bc6 a295 7319 49c4</span><span lang="EN-US"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696" style="margin-left:24.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">DTS setting:<br>
             flash_memory: region@98000000 {<br>
                    no-map;<br>
                    reg = <0x98000000 0x00100000>; /* 1M */<br>
             };</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397msolistparagraph" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">BMC configuration setting:<br>
EXTRA_OECONF += " --enable-reboot-update  --enable-static-layout --enable-aspeed-lpc MAPPED_ADDRESS=0x98000000 --enable-reboot-update"</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3943518016435637397msolistparagraph" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">Host tool setting:<br>
./burn_my_bmc --command update --interface ipmilpc --image ./630.mtd --sig ./sig.txt --type static --address 2550136832 --length 65536</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">The address provided for the host:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">>>> '0x%x' % 2550136832<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">'0x98000000'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Is a region of memory on the host that's set aside for this purpose and is mapped via /dev/mem.  It's not the address the BMC Is using.  You'll need to use a region reserved for this purpose in the host kernel or bios.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Thanks,<br>
Andrew</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>