Baytrail issue to communicate with superios.

Jose Trujillo via coreboot <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <rOaKwsH9Teo5irdhpqJkMNbVQUzkvYVkbiGKNAw1KUwU6-6sOpatMyiE2kzi0PeJra5fp16KA94EmHBzBLuMKqbH-vLEe-UdL0pFhMvQhVA=@protonmail.com>
Thank you Rudolf,
Good day,

> Can you get coreboot serial console on your fintek superio?
Yes, serial console works fine on fintek.

> If yes, then likely something is wrong with interrupts.
I am thinking about SERIRQ

> You can use isadump to try to obtain UART1 and UART2 configurations (LDN 1 / LDN 2)

sudo isadump -y -k 0x87,0x87 0x4e 0x4f 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: ff ff 00 ff ff ff ff 01 ff ff ff ff ff ff ff ff 
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
20: 12 10 10 19 34 00 00 90 e0 6f 8f 0f 8f 28 00 00 
30: 01 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
60: 03 f8 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
70: 04 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
f0: 00 ff 00 ff 00 00 00 ff ff ff ff ff ff ff ff ff

sudo isadump -y -k 0x87,0x87 0x4e 0x4f 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
20: 12 10 10 19 34 00 00 90 e0 6f 8f 0f 8f 28 00 00 
30: 01 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
60: 02 f8 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
70: 03 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
f0: 00 44 00 ff 00 00 00 ff ff ff ff ff ff ff ff ff

> You can also try to setup UART in linux as if those were working, like setting up baudrate / minicom
> but then doing:

sudo isaset -y -f 0x3f8 0x42
Data mismatch, wrote 0x42, read 0x00 back.

> Should print "B" on the other side on COM1 (check address where your fintek uart is)
Printed "B" on the other side of the RS-232 cable on the ttyS0 port.

Do you know if is possible to enable SERIRQ and set SCNT_CONTINUOUS in the actual baytrail code?

SERIRQ code was supported in fsp_baytrail but not in baytrail, but now, maybe is supported indirectly in "common" code?

Thanks again,
Jose Trujillo.
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.