Specifications
B
Updating and Customizing FRU Data
51
Customizing FRU-specific data
Thefrugen.plPerlscriptpromptsfornewvaluesfortheuser‐definable fieldsinanexisting
FRUdataimage.ThescriptcreatesanewbinaryimagecontainingthefunctionalFRUdata
andanycustomvalues.Specifyinaconfigurationfilewhichoftheuser‐definablefieldsto
overwriteintheFRUdevice.Usetheconfigurationfileandtheimagecreate dtowritethe
customvaluestotheFRUdeviceasdescribedinUpdatingFRUdataonpage 49.
Prerequisites:
• frugen<version>.plPERLscript,whichshouldberenamedtofrugen.pl
•Math::BigInt,Getopt::Long,andTime::LocalPERLmodulesinstalled
• fru_updatescript
• frutoolandrsys‐ipmitoolinthePATHenvironmentvariableontheLinuxhostwhereyou
runfru_update
•FileswithnamesendinginCustomFields.cfgandCustomFields.sftousetocustomizethe
user‐definablefields
Procedure:
1. Determinethedatatoenterintotheuser‐definablefields.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.