[MinnowBoard] Using UART2 as terminal output
vijaikumar k
vijaikumar.k at mistralsolutions.com
Wed Apr 23 10:31:56 UTC 2014
Hi All,
Our customized board is based on Minnow Board Reference design and we are
using the MinnowBoard UEFI as a bootcode.
Minnow board UEFI is configured UART0 as debug console. In our customized
board UART2 is used as debug console hence we have done the below
modification but it is not working still.
Can you please help us to fix this issue?
The following are the steps taken from UEFI Firmware side to output debug
information to UART2 port instead of UART0 used by MinnowBoard reference
design. For each of the step mentioned below a Firmware is built and is
tested on custom board. All the attempts has failed. The line numbers
mentioned below are for indicative purposes only and may vary.
Step 1 :
File
MinnowBoardIntelRuPkg\Platform.dsc
Line No
213
Original Value
DEFINE DEBUG_UART_NUMBER = 0
Modified Value
DEFINE DEBUG_UART_NUMBER = 2
Step 2:
File
IntelEg20tRuPkg\IntelEg20tRuPkg.dec
Line No
132
Original Value
gIntelEg20tRuTokenSpaceGuid.PcdIohUartPortNumber|0|UINT8|0x20000001
Modified Value
gIntelEg20tRuTokenSpaceGuid.PcdIohUartPortNumber|2|UINT8|0x20000001
Step 3:
File
MinnowBoardIntelRuPkg\Platform.dsc
Line No
1386
Original Value
gUart16550PciTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x17, 0x00, 0x00, 0x00,
0x0A, 0x01, 0xFF}
Modified Value
gUart16550PciTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x17, 0x00, 0x00, 0x00,
0x0A, 0x03, 0xFF}
Description
Updated the PCIDeviceInfo PCD to store the Device and Function number of
UART2
File
MinnowBoardIntelRuPkg\Platform.dsc
Line No
1380
Original Value
gUart16550PciTokenSpaceGuid.PcdSerialExtendedTxFifoSize|256
Modified Value
gUart16550PciTokenSpaceGuid.PcdSerialExtendedTxFifoSize|64
Description
Updated the size of UART 2 Tx FIFO
Step 4:
File
MinnowBoardIntelRuPkg\Platform.dsc
Line No
1375
Original Value
gIntelEg20tRuTokenSpaceGuid.PcdEg20tUartSerialIoEnableMask|0x07
Modified Value
gIntelEg20tRuTokenSpaceGuid.PcdEg20tUartSerialIoEnableMask|0x04
Description
Enabled only UART 2 and masked all other UART ports
Step 5:
File
IntelEg20tRuPkg\IntelEg20tRuPkg.dec
Line No
239
Original Value
gIntelEg20tRuTokenSpaceGuid.PcdEg20tUartSerialIoEnableMask|0x07|UINT8|0x2000000D
Modified Value
gIntelEg20tRuTokenSpaceGuid.PcdEg20tUartSerialIoEnableMask|0x04|UINT8|0x2000000D
Description
Enabled only UART 2 and masked all other UART ports
Regards
Vijai Kumar K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20140423/ead00291/attachment-0001.html>
More information about the elinux-MinnowBoard
mailing list