<div dir="ltr">Hello Stefan,<div><br></div><div>In addition what Charlotte wrote to you, I would advise you the following (as general approach for mem problems):</div><div>[1] Please, for testing the memory, use secondary Coreboot payload called MEMTEST:</div><div><div>[user@localhost coreboot]$ cat .config | grep MEMTEST</div><div>CONFIG_MEMTEST_SECONDARY_PAYLOAD=y</div><div>CONFIG_MEMTEST_STABLE=y</div><div># CONFIG_MEMTEST_MASTER is not set</div></div><div><br></div><div>Instead going to SeaBIOS or GRUB2 as payloads. This memtest86+ could (my best guess) show to you what is wrong with your memory configuration.</div><div><br></div><div>[2] You can also (since you are able to in some cases go to Linux) stop in GRUB2, after installing from Linux memtest86+ package into the GRUB2 boot options (this can also help too, my best guess).</div><div><br></div><div>(extra advise: if you use legacy/CSM ON, which is in Coreboot in 99.999% cases used, it would be much easier for you to deal with memtest86+)</div><div><br></div><div>Best Regards,</div><div>Zoran</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 21, 2017 at 11:55 AM, Stefan Tauner <span dir="ltr"><<a href="mailto:stefan.tauner@alumni.tuwien.ac.at" target="_blank">stefan.tauner@alumni.tuwien.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vladimir,<br>
<br>
since you have REed the raminit for Nehalem I'd like you to ask if you<br>
have any knowledge, information or pointers about using 8 GB DIMMs with<br>
it or even using more than 8 GB in total. In my case it is about an<br>
Arrandale i5-520M (in a Thinkpad 410s).<br>
<br>
I know that an i7-820QM (Clarksfield) is perfectly capable of working<br>
with 8 GB DIMMs and probably up to 32 GB or even more (the Thinkpad<br>
W510 has 4 DIMM slots and I have tested it with 20 GB) and that is from<br>
around the same time as the Arrendale chips - which does not mean<br>
anything but I still refuse to accept that Nehalem is that limited. The<br>
official specs are not trustworthy IMHO and cpuid(1) and /proc/cpuinfo<br>
show the same physical address width of 36 bits (which would indicate a<br>
maximum of 64 GB).<br>
<br>
The current raminit for Nehalem in coreboot is not able to train the two<br>
8 GB DIMMs I have tested so far. I have added a debug output to<br>
choose_reg178 in the first loop before the margins are compared to<br>
STANDARD_MIN_MARGIN that shows that all margins are 0. If there is<br>
anything I could try or information I can provide, please let me know.<br>
<br>
The (ancient) vendor firmware I've been using on the T410s does<br>
sometimes manage to boot Linux with an 8 GB DIMM (dmesg is attached<br>
including the e820 map), but it is quite broken and memtest86 locks up<br>
or reboots within seconds so that's probably not a good target for RE<br>
efforts. :)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Kind regards/Mit freundlichen Grüßen, Stefan Tauner<br>
</font></span><br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br></div></div>