<div dir="ltr">Hello Alex,<div><br></div><div>Glad if you solved at least initial problem. Glad if I helped at least a pinch. :-)</div><div><br></div><div>Now... As much as I know, FSP is initial part of the BIOS itself, or BIOS elements. Namely, SEC and PEI phases. My best guess is that<b><i><u><font color="#ff0000"> INTEL retained POST codes to be the same as while in (UEFI) BIOS</font></u></i></b>. UEFI in parenthesis, since these two phases are common/default ones, they belong to legacy as well as to UEFI BIOSes. DXE is the phase legacy and UEFI start to diverge (my best guess).</div><div><br></div><div>York can help you more with the POST codes, York should know (much) more than me, considering FSP. Yang, could you, please, come with the FSP POST code table, it will be very beneficial to this community?</div><div><br></div><div>Now, assuming that my initial cludge (in <b><i><u><font color="#ff0000">RED</font></u></i></b>) is correct, you can find the meanings of POST 0x52:</div><div><a href="http://www.congatec.com/fileadmin/user_upload/Documents/Others/AMI_Aptio_4.x_Status_Codes_PUB_01.pdf">http://www.congatec.com/fileadmin/user_upload/Documents/Others/AMI_Aptio_4.x_Status_Codes_PUB_01.pdf</a><br></div><div><br></div><div>PEI Error Codes:</div><div>0x50 Memory initialization error. Invalid memory type or incompatible memory speed.</div><div>0x51 Memory initialization error. SPD reading has failed.</div><div><b><i><u><font color="#ff0000">0x52 Memory initialization error. Invalid memory size or memory modules do not match.</font></u></i></b></div><div>0x53 Memory initialization error. No usable memory detected.</div><div>0x54 Unspecified memory initialization error.</div><div>0x55 Memory not installed.</div><div>0x56 Invalid CPU type or Speed.<br></div><div><br></div><div><div align="center">

<table class="" border="1" cellspacing="0" cellpadding="0" width="98%" style="width:98.96%;border-collapse:collapse;border:none">
 <thead>
  <tr style="height:36.85pt">
   <td width="350" style="width:262.45pt;border:1pt solid windowtext;padding:0cm 5.4pt;height:36.85pt;background:rgb(191,191,191)">
   <p class="MsoNormal" align="center" style="text-align:center"><b><span lang="EN-US">Error Code</span></b></p>
   </td>
   <td width="107" style="width:80.45pt;border-style:solid solid solid none;border-top-color:windowtext;border-right-color:windowtext;border-bottom-color:windowtext;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;padding:0cm 5.4pt;height:36.85pt;background:rgb(191,191,191)">
   <p class="MsoNormal" align="center" style="text-align:center"><b><span lang="EN-US">Port 0x80 Code</span></b></p>
   </td>
   <td width="232" style="width:173.7pt;border-style:solid solid solid none;border-top-color:windowtext;border-right-color:windowtext;border-bottom-color:windowtext;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;padding:0cm 5.4pt;height:36.85pt;background:rgb(191,191,191)">
   <p class="MsoNormal" align="center" style="text-align:center"><b><span lang="EN-US">Description</span></b></p>
   </td>
  </tr>
 </thead>
 <tbody><tr style="height:23.6pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.6pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_MEMORY_INVALID_TYPE</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.6pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x50</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.6pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">Memory Type Invalid</span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_MEMORY_INVALID_SPEED</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x50</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">Memory Speed Invalid</span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_MEMORY_SPD_FAIL</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x51</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">Memory SPD failure</span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt"><b><i><u><font color="#ff0000">PEI_MEMORY_INVALID_SIZE</font></u></i></b></span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US"><b><i><u><font color="#ff0000">0x52</font></u></i></b></span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt"><b><i><u><font color="#ff0000">Memory Size Invalid</font></u></i></b></span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt"><b><i><u><font color="#ff0000">PEI_MEMORY_MISMATCH</font></u></i></b></span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US"><b><i><u><font color="#ff0000">0x52</font></u></i></b></span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt"><b><i><u><font color="#ff0000">Memory Mismatch</font></u></i></b></span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_MEMORY_NOT_DETECTED</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x53</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">Memory not detected</span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_MEMORY_NONE_USEFUL</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x53</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">None of the Memory installed valid</span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_MEMORY_ERROR</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x54</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">Memory Error</span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_MEMORY_NOT_INSTALLED</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x55</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">Memory not installed</span></p>
  </td>
 </tr>
 <tr style="height:23.65pt">
  <td width="350" style="width:262.45pt;border-style:none solid solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal"><span lang="EN-US" style="font-size:10pt">PEI_CPU_INVALID_TYPE</span></p>
  </td>
  <td width="107" style="width:80.45pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">0x56</span></p>
  </td>
  <td width="232" style="width:173.7pt;border-style:none solid solid none;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-color:windowtext;border-right-width:1pt;padding:0cm 5.4pt;height:23.65pt">
  <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10pt">CPU type invalid</span></p>
  </td>
 </tr>
</tbody></table>

</div></div><div><br></div><div>What I am reading from POST error codes is that you did not define your DRAM memory size (probably in Coreboot .config file) correctly.</div><div><br></div><div>(and, yes, I am also learning from this conversation ;-) )</div><div><br></div><div>Zoran</div><div>_______</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 2, 2016 at 8:28 AM, Alexander Böcken <span dir="ltr"><<a href="mailto:Alexander.Boecken@junger-audio.com" target="_blank">Alexander.Boecken@junger-audio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Hello Zoran,<br>
<br>
I really appreciate your help. I was able to resolve the problem on late Friday. I cannot exactly tell what the reason was, however, I set up a fresh install of coreboot, just using my old .config and microcode. Then I saw that the board gets past the microcode update. I must have introduced a bug somewhere... sorry, for the noise...<br>
<br>
Now the board stops at TempRamInit in FSP. I'm already using the FSP for Braswell from the Intel link you referenced. The function does not return, but the board shows me post code 0x52. I'm pretty sure the post code comes from FSP because I temporarily redirected all post codes to port 0x84 in the coreboot configuration.<br>
<br>
>From src/drivers/intel/fsp1_1/cache_as_ram.inc I see that TempRamInit gets a pointer to CAR_init_params which is generated from .config. Those values seem okay.<br>
<br>
#define CONFIG_CPU_MICROCODE_CBFS_LOC 0xFFE68400 #define CONFIG_CPU_MICROCODE_CBFS_LEN 0x10C00<br>
#define CONFIG_ROM_SIZE               0x200000<br>
<br>
Has anyone any experiences with FSP post codes? I can't find any documentation about that.<br>
<br>
Thank you,<br>
Alex<br>
</div></div></blockquote></div><br></div>