<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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-3973244268204610114msolistparagraph, li.gmail-m-3973244268204610114msolistparagraph, div.gmail-m-3973244268204610114msolistparagraph
        {mso-style-name:gmail-m_-3973244268204610114msolistparagraph;
        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-3973244268204610114gmail-m-3943518016435637397msolistparagraph, li.gmail-m-3973244268204610114gmail-m-3943518016435637397msolistparagraph, div.gmail-m-3973244268204610114gmail-m-3943518016435637397msolistparagraph
        {mso-style-name:gmail-m_-3973244268204610114gmail-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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph, li.gmail-m-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph, div.gmail-m-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742msolistparagraph
        {mso-style-name:gmail-m_-3973244268204610114gmail-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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179, li.gmail-m-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179, div.gmail-m-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179
        {mso-style-name:"gmail-m_-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:宋体;}
span.gmail-m-3973244268204610114src
        {mso-style-name:gmail-m_-3973244268204610114src;}
span.gmail-m-3973244268204610114apple-converted-space
        {mso-style-name:gmail-m_-3973244268204610114apple-converted-space;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:等线;
        color:#1F497D;}
span.EmailStyle26
        {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:1973707557;
        mso-list-type:hybrid;
        mso-list-template-ids:-1630232658 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:42.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:63.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:84.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:105.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:126.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:147.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:168.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:189.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:210.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
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:#0070C0;mso-fareast-language:ZH-TW">Hi
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">Patrick,</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0;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:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0;mso-fareast-language:ZH-TW">Please see my below comments.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0;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:#0070C0;mso-fareast-language:ZH-TW">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0;mso-fareast-language:ZH-TW">Andrew<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;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">19</span>日<span lang="EN-US">
 0:52<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>; Yonghui YH21 Liu <liuyh21@lenovo.com><br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> Re: [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 Thu, Jul 18, 2019 at 4:27 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="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> </span><span lang="EN-US"><o:p></o:p></span></p>
<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">Could you give me a hand on below problems? Thanks.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3973244268204610114msolistparagraph" style="mso-margin-top-alt:5.0pt;margin-right:0cm;margin-bottom:12.0pt;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 compiled the latest version of phosphor-ipmi-flash with OpenBMC SDK environment to build host tool, but encounter configuration error message as below, could you help to take a
 look at it?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3973244268204610114msolistparagraph" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">./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</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3973244268204610114msolistparagraph" style="margin-left:42.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;background: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"><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"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Have systemd is only important for the BMC code, so it's unimportant in this case. <o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:24.0pt"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">It block Makefile generation, how can I do to avoid this error to generate Makefile?</span><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D"><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="gmail-m-3973244268204610114msolistparagraph" style="margin-left:42.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3973244268204610114msolistparagraph" 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">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 class="gmail-m-3973244268204610114src">
<span style="background:white">overwritten</span></span><span class="gmail-m-3973244268204610114apple-converted-space"><span style="background:white"> during</span></span> 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"><o:p></o:p></span></p>
<p class="gmail-m-3973244268204610114msolistparagraph" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"><br>
<span style="background:silver">BMC configuration setting:<br>
EXTRA_OECONF += " --enable-reboot-update  --enable-static-layout --enable-aspeed-lpc MAPPED_ADDRESS=0x40000000 --enable-reboot-update"</span></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="gmail-m-3973244268204610114gmail-m-3943518016435637397msolistparagraph" style="margin-left:18.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black;background: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"><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">Interesting, so you're seeing the memory getting changed, but the bmc image doesn't match.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:24.0pt;text-indent:-24.0pt"><span lang="EN-US">Can you point me to your device tree? (for sanity checking)<br>
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">DT file is below:</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><br>
<a href="https://github.com/LenovoHS/openbmc/blob/master/meta-lenovo/meta-hr630/recipes-kernel/linux/linux-aspeed/aspeed-bmc-lenovo-hr630.dts"><span style="color:#0070C0">https://github.com/LenovoHS/openbmc/blob/master/meta-lenovo/meta-hr630/recipes-kernel/linux/linux-aspeed/aspeed-bmc-lenovo-hr630.dts</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">What's the SHA for your linux tree (I want to make sure it has the optional feature for aspeed-lpc-ctrl)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">    </span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">I don’t know where can obtain the SHA value of linux tree, could you give me clues or guidance?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Do you see any output from journalctl?  I asked last time, but this if leads with ipmid can hold some details.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoListParagraph" style="margin-left:42.0pt;text-indent:-21.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Wingdings"><span style="mso-list:Ignore">l<span style="font:7.0pt "Times New Roman""> 
</span></span></span><![endif]><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">Only host
</span></b><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0;mso-fareast-language:ZH-TW">reserve memory addr 0x</span></b><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">40000000 with 256KB, transfer data
 failed.</span></b><b><span lang="EN-US" style="font-family:"Calibri",sans-serif"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:42.0pt;mso-para-margin-left:3.5gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">## DTS setting:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        &lpc_ctrl {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">            status = "okay";<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        };   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">    <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">    ## journalctl log message:
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:06:02 hr630 ipmid[347]: Failed to ioctl Aspeed LPC map with error No such device or address<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:06:02 hr630 ipmid[347]: mappingResult.response 22<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:06:02 hr630 ipmid[347]: requesting Aspeed LPC window at 0x40000000 of size 65536<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:06:02 hr630 ipmid[347]: Failed to ioctl Aspeed LPC map with error No such device or address<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:06:02 hr630 ipmid[347]: mappingResult.response 22<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">     ## BMC Registers (It is the same as default value):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        (HICR7) devmem 0x1E789088 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">         0x3000FFF8<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        (HICR8) devmem 0x1E78908c 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">         0xFFF8F007
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        (HICR5) devmem 0x1E789080 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        0x00000403<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:42.0pt;text-indent:-21.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Wingdings"><span style="mso-list:Ignore">l<span style="font:7.0pt "Times New Roman""> 
</span></span></span><![endif]><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0;mso-fareast-language:ZH-TW">BMC reserve memory addr 0x</span></b><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">98000000
 with 1MB and host </span></b><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0;mso-fareast-language:ZH-TW">reserve memory addr 0x</span></b><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">40000000 with
 256KB, transfer data successful but the data was incorrect.</span></b><b><span lang="EN-US" style="font-family:"Calibri",sans-serif"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:21.0pt;mso-para-margin-left:1.75gd;text-indent:15.0pt">
<span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">## DTS setting:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        flash_memory: region@98000000 {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">                no-map;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">                reg = <0x98000000 0x00100000>; /* 1M */<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">            };       
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        &lpc_ctrl {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">            status = "okay";<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">            memory-region = <&flash_memory>;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">            flash = <&spi1>;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        };<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">    ## journalctl log message:
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:05:26 hr630 systemd[1]: Reached target Phosphor-ipmi-flash Prepare BMC to receive update.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:05:26 hr630 ipmid[339]: requesting Aspeed LPC window at 0x40000000 of size 65536<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:05:52 hr630 ipmid[339]: requesting Aspeed LPC window at 0x40000000 of size 65536<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        Jul 19 02:05:52 hr630 systemd[1]: Reached target Phosphor-ipmi-flash verify the image contents.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">    ## BMC Registers:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        (HICR7) devmem 0x1E789088 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        0x98004000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        (HICR8) devmem 0x1E78908c 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        0xFFFF0000
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        (HICR5) devmem 0x1E789080 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;mso-para-margin-left:3.0gd"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#0070C0">        0x00000503<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I tested this with a 4K region on aspeed-lpc with the ast2500 and it worked fine, so I do expect it to work... but you may have found some edge case -- you're saying the length for the region should be 64KB, and that
 should be fine...<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"> </span><span lang="EN-US"><o:p></o:p></span></p>
<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">Regards,<br>
Andrew</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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 <</span><span lang="EN-US"><a href="mailto:venture@google.com" target="_blank"><span style="font-size:11.0pt;font-family:等线">venture@google.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:等线">>
<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 <</span></span><span lang="EN-US"><a href="mailto:pengms1@lenovo.com" target="_blank"><span style="font-size:11.0pt;font-family:等线">pengms1@lenovo.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:等线">><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:等线">
</span><span lang="EN-US"><a href="mailto:openbmc@lists.ozlabs.org" target="_blank"><span style="font-size:11.0pt;font-family:等线">openbmc@lists.ozlabs.org</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:等线">; Duke KH Du <</span><span lang="EN-US"><a href="mailto:dukh@lenovo.com" target="_blank"><span style="font-size:11.0pt;font-family:等线">dukh@lenovo.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:等线">><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:等线"> [External] Re: configure error and the image content seems to be incorrect</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">On Tue, Jul 16, 2019 at 5:31 AM Andrew MS1 Peng <<a href="mailto:pengms1@lenovo.com" target="_blank">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-3973244268204610114gmail-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-3973244268204610114gmail-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="84" 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-3973244268204610114gmail-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="245" 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-3973244268204610114gmail-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-3973244268204610114gmail-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="84" 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-3973244268204610114gmail-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="245" 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-3973244268204610114gmail-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="84" 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-3973244268204610114gmail-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="245" 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-3973244268204610114gmail-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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179" 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="356" valign="top" style="width:307.65pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="gmail-m-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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="309" 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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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="356" 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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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="309" 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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179">
<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-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-609179" 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-3973244268204610114gmail-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-3973244268204610114gmail-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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">The address provided for the host:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">>>> '0x%x' % 2550136832<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">'0x98000000'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>