FRU Reading
FRU data is embedded within the chassis schema. To retrieve the relevant FRU data, execute the following Redfish command:
            
            curl -k -u root:'<password>' -H 'Content-Type: application/json' -X GET https://<bmc_ip>/redfish/v1/Chassis/Card1/
    
The FRU data can be found in the following read attributes:
            
            {
  "Manufacturer": "Nvidia",
  "Model": "Bluefield 3 SmartNIC Main Card",
  "PartNumber": "900-9D3B4-00EN-EAB   ",
  "SerialNumber": "MT2245X00175            ",
}
    
To retrieve FRU info, run:
            
            ipmitool -C 17 -I lanplus -H <bmc_ip> -U ADMIN -P ADMIN fru print 
    
The output contains two types of EEPROM: One for the BlueField and one for the BMC:
            
            FRU Device Description : Builtin FRU Device (ID 0)
 Chassis Type          : Main Server Chassis
 Board Mfg Date        : Wed Nov  8 01:41:00 2023 UTC
 Board Mfg             : Nvidia
 Board Product         : BlueField SoC
 Board Serial          : MT2345300006
 Board Part Number     : 900-9D3B6-00CV-AAA
 
FRU Device Description : Nvidia-BMCMezz (ID 169)
 Board Mfg Date        : Wed Nov  8 01:41:00 2023 UTC
 Board Mfg             : Nvidia
 Board Product         : Nvidia-BMCMezz
 Board Serial          : MT2345300006            
 Board Part Number     : 900-9D3B6-00CV-AAA   
    
To print a specific FRU:
            
            ipmitool -C 17 -I lanplus -H <bmc_ip> -U ADMIN -P ADMIN fru print <fru_id>
    
FRU ID of the BMC FRU EEPROM is optional and can be found using the fru print command.
It is possible to dump the binary FRU data into a file. Run:
            
            ipmitool -C 17 -I lanplus -H <bmc_ip> -U ADMIN -P ADMIN fru read <fru_id> <filename>
    
The parameter <filename> is the absolute path to the file.