A.2.3 how to archive vpd information, A.2.4 restoring the archive – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 233

Advertising
background image

MOTLoad Non-Volatile Data

MOTLoad Firmware Package User’s Manual (6806800C24D)

233

A.2.3

How to Archive VPD Information

Even though VPD information should not be altered by the typical user, there may be a need to
do so. If that is the case, the following procedure should be followed.

Prior to modifying any elements of VPD, create an archive copy of the initial VPD contents. The
archive copy can be used later to restore the VPD to its original state, if necessary.

The procedure below illustrates how to archive the current VPD contents. (More detailed
explanations of the syntax of these commands are available elsewhere in this manual.)

1. Read the VPD into the default user area of memory with a command similar to:

sromRead –d/dev/i2c0/srom/A8 –n400

2. Create a file of it with a command similar to:

tftpPut –n0x400 –cBOARD_IP_HERE –fpath_and_filename

d/dev/enet2 –sSERVER_IP_HERE

Note The command lines shown above must be customized for the board being used. The VPD
SROM device string passed to sromRead must match the board. The Ethernet device string
must also be for that board, as well as the IP addresses being used. The –n (size) option should
match the MOTLoad SROM size, which is defined by the Vital Product Data Specification.

The resulting file (path_and_filename) will be a binary file whose length is determined by the
–n

(size) option. Save this binary file; it can be used later to restore the board VPD if necessary.

A.2.4

Restoring the Archive

As mentioned in the previous section, prior to modifying any elements of VPD, an archive copy
of the initial VPD contents should be created (see previous section for instructions). This
archive can be used to restore VPD to its previous contents, if necessary.

Extreme care must be taken when writing to the VPD SROM. Incorrect VPD values can prevent
a board from reaching the MOTLoad command prompt. If this occurs, Safe Start, a jumper
option on some hardware products, should be used.

The following sequence illustrates how to restore the archived VPD contents. (More detailed
explanations of the syntax of these commands are available in

Chapter 3, MOTLoad Commands,

on page 35

.)

Advertising