使用 ARM VBIOS 刷写 dGPU#
从 https://developer.nvidia.com/igx-downloads 下载 VBIOS 更新工具到您的 IGX 开发套件。
刷写 ARM dGPU VBIOS 时,您需要禁用桌面。
通过 BMC 使用 SOC 的 UART 访问命令行。您可以使用 IGX BMC SOL 控制台来执行此操作。或者
您可以 SSH 登录到 IGX 开发套件。在这种情况下,请确保 IGX Orin 通过 Wifi 或以太网连接到您的主机(直接连接或通过接入点或交换机),并记下分配的 IP 地址。
从 SSH 或 UART,关闭桌面并卸载显示驱动程序。
$ sudo systemctl isolate multi-user
$ sudo rmmod nvidia_uvm nvidia_drm nvidia_vrs_pseq nvidia_modeset nvidia_peermem nvidia
为您的 GPU 刷写 VBIOS。A6000 和 RTX 6000 Ada 各有一个工具。选择您用于 dGPU 的那个工具。
$ sudo ./igx_a6000_firmware_94025C0011_update
更新完成后,将出现以下消息。
NVIDIA Firmware Update Utility
Summary:
GPU Status
Graphics Device Update successful
GPU firmware successfully updated.
Please restart your PC for the new firmware to take effect.
要检查您的 VBIOS 版本,请运行以下命令。
$ nvidia-smi -q | grep VBIOS
VBIOS Version : 94.02.5C.00.11
我们建议您在此完成后重新安装带有 dGPU 安装的 IGX OS,以充分利用 dGPU。按照 <boot-the-igx-os-iso-image> 中的说明进行操作。
调整 BAR1 地址范围大小#
默认的 BAR1 可寻址空间为 256MB。要启用更大的 BAR1 地址范围,请从 https://developer.nvidia.com/displaymodeselector 下载 Display Mode Selector,并将其内容解压到您的 IGX 上。此工具适用于 A6000 和 RTX 6000 Ada。
$ chmod +x linux/aarch64/displaymodeselector
$ sudo ./linux/aarch64/displaymodeselector --gpumode
NVIDIA Display Mode Selector Utility (Version 1.61.0)
Copyright (C) 2015-2021, NVIDIA Corporation. All Rights Reserved.
WARNING: This operation updates the firmware on the board and could make
the device unusable if your host system lacks the necessary support.
Are you sure you want to continue?
Press 'y' to confirm (any other key to abort):
y
Select a number:
<0> physical_display_enabled_256MB_bar1
<1> physical_display_disabled
<2> physical_display_enabled_8GB_bar1
Select a number (ESC to quit):
2
Specifed GPU Mode "physical_display_enabled_8GB_bar1"
Update GPU Mode of all adapters to "physical_display_enabled_8GB_bar1"?
Press 'y' to confirm or 'n' to choose adapters or any other key to abort:
y
Updating GPU Mode of all eligible adapters to "physical_display_enabled_8GB_bar1"
Apply GPU Mode <6> corresponds to "physical_display_enabled_8GB_bar1"
Reading EEPROM (this operation may take up to 30 seconds)
Reading EEPROM (this operation may take up to 30 seconds)
[==================================================] 100 %
Reading EEPROM (this operation may take up to 30 seconds)
Reading EEPROM (this operation may take up to 30 seconds)
Successfully updated GPU mode to "physical_display_enabled_8GB_bar1" ( Mode 6 ).
A reboot is required for the update to take effect.
要检查您的 BAR1 设置,请在 dGPU 模式下运行以下命令。
$ nvidia-smi -q | grep -A 3 BAR1
BAR1 Memory Usage
Total : 8192 MiB
Used : 4 MiB
Free : 8188 MiB