--- msrtool-0.0+r4091.orig/debian/changelog +++ msrtool-0.0+r4091/debian/changelog @@ -0,0 +1,5 @@ +msrtool (0.0+r4091-1) unstable; urgency=low + + * Initial release (Closes: #523531). + + -- Uwe Hermann Sat, 11 Apr 2009 03:37:56 +0200 --- msrtool-0.0+r4091.orig/debian/compat +++ msrtool-0.0+r4091/debian/compat @@ -0,0 +1 @@ +7 --- msrtool-0.0+r4091.orig/debian/watch +++ msrtool-0.0+r4091/debian/watch @@ -0,0 +1 @@ +# Not needed/used, we're tracking upstream svn revisions. --- msrtool-0.0+r4091.orig/debian/dirs +++ msrtool-0.0+r4091/debian/dirs @@ -0,0 +1 @@ +usr/sbin --- msrtool-0.0+r4091.orig/debian/control +++ msrtool-0.0+r4091/debian/control @@ -0,0 +1,23 @@ +Source: msrtool +Section: utils +Priority: extra +Maintainer: Uwe Hermann +Build-Depends: cdbs, debhelper (>= 7), libpci-dev +Standards-Version: 3.8.1 +Homepage: http://coreboot.org/Msrtool + +Package: msrtool +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Dump chipset-specific MSR contents + The msrtool utility can dump MSR (model-specific register) contents, + which is useful for debugging and development. + . + The tool currently supports the following chipsets: + - AMD Geode LX + - AMD Geode CS5536 + - AMD K8 + . + It has been developed for the coreboot project (see http://coreboot.org for + details on coreboot), but may also be useful for other purposes. + --- msrtool-0.0+r4091.orig/debian/copyright +++ msrtool-0.0+r4091/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by: + + Uwe Hermann on Sat, 11 Apr 2009 03:37:56 +0200 + +It was downloaded from: + + http://coreboot.org/Msrtool + +Upstream Authors: + + Peter Stuge + Marc Jones + +------------------------------------------------------------------------------- + +Files: * +Copyright: © 2008 Peter Stuge +License: GPL-2 + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +------------------------------------------------------------------------------- + +Files: k8.c +Copyright: © 2009 Marc Jones +License: GPL-2 + +------------------------------------------------------------------------------- + +Files: debian/* +Copyright: © 2009 Uwe Hermann +License: PD + The packaging done by Uwe Hermann is hereby + released as public domain. + --- msrtool-0.0+r4091.orig/debian/ChangeLog +++ msrtool-0.0+r4091/debian/ChangeLog @@ -0,0 +1,102 @@ +------------------------------------------------------------------------ +r4090 | uwe | 2009-04-10 23:05:56 +0200 (Fri, 10 Apr 2009) | 7 lines + +Add a note that 'modprobe msr' might be required. +Remove trailing whitespace. Fix typos. + +Signed-off-by: Uwe Hermann +Acked-by: Uwe Hermann + + +------------------------------------------------------------------------ +r4026 | stuge | 2009-03-23 18:43:12 +0100 (Mon, 23 Mar 2009) | 7 lines + +msrtool: If an MSR name lookup fails in msraddrbyname(), return the strtoul() conversion result. + +Thanks to Mart for finding and reporting the problem! + +Signed-off-by: Peter Stuge +Acked-by: Peter Stuge + +------------------------------------------------------------------------ +r3985 | mjones | 2009-03-08 05:37:39 +0100 (Sun, 08 Mar 2009) | 10 lines + +Add some basic K8 MSRs. +Fix bash script type. +Removed const return type on msraddrbyname() to fix gcc warning/error. + +Signed-off-by: Marc Jones +Acked-by: Carl-Daniel Hailfinger +Acked-by: Peter Stuge + + + +------------------------------------------------------------------------ +r3921 | stuge | 2009-01-26 18:18:31 +0100 (Mon, 26 Jan 2009) | 7 lines + +msrtool: Allow MSR symbols (names) to also be used as addresses. + +Thanks for the idea Mart! + +Signed-off-by: Peter Stuge +Acked-by: Peter Stuge + +------------------------------------------------------------------------ +r3920 | stuge | 2009-01-26 18:03:05 +0100 (Mon, 26 Jan 2009) | 7 lines + +msrtool: Linux /dev/cpu/*/msr returns the low 32 bits before the high 32 bits. + +Thanks to Mart for spotting this! + +Signed-off-by: Peter Stuge +Acked-by: Peter Stuge + +------------------------------------------------------------------------ +r3915 | stuge | 2009-01-26 05:12:58 +0100 (Mon, 26 Jan 2009) | 5 lines + +msrtool: AMD CS5536 probe implementation. + +Signed-off-by: Peter Stuge +Acked-by: Peter Stuge + +------------------------------------------------------------------------ +r3914 | stuge | 2009-01-26 05:10:12 +0100 (Mon, 26 Jan 2009) | 5 lines + +msrtool: Make configure work with zsh, the default shell in Darwin. + +Signed-off-by: Peter Stuge +Acked-by: Peter Stuge + +------------------------------------------------------------------------ +r3770 | stuge | 2008-11-25 03:03:16 +0100 (Tue, 25 Nov 2008) | 7 lines + +msrtool: Use libpci to let system and target probes find PCI devices. + +And some more notes in TODO. + +Signed-off-by: Peter Stuge +Acked-by: Carl-Daniel Hailfinger + +------------------------------------------------------------------------ +r3767 | stuge | 2008-11-22 19:29:44 +0100 (Sat, 22 Nov 2008) | 5 lines + +msrtool: Very small fixes I made after sending out the rc1 tarball. + +Signed-off-by: Peter Stuge +Acked-by: Peter Stuge + +------------------------------------------------------------------------ +r3766 | stepan | 2008-11-22 18:13:36 +0100 (Sat, 22 Nov 2008) | 11 lines + +msrtool: Release Candidate 1 + +msrtool can decode MSRs and print the value of every field in human +readable form. It can also be used to save a set of MSRs to a file, +and at a later time compare the saved values with current values in +hardware. + +Signed-off-by: Peter Stuge +Acked-by: Stefan Reinauer + + +------------------------------------------------------------------------ --- msrtool-0.0+r4091.orig/debian/rules +++ msrtool-0.0+r4091/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_MAKE_INSTALL_TARGET := install PREFIX=$(CURDIR)/debian/msrtool/usr +LDFLAGS += -lpci + +# Upstream ChangeLog generated via 'LC_ALL=C svn log > ChangeLog'. +DEB_INSTALL_CHANGELOGS_ALL := debian/ChangeLog + +post-patches:: debian/stamp-autothings-update +debian/stamp-autothings-update: + @# Note: This is _not_ the usual autoconf 'configure' script! + ./configure + touch $@ + +clean:: + rm -f debian/stamp-autothings-update Makefile Makefile.deps + +common-binary-post-install-arch:: list-missing + --- msrtool-0.0+r4091.orig/debian/docs +++ msrtool-0.0+r4091/debian/docs @@ -0,0 +1 @@ +TODO --- msrtool-0.0+r4091.orig/debian/patches/10_nonexisting_manpage.patch +++ msrtool-0.0+r4091/debian/patches/10_nonexisting_manpage.patch @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2009-04-11 03:47:33.000000000 +0200 ++++ Makefile.in 2009-04-11 03:47:48.000000000 +0200 +@@ -40,8 +40,6 @@ + + install: $(PROGRAM) + $(INSTALL) $(PROGRAM) $(PREFIX)/sbin +- mkdir -p $(PREFIX)/share/man/man8 +- $(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8 + + distprep: distclean Makefile.deps + --- msrtool-0.0+r4091.orig/debian/patches/20_version.patch +++ msrtool-0.0+r4091/debian/patches/20_version.patch @@ -0,0 +1,11 @@ +--- configure.orig 2009-04-11 04:08:12.000000000 +0200 ++++ configure 2009-04-11 04:08:30.000000000 +0200 +@@ -23,7 +23,7 @@ + VERSION="" + + REV="`svnversion -c . 2>/dev/null | sed 's,.*:,,' 2>/dev/null`" +-VERSION="${VERSION:-$REV}" ++VERSION="4091" + + function findprog { + NPARMS=$#