Jean Delvare
71f241a1e1
Decode voltage interface level of DDR SDRAM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5733 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
722106833a
Be more robust against seek/read errors on sysfs.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5714 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
b24086fb79
Automatically adjust the width of columns in text side-by-side mode.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5706 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f0249a02bb
Try harder to decode the manufacturing date.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5705 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
de0313bdc0
Reformat "at CAS N" output so that it no longer breaks the
side-by-side mode.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5704 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
36f8bc1dcd
Minimize the initial output differences between different memory
modules, to make it more likely that --side-by-side will work.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5703 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
aeec8074a5
Add an option to merge identical cells. This makes the output even
clearer.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5702 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
7028bbd304
New side-by-side output format. Especially nice for the HTML format
but (mostly) works also with text format. Might need to be made a
little more flexible to accomodate with different memory modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5701 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
ad86273e30
Refactor HTML filtering into a separate function.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5700 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
989e25e2a2
Delay the printing of DIMM data by storing all the output in a temporary
data structure. This will then make it possible to do extra processing
on the data before it gets displayed.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5699 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
90225865d2
Store the DIMM being currently decoded in a global variable, so that
it can be used in other parts of the code.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5698 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
745a63dba3
Verify checksum or CRC before processing any DIMM module. That way we
know how many modules we have before we start the actual work.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5697 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0ff2d31f8e
Store all dimm data into @dimm . Required for future evolutions.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5696 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
365220b108
Change the dimm list to a more complex data structure where we will
be able to store extra attributes for each DIMM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5695 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
46ddf2ad9b
Carry the path to eeprom data files around, instead of hard-coding it
in several places. This makes the code less fragile and easier to
modify.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5694 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fbb3a50464
The DIMM addresses are hexadecimal values, handle them as such.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5693 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
cd79c7c2f8
Filter non-DIMM EEPROMs earlier. This saves one level of indentation in
the main loop.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5692 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
27cb41e03c
Don't call an external tool (ls) to get the list of dimms. Using
opendir() is more efficient and more flexible.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5691 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
6c15d67bf7
Move dimm list creation to a separate function.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5690 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4d60bc4af7
Misc coding-style fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5689 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4b89e48a10
Delete the decode-xeon script. It was essentially unmaintained, was
never updated to support Linux 2.6, and lacked a license statement.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5595 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
24f819ed0c
Licensing clarification.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5594 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
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