pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/decode-dimms



Module Name:    pkgsrc
Committed By:   pgoyette
Date:           Fri Sep 13 00:17:50 UTC 2019

Modified Files:
        pkgsrc/sysutils/decode-dimms: Makefile distinfo
        pkgsrc/sysutils/decode-dimms/patches: patch-decode-dimms

Log Message:
Update to 2019-09-03

Changes from upstream:

        Round DDR4 speed properly

        The cycle time of high-speed memory modules is stored rounded. We
        already have a heuristic to un-round it and display the expected
        speed for DDR3 modules. Use the same heuristic for DDR4.

        For example this will make PC4-17000 memory properly displayed as
        operating at 2133 MHz instead of 2132 MHz. As a side effect, this
        fixes a bug where the maximum speed wouldn't be listed in section
        "Timings at Standard Speeds" if it had been computed incorrectly
        due to the rounded cycle time.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/sysutils/decode-dimms/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/decode-dimms/distinfo
cvs rdiff -u -r1.14 -r1.15 \
    pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/decode-dimms/Makefile
diff -u pkgsrc/sysutils/decode-dimms/Makefile:1.19 pkgsrc/sysutils/decode-dimms/Makefile:1.20
--- pkgsrc/sysutils/decode-dimms/Makefile:1.19  Sun Aug 11 13:23:06 2019
+++ pkgsrc/sysutils/decode-dimms/Makefile       Fri Sep 13 00:17:50 2019
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2019/08/11 13:23:06 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2019/09/13 00:17:50 pgoyette Exp $
 
 # no Release yet
-PKG_DATE=      20190619
-GIT_COMMIT=    3ec23ced30f80e365c60cacf620a5847231c3ceb
+PKG_DATE=      20190903
+GIT_COMMIT=    ecd987aa6d126830bb0b5bfbd67240c9568b441f
 DISTNAME=      i2c-tools-${GIT_COMMIT}
 PKGNAME=       decode-dimms-0.0.${PKG_DATE}
-PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/snapshot/
 

Index: pkgsrc/sysutils/decode-dimms/distinfo
diff -u pkgsrc/sysutils/decode-dimms/distinfo:1.15 pkgsrc/sysutils/decode-dimms/distinfo:1.16
--- pkgsrc/sysutils/decode-dimms/distinfo:1.15  Fri Jun 21 15:42:19 2019
+++ pkgsrc/sysutils/decode-dimms/distinfo       Fri Sep 13 00:17:50 2019
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.15 2019/06/21 15:42:19 pgoyette Exp $
+$NetBSD: distinfo,v 1.16 2019/09/13 00:17:50 pgoyette Exp $
 
-SHA1 (i2c-tools-3ec23ced30f80e365c60cacf620a5847231c3ceb.tar.gz) = 7117d8737ac8f599bc00ca4de524e6a4e72b5c65
-RMD160 (i2c-tools-3ec23ced30f80e365c60cacf620a5847231c3ceb.tar.gz) = d32f9fe1217c403e711cbfbc61b9ab65af332562
-SHA512 (i2c-tools-3ec23ced30f80e365c60cacf620a5847231c3ceb.tar.gz) = 1d6c6524cd2c4bc5b3813c672fa6f37b9b377968f36f3ad00bebb72a3cd430bc88707f8601fef379ce37f71433e404cca2f632e2411f97668551705735a6f79c
-Size (i2c-tools-3ec23ced30f80e365c60cacf620a5847231c3ceb.tar.gz) = 98311 bytes
-SHA1 (patch-decode-dimms) = 1e1bd3d26a40e3596f189a73109949ef636c5d94
+SHA1 (i2c-tools-ecd987aa6d126830bb0b5bfbd67240c9568b441f.tar.gz) = 9d97c10b7b3e3ad9e4901bcacab8aed933f0699a
+RMD160 (i2c-tools-ecd987aa6d126830bb0b5bfbd67240c9568b441f.tar.gz) = b710ff3f86bd036026ceac9f84e881f97a21cc46
+SHA512 (i2c-tools-ecd987aa6d126830bb0b5bfbd67240c9568b441f.tar.gz) = 9d43280df8c529fa9755e51b2a0de863330919d3e17f9b91a3718744b0c372bc40bbd60be7b3d8839cff8f637627aab8c0404f9664bb25d9961d32e4afe12847
+Size (i2c-tools-ecd987aa6d126830bb0b5bfbd67240c9568b441f.tar.gz) = 98369 bytes
+SHA1 (patch-decode-dimms) = acad3757981b81fd7fd15a3b39ec72d8ae2a7dd7
 SHA1 (patch-decode-dimms.1) = c1c1444a73fa848eda0223e2c176819d4ded6641

