[coreboot] Where does printk() message go in coreboot source code

Peter Stuge peter at stuge.se
Thu Oct 14 01:12:51 CEST 2010


fengwei zhang wrote:
> I am new to coreboot.

Welcome.


> Do you guys know where printk() statement go in coreboot source code?
> 
> e.g. printk(BIOS_DEBUG, "%s\n", msg);

Typically to the first serial port on the board. Some chipsets/boards
can also use EHCI Debug Port. And finally there is support for
sending console output over UDP using a RTL8029 NIC.

If coreboot is configured to initialize a VGA option ROM (rare and
not recommended, normally handled by SeaBIOS) then any printk()
following that initi (usually none) would also be visible on the
monitor.


//Peter




More information about the coreboot mailing list