<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello Kyösti,<br>
    <br>
    I tried what you suggested below:<br>
    <br>
    - Enabled EARLY_PCI_BRIDGE<br>
    - Set Bridge at D:1 F:0<br>
    - Enabled OXI PCIe952 and disabled SERIAL_PORT_ON_SUPERIO.<br>
    Reboot Mohon Peak CRB: failed. No output. POST code at 0xA9.<br>
    <br>
    Will try to get further. <br>
    If anybody has an idea...<br>
    <br>
    Regards,<br>
    Patrick Agrain<br>
    <br>
    <pre>On Fri, 2015-03-06 at 17:25 +0100, Patrick Agrain wrote:
><i> Hello everybody,
</i>><i> 
</i>><i> Do you think that it would be possible to output the console messages 
</i>><i> from coreboot (seabios) on another UART port (strapped to be visible on 
</i>><i> Memory-based space or IO Space) connected on a PCIe slot ?
</i>><i> 
</i>
Yes, it has been done before.

I should have a hack for SeaBIOS to support memory-mapped UART
somewhere, I will go and look. If I remember correctly SeaBIOS boot
media selection only works from local keyboard, not over serial.


><i> I've purchased a StarTech UART board with an OXPCIe952 chip, with the 
</i>><i> same IDs as visible in ./src/drivers/uart/oxpcie.c.
</i>><i> 
</i>><i> On 
</i>><i> <a href="http://www.coreboot.org/Serial_console#PCIe.2FMini_PCIe_based_serial_cards,">http://www.coreboot.org/Serial_console#PCIe.2FMini_PCIe_based_serial_cards,</a> 
</i>><i> what is behind the sentence:
</i>><i> "In order to use the card for romstage debugging, minimal setup of the 
</i>><i> PCIe bridge and the MPEX2S952 have to be added to romstage.c" ?
</i>><i> 
</i>
You need to enable OxPCIe support and set EARLY_PCI_BRIDGE_* variables
in menuconfig. If you can boot to OS with that plaform, with the serial
card installed, get the location of PCIe rootport (aka. parent bridge)
for OxPCIe card with lspci -vv command.



Once you have OS shell, both coreboot and SeaBIOS console messages are
available from CBMEM console using 'cbmem -c' command.

><i> Thanks in advance.
</i>><i> Best regards,
</i>><i> Patrick Agrain
</i>><i> 
</i>

HTH,

Kyösti</pre>
    <br>
  </body>
</html>