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

未关闭
#135 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
66/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
c, python
领域
embedded-iot

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
C
星标
366
派生
142
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

intel/FSP 的其他 Issue

查看 intel/FSP 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。