[coreboot] Getting serial output from w83627hf?

Idwer Vollering vidwer at gmail.com
Mon Oct 17 17:08:00 CEST 2011

2011/10/17 Alp Eren Köse <alperenkose at buyutech.com.tr>

> Hi all,
> I can't get serial output from the board I am trying to put coreboot on, so
> I am not able to go any further to see whats going on..

> The board has a Winbond W83627HF/F/HG/G (id=0x52, rev=0x41) at 0x2e.

It is likely that you need to set the serial port's speed in romstage.c:

// omitting includes, license header
#include "superio/winbond/w83627hf/early_serial.c"
#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)

Add this line to main():

> I couldn't figure out where to put the "chip superio/winbond/w83627hf"
> section in the "devicetree.cb" file layout?

SCH boards don't use the serial port but the EHCI debug port to show output
on? See src/mainboard/iwave/iWRainbowG6/devicetree.cb, it doesn't have the
superio included.

What I would do is put it inside the LPC bridge section, note that I don't
know how the superio is actually attached and therefore could be wrong.
        chip southbridge/intel/i82801ex
            device pci 1f.0 on # lpc bridge
                chip superio/winbond/w83627hf
                end # superio
            end # 1f.0

> Could someone please explain the devicetree.cb file structure? or point a
> way?
> The "lspci -tvnn" output and my modified "devicetree.cb" file are at the
> attachment.
> Thanks in advance,
> Alp
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20111017/359c1eca/attachment.html>

More information about the coreboot mailing list