UART Port IO or MMIO addressing
The UP2 as three UARTs. UART0 is, in theory, a "console" port, while HSUART2 and 3 are, in theory, available for other purposes.
I am trying to use UART0 as a true serial console device that will allow me to access the UEFI Shell. To that end, I have wired up the 10-pin connector to a FTDI serial<->USB converter. From a separate system, I can connect with PuTTY and indeed I get to the UEFI Shell. So far so good.
However, my custom UEFI boot loader, which works on dozens of other x86 platforms, is unable to send output to UART0. In all other systems, I write to the Legacy Port Address 0x3F8 after doing the traditional serial port init squence (setting 115200, N, 8 1). But from what I can determine, the UP2 does NOT support Legacy Port IO. Writes to 0x3F8 do nothing as far as I can tell.
I have switched my UEFI Boot Loader to use UEFI "SerialIO Protocol" and regained access to the UART0. However, my operating system also needs to be able to send output to UART0 and it doesn't have the benefit of using UEFI protocol. No it is NOT Linux or Windows.
So my questions are:
1) Officially, does the UP2 support Legacy Port IO, specifically COM port at 0x3F8 and if so, should I expect to see this on UART0?
2) If the UART0 or any of the HSUARTs have MMIO or Port IO BAR addresses, can anyone tell me what the addresses are? Perhaps if someone is running Windows, they might look at the Device Manager and tell me these resource values?
3) I find both DBGP and DBG2 ACPI tables, both of which 'should' provide the BAR, but both have zero's in the ACPI GAS structures. Yes I am correctly parsing them. Is there something I need to do to enable debug ports on this device?
Thank you thank you thank you if you can help!