<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Jose, All,<div><br></div><div>I built coreboot.rom with the right microcode. </div><div>Following is the coreboot build summary:</div><div>*******************************************************************************</div>Name                                  Offset        Type                   Size   Comp<br>cbfs master header             0x0            cbfs header        32           none<br>fallback/romstage                0x80          stage                  28660     none<br>cpu_microcode_blob.bin     0x7100      microcode          52224     none<br>fallback/ramstage                0x13d80    stage                  62434    none<br>config                                  0x231c0     raw                     614        none<br>revision                               0x23480     raw                     570        none<br>cmos_layout.bin                 0x23700     cmos_layout       872        none<br>fallback/dsdt.aml                0x23ac0     raw                     12528     none<br>(empty)                              0x26c00      null                     1675672 none<br>fsp.bin                                0x1bfdc0     fsp                     229376   none<br>(empty)                              0x1f7e00     null                     30936    none<br>bootblock                           0x1ff700      bootblock           1720      none<br>*******************************************************************************<div class="gmail-m_6023860053108654382gmail-adL">The size of microcode is 52224 bytes. This is exactly the size of the file 06-37-09 I'm using.</div><div class="gmail-m_6023860053108654382gmail-adL"><br></div><div class="gmail-m_6023860053108654382gmail-adL">I also modified FSP. According to the datasheet of the board:</div><div class="gmail-m_6023860053108654382gmail-adL">MAIN MEMORY: Up to 4 GByte DDR3L-1333 memory down<br></div><div class="gmail-m_6023860053108654382gmail-adL">So I set:</div><div class="gmail-m_6023860053108654382gmail-adL">Enable Memory Down: Enabled</div><div class="gmail-m_6023860053108654382gmail-adL"><br></div><div class="gmail-m_6023860053108654382gmail-adL">Now the post code is 0x12F. </div><div class="gmail-m_6023860053108654382gmail-adL">The board has 4 digits post code display. </div><div class="gmail-m_6023860053108654382gmail-adL"><br></div><div class="gmail-m_6023860053108654382gmail-adL">Nothing is displayed on the RS232 terminal.</div><div class="gmail-m_6023860053108654382gmail-adL"><br></div><div class="gmail-m_6023860053108654382gmail-adL">Can you please advise how to proceed ?</div><div class="gmail-m_6023860053108654382gmail-adL"><br></div><div class="gmail-m_6023860053108654382gmail-adL">Best regards,</div><div class="gmail-m_6023860053108654382gmail-adL">Zvika </div><div class="gmail-m_6023860053108654382gmail-adL"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 17, 2018 at 1:14 PM Jose Trujillo <<a href="mailto:ce.autom@protonmail.com" target="_blank">ce.autom@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Zvika:<br></div><div>The microcode you downloaded doesn't include the binary for your system... read the release notes.<br></div><div><br></div><div>6, 55, 9  =  06-37-09<br></div><div><br></div><div>Download this:<br></div><div><br></div><div><a href="https://github.com/platomav/CPUMicrocodes/blob/master/Intel/cpu30679_plat0F_ver0000090A_2018-01-10_PRD_252563C5.bin" target="_blank">https://github.com/platomav/CPUMicrocodes/blob/master/Intel/cpu30679_plat0F_ver0000090A_2018-01-10_PRD_252563C5.bin</a><br></div><div><br></div><div>Rename this bin to:    06-37-09<br></div><div>Add the path in "Microcode binary path and filename"<br></div><div><br></div><div>And try again!<br></div><div>Jose<br></div><div><br></div><div class="m_6023860053108654382m_-8359323090946558664protonmail_signature_block"><div class="m_6023860053108654382m_-8359323090946558664protonmail_signature_block-user m_6023860053108654382m_-8359323090946558664protonmail_signature_block-empty"><br></div></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Wednesday, October 17, 2018 12:06 AM, Zvi Vered <<a href="mailto:veredz72@gmail.com" target="_blank">veredz72@gmail.com</a>> wrote:<br></div><div> <br></div><blockquote type="cite" class="m_6023860053108654382m_-8359323090946558664protonmail_quote"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Jose, <br></div><div><br></div><div>In menuconfig I have the following options in "Include CPU microcode in CBFS"<br></div><div>1. Generate from tree  (current selection)<br></div><div>2. Include external microcode header files<br></div><div>3. Do not include microcode updates <br></div><div><br></div><div>I downloaded the file: microcode-20180807a.tgz <br></div><div><br></div><div>The output of /proc/cpuinfo is:<br></div><div><div>processor<span style="white-space:pre-wrap"> </span>: 0<br></div><div>vendor_id<span style="white-space:pre-wrap"> </span>: GenuineIntel<br></div><div>cpu family<span style="white-space:pre-wrap"> </span>: 6<br></div><div>model<span style="white-space:pre-wrap"> </span>: 55<br></div><div>model name<span style="white-space:pre-wrap"> </span>: Intel(R) Atom(TM) CPU  E3845  @ 1.91GHz<br></div><div>stepping<span style="white-space:pre-wrap"> </span>: 9<br></div><div>microcode<span style="white-space:pre-wrap"> </span>: 0x90a<br></div></div><div>...<br></div><div><br></div><div>But the folder intel-ucode has no file named: 06-55-09<br></div><div>Does it mean that my CPU does not require micocode ?<br></div><div><br></div><div>Thank you in advance,<br></div><div>Zvika <br></div></div></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Tue, Oct 16, 2018 at 8:49 AM Jose Trujillo <<a href="mailto:ce.autom@protonmail.com" target="_blank">ce.autom@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Good day Zvika:<br></div><div><br></div><div>Looks typical the configuration <br></div><div>But for DIMM Density to get this information you should run the command I told you yesterday or check the memory chip datasheet.<br></div><div><br></div><div>About the 0xCE postcode you need to set the microcode (or the correct one, or the correct path) in menuconfig.<br></div><div><br></div><div>Jose.<br></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Tuesday, October 16, 2018 6:41 AM, Zvi Vered <<a href="mailto:veredz72@gmail.com" target="_blank">veredz72@gmail.com</a>> wrote:<br></div><div><br></div><blockquote class="m_6023860053108654382m_-8359323090946558664m_1330119084166252894m_1234857864176539205m_7894541354276046589protonmail_quote" type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Jose, All,<br></div><div><br></div><div>According to the following outputs,  it seems my target has SPD EEPROM. <br></div><div>If I understand correctly from your reply, I should modify only:<br></div><div>DRAM Type: DDR3<br></div><div>DRAM Speed: 1333 MT/s<br></div><div>DIMM 0 Enable: Enabled<br></div><div>DIMM 1 Enable: Disabled<br></div><div>DIMM_DWidth: x8<br></div><div>DIMM_Density: ??? (Default is 2Gbit)<br></div><div>DIMM_BusWidth: 64<br></div><div>DIMM_Sides: 1 Ranks<br></div><div><br></div><div>Am I right ?<br></div><div><br></div><div>I tried booting the target with the modified FSP and got post code : 0xCE<br></div><div>There is nothing on the 232 console. <br></div><div>There is no such post code in coreboot code. <br></div><div>Is it possible that FSP is sending post code ?<br></div><div>How can I proceed from here?<br></div><div><br></div><div>Thank you very much,<br></div><div>Zvika <br></div><div><br></div><div>********************************** sensors-detect ****************************************<br></div><div><div>....<br></div><div><div>Probing for `SPD EEPROM'...                                 Yes<br></div><div>    (confidence 8, not a hardware monitoring chip) <br></div></div><div>.....<br></div></div><div>********************************** dmidecode ***************************************<br></div><div>.....<br></div><div><div>Handle 0x0009, DMI type 17, 34 bytes<br></div><div>Memory Device<br></div><div><span style="white-space:pre-wrap"></span>Array Handle: 0x0008<br></div><div><span style="white-space:pre-wrap"></span>Error Information Handle: Not Provided<br></div><div><span style="white-space:pre-wrap"></span>Total Width: 72 bits<br></div><div><span style="white-space:pre-wrap"></span>Data Width: 64 bits<br></div><div><span style="white-space:pre-wrap"></span>Size: 4096 MB<br></div><div><span style="white-space:pre-wrap"></span>Form Factor: SODIMM<br></div><div><span style="white-space:pre-wrap"></span>Set: None<br></div><div><span style="white-space:pre-wrap"></span>Locator: DIMM0<br></div><div><span style="white-space:pre-wrap"></span>Bank Locator: BANK 0<br></div><div><span style="white-space:pre-wrap"></span>Type: DDR3<br></div><div><span style="white-space:pre-wrap"></span>Type Detail: Synchronous<br></div><div><span style="white-space:pre-wrap"></span>Speed: 1333 MHz<br></div><div><span style="white-space:pre-wrap"></span>Manufacturer: 00<br></div><div><span style="white-space:pre-wrap"></span>Serial Number: 00000000<br></div><div><span style="white-space:pre-wrap"></span>Asset Tag: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Part Number:                   <br></div><div><span style="white-space:pre-wrap"></span>Rank: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Configured Clock Speed: 1333 MHz<br></div><div><br></div><div>Handle 0x000B, DMI type 17, 34 bytes<br></div><div>Memory Device<br></div><div><span style="white-space:pre-wrap"></span>Array Handle: 0x0008<br></div><div><span style="white-space:pre-wrap"></span>Error Information Handle: Not Provided<br></div><div><span style="white-space:pre-wrap"></span>Total Width: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Data Width: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Size: No Module Installed<br></div><div><span style="white-space:pre-wrap"></span>Form Factor: SODIMM<br></div><div><span style="white-space:pre-wrap"></span>Set: None<br></div><div><span style="white-space:pre-wrap"></span>Locator: DIMM1<br></div><div><span style="white-space:pre-wrap"></span>Bank Locator: BANK 1<br></div><div><span style="white-space:pre-wrap"></span>Type: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Type Detail: None<br></div><div><span style="white-space:pre-wrap"></span>Speed: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Manufacturer: Not Specified<br></div><div><span style="white-space:pre-wrap"></span>Serial Number: Not Specified<br></div><div><span style="white-space:pre-wrap"></span>Asset Tag: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Part Number: Not Specified<br></div><div><span style="white-space:pre-wrap"></span>Rank: Unknown<br></div><div><span style="white-space:pre-wrap"></span>Configured Clock Speed: Unknown<br></div></div><div>....<br></div><div>*******************************************decode-dimms**************************************<br></div><div># decode-dimms version 6231 (2014-02-20 10:54:34 +0100)<br></div><div><div><br></div><div>Memory Serial Presence Detect Decoder<br></div><div>By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,<br></div><div>Jean Delvare, Trent Piepho and others<br></div><div><br></div><div><br></div><div>Decoding EEPROM: /sys/bus/i2c/drivers/eeprom/8-0050<br></div><div>Guessing DIMM is in                             bank 1<br></div><div><br></div><div>---=== SPD EEPROM Information ===---<br></div><div>EEPROM CRC of bytes 0-116                       OK (0x59A6)<br></div><div># of bytes written to SDRAM EEPROM              176<br></div><div>Total number of bytes in EEPROM                 256<br></div><div>Fundamental Memory type                         DDR3 SDRAM<br></div><div>Module Type                                     72b-SO-UDIMM<br></div><div><br></div><div>---=== Memory Characteristics ===---<br></div><div>Fine time base                                  1.000 ps<br></div><div>Medium time base                                0.125 ns<br></div><div>Maximum module speed                            1333 MHz (PC3-10600)<br></div><div>Size                                            4096 MB<br></div><div>Banks x Rows x Columns x Bits                   8 x 16 x 10 x 64<br></div><div>Ranks                                           1<br></div><div>SDRAM Device Width                              8 bits<br></div><div>Bus Width Extension                             8 bits<br></div><div>tCL-tRCD-tRP-tRAS                               9-9-9-24<br></div><div>Supported CAS Latencies (tCL)                   10T, 9T, 8T, 7T, 6T<br></div><div><br></div><div>---=== Timing Parameters ===---<br></div><div>Minimum Write Recovery time (tWR)               15.000 ns<br></div><div>Minimum Row Active to Row Active Delay (tRRD)   6.000 ns<br></div><div>Minimum Active to Auto-Refresh Delay (tRC)      49.125 ns<br></div><div>Minimum Recovery Delay (tRFC)                   260.000 ns<br></div><div>Minimum Write to Read CMD Delay (tWTR)          7.500 ns<br></div><div>Minimum Read to Pre-charge CMD Delay (tRTP)     7.500 ns<br></div><div>Minimum Four Activate Window Delay (tFAW)       30.000 ns<br></div><div><br></div><div>---=== Optional Features ===---<br></div><div>Operable voltages                               1.5V, 1.35V <br></div><div>RZQ/6 supported?                                Yes<br></div><div>RZQ/7 supported?                                Yes<br></div><div>DLL-Off Mode supported?                         Yes<br></div><div>Operating temperature range                     0-95 degrees C<br></div><div>Refresh Rate in extended temp range             1X<br></div><div>Auto Self-Refresh?                              No<br></div><div>On-Die Thermal Sensor readout?                  No<br></div><div>Partial Array Self-Refresh?                     No<br></div><div>Thermal Sensor Accuracy                         Not implemented<br></div><div>SDRAM Device Type                               Standard Monolithic<br></div><div><br></div><div>---=== Manufacturer Data ===---<br></div><div>Module Manufacturer                             Invalid<br></div><div>Part Number                                     Undefined<br></div><div><br></div><div><br></div><div>Number of SDRAM DIMMs detected and decoded: 1<br></div></div><div>*************************************************************************************************<br></div></div></div></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Mon, Oct 15, 2018 at 9:43 AM Jose Trujillo <<a href="mailto:ce.autom@protonmail.com" target="_blank">ce.autom@protonmail.com</a>> wrote:<br></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" class="gmail_quote"><div>Zvika:<br></div><div><br></div><div>In my experience with my Baytrail system I can tell you my system is "really" memory down because has soldered memory chips on the motherboard BUT has also a soldered SPD memory so, if keep "Enable Memory Down = Disabled" in BCT the system fetch memory timings from SPD so, no need to edit memory timings but other things like "DRAM Speed" and "DRAM Type" and other settings (not timings) needs to be edited.<br></div><div><br></div><div>but if still needed to edit timings extract them from SPD with "i2c-tools-perl".... I alredy sent you this information in previous emails and attachments so, look for this.....<br></div><div><br></div><div>Good luck,<br></div><div>Jose.<br></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Friday, October 12, 2018 7:29 PM, Zvi Vered <<a href="mailto:veredz72@gmail.com" target="_blank">veredz72@gmail.com</a>> wrote:<br></div><div><br></div><div>> Hello,<br></div><div>><br></div><div>> The BCT has a "Memory Down" section.<br></div><div>> Can you please advise how can I know the right values for my board ?<br></div><div>><br></div><div>> DIMM 0/1 Enable:<br></div><div>> DIMM DWidth:<br></div><div>> DIMM Density:<br></div><div>> DIMM_BusWidth:<br></div><div>> DIMM Sides:<br></div><div>> tCL:<br></div><div>> tRP_tRCD:<br></div><div>> tWR:<br></div><div>> tWTR:<br></div><div>> tRRD:<br></div><div>> tRTP:<br></div><div>> tFAW:<br></div><div>><br></div><div>> Thank you in advance,<br></div><div>> Zvika<br></div><div>><br></div><div>> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br></div><div>><br></div><div>> coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br></div><div>> <a rel="noreferrer" href="https://mail.coreboot.org/mailman/listinfo/coreboot" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a><br></div><div><br></div><div><br></div></blockquote></div></blockquote><div><br></div></blockquote></div></blockquote><div><br></div></blockquote></div>