Index: pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms
diff -u pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.14 pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.15
--- pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.14        Fri Jun 21 15:42:19 2019
+++ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms     Fri Sep 13 00:17:50 2019
@@ -1,4 +1,4 @@
-$NetBSD: patch-decode-dimms,v 1.14 2019/06/21 15:42:19 pgoyette Exp $
+$NetBSD: patch-decode-dimms,v 1.15 2019/09/13 00:17:50 pgoyette Exp $
 
 Add NetBSD-specific ability to use spdmem(4)'s sysctl values as
 input.  Remove attempts to use linux-specific data sources.
@@ -25,7 +25,7 @@ input.  Remove attempts to use linux-spe
  
  # We consider that no data was written to this area of the SPD EEPROM if
  # all bytes read 0x00 or all bytes read 0xff
-@@ -2343,6 +2345,26 @@
+@@ -2355,6 +2357,26 @@
        }
  }
  
@@ -52,7 +52,7 @@ input.  Remove attempts to use linux-spe
  # Read bytes from SPD-EEPROM
  # Note: offset must be a multiple of 16!
  sub readspd($$$)
-@@ -2352,6 +2374,9 @@
+@@ -2364,6 +2386,9 @@
        if ($use_hexdump) {
                @bytes = read_hexdump($dimm_i);
                return @bytes[$offset..($offset + $size - 1)];
@@ -62,7 +62,7 @@ input.  Remove attempts to use linux-spe
        } elsif ($use_sysfs) {
                # Kernel 2.6 with sysfs
                sysopen(HANDLE, "$dimm_i/eeprom", O_RDONLY)
-@@ -2428,7 +2453,7 @@
+@@ -2440,7 +2465,7 @@
  # Parse command-line
  foreach (@ARGV) {
        if ($_ eq '-h' || $_ eq '--help') {
@@ -71,7 +71,7 @@ input.  Remove attempts to use linux-spe
                        "       $0 -h\n\n",
                        "  -f, --format            Print nice html output\n",
                        "  -b, --bodyonly          Don't print html header\n",
-@@ -2442,6 +2467,8 @@
+@@ -2454,6 +2479,8 @@
                        "  -x,                     Read data from hexdump files\n",
                        "  -X,                     Same as -x except treat multibyte hex\n",
                        "                          data as little endian\n",
@@ -80,7 +80,7 @@ input.  Remove attempts to use linux-spe
                        "  -h, --help              Display this usage summary\n";
                print <<"EOF";
  
-@@ -2486,13 +2513,20 @@
+@@ -2498,13 +2525,20 @@
                $use_hexdump = LITTLEENDIAN;
                next;
        }
@@ -102,7 +102,7 @@ input.  Remove attempts to use linux-spe
  }
  
  # Default values
-@@ -2570,7 +2604,6 @@
+@@ -2582,7 +2616,6 @@
  #  * chk_spd: The checksum or CRC value found in the EEPROM
  #  * chk_calc: The checksum or CRC computed from the EEPROM data
  # Keys are added over time.
@@ -110,7 +110,7 @@ input.  Remove attempts to use linux-spe
  
  for my $i (0 .. $#dimm) {
        my @bytes = readspd(0, 128, $dimm[$i]->{file});
-@@ -2622,7 +2655,7 @@
+@@ -2634,7 +2667,7 @@
                printl("Decoding EEPROM", $dimm[$current]->{eeprom});
        }
  



Home | Main Index | Thread Index | Old Index