Reference Guide
-t, --test Test using the pre-programmed configuration or use supplied config
-x, --show Show operation
-f, --config= To specify the location of the config file e.g. /etc/dn/diag/<file_name>
-I, --iteration= Iteration command execution
-q, --lpc Use LPC interface for reading temperature
LPC option MUST be used with show/test flags
• test — Tests the sensors to make sure they are within the acceptable range.
• show — Shows the current temperature values.
Output
test output
root@dell-diag-os:/opt/dell/diag/bin# temptool --test --lpc
Testing Temp sensor devices:
Temperature Sensor 1 ....................... Passed
Temperature Sensor 2 ....................... Passed
Temperature Sensor 3 ....................... Passed
Temperature Sensor 4 ....................... Passed
Temperature Sensor 5 ....................... Passed
Temperature Sensor 6 ....................... Passed
Temperature Sensor 7 ....................... Passed
Temperature Sensor 8 ....................... Passed
Temperature Sensor 9 ....................... Passed
Temp Sensors: Overall test results ----- >>> Passed
root@dell-diag-os:/opt/dell/diag/bin#
root@dell-diag-os:/opt/dell/diag/bin# temptool --show --lpc
Temperature Sensor 1 temperature value is 30.3 C
Temperature Sensor 2 temperature value is 23.1 C
Temperature Sensor 3 temperature value is 22.2 C
Temperature Sensor 4 temperature value is 26.0 C
Temperature Sensor 5 temperature value is 21.8 C
Temperature Sensor 6 temperature value is 22.0 C
Temperature Sensor 7 temperature value is 23.5 C
Temperature Sensor 8 temperature value is 31.0 C
Temperature Sensor 9 temperature value is 42.0 C
root@dell-diag-os:/opt/dell/diag/bin#
updatetool
Use this command to update CPLD:
# update --dev=CPLD --index=1 --update --file= </mnt/media/cpld_image.vme>
root@dellemc-diag-os:~# updatetool --dev=CPLD --index=1 --update --file= /mnt/media/xxxx-xxxxx-xx_xxx_xxx.vme
00
Disable device protect
Disable CPLD protect operation success, wait HW reset
Write image to CPLD
INFO: Yafu INI Configuration File not found... Default options will not be applied...
Creating IPMI session via USB...Done
-------------------------------------------------
YAFUFlash - Firmware Upgrade Utility (Version 5.0.0)
-------------------------------------------------
(C)Copyright 2016, American Megatrends Inc.
Beginning CPLD Update...
Uploading Image : 100%... done
Flashing Firmware Image : 100%... done
Verifying Firmware Image : 100%... done
write CPLD image success
56
Dell EMC DIAG OS tools