Project

General

Profile

Actions

Bug #277

open

T420: RAM module type information stored in flash

Added by Christian S. almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
board support
Target version:
-
Start date:
07/29/2020
Due date:
% Done:

0%

Estimated time:
2.00 h
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

After flashing coreboot on my T420, I came over a thing which seemed to be strange for me when reading back the image (using flashrom -r).
When you compare the read-out image, it should be exactly the same. This is true if you do it directly after flashing.
However, if you reboot your system and you read out the chip again, you will be surprised. The image differs from the original one you flashed (at least on the T420).
In the original case, exactly 1600 bytes are written to the area beginning at offset 0x00700000. In this area (which according to the coreboot Wiki belongs to the ME), normally a large section is initially filled with 0xFF (so probably free space to store information).

Now in midst of these mentioned 1600 bytes in question, I found the following:
*> 00700530: 0000 0500 dc05 0300 830b 4e54 3447 4336 ..........NT4GC6

00700540: 3442 3848 4730 4e53 2d43 0064 6623 0500 4B8HG0NS-C.df#..*
If you google the string in it, you will find the 4G SODIMM-RAM module I used for this boot.

If you insert a different SODIMM module before the next bootup, another 1600 bytes section is appended after the first one, containing the type information of this new module. So this seems to be kind of a list of hardware information, regarding RAM modules. All the rest of the ROM image did not change in my current observations.

I have not found any hint in the documentation that the flashed image would change itself upon booting...

Now my question is:
Why is this RAM configuration information stored in the flash memory, and not in NVRAM???
I thought the flash memory should be read-only! (except for dedicated situations when you flash it)

Or am I wrong here? It seems as if it might actually not be a bug, but then it should be explained in the documentation.

Actions

Also available in: Atom PDF