Jean Delvare
b42464782f
Missed whitespace cleanups.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5562 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4042df3ded
Strip trailing whitespace and redundant spaces.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5561 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
a1813bf8c8
Fix obvious decoding logic bug in decode_sdr_sdram().
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5560 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
a617dccf4c
New helper function value_or_undefined().
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5559 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b5e2039962
Get rid of $l everywhere else.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5558 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b5ec652aa8
Get rid of $l in decode_sdr_sdram().
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5557 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4c7b186acb
Add parentheses to all printl-like function calls, for clarity.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5556 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
aeb736f514
Drop extra newline characters.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5555 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fceba7f4bc
Clean-up manufacturing data decoding functions.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5554 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
49b3d934ee
Refactor manufacturing data decoding.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5553 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0eb91feeb7
Do not decode DDR3 manufacturing data fields which have been left
blank.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5552 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
41277a7c4b
Add support for DDR3 SDRAM. Patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5551 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
e5f11aef90
Read the remainder of the EEPROM data if more than 128 bytes are used.
Patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5548 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
9e9acf70d0
Move manufacture date decoding to a separate function.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5547 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f54bbc420d
New manufacturer decoding for DDR3 modules. Patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5546 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
75fad2ec24
One more Rambus fix.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5545 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
78ae4ef0be
Fix handling of Rambus memory modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5544 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
25dae9734d
Move checksum to a separate function. Handle CRC of FB-DIMM and DDR3
SDRAM memory modules. Based on an original patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5543 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
a203aa81df
Update comments.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5542 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
c27f8f6a11
Pass all EEPROM bytes to decoding functions, saving the need to
splice the bytes array.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5541 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
2c191a89d2
Read all EEPROM bytes at once, this is easier and even more efficient in
the general case.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5540 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fee2a0cd02
Move manufacturing information decoding to a separate function in
anticipation of support for new memory module type.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5539 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
9590d810f3
Spelling fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5538 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
8cc99d7f45
Only export the ceil function from POSIX. By default, POSIX exports
everything, and this happens to generate warnings when using perl 5.10.0.
That's a perl bug, but we can still work around it and avoid potential
future issues of the same kind.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5388 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
d34a2c94fc
Add support for little-endian word hexdumps.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5287 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
d4e25f3d8f
Remove history, it belongs to SVN.
Don't tell people to contact me, they'll find out by themselves if
they want to.
Make the header text shorter.
Bump version to 1.6.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5172 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
aed7163f2b
Update the FSF address.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5164 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
ef4592db09
Drop the trailing .pl from all perl script names.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5162 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
a605ad3a0a
Cache the parsed hexdumps so that each dump file is only parsed once.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5161 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
a8a3f9c7ac
Drop $opt_body, name was confusing and we can easily do without it.
Update header comment, drop redundant command line interface documentation.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5160 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
3e5a8f656d
Make command line parsing more robust.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5159 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
5ba98d1c2c
More coding-style fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5158 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
a56e6baf47
Patch from Trent Piepho:
This adds a "-x" option to decode-dimms.pl, which lets one supply a list of
file names to read SPD data from. It can parse various hexdump formats, such
as the output from i2cdump, eeprog, and the util-linux and Busybox hexdump
progams run on a sysfs eeprom file.
Useful for decoding SPD data that you cut and pasted from a manufacturer's
website or from a DIMM installed on an embedded system that does not have
perl/etc, but does have a serial console with busybox.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5157 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
bc9cda32fd
More coding-style fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5156 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
96d349d27d
More consistency in output.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5155 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
353700c0fb
Use the same formatting for CAS latencies for all memory types.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5154 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
a6f7f8e857
Strip trailing whitespace.
Coding-style fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5153 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
09e1d02772
Patch from Trent Piepho:
This lets decode-dimms.pl decode almost all of the SPD data for DDR2 dimms.
Included are all the detailed timing parameters with their standard tXXX
names, useful if one is trying to program a DDR memory controller for
example. Or just to compare against any other SPD dump or memory spec
sheet.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5152 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
53115213c6
Hard-code program name in header comment.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5150 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
35cef6eb2c
Switch to SVN revision numbering, so that the version is always up-to-date.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5089 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
f1c7a0def7
Drop the embedded changelog, SVN has a better revision history and the
parallel version numbering was rather confusing.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5088 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
726895ced3
Don't print anything by default if the checksum fails. There are many more
EEPROMs in modern computers than just SPD EEPROMs, and there's no reason
to include them in the output of decode-dimms.pl.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5087 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
000c929755
The timestamp is only 18-byte long.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5029 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
5d4ed1f765
More Vaio models tested successfully.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5028 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
16a99f4b96
The model name is actually the first half of the asset tag.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5027 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
670d3a6d92
Private Sony Vaio data might not be readable by non-root users.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5026 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Rudolf Marek
49683302a6
Update IDs (JEP106W). Change 'formerly' to 'former'.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5017 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
d928de76a7
decode-dimms: Fix DDR2 SDRAM module speed decoding.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5011 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
86154825bd
Typo fix.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@4926 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
0eab93f819
Don't install decode-xeon.pl on Linux 2.6 systems, it doesn't work there.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@4908 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago