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

Đang mở
#135 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
66/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, python
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
366
Fork
142
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của intel/FSP

Tất cả issue của intel/FSP

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.