<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>
<!-- Template generated by Exclaimer Signature Manager Exchange Edition on 01:01:11 Wednesday, 27 September 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style>
<meta name="Generator" content="Microsoft Word 14 (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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:EN-GB;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1577668489;
        mso-list-type:hybrid;
        mso-list-template-ids:-681179848 134807567 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<p class="ImprintUniqueID"></p>
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m currently trying to get coreboot working on an Intel Leaf Hill development board, we are using U-Boot as a payload.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have managed to create a bootable image using an out of date copy of coreboot and U-Boot, provided by Intel under NDA.<o:p></o:p></p>
<p class="MsoNormal">The stitching process used to generate the image is a little ugly: a set of Windows tools are provided (or pointed at) by Intel to stitch the various blobs together to create an 8MB image.<o:p></o:p></p>
<p class="MsoNormal">We would like to move away from this process. Using the cbfs tool it looks like we are getting a legacy image composed entirely of a single CBFS.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, as far as I understand, the latest coreboot release (v4.6) should be capable of producing a 16MB working image without the use of external tools.<o:p></o:p></p>
<p class="MsoNormal">This is of course dependent on the provision of the correct binary blobs such as the FSP, flash descriptor and IFWI.<o:p></o:p></p>
<p class="MsoNormal">I have attached the descriptor of the IFWI image being used.<o:p></o:p></p>
<p class="MsoNormal">    <o:p></o:p></p>
<p class="MsoNormal">This is the process I have followed in order to generate a coreboot image:<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Clone coreboot (v4.6)<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Obtain Apollo Lake FSP from Intel (<a href="https://github.com/IntelFSP/FSP">https://github.com/IntelFSP/FSP</a>)<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Split FSP into its constituent parts (<a href="https://raw.githubusercontent.com/tianocore/edk2/master/IntelFsp2Pkg/Tools/SplitFspBin.py">https://raw.githubusercontent.com/tianocore/edk2/master/IntelFsp2Pkg/Tools/SplitFspBin.py</a>)<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Extract Flash Descriptor from an existing Leaf Hill UEFI image (./ifdtool --extract leaf_hill_ref_board_uefi.bin)<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Obtain IFWI image from Intel (Apollo Lake Technical Library)<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">6.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>make menuconfig (config file is attached)<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">a.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Mainboard<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                              
</span>i.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>Mainboard vendor (Intel)<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                            
</span>ii.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>Mainboard model (Leafhill)<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                           
</span>iii.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>[*] Use IFWI Stitching<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                          
</span>iv.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>(IFWI) section in .fmd file to place IFWI blob<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                            
</span>v.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>(IFWI_SPI.bin) Path to image coming from FIT Tool<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                          
</span>vi.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>(descriptor.bin) path to descriptor.bin<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                         
</span>vii.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>(Fsp_M.fd) path to FSP-M.Fv blob<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                       
</span>viii.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>(Fsp_S.fd) path to FSP-S.Fv<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">b.<span style="font:7.0pt "Times New Roman"">     
</span></span><![endif]>Payload<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                              
</span>i.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>Add a payload (U-Boot (Experimental))<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                            
</span>ii.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>U-Boot version (v2016.1)<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo2">
<![if !supportLists]><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">                                                           
</span>iii.<span style="font:7.0pt "Times New Roman"">      </span></span><![endif]>(coreboot-x86_defconfig) U-Boot config file<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">c.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>The rest are at Leaf Hill defaults.<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">7.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>make<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">8.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Flash image to Leaf Hill SPI flash<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As far as I can tell, this process should produce a working image.<o:p></o:p></p>
<p class="MsoNormal">However it does not. My most recent attempt has managed to blink the PWR_OK LED, suggesting the PMIC/PMC is working, but no serial messages.<o:p></o:p></p>
<p class="MsoNormal">Other than that, I currently have no working theories as to what the root cause is
<span style="font-family:Wingdings">L</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there anything obviously wrong with this process?<o:p></o:p></p>
<p class="MsoNormal">Are there any bugs that I should be aware of relating to coreboot on an Apollo Lake platform?<o:p></o:p></p>
<p class="MsoNormal">I haven’t found a lot of documentation online to describe the exact configuration and blob usage, are there any relevant sources of documentation you could point me towards?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help to answer the above, or any other advice would be greatly appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Cameron<o:p></o:p></p>
</div>
<p></p>
<p class="ImprintUniqueID"> </p>
<p class="ImprintUniqueID"><font style="font-family:Arial;font-size:12pt;color:#005CAB;font-weight:bold;">Cameron Craig</font><font color="#005cab" face="Arial"> |
</font><font style="font-family:Arial;font-size:12pt;color:#005CAB;">Graduate Software Engineer</font><font color="#005cab" face="Arial"> |
</font><font style="font-family:Arial;font-size:12pt;color:#005CAB;font-weight:bold;">Exterity Limited</font><br>
<font color="#005cab" size="2" face="Arial">tel: </font><font style="font-family:Arial;font-size:10pt;color:#005CAB;font-weight:normal;">+44 1383 828 250</font><font color="#005cab" size="2" face="Arial"> | fax:
</font><font color="#005cab" size="2" face="Arial"> </font> <font style="font-family:Arial;font-size:10pt;color:#005CAB;"></font> <br>
<font color="#005cab" size="2" face="Arial">e: </font><font style="font-family:Arial;font-size:10pt;color:#005CAB;">Cameron.Craig@exterity.com</font><font color="#005cab" size="2" face="Arial"> | w:
</font><font style="font-family:Arial;font-size:10pt;color:#005CAB;">www.exterity.com</font> <font style="font-family:Arial;font-size:10pt;color:#005CAB;"></font>  <br>
<font style="font-family:Arial;font-size:8pt;color:#005CAB;"></font><br>
<a href="www.exterity.com" target=""><img width="620" height="117" style="border: 0px Solid ; " src="cid:image2640ac.PNG@354fb716.4f862c23"></a> <br>
<font style="font-family:Arial;font-size:8pt;color:#005CAB;">
<table cellpadding="0" cellspacing="0" style="font-family:Arial; color:#005CAB; text-align: left; vertical-align: top;" class="96aa47ee-80f2-40ec-ba49-1ba9a698a988Table">
<tbody>
<tr style="text-align: left; vertical-align: top; ">
<td align="Center" style="padding-right: 5px; "><font style="font-family:Arial;color:#005CAB;"><font style="font-family:Arial;color:#005CAB;"><a href="http://www.exterity.com/iso9001" target=""><img width="195" height="95" style="border: 0px Solid ; " src="cid:image861201.JPG@90bde3e3.4f8c6cd2" title="Bebo" alt="ISO9001"></a></font></font></td>
<td align="Center" style="padding-right: 5px; "><font style="font-family:Arial;color:#005CAB;"><font style="font-family:Arial;color:#005CAB;"><a href="http://www.linkedin.com/company/exterity" target=""><img width="64" height="62" style="border: 0px Solid ; " src="cid:imagee0240f.PNG@635a4447.498a4a90" title="LinkedIn" alt="LinkedIn"></a></font></font></td>
<td align="Center" style="padding-right: 5px; "><font style="font-family:Arial;color:#005CAB;"><font style="font-family:Arial;color:#005CAB;"><a href="http://www.twitter.com/exterity" target=""><img width="73" height="62" style="border: 0px Solid ; " src="cid:image85dd0e.PNG@51ad85eb.40ad6fa8" title="Twitter" alt="Twitter"></a></font></font></td>
<td align="Center" style="padding-right: 5px; "><font style="font-family:Arial;color:#005CAB;"><font style="font-family:Arial;color:#005CAB;"><a href="http://www.youtube.com/user/exterityiptv" target=""><img width="68" height="62" style="border: 0px Solid ; " src="cid:image1442cf.PNG@25613d24.40ad7e04" title="YouTube" alt="YouTube"></a></font></font></td>
</tr>
</tbody>
</table>
</font><br>
<font face="Arial"><font size="1"><font color="#005cab"><font style="font-family:Arial;font-size:8pt;color:#005CAB;">Exterity is a leading provider of IP Video and Digital Signage solutions that helps organizations to harness the power of video to communicate,
 educate and entertain. Our end-to-end solutions enable you to take TV and video content directly from any source and manage its delivery, live or on demand, to any connected device via your existing network. For more information or to schedule a product demonstration,
 contact Exterity on +44(0)1383 828 250 or visit www.exterity.com<br>
<br>
Legal Notice<br>
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of
 this e-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.<br>
<br>
Exterity Limited is registered in Scotland under No. 225313 with its registered office at St Davids House, St Davids Drive, Dalgety Bay, KY11 9NB</font><br>
</font></font></font></p>
<br clear="both">
______________________________________________________________________<BR>
This email has been scanned by the Symantec Email Security.cloud service.<BR>
For more information please visit http://www.symanteccloud.com<BR>
______________________________________________________________________<BR>
</body>
</html>