<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>The device you mention here (IUR3) is the debug port of the E3825 SoC. It is routed to the 6 pin header on the MinnowBoard MAX. The other two devices are HSUARTs hung off LPSS. These can be enumerated via ACPI or via PCI. One of these has all the RS232 signals (UART1), while the other only routes RX and TX (UART2) (but I thought that was a routing decision rather than a silicon limitation - will have to look that up in the data sheet to be sure).</div><div><br></div><div>Ivan, have we previously documented that that only LPSS UART1 is compatible with Windows?</div><div><br></div><div><div>-- </div><div>Darren Hart</div><div>Intel Open Source Technology Center</div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div><div>On 6/29/15, 10:33 PM, "Anteja Vuk Macek" <<a href="mailto:anteja.vm@dolotron.com">anteja.vm@dolotron.com</a>> wrote:</div></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div dir="ltr">Hi Ivan, <br><br>Thank you for advice, but I want two COM ports. I found LPC_DEV.ASL ACPI_table in Vlv2TbltDeviceRefCodePkg where was ASL code for the device IUR3 HID - PNP0501. <div><br></div><div><div>Device(IUR3) // Internal UART</div><div>{</div><div> Name(_HID, EISAID("PNP0501"))</div><div><br></div><div> Name(_UID,1)</div><div><br></div><div> // Status Method for internal UART</div><div><br></div><div> Method(_STA,0,Serialized)</div><div> {</div><div> // Only report resources to the OS if internal UART is</div><div> // not set to Disabled in BIOS Setup.</div><div><br></div><div> If(LEqual(USEL,0))</div><div> {</div><div> If(LEqual(PU1E,1))</div><div> {</div><div> Store(1,UI3E) // Enable IRQ3 for UART</div><div> Store(1,UI4E) // Enable IRQ4 for UART</div><div> Store(1,C1EN) // Enable UART</div><div> Return(0x000F)</div><div> }</div><div> }</div><div><br></div><div> Return(0x0000)</div><div> }</div><div><br></div><div> // Disable Method for internal UART</div><div><br></div><div> Method(_DIS,0,Serialized)</div><div> {</div><div> Store(0,UI3E)</div><div> Store(0,UI4E)</div><div> Store(0,C1EN)</div><div> }</div><div><br></div><div> // Current Resource Setting Method for internal UART</div><div><br></div><div> Method(_CRS,0,Serialized)</div><div> {</div><div> // Create the Buffer that stores the Resources to</div><div> // be returned.</div><div><br></div><div> Name(BUF0,ResourceTemplate()</div><div> {</div><div> IO(Decode16,0x03F8,0x03F8,0x01,0x08)</div><div> IRQNoFlags() {3}</div><div> })</div><div><br></div><div> Name(BUF1,ResourceTemplate()</div><div> {</div><div> IO(Decode16,0x03F8,0x03F8,0x01,0x08)</div><div> IRQNoFlags() {4}</div><div> })</div><div><br></div><div> If (LLessEqual(SRID, 0x04))</div><div> {</div><div> Return(BUF0)</div><div> } Else</div><div> {</div><div> Return(BUF1)</div><div> }</div><div> }</div><div>}</div><div><br></div><div>I want to make second IUR device. I don't know value of variables : SEL, PU1E, UI3E, UI4E and C1EN and where it was defined. Also, I would like to know what I need to change to write ASL code for second IURx device. </div><div class="gmail_extra">Best regards,<br><br>Anteja<br></div><div class="gmail_extra"><br><div class="gmail_quote">>On Thu, Jun 25, 2015 at 11:16 AM, Rouzanov, Ivan <span dir="ltr"><<a href="mailto:ivan.rouzanov@intel.com" target="_blank">ivan.rouzanov@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">>Anteja,<br>
><br>>As far as I understand we have 2 UARTs but only one follows legacy COM-interface and the other one does not so Windows inbox driver serial.sys does not work with it so you only have one COM port.<br>>(Basically COMx is just a symbolic link serial.sys creates to point to its device object, so if it does not service a device like in the case of the second HSUART, then it is not a COM-port).<br>
>f you need to use COM-port and have ability to debug, I'd suggest to use Ethernet for debugging and free up COM1 for your other needs.<br>
><br>>I hope this helps.<br>>Best regards,<br>
>van Rouzanov.<br>
><br>
><br>
><br>>Message: 3<br>>Date: Wed, 24 Jun 2015 10:06:02 +0200<br>>From: Anteja Vuk Macek <<a href="mailto:anteja.vm@dolotron.com" target="_blank">anteja.vm@dolotron.com</a>><br>>To: EDK2 email list <<a href="mailto:edk2-devel@lists.sourceforge.net" target="_blank">edk2-devel@lists.sourceforge.net</a>>, MinnowMax<br>> Community <<a href="mailto:elinux-minnowboard@lists.elinux.org" target="_blank">elinux-minnowboard@lists.elinux.org</a>><br>>Subject: [MinnowBoard] UART and COM ports problem<br>>Message-ID:<br>> <<a href="mailto:CAOPTR2BQg0h5KT8dogxr60t3%2B%2Bi4tCHPFchyo6qWqKYkqGWZhw@mail.gmail.com" target="_blank">CAOPTR2BQg0h5KT8dogxr60t3++i4tCHPFchyo6qWqKYkqGWZhw@mail.gmail.com</a>><br>>Content-Type: text/plain; charset="utf-8"<br>
><br>>Hi all,<br>
><br>>On MinnowMax I work on Windows 8.1 with UART.<br>> In BIOS Setup I enable UART. In LSS & SCC Configuration menu in BIOS<br>>Setup I enable : LSS HSUART #1 Support , LSS HSUART #1 FlowCtrl , LSS HSUART #2 Support , and LSS HSUART #2 FlowCtrl . But I don't know if I need to in BIOS Setup in Miscellaneous configuration set UART >interface on Super IO UART, for now I set Internal UART for UART interface.<br>>I install Intel driver (<br>
><a href="https://downloadcenter.intel.com/download/24228/Intel-embedded-drivers-for-Windows-8-1-32-bit-" rel="noreferrer" target="_blank">https://downloadcenter.intel.com/download/24228/Intel-embedded-drivers-for-Windows-8-1-32-bit-</a><br>>)<br>>and I got two UART controllers.<br>
><br>>Problem :<br>>Problem is that I have only one COM port ( COM1) and it is for debugging. I looking in inf (iaiouart.inf ) file of driver for which device is , and I find APCI/INT33BC device. The COM1 is device<br>>APCI/PNP0501 .<br>
><br>>What I need to do to get COM 2 device ? I saw BaseSerialPortLib 16550 module in MdeModulePkg/Library for what it is this module. Need I add some module for UART or Serial port in fdf (PlatformPkg.fdf ) file to get<br>>COM2 device, or add COM2 in ACPI_table? Where I can find ACPI_table in source of firmware?<br>
><br>>Best regards,<br>><br>>Anteja<br>
>
</blockquote></div><div><br></div></div></div></div>
_______________________________________________
elinux-MinnowBoard mailing list
<a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a>
<a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a>
</blockquote></span></body></html>