[ipxe-devel] where to begin debugging
Michael Brown
mcb30 at ipxe.org
Mon Jan 12 15:55:27 UTC 2026
On 11/01/2026 21:03, Geert Stappers via ipxe-devel wrote:
>> Being a bootloader, that iPXE is, implies starting with nothing.
>> Having nothing means having no debugprintroutines.
>>
>> What is the first console output that iPXE produces?
>>
>> Which DEBUG= to use to follow the program flow?
>> As in: Which .c file contains main()?
main() is in core/main.c (for x86 BIOS or RISC-V SBI builds: UEFI has
its own flow with multiple possible entry points). But that's not
particularly useful in terms of debugging.
> I'm asking for my future self. Would be cool if My future self
> will find the "where to begin debugging" on the iPXE website
> or here in the mailinglist archive.
If the starting point is an iPXE error message, then the error page
already includes suggestions of which DEBUG options to attempt first.
Michael
More information about the ipxe-devel
mailing list