<div dir="ltr">Hi Chris,<div><br></div><div>I think you were able to set it up correctly. Can you check if you can read/write to the flash memory on the BMC 0x98000000? I am also wondering if that address is correct  or not. Like if that address is mapped to the BMC's memory. I have hit an issue where the image transferred does not match because the BIOS didn't set that up properly. I am unsure how to set that up.</div><div><br></div><div>Willy Tu</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 13, 2022 at 1:15 AM Chris Chen (TPI) <<a href="mailto:Chris.Chen3@flex.com">Chris.Chen3@flex.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="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_-6808203018834586040WordSection1">
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Hi Brandon and William,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">As you know, I have already built the "burn_my_bmc" on my Host (Eagle Stream with Aspeed 2600). I for now tried to use it to do the in-band update of BMC firmware,
 the debug messages of the "burn_my_bmc" look good and I also got "bmc-image" and "bmc.sig" file in the "/run/initramfs" and "/tmp" directory respectively via LPC data transfer mechanism on the BMC. However, one thing is strange which is the content of the
 "bmcimage" and "bmc.sig" file are all 0xff. I think this should not be the normal case, perhaps I made a mistake. Following are my steps/changes on the Host-side and BMC-side, could you please take a look at it, is there anything wrong? Or do you have any
 suggestions for enabling the feature? Thanks. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Host-side</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">=====<u></u><u></u></span></p>
</div>
<div>
<ul type="disc">
<li class="gmail-m_-6808203018834586040elementtoproof" style="color:black;margin-bottom:0in">
<span style="font-size:12pt;font-family:Arial,sans-serif">The e820 map of the Host system (just choose one area randomly, should I need to reserve a specific area for this??)<br>
####<br>
archer@archer-ArcherCityM:mtd.all$ sudo dmesg | grep e820 <u></u><u></u></span></li></ul>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009efff] reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved                   <b><-- choose this area.</b><u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000006d8effff] usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x000000006d8f0000-0x000000006f9effff] reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x000000006f9f0000-0x00000000702effff] ACPI data<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x00000000702f0000-0x0000000072c2ffff] ACPI NVS<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x0000000072c30000-0x00000000777fefff] reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x00000000777ff000-0x00000000777fffff] usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x0000000077800000-0x000000008fffffff] reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x00000000fe010000-0x00000000fe010fff] reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000047fffffff] usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] e820: update [mem 0x624a8018-0x624b0057] usable ==> usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000000] e820: update [mem 0x624a8018-0x624b0057] usable ==> usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000022] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.000027] e820: remove [mem 0x000a0000-0x000fffff] usable<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.003943] e820: update [mem 0x80000000-0xffffffff] usable ==> reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.017281] e820: update [mem 0x69d87000-0x69d87fff] usable ==> reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    0.017300] e820: update [mem 0x686c6000-0x686c6fff] usable ==> reserved<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    5.045333] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    5.045336] e820: reserve RAM buffer [mem 0x624a8018-0x63ffffff]<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    5.045338] e820: reserve RAM buffer [mem 0x686c6000-0x6bffffff]<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    5.045340] e820: reserve RAM buffer [mem 0x69d87000-0x6bffffff]<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    5.045341] e820: reserve RAM buffer [mem 0x6d8f0000-0x6fffffff]<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[    5.045342] e820: reserve RAM buffer [mem 0x77800000-0x77ffffff]<u></u><u></u></span></p>
</div>
<div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[   33.565052] systemd[1]: Mounting Mount unit for e820-bios, revision 9...<u></u><u></u></span></p>
</div>
<p class="gmail-m_-6808203018834586040elementtoproof" style="margin-right:0in;margin-bottom:0in;margin-left:0.5in">
<span style="font-size:12pt;font-family:Arial,sans-serif;color:black">[   33.702641] systemd[1]: Mounted Mount unit for e820-bios, revision 9.<br>
####<u></u><u></u></span></p>
<ul type="disc">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif">The executed command and its result.<br>
####<br>
archer@archer-ArcherCityM:mtd.all$ time sudo burn_my_bmc \<br>
                                                            --command update \<u></u><u></u></span></li></ul>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">                                                            --interface ipmilpc<span style="background:white"> <br>
</span>                                                            --image ./image-bmc \<br>
                                                            --sig ./image-bmc.sig \<br>
                                                            --type image \<br>
                                                            --address 0x000a0000 \<br>
                                                            --length 0x10000<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Sending over the firmware image.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">sending writeMeta<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">writemeta sent<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Progress: 100.00%<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Sending over the hash file.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">sending writeMeta<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">writemeta sent<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Progress: 100.00%<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Opening the verification file<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Committing to /flash/verify to trigger service<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Calling stat on /flash/verify session to check status<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">success<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">succeeded<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Opening the update file<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Committing to /flash/update to trigger service<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Calling stat on /flash/update session to check status<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">success<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">succeeded<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">real  0m17.616s<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">user  0m0.046s<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">sys   0m0.147s<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">=====</span><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">BMC-side</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">=====
