Hi Michael,<br />I had missed the fact that the HobList pointer is updated in the entry to PEI core when ShadowedPeiCore is NULL. It had seemed odd to me that nobody else experienced issues, so in hindsight, that wouldn't have been the problem. I'm still not sure why CurrentWriteOffset is zeroed, which might imply that the only <span class="pl-smi">SpiFlashDebug HOB available is the one just built (</span><span class="pl-smi"><a href="https://github.com/tianocore/edk2-platforms/blob/master/Platform/Intel/KabylakeOpenBoardPkg/Library/PeiSerialPortLibSpiFlash/PeiSerialPortLibSpiFlash.c#L300" target="_blank" rel="noopener">https://github.com/tianocore/edk2-platforms/blob/master/Platform/Intel/KabylakeOpenBoardPkg/Library/PeiSerialPortLibSpiFlash/PeiSerialPortLibSpiFlash.c#L300</a>) when I call </span><span class="pl-en">SerialPortInitialize() again. I may have to debug this further.<br /><br />Regarding the test points, I guess I just assumed it would work, and without debug logs, I can't see where it would it fail. However, I'll have to assume that they're unrelated to this pointers-in-HOB issue.<br /><br />Best regards,<br />Benjamin<br /></span>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/77736">View/Reply Online (#77736)</a> |    |  <a target="_blank" href="https://groups.io/mt/84038809/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>