public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* JunoPkg: RELEASE boot hangs at "Press ESCAPE for boot options" (SiI3132AtaPassThruCommand)
@ 2022-03-25  3:24 Rebecca Cran
  0 siblings, 0 replies; only message in thread
From: Rebecca Cran @ 2022-03-25  3:24 UTC (permalink / raw)
  To: devel, Ard Biesheuvel, Thomas Abraham, Sami Mujawar

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

I've noticed a problem that only appears to affect RELEASE builds of 
JunoPkg: the boot hangs at "Press ESCAPE for boot options ...........".

Breaking into the code, I see it in SiI3132AtaPassThruCommand running 
the loop around line 236:

while (Timeout && !(Value32 & IrqMask)) {
   gBS->Stall (1);
   SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_INTSTATUS_REG, 
&Value32);
   Timeout--;
}


It appears to run that code with ever-increasing values of Timeout. One 
run I saw 309894083.

I'm building it with gcc 9.4.0, HEADLESS_PLATFORM=TRUE and with 
networking removed (so I can build NOOPT and debug without optimizations 
getting in the way).


-- 
Rebecca Cran

[-- Attachment #2: Type: text/html, Size: 2661 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-25  3:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25  3:24 JunoPkg: RELEASE boot hangs at "Press ESCAPE for boot options" (SiI3132AtaPassThruCommand) Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox