<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 18, 2019 at 4:27 AM Andrew MS1 Peng <<a href="mailto:pengms1@lenovo.com">pengms1@lenovo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="ZH-CN">
<div class="gmail-m_-3973244268204610114WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black">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"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black">Could you give me a hand on below problems? Thanks.<u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114MsoListParagraph" style="margin-left:18pt">
<u></u><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black"><span>1.<span style="font:7pt "Times New Roman"">     
</span></span></span><u></u><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">
 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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114MsoListParagraph" style="margin-left:18pt;text-indent:0cm"><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<u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114MsoListParagraph" style="margin-left:42pt;text-indent:0cm"><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></p></div></div></blockquote><div><br></div><div><br></div><div>Have systemd is only important for the BMC code, so it's unimportant in this case. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="ZH-CN"><div class="gmail-m_-3973244268204610114WordSection1"><p class="gmail-m_-3973244268204610114MsoListParagraph" style="margin-left:42pt;text-indent:0cm"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:red"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114MsoListParagraph" style="margin-left:42pt;text-indent:0cm"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="gmail-m_-3973244268204610114MsoListParagraph" style="margin-left:18pt">
<u></u><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black"><span>2.<span style="font:7pt "Times New Roman"">     
</span></span></span><u></u><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><span class="gmail-m_-3973244268204610114src"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black;background:white">overwritten</span></span><span class="gmail-m_-3973244268204610114apple-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114MsoListParagraph" style="margin-left:18pt;text-indent:0cm"><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"<u></u><u></u></span></span></p>
<p class="gmail-m_-3973244268204610114gmail-m-3943518016435637397msolistparagraph" style="margin-left:18pt">
<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></p></div></div></blockquote><div><br></div><div>Interesting, so you're seeing the memory getting changed, but the bmc image doesn't match.</div><div>Can you point me to your device tree? (for sanity checking)</div><div>What's the SHA for your linux tree (I want to make sure it has the optional feature for aspeed-lpc-ctrl)</div><div><br></div><div>Do you see any output from journalctl?  I asked last time, but this if leads with ipmid can hold some details.</div><div><br></div><div>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...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="ZH-CN"><div class="gmail-m_-3973244268204610114WordSection1"><p class="gmail-m_-3973244268204610114gmail-m-3943518016435637397msolistparagraph" style="margin-left:18pt"><span lang="EN-US" style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black">Regards,<br>
Andrew<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:等线">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11pt;font-family:等线"> Patrick Venture <<a href="mailto:venture@google.com" target="_blank">venture@google.com</a>>
<br>
</span><b><span style="font-size:11pt;font-family:等线">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11pt;font-family:等线"> 2019</span><span style="font-size:11pt;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 <<a href="mailto:pengms1@lenovo.com" target="_blank">pengms1@lenovo.com</a>><br>
</span><b>抄送<span lang="EN-US">:</span></b><span lang="EN-US"> <a href="mailto:openbmc@lists.ozlabs.org" target="_blank">openbmc@lists.ozlabs.org</a>; Duke KH Du <<a href="mailto:dukh@lenovo.com" target="_blank">dukh@lenovo.com</a>><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<u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></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" target="_blank">pengms1@lenovo.com</a>> wrote:<u></u><u></u></span></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Calibri,sans-serif;color:black">Hi Patrick,</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-m-3943518016435637397msolistparagraph" style="margin-left:18pt">
<span lang="EN-US" style="font-family:Calibri,sans-serif;color:black">1.</span><span lang="EN-US" style="font-size:7pt;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"><u></u><u></u></span></p>
<table class="gmail-m_-3973244268204610114MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:21pt;border-collapse:collapse">
<tbody>
<tr>
<td width="333" valign="top" style="width:250.55pt;border:1pt solid windowtext;background:yellow;padding: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"><u></u><u></u></span></p>
</td>
<td width="85" valign="top" style="width:124.95pt;border-top:1pt solid windowtext;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:none;background:yellow;padding: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"><u></u><u></u></span></p>
</td>
<td width="252" valign="top" style="width:16cm;border-top:1pt solid windowtext;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:none;background:yellow;padding: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"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td width="333" valign="top" style="width:250.55pt;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:1pt solid windowtext;border-top:none;padding: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"><u></u><u></u></span></p>
</td>
<td width="85" valign="top" style="width:124.95pt;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding: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"><u></u><u></u></span></p>
</td>
<td width="252" valign="top" style="width:16cm;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding:0cm 5.4pt">
</td>
</tr>
<tr>
<td width="333" valign="top" style="width:250.55pt;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:1pt solid windowtext;border-top:none;padding: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"><u></u><u></u></span></p>
</td>
<td width="85" valign="top" style="width:124.95pt;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding: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"><u></u><u></u></span></p>
</td>
<td width="252" valign="top" style="width:16cm;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding: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"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="gmail-m_-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696" style="margin-left:18pt">
<span lang="EN-US" style="font-family:Calibri,sans-serif;color:black">2.</span><span lang="EN-US" style="font-size:7pt;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"><u></u><u></u></span></p>
<table class="gmail-m_-3973244268204610114MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:18pt;border-collapse:collapse">
<tbody>
<tr>
<td width="358" valign="top" style="width:307.65pt;border:1pt solid windowtext;padding:0cm 5.4pt">
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
</td>
<td width="316" valign="top" style="width:318.95pt;border-top:1pt solid windowtext;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:none;padding:0cm 5.4pt">
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td width="358" valign="top" style="width:307.65pt;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:1pt solid windowtext;border-top:none;padding:0cm 5.4pt">
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
</td>
<td width="316" valign="top" style="width:318.95pt;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding:0cm 5.4pt">
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-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"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="gmail-m_-3973244268204610114gmail-m-3943518016435637397gmail-m1545270694092823127gmail-m-8411625341099404742gmail-m1788754371567513735gmail-m6436252274273416049gmail-m-4871403681716629123gmail-m5865277644764564145gmail-m5232517683823064206gmail-m-6091798217660211465gmail-m-710696" style="margin-left:24pt">
<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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-m-3943518016435637397msolistparagraph" style="margin-left:18pt">
<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"><u></u><u></u></span></p>
<p class="gmail-m_-3973244268204610114gmail-m-3943518016435637397msolistparagraph" style="margin-left:18pt">
<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"><u></u><u></u></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">The address provided for the host:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">>>> '0x%x' % 2550136832<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">'0x98000000'<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></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.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Calibri,sans-serif">Thanks,<br>
Andrew</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>

</blockquote></div></div>