]>
git.openfabrics.org - ~adrianc/mstflint.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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.
Michael S. Tsirkin [Sat, 8 Jan 2005 21:32:02 +0000 (21:32 +0000)]
r1498: Add long long bar/size support (set by default).
TODO: cleanup.
Michael S. Tsirkin [Thu, 6 Jan 2005 10:34:01 +0000 (10:34 +0000)]
r1485: fix typo
Michael S. Tsirkin [Thu, 6 Jan 2005 10:31:41 +0000 (10:31 +0000)]
r1484: Support names of the form 0000:00:00.0
Michael S. Tsirkin [Thu, 6 Jan 2005 10:15:49 +0000 (10:15 +0000)]
r1483: 1. fix endian-ness for configuration cycles data
2. more sanity checks for mmap result
Michael S. Tsirkin [Wed, 5 Jan 2005 18:01:44 +0000 (18:01 +0000)]
r1479: Add more debug prints.
Michael S. Tsirkin [Wed, 5 Jan 2005 10:26:01 +0000 (10:26 +0000)]
r1474: ignore mstflint binary on checkins
Michael S. Tsirkin [Wed, 5 Jan 2005 10:15:18 +0000 (10:15 +0000)]
r1473: Add -Wall and fix warnings.
Detailed diagnostics.
Michael S. Tsirkin [Wed, 5 Jan 2005 10:04:50 +0000 (10:04 +0000)]
r1472: Portability updates. Add -g for compiler.
Michael S. Tsirkin [Wed, 5 Jan 2005 10:01:29 +0000 (10:01 +0000)]
r1471: Add GPL/BSD license + copyright all over.
Add more examples to the README.
Michael S. Tsirkin [Wed, 5 Jan 2005 09:40:21 +0000 (09:40 +0000)]
r1470: Move mstflint from mellanox/contrib.