<div dir="ltr"><span style="font-size:12.8px">> home# dmesg | grep -i tty</span><br style="font-size:12.8px"><span style="font-size:12.8px">> [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.2.</span><span style="font-size:12.8px">0-16-generic root=UUID=b2b7f7fa-b1db-4e97-</span><div><span style="font-size:12.8px">> </span><span style="font-size:12.8px">941f-8aaee291f3dc ro console=tty1 console=ttyS0,115200n8 quiet splash vt.handoff=7</span></div><div><span style="font-size:12.8px">> </span><span style="font-size:12.8px">[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.</span><span style="font-size:12.8px">0-16-generic root=UUID=b2b7f7fa-b1db-</span></div><div><span style="font-size:12.8px">> 4e97-</span><span style="font-size:12.8px">941f-8aaee291f3dc ro console=tty1 console=ttyS0,115200n8 quiet splash vt.handoff=7</span></div><div><span style="font-size:12.8px">> [    0.000000] console [tty1] enabled</span><br style="font-size:12.8px"><span style="font-size:12.8px">> [    0.000000] console [ttyS0] enabled</span><br style="font-size:12.8px"><span style="font-size:12.8px">> [    1.637664] </span><span class="" tabindex="0" style="font-size:12.8px"><span class="">00:05</span></span><span style="font-size:12.8px">: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A</span><br style="font-size:12.8px"><span style="font-size:12.8px">> [    1.658835] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A</span><br style="font-size:12.8px"><span style="font-size:12.8px">> [    3.412478] fbcon: Remapping primary device, fb1, to tty 1-63</span><br style="font-size:12.8px"><span style="font-size:12.8px">> [   44.378835] systemd[1]: Created slice system-serial\x2dgetty.slice.</span><br style="font-size:12.8px"><span style="font-size:12.8px">> [   44.380198] systemd[1]: Created slice system-getty.slice.</span></div><div><span style="font-size:12.8px">_______</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Hello Cheng,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Please, try to do the following: lspci -vv (to find your serial on PCIe), then try to remap your IRQs, to see if this will somehow work.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Example:</span><br></div><div><span style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px;background-color:rgb(250,250,250)">setserial /dev/ttyS0 port 0xd800 UART 16550A irq 5 </span><br></div><div><span style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px;background-color:rgb(250,250,250)">setserial /dev/ttyS0 -av </span><br style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px"><span style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px;background-color:rgb(250,250,250)">/dev/ttyS0, Line 0, UART: 16550A, Port: 0xd800, IRQ: 5 </span><br style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px"><span style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px;background-color:rgb(250,250,250)">        Baud_base: 115200, close_delay: 5000, divisor: 0 </span><br style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px"><span style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px;background-color:rgb(250,250,250)">        closing_wait: 37856 </span><br style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px"><span style="color:rgb(0,102,0);font-family:Courier,"Courier New",monospace;font-size:11px;background-color:rgb(250,250,250)">        Flags: spd_normal skip_test </span></div><div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Something like described on this web pointer: <a href="https://forums.gentoo.org/viewtopic-t-249041-start-0.html">https://forums.gentoo.org/viewtopic-t-249041-start-0.html</a><br></span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Please, report your attempts/results here.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you,</span></div><div><span style="font-size:12.8px">Zoran</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 4:33 AM, cheng yichen <span dir="ltr"><<a href="mailto:blessyichen@gmail.com" target="_blank">blessyichen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi all<br><br></div>After i follow kontron/ktqm77 setting. I can't solve the issue. <br></div><div>I try to change iqr(for com1) to 5 or 6. but system can't print linux message and minicom is not workable.<br></div><div><br><br><br></div>dump from superiotool<br>Found Winbond W83627DHG-P/-PT (id=0xb0, rev=0x73) at 0x2e<br>Register dump:<br>idx 02 20 21 22 23 24 25 26  27 28 29 2a 2b 2c 2d 2e  2f<br>val ff b0 73 ff 00 42 00 00  ff 50 80 00 00 eb 21 00  ff<br>def 00 b0 NA ff 00 MM 00 MM  RR 50 00 00 RR e2 21 00  00<br>LDN 0x00 (Floppy)<br>idx 30 60 61 70 74 f0 f1 f2  f4 f5<br>val 01 03 f0 06 02 8e 00 ff  00 00<br>def 01 03 f0 06 02 8e 00 ff  00 00<br>LDN 0x01 (Parallel port)<br>idx 30 60 61 70 74 f0<br>val 01 03 78 07 04 3f<br>def 01 03 78 07 04 3f<br>LDN 0x02 (COM1)<br>idx 30 60 61 70 f0<br>val 01 03 f8 04 40<br>def 01 03 f8 04 00<br>LDN 0x03 (COM2)<br>idx 30 60 61 70 f0 f1<br>val 01 02 f8 03 40 00<br>def 01 02 f8 03 00 00<br>LDN 0x05 (Keyboard)<br><br><br></div>dump from dmesg<br><br>home# dmesg | grep -i tty<br>[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=b2b7f7fa-b1db-4e97-941f-8aaee291f3dc ro console=tty1 console=ttyS0,115200n8 quiet splash vt.handoff=7<br>[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=b2b7f7fa-b1db-4e97-941f-8aaee291f3dc ro console=tty1 console=ttyS0,115200n8 quiet splash vt.handoff=7<br>[    0.000000] console [tty1] enabled<br>[    0.000000] console [ttyS0] enabled<br>[    1.637664] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A<br>[    1.658835] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A<br>[    3.412478] fbcon: Remapping primary device, fb1, to tty 1-63<br>[   44.378835] systemd[1]: Created slice system-serial\x2dgetty.slice.<br>[   44.380198] systemd[1]: Created slice system-getty.slice.<br><br><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-22 20:24 GMT+08:00 Kyösti Mälkki <span dir="ltr"><<a href="mailto:kyosti.malkki@gmail.com" target="_blank">kyosti.malkki@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><span>On Fri, Jul 22, 2016 at 1:14 PM, cheng yichen <<a href="mailto:blessyichen@gmail.com" target="_blank">blessyichen@gmail.com</a>> wrote:<br>
> Hi all<br>
><br>
> My platform is braswell SOC with W83627dhg superIO. In post stage I can get<br>
> debug message over w83627 uart1(3f8/irq4). but after boot to linux, uart<br>
> port is not woarkable. I test the function by minicom but I can't receive<br>
> and send data. I can get uart information by dmesg command.<br>
> How to initial it in corebooot?<br>
<br>
</span></span>Does not sound like a coreboot issue to me.<br>
<br>
Do you have CTS/RTS hardware handshake disabled in minicom<br>
configuration? If you directed kernel console to serial port, you<br>
should not (cannot) use the port for user apps.<br>
<br>
HTH,<br>
Kyösti<br>
</blockquote></div><br></div>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/mailman/listinfo/coreboot</a><br></blockquote></div><br></div>