Jean Delvare
9b2bef2bd4
Strip former manufacturer name in side-by-side output mode, to avoid
overly large columns.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6098 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
68cd4669f6
If DDR3 manufacturer page count parity is wrong, still print the
manufacturer name (if valid) but add a question mark.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6097 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
f5032287ea
Add manufacturer names from Jedec document JEP106AJ.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6096 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
2633bb9166
Introduce helper function as_ddr(), hopefully this makes the code a
little more readable.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6095 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
e8a63d5c6e
ddr2_core_timings is now the exact same function as ddr_core_timings
so delete the former and user the latter everywhere.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6094 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
dd7192a560
Print timings at standard DDR speeds. The minimum cycle times for the
3 supported CAS latency values do not necessarily match standard
speeds, and even if they do, they may not cover all standard speeds.
Display the timings at all standard supported speeds. This makes it
easier to figure out which memory modules will work well together
without tinkering with BIOS options.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6093 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
921f1f22a5
Print timings at standard DDR2 speeds. The minimum cycle times for the
3 supported CAS latency values do not necessarily match standard
speeds, and even if they do, they may not cover all standard speeds.
Display the timings at all standard supported speeds. This makes it
easier to figure out which memory modules will work well together.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6092 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
6c2df5dec8
decode-dimms: Print DDR2 core timings for all supported CAS values, as
we do for DDR modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6082 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
b14a4cbd84
decode-dimms: Print only the DDR2 timings which were properly defined.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6081 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
25ec5f7bf0
decode-dimms: Print DDR2 equivalent speed of tCK max.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6080 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
c18801fcb1
decode-dimms: Print DDR core timings for all supported CAS values.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6079 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
547161a803
decode-dimms: Print extra timing values for DDR memory modules as we do
for DDR2 memory modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6078 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
fc704a85ae
decode-dimms: Default to merging cells in side-by-side output mode.
Add an option to revert to no cell merging.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6077 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
a596e1ecbd
Don't let missing DDR2 SPD revision or PLL relock time break side-by-side output.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6075 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
ca85c60d83
Print a space before "MHz" to improve readability.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6074 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
8e760a90ef
Print the number of banks, rows, columns and ranks for DDR modules as
we do for DDR2 modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6073 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
1562eb58ee
Don't let missing DDR module height break side-by-side output.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6072 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
8a3fbf1f27
Update vendor list based on Jedec document JEP106AG. Contributed by
Thomas Gibson.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6069 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
1aae8ade6e
Move the code to a function, it's cleaner.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6068 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
d4da05d116
Optimize the code which computes the column width.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6067 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
fd3d0c91d5
In side-by-side merged cells mode, don't make columns larger than they
need to be.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6066 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
186311fb8b
Don't choke when no SPD EEPROM is found while the eeprom or at24 driver is
loaded. This can happen, handle the case gracefully.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6062 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
ad37d6af3b
Read EEPROM contents before printing headers.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6061 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
309c5dd001
decode-dimms: Use short name in side-by-side output mode also when
reading from a dump file.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6043 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
f043eb5430
Decode and print bus width extension of DDR3 memory modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6042 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
1611927d5f
Decode and print module configuration type (parity, ECC) of DDR2 memory
modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6041 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
add2bce315
Add support for the at24 kernel driver.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5929 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
1981d2ef40
Decode module configuration type and refresh rate of DDR SDRAM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5928 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
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