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 generate an error message and cause the program to end. You can use either a slash (/) or a minus sign (-) to specify command line options. The -p flag can be used in conjunction with any of the other options.

Displaying Usage Information

When the utility is run with the -? or -h command line flags, the following message is displayed when the verbose flag -v is added to the help command:

FRU & SDR Load Utility Version 2.1 Revision R.1.1

Usage:

Frusdr

 

 

-? or –h

Displays usage information.

 

-d {dmi,fru,sdr}

Only displays requested area.

 

-cfg filename.cfg

Uses custom CFG file.

 

-p

Pause between blocks of data.

 

-v

Verbose, display any additional details.

Copyright (c) 1998, Intel Corporation, All Rights Reserved

This utility must be run from a system executing DOS. Running in a Window's DOS box is insufficient and will provide incorrect results. Programming the

BMC FRU area clears the SDR table; therefore the SDR table must be reprogrammed. Upon completing the programming of the FRU and SDR areas, the server should be rebooted.

Note: DOS users may alternatively use a '/' instead of the '-'.

The following information displays if the -v option is included in the command line.

The /D FRU command may be followed with up to 16 device addresses. These device addresses are used to view up to 16 different FRU areas, instead of the default of displaying the BMC FRU. The arguments following the "-d FRU" are in the same order and value as the NVS_TYPE, NVS_LUN, DEV_CONTROLLER, DEV_BUS and DEV_ADDRESS which are found in the FRU file header in each FRU file. The LUN address and device controller are optional. If the LUN address is used, it must start with an 'L'. If the device controller is used, it must start with a ‘C’ and all other parameters must be present.

Usage: FRUSDR -d fru (device) [devctrl] [lun] (bus) (addr) (addr2) (etc)

Example: FRUSDR /D FRU IMBDEVICE C22 L00 00 C0 C2

The configuration file can be used to load multiple FRU and SDR files. In the configuration file, you can define which FRU and SDR areas are to be programmed. Additionally, you can request information from the user or ask the user to choose which areas to program.

74

Configuration Software and Utilities

Page 74
Image 74
Intel SRPL8 manual Parsing the Command Line, Displaying Usage Information