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

Aperta
#135 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c, python
Ambito
embedded-iot

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
366
Fork
142
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di intel/FSP

Tutte le issue di intel/FSP

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.