Jean Delvare
f31e1d7fa7
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
dbd4ad33c8
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
c40856f7f0
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
7a9093baf0
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
76201c4c9b
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
4221ae885c
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
aacdafdaf6
Missed update.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6083 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
1c7da40a31
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
1a5ed6a1d2
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
6b25408d34
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
daf6b0bd93
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
d919bc7749
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
23d7642d92
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
73432b4a45
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
25749e7652
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
23fc27b3e8
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
6ec57efd15
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
88e9393ff2
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
3550d5ec0c
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
ff7ff3bb44
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
8adb91d61f
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
fde5b209f1
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
65dc71ed6a
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
794b148f7c
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
b4b5412f5b
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
38d4ea7c28
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
6dba392a5b
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
54239ae1e3
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
b8d8e7b08f
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
daf0466e26
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
dbabf68c5b
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
a0020e9bd0
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
3ceb5a7870
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
82ccde6203
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
Jean Delvare
f52965e1d0
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
5d1353b04e
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
800f6e1340
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
234971306f
i2c-stub-from-dump: Be more tolerant on input dump format
Allow for uppercase hexadecimal digits, "|" instead of ":" as the address
separator, and an optional space before said separator. i2cdump doesn't
use any of these but other dump tools do, so this improves
compatibility.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6013 7894878c-1315-0410-8ee3-d5d059ff63e0
14 years ago
Jean Delvare
b9b19ebfc1
Set version to 3.1.0.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6002 7894878c-1315-0410-8ee3-d5d059ff63e0
14 years ago
Jean Delvare
afcfda6d44
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
68bf06b6ef
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
Guenter Roeck
54fb556f48
i2cset: Check range for data value mask
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5927 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
e1b596c53a
i2cset: Get command/mode before reading data
Get and validate the command/mode parameter for all commands
before reading and evaluating actual data.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5926 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
2856bf02a5
CHANGES update for i2cset
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5925 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
0a85576b7e
i2cset: More stringent parameter validation
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5924 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
60a749a5b8
i2cset: Abort if value mask is set for block commands
Specifying the value mask is not supported for block commands,
abort if it is specified anyway.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5923 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
dc1000124a
i2cset: Check number of arguments for block data writes
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5922 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
1d6f7454fa
i2cset: Removed obsolete method to specify value mask
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5921 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
ce92cda254
i2cset: Replace blanks at beginning of line with tabs
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5920 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
14dccf39fd
Added support to write SMBus and I2C block commands to i2cset
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5911 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago