Parsing the Command Line

The FRUSDR load utility allows only one command line function at a time. A command line function can consist of two parameters. Example: -cfg filename.cfg. Invalid parameters cause an error message and exit the program. You can use either a slash (/) or a minus sign (-) to specify command line options. The -p and flags can be used in conjunction with any of the other options.

Displaying a Given Area

When the utility is run with the -d DMI, -d FRU, or -d SDR command line flag, information about each area is read from memory and printed on the screen. Each area represents one sensor for each instrumented device in the server. If the given display function fails because of an inability to parse the data present or a hardware failure, the utility displays an error message and exits.

Using Specified CFG File

The utility can be run with the command line parameter of -cfg filename.cfg. The filename can be any DOS-accepted, eight-character filename string. The utility loads the specified CFG file and uses the entries in that file to probe the hardware and to select the proper SDRs to load into nonvolatile storage.

Displaying Utility Title and Version

The utility displays its title:

FRU & SDR Load Utility, Version Y.Y, Revision X.XX where Y.Y is the version number and X.XX is the revision number for the utility.

Configuration File

The configuration file is in ASCII text. The utility executes commands formed by the strings present in the configuration file. These commands cause the utility to run tasks needed to load the proper SDRs into the nonvolatile storage of the BMC and possibly generic FRU devices. Some of the commands may be interactive and require you to make a choice.

Prompting for Product Level FRU Information

Through the use of a configuration file, the utility might prompt you for FRU information.

Filtering Records From the SDR File

The MASTER.SDR file has all the possible SDRs for the system. These records might need to be filtered based on the current product configuration. The configuration file directs the filtering of the SDRs.

Updating the SDR Nonvolatile Storage Area

After the utility validates the header area of the supplied SDR file, it updates the SDR repository area. Before programming, the utility clears the SDR repository area. The utility filters all tagged SDRs depending on the product configuration set in the configuration file. Nontagged SDRs are automatically programmed. The utility also copies all written SDRs to the SDR.TMP file; it contains an image of what was loaded. The TMP file is also useful for debugging the server.

52

SKA4 Baseboard Product Guide