Serial
Custom- Type:
plist dict - Description: Update serial port properties in
BaseSerialPortLib16550. This section lists the PCD values that are used by theBaseSerialPortLib16550. When optionOverrideis set tofalse, this dictionary is optional.
- Type:
Init- Type:
plist boolean - Failsafe:
false - Description: Perform serial port initialisation.
This option will perform serial port initialisation within OpenCore prior to enabling (any) debug logging. Refer to the Debugging section for details.
- Type:
Override- Type:
plist boolean - Failsafe:
false - Description: Override serial port properties. When this option is set to false, no keys from Custom will be overridden. This option will override serial port properties listed in the Serial Custom Properties section below.
- Type:
Serial Custom Properties
BaudRate- Type:
plist integer - Failsafe:
115200 - Description: Set the baud rate for serial port.
This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRatedefined in MdeModulePkg.dec.- Type:
ClockRate- Type:
plist integer - Failsafe:
1843200 - Description: Set the clock rate for serial port.
This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRatedefined in MdeModulePkg.dec.- Type:
DetectCable- Type: plist boolean
- Failsafe:
false - Description: Enable serial port cable detection. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCabledefined in MdeModulePkg.dec.
ExtendedTxFifoSize- Type:
plist integer - Failsafe:
64 - Description: Set the extended transmit FIFO size for serial port. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSizedefined in MdeModulePkg.dec.
- Type:
FifoControl- Type:
plist integer - Failsafe:
0x07 - Description: Configure serial port FIFO Control settings. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControldefined in MdeModulePkg.dec.
- Type:
LineControl- Type:
plist integer - Failsafe:
0x07 - Description: Configure serial port Line Control settings. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControldefined in MdeModulePkg.dec.
- Type:
PciDeviceInfo- Type:
plist data - Failsafe:
0xFF - Description: Set PCI serial device information.
This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfodefined in MdeModulePkg.dec.Note: The maximum allowed size of this option is 41 bytes. Refer to acidanthera/bugtracker#1954 for more details.
Note 2: This option can be set by running the FindSerialPort tool.
- Type:
RegisterAccessWidth- Type:
plist integer - Failsafe:
8 - Description: Set serial port register access width. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterAccessWidthdefined in MdeModulePkg.dec.
- Type:
RegisterBase- Type:
plist integer - Failsafe: 0x03F8
- Description: Set the base address of serial port registers. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBasedefined in MdeModulePkg.dec.
- Type:
RegisterStride- Type:
plist integer - Failsafe:
1 - Description: Set the serial port register stride in bytes. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStridedefined in MdeModulePkg.dec.
- Type:
UseHardwareFlowControl- Type:
plist boolean - Failsafe:
false - Description: Enable serial port hardware flow control. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControldefined in MdeModulePkg.dec.
- Type:
UseMmio- Type:
plist boolean - Failsafe:
false - Description: Indicate whether the serial port registers are in MMIO space. This option will override the value of
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmiodefined in MdeModulePkg.dec.
- Type: