commit | 6bf35ee6d5f2782b79ea2b6f9a451e27f5f8433c | [log] [tgz] |
---|---|---|
author | Prithvi Pai <ppai@nvidia.com> | Thu Jul 24 12:05:10 2025 +0530 |
committer | Prithvi Pai <ppai@nvidia.com> | Tue Aug 12 08:24:32 2025 +0000 |
tree | 21df425a52b2aa0f415a47fd6b8b646325894e0e | |
parent | 724c74b11d6e53fc6dce685a261d81eaa5813c4a [diff] [blame] |
nvidia-oem: Implement GetUsbSerialNumber This command is used by BIOS before creating SMBIOS record type 42. BIOS gets USBDescription information from BMC. Note: The implementation in this PR is for DeviceSerialNumber. The support for other device descriptors will be added in upcoming PRs. Design Document for RHI: [1] https://gerrit.openbmc.org/c/openbmc/docs/+/79327 Redfish Host Interface specification: [2] https://www.dmtf.org/sites/default/files/standards/documents/DSP0270_1.3.0.pdf Tested: Tested on gb200nvl-obmc platform root@gb200nvl-obmc:~# ipmitool raw 0x3c 0x31 00 Change-Id: I7a29d8e46d88e4e95142b27eba7d5585fb03bb98 Signed-off-by: Prithvi Pai <ppai@nvidia.com>
diff --git a/oem/nvidia/oemcommands.hpp b/oem/nvidia/oemcommands.hpp index d305973..17ff34f 100644 --- a/oem/nvidia/oemcommands.hpp +++ b/oem/nvidia/oemcommands.hpp
@@ -16,6 +16,7 @@ namespace bootstrap_credentials_oem { constexpr auto cmdGetUsbVendorIdProductId = 0x30; +constexpr auto cmdGetUsbSerialNumber = 0x31; } // namespace bootstrap_credentials_oem namespace bios_password