Specifications

B
Updating and Customizing FRU Data
51
Customizing FRU-specific data
Thefrugen.plPerlscriptpromptsfornewvaluesfortheuserdefinable fieldsinanexisting
FRUdataimage.ThescriptcreatesanewbinaryimagecontainingthefunctionalFRUdata
andanycustomvalues.Specifyinaconfigurationfilewhichoftheuserdefinablefieldsto
overwriteintheFRUdevice.Usetheconfigurationfileandtheimagecreate dtowritethe
customvaluestotheFRUdeviceasdescribedinUpdatingFRUdataonpage 49.
Prerequisites:
frugen<version>.plPERLscript,whichshouldberenamedtofrugen.pl
•Math::BigInt,Getopt::Long,andTime::LocalPERLmodulesinstalled
fru_updatescript
frutoolandrsysipmitoolinthePATHenvironmentvariableontheLinuxhostwhereyou
runfru_update
•FileswithnamesendinginCustomFields.cfgandCustomFields.sftousetocustomizethe
userdefinablefields
Procedure:
1. Determinethedatatoenterintotheuserdefinablefields.Thefollowingfieldscanbe
customized:
ChassisInfoArea(forshelfFRUdataonly):
ChassisCustom2
ChassisCustom3
ChassisCustom4
BoardInfoArea:
BoardProductName
BoardPartNumber
BoardCustom1
BoardCustom2
BoardCustom3
ProductInfoArea:
AssetTag
ProductCustom1
ProductCustom2
ProductCustom3
2. FromaLinuxhost,compilethecustomfields.sffileintoa.binfile:
frugen.pl‐f<sf_file>.sf‐o<bin_file>.bin
<bin_file>
isthenameofthefiletobecreat ed.Makethe <bin_file>basenamematch
the
<sf_file>basename.
Thescriptpromptstoenteravalueforeachcustomfield.