Alder Lake-PS IoT: FspsUpd.h does not match the shipped FSP-S UPD layout

Open
#135 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
66/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
c, python
Domain
embedded-iot

Research direction

Read the Alder Lake-PS IoT Include/FspsUpd.h alongside Alder Lake-P's header, then run python3 Tools/SplitFspBin.py info -f AlderLakeFspBinPkg/IoT/AlderLakePS/Fsp.fd to inspect the shipped FSP-S layout. Compare the UPD offsets and defaults with the matching Alder Lake-P header and Fsp.bsf. Done when the PS header matches the blob's CfgRegionSize, terminator offset, and documented defaults; boot behavior is not covered by the report.

Written by the indexing model from the issue text.

Description

On intel/FSP@71d0198, the Alder Lake-PS IoT FspsUpd.h does not match the FSP-S in the same package.

  1. Run python3 Tools/SplitFspBin.py info -f AlderLakeFspBinPkg/IoT/AlderLakePS/Fsp.fd. The FSP-S header reports image ID $RPLFSPE, image revision 0x0CE15640, and CfgRegionSize = 0x1110.
  2. The bundled FspsUpd.h puts the final UINT16 UpdTerminator at 0x1106. Compiling the packed record for IA-32 gives sizeof(FSPS_UPD) == 0x1108. The blob's default UPD terminator instead sits at 0x110e.

This is not just tail padding: the PS header puts CpuPcieRpGen5Dptp at UPD offset 0x1002, where the default bytes are 09 09 09 09. The matching P header puts it at 0x100a, where the binary contains the 05 05 05 05 default documented by the BSF.

The Alder Lake-P package at the same commit advertises the same FSP-S image ID/revision; its entire default FSP-S configuration region and Fsp.bsf are byte-for-byte identical to PS. Its header puts UpdTerminator at 0x110e and compiles to 0x1110.

Could you publish a matching FspsUpd.h for Alder Lake-PS IoT? This is a package layout mismatch; I have not tested boot behavior.

Dominant language
C
Stars
366
Forks
142
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/FSP

All issues in intel/FSP

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.