<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
This tells us nothing about swizzling - the order in which DQ/DQS lines of the memory address bus are connected to the CPU. Memory connections to the CPU are flexible to simplify PCB routing. As a result in order for the memory controller to be able to use
 memory you need to provide board-specific mapping. You cannot glean this from looking at the PCB - you need the schematic. And no, off the shelf Tianocore will not automatically do this either - it's a customizable part of the build</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Alexey Borovikov <alexey_bau@mail.ru><br>
<b>Sent:</b> Tuesday, November 6, 2018 11:06 AM<br>
<b>To:</b> R S; alexfeinman@hotmail.com<br>
<b>Cc:</b> coreboot@coreboot.org<br>
<b>Subject:</b> Re: [coreboot] How to get correct memory params for FSP</font>
<div> </div>
</div>
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt; font-family:'Calibri'; color:#000000">
<div>Ok, there is no spd on the board. Four memory chips are soldered on the board (Micron DDR3L 4È512MB 1333Mhz). I understand that I need to set the correct memory parameters in the fsp configurator. Even if it works, replacing the memory chips may lead to
 a stop working of the coreboot.rom. It is necessary to change the parameters of the fsp again and rebuild coreboot.rom.
</div>
<div>How does the proprietary BIOS (TianoCore) work in case of replacing the memory chips on board?
</div>
<div>Are there universal parameters for this memory types and what should I take note for when configuring FSP?</div>
<div style="font-size:small; text-decoration:none; font-family:"Calibri"; font-weight:normal; color:#000000; font-style:normal; display:inline">
<div style="font:10pt tahoma">
<div> </div>
<div style="background:#f5f5f5">
<div style=""><b>From:</b> <a title="rene.shuster@bcsemail.org" href="mailto:rene.shuster@bcsemail.org">
R S</a> </div>
<div><b>Sent:</b> Tuesday, November 06, 2018 8:30 PM</div>
<div><b>To:</b> <a title="alexfeinman@hotmail.com" href="mailto:alexfeinman@hotmail.com">
alexfeinman@hotmail.com</a> </div>
<div><b>Cc:</b> <a title="coreboot@coreboot.org" href="mailto:coreboot@coreboot.org">
coreboot@coreboot.org</a> ; <a title="alexey_bau@mail.ru" href="mailto:alexey_bau@mail.ru">
alexey_bau@mail.ru</a> </div>
<div><b>Subject:</b> Re: [coreboot] How to get correct memory params for FSP</div>
</div>
</div>
<div> </div>
</div>
<div style="font-size:small; text-decoration:none; font-family:"Calibri"; font-weight:normal; color:#000000; font-style:normal; display:inline">
<div dir="ltr">Faint memories... are you the ISO recorder author from 15 years ago?<br>
</div>
<div> </div>
<div class="x_gmail_quote">
<div dir="ltr">On Tue, Nov 6, 2018 at 12:23 PM Alex Feinman <<a href="mailto:alexfeinman@hotmail.com">alexfeinman@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="padding-left:1ex; margin:0px 0px 0px 0.8ex; border-left:#ccc 1px solid">
<div dir="ltr">
<div style="font-size:12pt; font-family:calibri,helvetica,sans-serif; color:rgb(0,0,0)">
The two major issues with bringing up the memory subsystem on a new board are SPD parameters and DQ/DQS layout</div>
<div style="font-size:12pt; font-family:calibri,helvetica,sans-serif; color:rgb(0,0,0)">
Specifically, if you look at the apollolake rvp subtree, you can see a whole bunch of parameters being set in romstage.c. Some of it is fairly straightforward. Swizzling tables are not and require you to be able to read schematic (and have access to it in the
 first place)</div>
<div style="font-size:12pt; font-family:calibri,helvetica,sans-serif; color:rgb(0,0,0)">
Obviously, the problem could be elsewhere. I would start with enabling MRC debug and perhaps posting the MRC output</div>
<div style="font-size:12pt; font-family:calibri,helvetica,sans-serif; color:rgb(0,0,0)">
</div>
<div style="font-size:12pt; font-family:calibri,helvetica,sans-serif; color:rgb(0,0,0)">
</div>
<hr style="width:98%; display:inline-block">
<div id="x_m_5162750830031364199divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> coreboot <<a href="mailto:coreboot-bounces@coreboot.org" target="_blank">coreboot-bounces@coreboot.org</a>> on behalf
 of Alexey Borovikov via coreboot <<a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a>><br>
<b>Sent:</b> Saturday, November 3, 2018 5:38 AM<br>
<b>To:</b> <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<b>Subject:</b> [coreboot] How to get correct memory params for FSP</font>
<div> </div>
</div>
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt; font-family:'Calibri'; color:#000000">
<div>
<div style="font-size:small; text-decoration:none; font-family:"Calibri"; font-weight:normal; color:#000000; font-style:normal; display:inline">
Hi. </div>
</div>
<div>
<div style="font-size:small; text-decoration:none; font-family:"Calibri"; font-weight:normal; color:#000000; font-style:normal; display:inline">
I port the Coreboot to a board with an SOC Intel Atom E3845 and use FSP for the Baytrail family. The result - postcode is 0x2A. From the descriptions on the Internet, I understand that the problem is in the incorrect memory parameters.</div>
<div dir="ltr">
<div style="font-size:12pt; font-family:'Calibri'; color:#000000">
<div>Question: are there any utilities or methods that will help to get the correct memory parameters when working a regular BIOS from Linux or Windows systems?</div>
<div>Many thanks!</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
-- <br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div class="x_gmail_signature" dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Tech III * AppControl * Endpoint Protection * Server Maintenance<br>
Buncombe County Schools Technology Department Network Group<br>
<a href="http://comicsanscriminal.com" target="_blank">ComicSans Awareness Campaign</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>