Hi Paul,
On 15.10.2020 10:53, Paul Menzel wrote:
Dear coreboot folks,
To get PCI bridge 0:15.2 enabled for the network device on the Asus
F2A85-M PRO, I want to debug the PCIe General Purpose Ports lane
configuration of the FCH.
I’d like to print some variables in
src/vendorcode/amd/agesa/f15tn/Proc/Fch/Pcie/GppPortInit.c
over the serial console. It looks like
#include <console/console.h>
and `printk(BIOS_DEBUG, …)` compiles, but the messages are not sent
over serial console. Is that expected?
Between InitReset and InitEnv (IIRC) redirection of serial port (and a
few others) is disabled
by default, this may be the reason why `printk()` doesn't work. If that
is the case, building with
`HUDSON_LEGACY_FREE` disabled may help.
Do I need to use AGESA’s Integrated Debug Services (IDS) [1], and
enable the console in `src/mainboard/asus/f2a85-m/OptionsIds.h`?
Kind regards,
Paul
[1]:
https://www.coreboot.org/images/3/36/AGESA_Interface_Spec_for_Arch_2008_v3.00.pdf
Best regards,
--
Krystian Hebel
Firmware Engineer
https://3mdeb.com | @3mdeb_com
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]