summaryrefslogtreecommitdiff
path: root/Platform/ARM/JunoPkg
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2021-01-22 13:29:32 +0000
committerLeif Lindholm <leif@nuviainc.com>2021-01-25 12:54:18 +0000
commitc505691af0edfcbba7d019b35fef06a1ba819e8c (patch)
tree49354c62087e5652c41dfb7f767c76a5e99a9167 /Platform/ARM/JunoPkg
parentb4d9dd5db30222880a32d2d4f69e25f186848f22 (diff)
Platform/ARM: FVP: Fix serial port usage
The serial ports on FVP are follows: UART# Address Interrupt No. ----- ------- ------------- UART0 0x1c090000 0x25 UART1 0x1c0a0000 0x26 UART2 0x1c0b0000 0x27 UART3 0x1c0c0000 0x28 See Fast Model Reference Manual at: https://developer.arm.com/documentation/100964/1113/ The FVP firmware configures the debug log output on UART1 and the UEFI shell is configured to use UART0. The Serial Port Console Redirector (SPCR) table is configured such that the UEFI shell is migrated to the OS serial console. When Dynamic Tables Framework is enabled, the FVP Configuration Manager uses the PCDs PcdSerialRegisterBase and PL011UartInterrupt to populate the SPCR table. The current firmware implementation has two problems: 1. The PL011UartInterrupt was not set to the correct interrupt number. Therefore, the OS serial console was not fully functional (serial output was printed but input could not be provided). 2. The OS serial console was setup on UART1, while it should have been UART0. Therefore, when Dynamic Tables Framework is enabled fix the UART base address and interrupt number such that UART0 is configured in the SPCR table. Also remove ConfigurationManager.dsc.inc as this is now redundant. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'Platform/ARM/JunoPkg')
0 files changed, 0 insertions, 0 deletions