<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@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;}
@font-face
        {font-family:"\@Gulim";
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:GulimChe;
        panose-1:2 11 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:"\@GulimChe";
        panose-1:2 11 6 9 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Gulim",sans-serif;
        color:black;
        mso-fareast-language:KO;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Gulim",sans-serif;
        color:black;
        mso-fareast-language:KO;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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 bgcolor="white" lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Use the cbfstool, like so:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">build/util/cbfstool/cbfstool build/coreboot.rom extract -n fsp.bin -f fsp.bin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Good luck!<o:p></o:p></span></a></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Andy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> coreboot [mailto:coreboot-bounces@coreboot.org]
<b>On Behalf Of </b>??? ?????<br>
<b>Sent:</b> Wednesday, 25 January 2017 08:43<br>
<b>To:</b> coreboot@coreboot.org<br>
<b>Subject:</b> [coreboot] How to extract fsp.bin from image?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="font-family:GulimChe">Dear Sir.</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">My Purpose is</span><span style="font-family:GulimChe;color:red"> extract</span><span style="font-family:GulimChe">
<b>"Intel fsp.bin"</b> from bios image.</span><o:p></o:p></p>
<p><span style="font-family:GulimChe"><br>
<b><u>First</u></b>, (I was know that get possible "Intel fsp.bin" from Intel website. and already download It is.)</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">This time i have a some bios image.</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">This one is <u>"ADI_RCCVE-01.00.00.08.rom"</u>. It is get from ADI.</span><o:p></o:p></p>
<p><span style="font-family:GulimChe">Another one is <u>"BIOS.bin"</u>. It is dump from Intel CRB.</span><o:p></o:p></p>
<p><u><span style="font-family:GulimChe">This image's are perfectly support all function. ex) GbE, PCIe,
<b>spi flash</b></span></u><span style="font-family:GulimChe"> </span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">I was download the coreboot source from official coreboot git.</span><o:p></o:p></p>
<p><span style="font-family:GulimChe">And build this source code, It is done.</span><o:p></o:p></p>
<p><span style="font-family:GulimChe">And attach the "Intel fsp.bin" and "descriptor.bin" to my coreboot image(It is a "official coreboot source").</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">But occured the some problem.</span><o:p></o:p></p>
<p><b><u><span style="font-family:GulimChe">First.</span></u></b><span style="font-family:GulimChe"> Not enable all PCIe port. But was resolved,
<b>I was modify the fsp.bin used by BCT.</b></span><o:p></o:p></p>
<p><b><u><span style="font-family:GulimChe;color:red">Second.</span></u></b><span style="font-family:GulimChe"> Can't access spi flash used by "flashrom" utility. this util can't found the spi flash on my board.
</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">But, If i use the "ADI_RCCVE-01.00.00.08.rom" and "Intel CRB's bios imge" on my board, can access the spi flash memory used by "flashrom" utility.
</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">So, I want to extract "Intel FSP.bin" and "descriptor.bin" from "ADI_RCCVE-01.00.00.08.rom" and "Intel CRB's bios imge".</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">I was success extract the "descriptor.bin" </span>
<o:p></o:p></p>
<p><b><span style="font-family:GulimChe">But fail the extract "Intel fsp.bin".</span></b><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">Could help to me?</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span style="font-family:GulimChe">Thank you. </span><o:p></o:p></p>
<p><o:p> </o:p></p>
</div>
</body>
</html>