Jean Delvare
7321cb0fcc
DDR3: Decode the FTB fields of tCk, tAA, tRCD, tRP and tRC.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6133 7894878c-1315-0410-8ee3-d5d059ff63e0
12 years ago
Jean Delvare
b4e1cbb787
DDR3: Don't print the medium and fine time bases, they aren't directly
useful to the user. Simply store them for later use.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6132 7894878c-1315-0410-8ee3-d5d059ff63e0
12 years ago
Jean Delvare
9ef19df2eb
DDR3: Round down PC3 numbers to comply with Jedec.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6131 7894878c-1315-0410-8ee3-d5d059ff63e0
12 years ago
Jean Delvare
501890705f
DDR3: Round core timings up, not down.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6130 7894878c-1315-0410-8ee3-d5d059ff63e0
12 years ago
Jean Delvare
32c172530d
DDR3: Use the right nibble from byte 21 as the MSB of tRAS.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6129 7894878c-1315-0410-8ee3-d5d059ff63e0
12 years ago
Guenter Roeck
b05d645b01
Fix build error (NULL undefined) caused by missing include file
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6124 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
25c8b60af1
Decode more DDR3 module types
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6120 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
ee661452b5
Prevent hang on reserved DDR3 module type
Function sprint doesn't exist, sprintf was intended.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6119 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Guenter Roeck
5030dfdc05
Update CHANGES to reflect tools build fix
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6105 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Guenter Roeck
35d99af6e8
Build fails with recent versions of gcc/ld.
Fix by specifying library after .o files.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6104 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
c32fee2aea
i2cdetect: Clarify the SMBus commands used for probing by default.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6103 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
9fe98d57ab
Print timings at standard PC 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@6102 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
603ee7bc6d
Fix decoding of SDR SPD revision. The encoding changed with revision
1.2.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6101 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
9581ff7d7c
Add section headers for SDR modules, to make the output easier to read.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6100 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
34f9788031
Remove duplicate "ns" in SDR timings.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6099 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
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
ce155b6deb
Missed update.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6083 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
12f7cf81e9
Consistently use "SMBus receive byte" for the short byte read we use
for chip detection. "SMBus read byte" is a different SMBus transaction.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6065 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
fe0364cb21
If either SMBus Quick Write or SMBus Receive Byte command is missing,
still proceed and do a best-effort detection.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6064 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
cdab97639c
Ignore .ao files.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6060 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
bf690d8371
libi2c: Use I2C_SMBUS_BLOCK_MAX instead of hard-coding 32
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6059 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
330bba29f3
libi2c: Properly propagate real error codes on read errors
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6058 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
de3b853bb4
Add a copy of the LGPL v2.1, and clarify licenses.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6055 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
251d594fd0
New library for I2C device access under Linux. As a first step, the
library will host the i2c_smbus_*() inline functions which were
previously in the user-space flavor of <linux/i2c-dev.h>.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6054 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
0f23bf3ac3
Add header file missed from a previous commit.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6053 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
0a335f0859
Tools depends on header file version.h. Add the missing dependency to
the build system.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6049 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
93caf007f4
i2c-dev: Move SMBus helper functions to include/i2c/smbus.h
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6048 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
6526191219
i2c-dev.h: Minimize differences with kernel flavor
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6047 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago