lbmk/resources
Leah Rowe cffa567929 haswell (lenovo t440p/w541): fix S3 suspend/resume
MRC caches in a certain way, that Heads was able to work
around in their build system, for this board.

I've adapted the relevant config differences, from their project
as of heads revision 96440b928acb06de5b925ea12014c9c280b23165

The downside is that CBFS now has to be 8MB in size. The upside
is that the machine also boots much faster

See:

    f0792117ef

    https://github.com/osresearch/heads/pull/1282#issuecomment-1400634600

I have not adapted their IFD changes, versus Libreboot, because theirs
simply has a different version string, and uses different read/write
permission bits for regions as defined in the IFD.

This affects:

    t440p_12mb_mrc

    w541_12mb_mrc

S3 suspend/resume still broken on these targets which use the libre
MRC init (replacement code by Angel Pons, recently merged in lbmk):

    t440p_12mb

    w541_12mb

With clever use of FMAP, the rest of the BIOS region might still be
used. However, for our purposes, 8MB CBFS will do just fine.

Heads's changes configure MRC so that caching is handled properly,
for when the machine returns from sleep. Setting CBFS to be any
higher will result in slower boot times, and broken S3 resume, due
to MRC cache misalignment (this is based on my understanding, reading
through the Heads project looking at their research on this).

At some point in the future, Angel's libre MRC code will probably
be finished, and merged, with more fine tuning possible to allow
bigger CBFS sizes.
2023-03-18 23:21:15 +00:00
..
blobs scripts: avoid relying on spaces from sha1sum output 2022-11-29 20:26:35 +00:00
coreboot haswell (lenovo t440p/w541): fix S3 suspend/resume 2023-03-18 23:21:15 +00:00
git move download/gitmodule script to root directory 2023-03-17 23:13:20 +00:00
grub payload/grub: force terminal_output to console 2023-03-05 21:25:35 +00:00
me_cleaner/patches pragmatic system distribution guideline compliance 2022-11-14 00:51:12 +00:00
memtest86plus/patches pragmatic system distribution guideline compliance 2022-11-14 00:51:12 +00:00
scripts haswell: re-add mrc.bin in separate board configs 2023-03-18 15:20:03 +00:00
seabios specifically call python3, in scripts 2022-03-13 18:17:09 +00:00
u-boot u-boot: Disable environment storage 2023-02-14 00:58:08 +03:00