<u></u><u></u></span></p>
<div>
<ul type="disc">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Code changes<u></u><u></u></span></li></ul>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Add to install "phosphor-ipmi-flash" and "phosphor-ipmi-blobs" these two packages in packagegroup recipe.<u></u><u></u></span></li></ul>
</ul>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><br>
SUMMARY:${PN}-system = "Flex Ltd System" <u></u><u></u></span></span></p>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">RDEPENDS:${PN}-system = " \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       
<b>phosphor-ipmi-blobs \</b><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">        phosphor-ipmi-flash \</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">        "<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><u></u><u></u></span></span></p>
</div>
<div>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Add "phosphor-impi-flash_%.bbapend" recipe with these lines(Bold).<u></u><u></u></span></li></ul>
</ul>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><br>
<b>SRCREV = "c277935e6fe0cdcf8aefc45b53d11bd6ca20f964"</b> <u></u><u></u></span></span></p>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">PACKAGECONFIG:append = " static-bmc"</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">PACKAGECONFIG:append = " aspeed-lpc"</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">PACKAGECONFIG:append = " reboot-update"</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">IPMI_FLASH_BMC_ADDRESS = "0x98000000"</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><u></u><u></u></span></span></p>
</div>
<div>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Remove ",-Dupdate-type=none" in the <a href="http://phosphor-ipmi-flash_git.bb" target="_blank">phosphor-ipmi-flash_git.bb</a> recipe as below, because the "Enabled Firmware Update Features" and "config-static-bmc-reboot.json" are not be included.
 This seems the "update-type" would always pass "none" to "phosphor-impi-flash" package without this change, but I'm not sure??<u></u><u></u></span></li></ul>
</ul>
</div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><br>
<b>PACKAGECONFIG[static-bmc] = "-Dupdate-type=static-layout"</b><br>
</span>####<span style="background:white"><u></u><u></u></span></span></p>
<div>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Add these lines(Bold). in Kernel dts file<u></u><u></u></span></li></ul>
</ul>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><u></u><u></u></span></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">reserved-memory {
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       #address-cells = <1>;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       #size-cells = <1>;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       ranges;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       video_engine_memory: video {<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">            size = <0x04000000>;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">            alignment = <0x01000000>;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">            compatible = "shared-dma-pool";<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">            reusable;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       };<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       <b>/* LPC FW cycle bridge region requires natural alignment */</b><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       flash_memory: region@98000000 {</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">            no-map;</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">            reg = <0x98000000 0x04000000>; /* 64M */</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">       };</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">};<br>
<br>
<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">&lpc_ctrl {</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">      status = "okay";</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">      memory-region = <&flash_memory>;</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">};</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><u></u><u></u></span></span></p>
</div>
<ul type="disc">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">BMC console<u></u><u></u></span></li></ul>
<ul style="margin-top:0in" type="disc">
<ul style="margin-top:0in" type="circle">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Manually modify "config-static-bmc-reboot.json" to skip "preparation", "verification", and "update" actions because I want to make sure image file transfer is okay first.<br>
</span><span style="font-size:12pt;font-family:Arial,sans-serif">####<span style="background:white"><br>
root@hudsonbay-obmc:~# cat /usr/share/phosphor-ipmi-flash/config-static-bmc-reboot.json
<u></u><u></u></span></span></li></ul>
</ul>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">[{<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">        "blob": "/flash/image",<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">        "handler": {<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                "type": "file",<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                "path": "/run/initramfs/bmc-image"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">        },<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">        "actions": {<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                "preparation": {<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                        "type": "skip"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                },<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                "verification": {<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                        "type": "skip"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                },<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                "update": {<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                        "type": "skip"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">                }<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">        }<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">}]<br>
</span><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">####<span style="background:white"><u></u><u></u></span></span></p>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Create "/run/initramfs" directory manually.<br>
</span><span style="font-size:12pt;font-family:Arial,sans-serif">###<span style="background:white">#<br>
root@hudsonbay-obmc:~# mkdir /run/initramfs<u></u><u></u></span></span></li></ul>
</ul>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">###<span style="background:white">#<u></u><u></u></span></span></p>
</div>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="color:black">
<span style="font-size:12pt;font-family:Arial,sans-serif;background:white">Result after executing burn_my_bmc command. (the content of bmc-image and bmc.sig are all 0xff)<br>
</span><span style="font-size:12pt;font-family:Arial,sans-serif">###<span style="background:white">#<u></u><u></u></span></span></li></ul>
</ul>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">root@hudsonbay-obmc:~# ls -al /run/initramfs/bmc-image<br>
-rw-r--r--    1 root     root      67108864 Jan  1 01:47 /run/initramfs/bmc-image<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">root@hudsonbay-obmc:~# hexdump -C /run/initramfs/bmc-image
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">*<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">04000000<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">root@hudsonbay-obmc:~# ls -al /tmp/bmc.sig
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">-rw-r--r--    1 root     root           128 Jan  1 01:47 /tmp/bmc.sig<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">root@hudsonbay-obmc:~# hexdump -C /tmp/bmc.sig
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">*<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1in"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">00000080<br>
####<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black;background:white">=====</span><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Chris Chen<u></u><u></u></span></p>
</div>
</div>

<div>
Legal Disclaimer :<br>
The information contained in this message may be privileged and confidential. <br>
It is intended to be read only by the individual or entity to whom it is addressed <br>
or by their designee. If the reader of this message is not the intended recipient, <br>
you are on notice that any distribution of this message, in any form, <br>
is strictly prohibited. If you have received this message in error, <br>
please immediately notify the sender and delete or destroy any copy of this message!<br>
</div></div>

</blockquote></div>