Thank you Rudolf for your advise,
I checked the interrupts in Linux and showed me that the interrupts were already in EDGE mode but anyway I changed the interrupt mode in southcluster.c from quiet to edge.
The default PNP configuration for the Winbond SIO was crashing Windows 7 and 10 and then I created a very simple PNP configuration and now both Windows OS boots fine and recognized the UART ports correctly but only COM2 with IRQ3 works correctly.
Tomorrow I will keep testing to try to determine the reason but if any of you have any idea how to test or fix I will be glad to hear.
I wish all of you to have a nice day.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On June 6, 2018 11:46 PM, Rudolf Marek r.marek@assembler.cz wrote:
Hi,
In general I would check ELCR (I/O port register 0x4d0) to check if it is correctly programmed to EDGE/LEVEL (it should be edge)
Also, how the Linux is supposed to detect the I/O port irq? I think you need some PNP device in ACPI to let linux infer the IRQ.
I would also try to disable the IRQ from SoC, you just need to check how they are enabled (sorry not an expert here)
and also I would use the legacy 0x3f8 instead.
Thanks
Rudolf