Setup Guide

-i, --info Configuration information
-l, --list List operation
-G, --region Region
-T, --testlist List of tests
-I, --iteration= Iteration command execution
-C, --count= Count
-a, --addr= Address
-r, --read Read operation
-w, --write Write operation
-V, --val= Value to be set
-W, --width Width {8,16,32}
-b, --be Accessed memory is in Big Endian Format
Available Tests are:
ALL_TESTS, ADDRESS_READ, ADDRESS_WRITE, ADDRESS_WALKING1, ADDRESS_WALKING0, DATA_READ,
DATA_WRITE, DATA_WALKING1, DATA_WALKING0, DATA_SLIDING1, DATA_SLIDING0, DATA_PATTERN,
DATA_CACHE
e.g. ADDRESS_WALKING1,DATA_WALKING1
The memtool uses long options for the parameters which requires two hyphens in front of the options. Options are required, optional, or
none. If a parameter is required, it is specified as such and must include an equal sign; if an option is optional, it is enclosed with square
brackets. However, do not type the brackets at the CLI. For example, the -region and -testlist options are optional and you must
enter them as -region=0 and -testlist=0.
List—Lists the memory regions SDI knows. The tool queries SDI for the regions and prints a list of the regions with a region number
that you can use for the subsequent options requiring a region number.
Info—Lists the SPD information for the specified regions. Specifying a region allows the tool to read SPD from different DIMM
modules, each specified in its own region. The output lists the actual data read and completes some parsing of the parameters so you
do not have to decode the values. Decoding is based on the SPD standard definition for DDR3 and DDR4 DIMM memory.
Test—Runs tests that include: Address Read/Write, Address Walking 1/0, Data Read/Write, Data Walking 1/0, Data Sliding 1/0, and
Data Patterns (that writes Hamming patterns that you can use to detect multiple bit errors and identify single bit errors). These tests
run during the normal memory tests. In extended memory tests, the data cache memory test runs. This test is lengthy and causes
multiple ejections of data from the cache and tests the caches.
In Verbosity 0, only the pass/fail message prints for all the tests. In Verbosity 1, each test prints its own pass/fail and other
information; for example, what failed in the test. Higher verbosities show where each pass of the test performs and has verbose
output. All output, regardless of verbosity, is in the log. You can see every level of detail by referring to the log.
Read—Reads physical memory locations. You can loop over address read cycles to look for data that is volatile or read physical
devices on the memory bus (localbus for Power-PC processors). You can specify a region, address, and count of successive bytes
to read.
Write—Writes to a physical memory address to test write cycles and memory. Similar to the Read command, this command takes a
region, address in that region, and a comma-separated list of values to write.
Output
List output
root@dellemc-diag-os:~# memtool --list
===================================
Region ID: 0
Region Name: DDR4
Address: dynamically allocated, Chunk: 0x2800 KB
Largest Cache Size: 0, Cache Line Size : 0
Access: d Increment: 8 Ecc: Y Iterations: 1
Configuration device: SPD (/dev/i2c-0) at 0x50, Regs 0 to 511
Tests:
Address Read Test
Address Write Test
Address Walking 1's Test
Address Walking 0's Test
Data Read Test
Data Write Test
Data Walking 1's Test
Data Walking 0's Test
Data Sliding 1's Test
Data Sliding 0's Test
Dell EMC DIAG-OS tools
43