Specifications
Table Of Contents
CLI options
Syntax: ./updatetool <option>
Print the Help-Text:=
 updatetool --h                            (or)
 updatetool -h
Tool Version:=
 updatetool --version                      (or)
 updatetool -v
Device function list:=
 updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS|ALL> [--index=IOM Slot] --list (or)
 updatetool -D <devname | ALL> [-i IOM Slot] -l
Device Region:=
 updatetool --dev=<MAIN-BMC|BIOS> --set_region=<primary|backup> (or)
 updatetool -D <devname> -S <region>
 updatetool --dev=<BMC|BIOS> --get_region (or)
 updatetool -D <devname> -G
Device Version:=
 updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS|ALL> [--index=IOM Slot] --device_version (or)
 updatetool -D <devname | ALL> [-i IOM Slot] -V
Update the Device:=
 updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS> [--index=IOM Slot] --update --
file=<filename> (or)
 updatetool -D <devname> [-i IOM Slot] -U -e filename
Read the Device:=
 updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS> [--index=IOM SLOT] --read -file=<filename>
 updatetool -D <devname> [-i IOM SLOT] -r -e filename
Device Flash Info:=
 updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS> [--index=IOM SLOT] --flash_info
 updatetool -D <devname> [-i IOM SLOT] -F
Usage:=
 -h, --h              Show the help text
 -v, --version        Display version
 -l, --list           list device function
 -N, --nvram          save nvram
 -S, --set_region     set device region
 -G, --get_region     get device region
 -D, --dev            device name
 -i, --index          device Index
 -V, --device_version show device version
 -r, --read=          Read operation
 -e, --file=          device file
 -f, --config=        To specify the location of the config file e.g. /etc/dn/diag/
<file_name>
 -u, --update         update device
 -F, --flash_info=    show flash info
Output
root@dellemc-diag-od~#updatetool --device_version --dev=CPU_CPLD 
CPU_CPLD version:
System CPLD Version : offset 0x00 = 0xc
7: 4 Major Revision = 0
3: 0 Minor Revision = c
Scratch Register : offset 0x01 = 0x0
Diagnostic package
The diagnostic applications, libraries, and configurations are packaged in a debian package called dn-diags-{PLATFORM}-
{PACKAGE_VERSION}.deb.
Executables are placed in /opt/dellemc/diag/bin, libraries are placed in /opt/dellemc/diag/lib, and configurations
are placed in /etc/dn/diag. To install the package on the switch, use the dpkg --install <package_name> command.
Dell EMC DAIG-OS tools
81










