To understand the exact failure cause in FSPM, you need to get post code from FSP. What is printed in log is Coreboot post code only.
Did you get memory part number from dmidecode -t 17 ?
If you read top of dimm, that will avoid confusion & in my experience typically part number is printed. In some cases you may have to clean it & may use a microscope to read part number.

Did you try both K4A8G165WB & MT40A1G16KD ?
Is it possible for you to read post code of FSP.

Regards,
Naresh G Solanki


On Wed, Nov 18, 2020 at 6:53 PM Andy Pont <andy.pont@sdcsystems.com> wrote:
Angel wrote... 
I can’t match what is printed on the top of the Micron devices (two lines of text “0JE75” and “D9ZFW”) to any part numbers on Micron’s website. Is it some kind of encoded version of the part number or is it just factory and build information? Looking at the website I would assume that the MT40A512M16JY family would be the equivalent parts.
 
That is a cool and useful tool, and not one that was obvious to stumble across! That identifies the memory as MT40A1G16KD-062E:E.  The existing Coreboot sources seem to reference SPD for this part in two forms (Google Zork and Drallion) so I have “borrowed” the SPD files.

The debug output on my board is different to before as the mainboard specific memory initialisation code is now being called but ends with:

SPD INDEX = 0
FMAP: area COREBOOT found @ 490200 (11992576 bytes)
CBFS: Locating 'spd.bin'
CBFS: Found @ offset 50bc0 size 200
SPD: module type is DDR4
SPD: module part number is M471A5244BB0-CRC   
SPD: banks 8, ranks 1, rows 16, columns 10, density 8192 Mb
SPD: device width 16 bits, bus width 64 bits
SPD: module size is 4096 MB (per channel)
memory slot: 0 configuration done.
memory slot: 2 configuration done.
POST: 0x36
POST: 0x92
POST: 0x98
FspMemoryInit returned 0x80000007
POST: 0xe3
FspMemoryInit returned an error!

The values in the SPD look wrong but also FspMemoryInit is still failing.  Is there any way to understand what it making FspMemoryInit do so?

-Andy.
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-leave@coreboot.org


--
Best regards,
Naresh G. Solanki