]>
git.openfabrics.org - ~adrianc/mstflint.git/log
Oren Kladnitsky [Tue, 7 Oct 2008 10:57:50 +0000 (12:57 +0200)]
Fix compilation warning (unused param in msw_reset stub function)
Oren Kladnitsky [Sun, 28 Sep 2008 07:26:41 +0000 (10:26 +0300)]
Mtcr.h in now installed under include/mtcr_ul/mtcr.h
This is to prevent mix-ups with Mellanox mtcr.h file
which is installed with the MFT package.
Oren Kladnitsky [Sun, 28 Sep 2008 07:24:26 +0000 (10:24 +0300)]
Changed version num to 1.4
Oren Kladnitsky [Tue, 9 Sep 2008 14:55:47 +0000 (17:55 +0300)]
Update to MFT 2.5.0 release code.
Main changes:
- InfiniScaleIV switch burning support-
- Added -qq flint flag
- guids/macs assignment is independant
- Added block read/write functions to mtcr.h
Oren Kladnitsky [Mon, 8 Sep 2008 11:47:54 +0000 (14:47 +0300)]
Added InfiniScale IV dump support
Oren Kladnitsky [Thu, 3 Jul 2008 11:59:32 +0000 (14:59 +0300)]
Update readme
Oren Kladnitsky [Tue, 27 May 2008 10:34:52 +0000 (13:34 +0300)]
Updated to MFT 2.1.0 +
flint: See 2.1.0 UM + FW version checks.
mstdump: Remove 3 offending addresses
Some minor changes in main
Oren Kladnitsky [Thu, 27 Mar 2008 09:29:28 +0000 (11:29 +0200)]
Update to MFT 2.0.1 rc11
- Expansion roq query details
- Added -no non-interactive flag
Oren Kladnitsky [Sun, 27 Jan 2008 16:09:48 +0000 (18:09 +0200)]
Added all iX86 to supported arch in spec
Oren Kladnitsky [Tue, 25 Dec 2007 08:07:32 +0000 (10:07 +0200)]
Removed accidentally added spec file from prev commit. Added spec.in
Oren Kladnitsky [Sun, 23 Dec 2007 16:49:21 +0000 (18:49 +0200)]
Added mtcr.h installation to spec file
Oren Kladnitsky [Sun, 23 Dec 2007 09:15:48 +0000 (11:15 +0200)]
Added mtcr.h installation
Vladimir Sokolovsky [Wed, 19 Dec 2007 10:24:16 +0000 (12:24 +0200)]
Removed chkconfig requirement.
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Vladimir Sokolovsky [Wed, 19 Dec 2007 08:30:58 +0000 (10:30 +0200)]
Added version to the AC_INIT macro.
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Oren Kladnitsky [Tue, 18 Dec 2007 15:39:52 +0000 (17:39 +0200)]
Added mcra tool to autoconf and spec file.
And fixed prev commit mstregdump sources.
Ira K. Weiny [Mon, 10 Dec 2007 21:30:22 +0000 (13:30 -0800)]
Convert project to autoconf tools.
Signed-off-by: Ira K. Weiny <weiny2@llnl.gov>
Oren Kladnitsky [Tue, 13 Nov 2007 13:21:15 +0000 (15:21 +0200)]
Add mcra and update flint and mflash lib
Flint:
- Fix Exp-Rom inspection on PPC
- Better messaging in case of blanck GUIDs / MACs
Oren Kladnitsky [Tue, 13 Nov 2007 13:03:15 +0000 (15:03 +0200)]
Add mcra and update flint and mflash lib
Flint:
- Fix Exp-Rom inspection on PPC
- Better messaging in case of blanck GUIDs / MACs
Michael S. Tsirkin [Wed, 1 Aug 2007 11:33:35 +0000 (14:33 +0300)]
Fix segfault on malformed VPD
verify that offset < 64K
check that End tag exists
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Sun, 29 Jul 2007 13:29:06 +0000 (16:29 +0300)]
Add ConnectX support to mstvpd
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Sun, 1 Jul 2007 10:36:35 +0000 (13:36 +0300)]
Support mlx4_XX device names
This fixes connectx support.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Sun, 1 Jul 2007 10:35:27 +0000 (13:35 +0300)]
Fix error checking: store returned value in a signed integer,
so that < 0/<= 0 checks work correctly.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 29 May 2007 10:02:51 +0000 (13:02 +0300)]
Tweak README
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 29 May 2007 10:02:04 +0000 (13:02 +0300)]
Merge branch 'ofed_1_2'
Conflicts:
Makefile
Michael S. Tsirkin [Tue, 29 May 2007 09:57:16 +0000 (12:57 +0300)]
Document utilities new to OFED 1.2.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 29 May 2007 09:55:46 +0000 (12:55 +0300)]
Suppress exceptions for flint (speed up and reduce executable size).
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Thu, 17 May 2007 14:32:28 +0000 (17:32 +0300)]
Cosmetics: mread returns data in CPU endian-ness,
so we must use __cpu_to_be32 and not __be32_to_cpu on it.
Michael S. Tsirkin [Thu, 17 May 2007 10:05:02 +0000 (13:05 +0300)]
Fix endianness bug in SPI code.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Wed, 16 May 2007 12:47:38 +0000 (15:47 +0300)]
Fix typo
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Wed, 16 May 2007 12:45:40 +0000 (15:45 +0300)]
ConnectX A0 support in mtcr.h
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Wed, 16 May 2007 12:16:37 +0000 (15:16 +0300)]
Updated flint source from Oren - includes ConnectX support.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Wed, 18 Apr 2007 11:23:34 +0000 (14:23 +0300)]
typo fix - line ends with '\0', not '0'
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Wed, 18 Apr 2007 00:07:19 +0000 (03:07 +0300)]
whitespace fix
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Wed, 18 Apr 2007 00:03:51 +0000 (03:03 +0300)]
readlink does not null-terminate its output.
So we must do it ourselves.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 23:19:51 +0000 (02:19 +0300)]
whitespace fix
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 23:08:48 +0000 (02:08 +0300)]
Fix sysfs resource file parsing.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 22:55:05 +0000 (01:55 +0300)]
Fix /proc/bus/pci access: filenames were all wrong
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 12:33:18 +0000 (15:33 +0300)]
Force depends on name format, don't check whether the file exists.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 09:15:55 +0000 (12:15 +0300)]
Fix up Sinai device signature.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 07:44:36 +0000 (10:44 +0300)]
Set errno after fclose, to avoid over-writing it
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 07:34:08 +0000 (10:34 +0300)]
Fix segfault in case first open succeeds but second open fails.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Tue, 17 Apr 2007 06:42:23 +0000 (09:42 +0300)]
Fix some memory leaks on error.
Fix /proc/bus/pci/XX/XX.X, so that it uses config cycles
as it used to, rather than memory access.
Michael S. Tsirkin [Mon, 16 Apr 2007 11:38:15 +0000 (14:38 +0300)]
Fix bug 484: mmap to /proc and /sysfs seems to be broken on ppc64,
so fall back on /dev/mem
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Thu, 22 Mar 2007 15:22:34 +0000 (17:22 +0200)]
fix mstflint -d mthcaX on systems without mmap support
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Michael S. Tsirkin [Sun, 11 Mar 2007 08:08:40 +0000 (10:08 +0200)]
Fixed warnings that were reported by sparse.
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Mon, 22 Jan 2007 23:06:57 +0000 (01:06 +0200)]
Add mstvpd to clean target
Michael S. Tsirkin [Mon, 22 Jan 2007 19:12:33 +0000 (21:12 +0200)]
Add mstvpd to default target.
Make build -Wall clean.
Michael S. Tsirkin [Mon, 22 Jan 2007 16:26:21 +0000 (18:26 +0200)]
Add VPD dumping tool.
Update copyrights in headers.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Sun, 7 Jan 2007 14:08:28 +0000 (16:08 +0200)]
Kill a debug message Oren forgot in code.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Sun, 7 Jan 2007 14:05:47 +0000 (16:05 +0200)]
Updated to SVN rev 3200:
Fixed vsd/psid queries on PPC
Display Expansion rom version and product version in query
Added expansion rom checksum verification
Added expansion rom version to query
Fixed a bug in CFI query - seg fault when CFI data on flash is corrupted
Michael S. Tsirkin [Thu, 4 Jan 2007 12:30:12 +0000 (14:30 +0200)]
mread/mwrite -> mst*
Michael S. Tsirkin [Thu, 4 Jan 2007 12:27:36 +0000 (14:27 +0200)]
rename utility mstdump -> mstregdump
Michael S. Tsirkin [Thu, 28 Dec 2006 15:13:42 +0000 (17:13 +0200)]
Add mstdump tool, make it compile with mtcr.h
Michael S. Tsirkin [Thu, 28 Dec 2006 15:12:42 +0000 (17:12 +0200)]
dump tool: import CVS version 1.6
Michael S. Tsirkin [Tue, 19 Dec 2006 13:58:41 +0000 (15:58 +0200)]
macro MTCR_EXPORT so people can use mtcr.h from multiple files.
Michael S. Tsirkin [Thu, 14 Dec 2006 11:58:34 +0000 (13:58 +0200)]
Actual format for device softlink looks like this: /sys/class/infiniband/mthca0/device ->
../../../devices/pci0000:00/0000:00:04.0/0000:03:00.2/0000:05:01.0/0000:06:00.0
directory hierarchy mirros the bus hierarchy.
So we should only parse the basename when looking for the device location.
Michael S. Tsirkin [Wed, 13 Dec 2006 10:27:42 +0000 (12:27 +0200)]
Do *not* suggest -nofs on algorithm error.
Michael S. Tsirkin [Tue, 12 Dec 2006 10:38:51 +0000 (12:38 +0200)]
Update README with more detail about reset after burn.
Michael S. Tsirkin [Tue, 12 Dec 2006 10:35:44 +0000 (12:35 +0200)]
Update README with recommendation to use mthcaX.
Michael S. Tsirkin [Tue, 12 Dec 2006 10:11:08 +0000 (12:11 +0200)]
Use mthcaX in examples.
Michael S. Tsirkin [Tue, 12 Dec 2006 09:34:04 +0000 (11:34 +0200)]
mthcaX support
Michael S. Tsirkin [Tue, 12 Dec 2006 09:04:41 +0000 (11:04 +0200)]
Apply the following patch included in OFED 1.1:
mmap() does not work on ppc64 at least up to 2.6.18.
The 64-bit machines with 32-bit I/O need
ioremap in device driver to allow mmap access to the I/O memory.
This patch checks the above situations and tries to use PCI config to do the
firmware update when mmap() failed.
Signed-off-by: Tseng-Hui (Frank) Lin <thlin@us.ibm.com>
Michael S. Tsirkin [Sun, 6 Aug 2006 08:00:12 +0000 (08:00 +0000)]
r8832: clean up some messages
Michael S. Tsirkin [Tue, 13 Jun 2006 07:38:29 +0000 (07:38 +0000)]
r7940: Add support for multi-domain systems.
Michael S. Tsirkin [Mon, 15 May 2006 12:20:47 +0000 (12:20 +0000)]
r7179: Pass flags to CXX when calculating the library path.
Michael S. Tsirkin [Thu, 23 Mar 2006 16:08:01 +0000 (16:08 +0000)]
r5988: BugFix: Replace user guids were ignored when not on tty.
Clean up english in messages.
Michael S. Tsirkin [Mon, 13 Mar 2006 18:33:27 +0000 (18:33 +0000)]
r5792: fix more warnings
fix english
Michael S. Tsirkin [Mon, 13 Mar 2006 17:55:54 +0000 (17:55 +0000)]
r5788: fix compialtion warnings
Michael S. Tsirkin [Mon, 13 Mar 2006 17:54:34 +0000 (17:54 +0000)]
r5787: updated to flint 2768
Michael S. Tsirkin [Mon, 23 Jan 2006 15:26:51 +0000 (15:26 +0000)]
r5157: Fix gcc warning.
Michael S. Tsirkin [Mon, 23 Jan 2006 15:26:21 +0000 (15:26 +0000)]
r5156: update to MFT1.0.1 (IBG2.0.1)
Michael S. Tsirkin [Mon, 23 Jan 2006 15:25:51 +0000 (15:25 +0000)]
r5155: add .o to clean
Michael S. Tsirkin [Tue, 11 Oct 2005 08:00:05 +0000 (08:00 +0000)]
r3714: Make flint actually support unknown sector types, for forward compatibility.
Michael S. Tsirkin [Wed, 7 Sep 2005 14:48:35 +0000 (14:48 +0000)]
r3331: revert previous change
Michael S. Tsirkin [Wed, 7 Sep 2005 14:46:27 +0000 (14:46 +0000)]
r3330: change invariant sector from error to warning
Michael S. Tsirkin [Tue, 6 Sep 2005 13:55:11 +0000 (13:55 +0000)]
r3322: Update to flint in ib gold 1.8.0
Michael S. Tsirkin [Sun, 14 Aug 2005 16:33:22 +0000 (16:33 +0000)]
r3083: by default, link libstdc++ statically
Michael S. Tsirkin [Tue, 19 Jul 2005 15:28:48 +0000 (15:28 +0000)]
r2871: Add device in format /sys/class/infiniband/mthcaxxx/device/resource0
Michael S. Tsirkin [Sun, 3 Jul 2005 07:06:45 +0000 (07:06 +0000)]
r2778: NULL -> 0: fix compilation with gcc 3.4
Michael S. Tsirkin [Mon, 30 May 2005 13:40:24 +0000 (13:40 +0000)]
r2510: support domain > 0 by mmap /sys/bus/pci/devices/XXXX/resource0
default for now stays in /proc
Michael S. Tsirkin [Wed, 30 Mar 2005 12:58:00 +0000 (12:58 +0000)]
r2083: Fix segfault in flash recovery.
Michael S. Tsirkin [Tue, 15 Mar 2005 16:19:24 +0000 (16:19 +0000)]
r1990: last minute fixes from gold 1.7.0
Michael S. Tsirkin [Mon, 7 Mar 2005 15:35:12 +0000 (15:35 +0000)]
r1957: some last minute fixes
Michael S. Tsirkin [Sun, 6 Mar 2005 16:03:35 +0000 (16:03 +0000)]
r1954: support more flash types
Michael S. Tsirkin [Wed, 19 Jan 2005 09:17:16 +0000 (09:17 +0000)]
r1578: disable /dev/mem by default
Michael S. Tsirkin [Wed, 19 Jan 2005 09:11:10 +0000 (09:11 +0000)]
r1577: Support systems that have domain name under /proc/bus/pci/devices.
Michael S. Tsirkin [Wed, 19 Jan 2005 09:02:58 +0000 (09:02 +0000)]
r1576: remove unused macros
Michael S. Tsirkin [Wed, 19 Jan 2005 09:01:49 +0000 (09:01 +0000)]
r1575: psid/vsd endian-ness fixed.
Michael S. Tsirkin [Tue, 18 Jan 2005 19:27:02 +0000 (19:27 +0000)]
r1563: fix endian-ness. but how did it work on sparc earlier?
Michael S. Tsirkin [Sun, 16 Jan 2005 10:50:06 +0000 (10:50 +0000)]
r1538: Add mread/mwrite utilities
Michael S. Tsirkin [Fri, 14 Jan 2005 14:44:13 +0000 (14:44 +0000)]
r1530: compilation fixes.
Michael S. Tsirkin [Fri, 14 Jan 2005 14:39:14 +0000 (14:39 +0000)]
r1529: 1. revert: remove pread/pwrite support
2. mmap support for /prov/bus/pci.
Michael S. Tsirkin [Thu, 13 Jan 2005 18:55:21 +0000 (18:55 +0000)]
r1526:
fix checks
Michael S. Tsirkin [Thu, 13 Jan 2005 18:47:49 +0000 (18:47 +0000)]
r1525: Add pread/pwrite support on /dev/mem
Michael S. Tsirkin [Wed, 12 Jan 2005 10:06:44 +0000 (10:06 +0000)]
r1519: cleanup
Michael S. Tsirkin [Wed, 12 Jan 2005 10:01:31 +0000 (10:01 +0000)]
r1518: endian-ness cleanup
Michael S. Tsirkin [Wed, 12 Jan 2005 09:56:45 +0000 (09:56 +0000)]
r1517: fix default parameters
Michael S. Tsirkin [Wed, 12 Jan 2005 08:36:19 +0000 (08:36 +0000)]
r1516: a bit of documentation
Michael S. Tsirkin [Wed, 12 Jan 2005 08:35:05 +0000 (08:35 +0000)]
r1515: Add options for compilation: optimizations, debug, etc.
Michael S. Tsirkin [Tue, 11 Jan 2005 10:29:38 +0000 (10:29 +0000)]
r1506: 1. Use a 64 bit file interface.
2. define XOPEN_SOURCE and not UNIX98 directly.
3. include alloca.h in flint.cpp since we use it.