This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linux-software:fru_dump [04 Jan 2013 23:33] – Add engineerzone link Robin Getz | resources:tools-software:linux-software:fru_dump [04 Feb 2022 18:12] (current) – Typo: fru_dump -> fru-dump Dragos Bogdan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== FMC FRU EEPROM Utility ====== | ====== FMC FRU EEPROM Utility ====== | ||
- | The [[http:// | + | The [[http:// |
- | Information storage recorders, as defined in the [[http://download.intel.com/design/ | + | Information storage recorders, as defined in the [[https://www.intel.com/content/ |
- | The FRU Information is used to primarily to provide ‘inventory’ information about the boards that the FRU information device is located on. All FMC mezzanine modules include an EEPROM where this FRU Information, | + | The FRU Information is used to primarily to provide ‘inventory’ information about the boards that the FRU information device is located on. All FMC mezzanine modules include an EEPROM where this FRU Information, |
- | There are some extensions, or FMC-specific MultiRecords, | + | There are some extensions, or FMC-specific MultiRecords, |
In order to better use this data, Analog Devices has written a small utility which dumps the FRU file which can be found on many systems. It also can change the serial number and date (since we use this for production test of ADI's FMC cards). | In order to better use this data, Analog Devices has written a small utility which dumps the FRU file which can be found on many systems. It also can change the serial number and date (since we use this for production test of ADI's FMC cards). | ||
Line 12: | Line 12: | ||
< | < | ||
**NAME** | **NAME** | ||
- | fru_dump | + | fru-dump |
**SYNOPSIS** | **SYNOPSIS** | ||
- | fru_dump | + | fru-dump |
**DESCRIPTION** | **DESCRIPTION** | ||
Line 27: | Line 27: | ||
-c dump connector info | -c dump connector info | ||
-p dump power supply info | -p dump power supply info | ||
+ | -2 dump I2C info | ||
-v verbose (show warnings) | -v verbose (show warnings) | ||
set info (modifies output file) | set info (modifies output file) | ||
Line 33: | Line 34: | ||
-d now set the date to the current time | -d now set the date to the current time | ||
-s < | -s < | ||
+ | -t < | ||
+ | -6 force output to be in 6-bit ASCII | ||
</ | </ | ||
+ | |||
+ | ===== Installing the FRUDump utility ===== | ||
+ | |||
+ | The source code for the FRUDump utility is found at [[https:// | ||
===== Finding the eeprom ===== | ===== Finding the eeprom ===== | ||
Line 54: | Line 60: | ||
This specifies any shell prompt running on the target | This specifies any shell prompt running on the target | ||
< | < | ||
- | # **fru_dump | + | # **fru-dump |
read 256 bytes from / | read 256 bytes from / | ||
Date of Man : Tue Sep 18 16:30:00 2012 | Date of Man : Tue Sep 18 16:30:00 2012 | ||
Line 68: | Line 74: | ||
<WRAP box bggreen fgblack> | <WRAP box bggreen fgblack> | ||
- | This specifies any shell prompt running on the target> | + | This specifies any shell prompt running on the target |
< | < | ||
- | # **fru_dump | + | # **fru-dump |
read 256 bytes from / | read 256 bytes from / | ||
DC Load | DC Load | ||
Line 128: | Line 134: | ||
This specifies any shell prompt running on the target | This specifies any shell prompt running on the target | ||
< | < | ||
- | # **fru_dump | + | # **fru-dump |
read 256 bytes from / | read 256 bytes from / | ||
Single Width Card | Single Width Card | ||
Line 136: | Line 142: | ||
P1 GBT Transceivers needed 0 | P1 GBT Transceivers needed 0 | ||
Max JTAG Clock 0 | Max JTAG Clock 0 | ||
+ | </ | ||
+ | |||
+ | ===== Set tuning parameters ===== | ||
+ | |||
+ | A tuning (or calibration) parameter for the related board can be written to the EEPROM as seen below. Usually this is integer or floating point values encoded as a raw hex string that is then decoded where it's used such as in IIO Oscilloscope or wherever the parameter needs to be set. | ||
+ | |||
+ | <WRAP box bggreen fgblack> | ||
+ | This specifies any shell prompt running on the target | ||
+ | < | ||
+ | # **fru-dump -i / | ||
+ | read 256 bytes from / | ||
+ | changing tuning parameter to 0b10db | ||
</ | </ | ||
Line 141: | Line 159: | ||
For help and assistance with the tool, check out [[ez> | For help and assistance with the tool, check out [[ez> | ||
- |