Commit graph

32 commits

Author SHA1 Message Date
pgoyette
47451a7517 Update sysutils/decode-dimms to 4.1-20191002nb2
Improved NetBSD-specific man page.  No functional change.
2019-10-31 18:33:40 +00:00
pgoyette
fbda69387f Remove last vestiges of linux-specific methods of getting the SPD
data.  For NetBSD we support only hex-dump files and sysctl.
2019-10-08 17:11:45 +00:00
pgoyette
029dbf412f Revert previous - with the hyphen, pkg_* tools think that the package's
basename is decode-dimms-4.1 rather than decode-dimms
2019-10-03 18:53:32 +00:00
pgoyette
3a1e790615 Also, separate the upstream version info from the package-date with a
hyphen and vs dot.
2019-10-03 18:51:46 +00:00
pgoyette
595b26dfec We really don't need to include the GIT_COMMIT in the printet version string! 2019-10-03 18:50:24 +00:00
pgoyette
213480c624 Update decode-dimms to 2019-10-02
Upstream changes.  (Note that some of these don't really affect to NetBSD,
but are included anyway for reducing differences with the upstream copy.)

	Detect and report truncated input files
	   If using the wrong driver, or if reading from a truncated dump
	   file, make sure we don't attempt to use data bytes beyond what
	   is available. Doing so would spit pages of cryptic warnings to
	   the user, explicit error messages are much better.

	Print kernel driver used
	   When not reading from dump files, print which kernel driver is
	   being used.  This will help spot setup mistakes where the legacy
	   eeprom driver stole EEPROMs from the ee1004 driver for DDR4
	   memory.

	Print DDR memory speed in MT/s not MHz
	   Because it is DDR memory, transaction rate is twice the actual
	   clock speed. What the user is interested in is MT/s, and that's
	   the number we display, so use the right unit.

	Add DDR5 memory types to the list
	   No information available yet about the contents of the DDR5 SPD
	   EEPROMs but we can already report the basic memory type.

	Decode manufacturing data for LPDDR3
	   I assume the manufacturing data format for LPDDR3 is the same
	   as regular DDR3.

	Fix the version string
	   We moved away from Subversion long ago, so $Revision$ and $Date$
	   are no longer being resolved. Just use the version of i2c-tools
	   itself.

	Point the user to the right driversHEADmaster
	   The header comment only mentioned the legacy eeprom driver, while
	   the at24 and ee1004 drivers should be used nowadays.
2019-10-03 18:42:26 +00:00
pgoyette
0c49606711 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.
2019-09-13 00:17:50 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
pgoyette
42bf942a72 Resolve remaining pkglint issues:
- move SUBST to post-extract (instead of pre-patch)
	- add rationale for the ONLY_FOR_PLATFORM

NFCI
2019-06-25 15:35:33 +00:00
pgoyette
2cc046c10b Cleanup some issues found by pkglint.
NFCI
2019-06-25 15:19:36 +00:00
pgoyette
4488b68134 Update sysutils/decode-dimms to 0.0.20190619
Upstream change long:
	decode-dimms: Add MAC abbreviation for DDR4
	decode-dimms: display MAC from DDR3 SPD
2019-06-21 15:42:19 +00:00
pgoyette
4369856c10 Remove attempts to access linux-specific SPD ROM data sources /sys/...
and /proc/sys/...
2019-06-17 21:03:50 +00:00
pgoyette
a3bf3c016b Update to version 0.0.20190405nb1
Fix to correctly populate the sysctl_cache[]
2019-04-08 00:16:06 +00:00
pgoyette
5f8465e1b7 Print primary bus width for DDR3 and DDR4 Also make bus width extension
conditional for DDR3, as was already done for DDR4.
2019-04-06 10:57:28 +00:00
pgoyette
2e4787f59d Update to 2019-01-09. Upstream commit log:
8 days	decode-dimms: Move SDR-specific code
8 days	decode-dimms: Print SPD revision for DDR3 too
2019-01-17 05:41:10 +00:00
pgoyette
f7eeb30dc0 Update to 2018-11-23:
i2c-tools: decode-dimms: New manufacturer names from JEP106AX
Add all the JEDEC-registered manufacturer names added since JEP106AQ.
2018-12-28 21:23:53 +00:00
tnn
c6c2f5f76b decode-dimms: needs perl runtime 2018-09-27 19:38:46 +00:00
pgoyette
b402767a31 Set myself as the maintainer.
Don't include lang/perl5/module.mk - we're not building a perl module,
just building an application that uses perl.
2018-08-14 12:34:45 +00:00
wiz
6846234ab4 decode-dimms: pkglint fixes 2018-07-25 05:40:15 +00:00
pgoyette
aa98bcb61b Include the GIT_COMMIT id in the new revision string, as well as the
date.
2018-07-25 04:53:44 +00:00
pgoyette
e8e769dda4 Move the revision string substituion stuff to pre-patch
Fix the substitution string to include the trailing / within the 's,
and add a blank line for readability (thanks jnemeth@ for these two).
2018-07-25 04:48:22 +00:00
pgoyette
9353555d9a Put the REPLACE_PERL back into the Makefile, and remove it from the
patch-file.
2018-07-25 04:33:31 +00:00
pgoyette
b53d4db8cb Remove REPLACE_PERL as it's not doing anything
Edit the tool to have a useful version identifier - avoiding any
attempts for repository-management tools to perform substitution on
$Revision$ and $Date$
2018-07-25 04:24:05 +00:00
pgoyette
3f619cbb46 Update the patch again to get it with the correct from-to files. 2018-07-25 02:40:44 +00:00
pgoyette
12b11474ae Update distinfo when fixing patch file 2018-07-25 02:37:41 +00:00
pgoyette
f74f882b75 Fix the file names in the patch 2018-07-25 02:37:11 +00:00
pgoyette
814c6ae49c Update the patch file to not attempt to change CVS keywords 2018-07-25 02:36:08 +00:00
pgoyette
9b87ac018e Re-add the decode-dimms package after resolving the various issues
related to packaging.  Many thanks to maya@ for her extensive help
in getting this to work!
2018-07-25 02:05:26 +00:00
pgoyette
efa51125e0 decode-dimms is gone 2018-03-01 23:50:04 +00:00
pgoyette
8341edfc6b Fix patch to ignore original's CVS Revision tag; update distinfo accordingly 2018-03-01 23:18:00 +00:00
pgoyette
27bdbc3918 Update distinfo 2018-03-01 22:54:05 +00:00
pgoyette
49f46948b9 Add sysutils/decode-dimms - utility to decode the DIMMs' SPD ROM data 2018-03-01 22:45:58 +00:00