Skip to content

VariableList

Bob Morgan edited this page Jan 3, 2023 · 2 revisions

NVIDIA Defined variables

Feature Name: Variables defined by NVIDIA UEFI

PI Phase supported: DXE,RT

SMM Required: No

Purpose

Provides a centralized list of configuration entries used in NVIDIA systems

Variable GUIDs

Name Guid Use Key
gNVIDIATokenSpaceGuid ed3374ef-767b-42fa-af70-db520a392822 Used for variables that are internal to firmware, firmware can change structure at any point if it can handle old data Internal
gNVIDIAPublicVariableGuid 781e084c-a330-417c-b678-38e696380cb9 Public documented variables, can not change only deprecate Public

Variables

Name Space Description Attributes Structure Deprecated
BootChainFwCurrent Public Currently booting firmware BS|RT UINT32
0-A partition
1-B partition
BootChainOsCurrent Public Currently booting OS partition BS|RT UINT32
0-A partition
1-B partition
BootChainOsOverride Public Override to force OS partition BS|NV|RT UINT32
0x00-A partition
0x01-B partition
0xFF-Follow firmware
If undefined boot follows firmware chain
L4TDefaultBootMode Public Behavior of L4T launcher
Select starting option for boot
Boot is normally via grub, then extlinux, then boot.img if previous boot option was not supported.
Recovery image is only used if directly selected.
BS|NV|RT UINT32
0x00 - Boot via Grub
0x01 - Boot via extlinux in ext4 fs
0x02 - Boot via boot.img partition
0x03 - Boot recovery image
0xff - Default behavior
If undefined or invalid boot is boot starts with grub
KernelCommandLine Public Additional command line options to pass to kernel BS|NV CHAR16 string
KernelCommandLineLast Internal Last overriden kernel command line to make sure we don't replace multiple times BS|NV CHAR16 string
EnablePcieInOS Internal Enable PCIe nodes in ACPI, used to expose non-standard device so requires OS support BS|NV UINT8
0 - Disabled
1 - Enabled
Yes only used for T194
PCIeResourceConfig Internal Expose PCIe configuration form BS UINT8
0 - Disabled
1- Enabled
Only set to 1 via PCD for T194 if ACPI not enabled
Yes only used for t194
PCIeInOsConfig Internal Expose PCIe in OS enable option in PCIe configuration form BS UINT8
0 - Disabled
1- Enabled
Only set to 1 via PCD for T194 if ACPI not enabled
Yes only used for t194
QuickBootEnabled Public Should UEFI skip full connection and make other boot speed improvements BS|NV UINT8
0 - Disabled
1- Enabled
Default is driven by PCD, set to 1 on our targets
SerialTypeConfig Internal Used to limit which UART options are displayed on configuration form. Set BS UINT8
0x00 - 16550
0x01 - SBSA
0xFF - Undefined
Set based on uart type on target via PCD
SerialPortConfig Internal Used to direct ACPI generation for serial port BS|NV UINT8
0x00 - Full 16550 support in SPCR
0x01 - Nvidia 16550 support in SPCR
0x02 - Nvidia 16550 support in DBG2
0x03 - SBSA UART in SPCR
0x04 - SBSA Uart in DBG2
0xFF - Disabled
Default based on PCD
"Ethernet node name in DTB" Internal Override for MAC address. Should try to create better naming for override BS|NV 6 byte array
FmpCapsuleSinglePartitionChain Public Boot chain to update with single-image development capsule BS|NV|RT UINT8
0-A partition
1-B partition
RTC_OFFSET Internal Offset from pmic stored time to current time in seconds BS|NV INT64
PlatformBootOrderSet Internal Indicates that initial boot order override is complete so that user changes are respected BS|NV BOOLEAN
PlatformConfigData Internal Hash of dtb/uefi to detect firmware update to override quick boot settings BS|NV typedef struct {UINT8 DtbHash[SHA256_DIGEST_SIZE];
CHAR8 UEFIVersion[UEFI_VERSION_STRING_SIZE];
OS_HARDWARE_DESCRIPTION OsHardwareDescription;
} PLATFORM_CONFIGURATION_DATA;
Clone this wiki locally