]>
git.openfabrics.org - ~adrianc/mstflint.git/log
Oren Kladnitsky [Wed, 9 Jun 2010 09:37:41 +0000 (12:37 +0300)]
Changed VPD size to 4KB
No need to read the max (32KB) size as Mellanox products currently have VPD of 256 bytes.
Oren Kladnitsky [Mon, 17 May 2010 14:36:50 +0000 (17:36 +0300)]
Fix max vpd size
This bug may have caused VPD RW section corruption
Oren Kladnitsky [Mon, 22 Mar 2010 16:19:31 +0000 (18:19 +0200)]
Update mstregdump to MFT2.6.1 release
Oren Kladnitsky [Mon, 22 Mar 2010 15:49:13 +0000 (17:49 +0200)]
Fix unmap typo bug
This unmap did not refer to the full mapped memory. This caused a message to var/log/messages.
Oren Kladnitsky [Mon, 22 Mar 2010 15:47:22 +0000 (17:47 +0200)]
Fix get ofed version
Oren Kladnitsky [Mon, 22 Mar 2010 07:19:14 +0000 (09:19 +0200)]
Do not attempt to get counters of RoCEE port
Oren Kladnitsky [Wed, 13 Jan 2010 16:13:35 +0000 (18:13 +0200)]
Updated mstregdump code to MFT2.6.1
Oren Kladnitsky [Wed, 13 Jan 2010 15:58:34 +0000 (17:58 +0200)]
Update to version MFT 2.6.1
Oren Kladnitsky [Fri, 16 Oct 2009 08:41:15 +0000 (10:41 +0200)]
Update to MFT 2.6.0 release
Changed global crc setting in image.
Oren Kladnitsky [Sun, 27 Sep 2009 07:07:13 +0000 (09:07 +0200)]
Fix compilation issue on ppc64 optimized mode
Oren Kladnitsky [Thu, 24 Sep 2009 12:10:22 +0000 (15:10 +0300)]
Update to MFT 2.6.0 rc 20
Major changes:
Support generating nofs image for FS2 images
Limiting the ROM modify features on old FWs (ConnectX 2.7.0)
Support 26478 device id on flint
Add CRC check for the full image
Fix bug on parallel burns on IS4
Fix compilation errors on SLES11
Burn Exp-ROM individually on the flash for
Read/Remove Exp-ROM from the flash
Query the clp-gpxe ROM
Add the option to get the log file from env variable
Oren Kladnitsky [Thu, 27 Aug 2009 14:14:18 +0000 (17:14 +0300)]
Update to MFT 2.6.0-rc15
For bridgex support
Oren Kladnitsky [Thu, 6 Aug 2009 10:45:59 +0000 (13:45 +0300)]
Update lspci example
Oren Kladnitsky [Wed, 15 Jul 2009 16:16:07 +0000 (19:16 +0300)]
Changed default timeout to 5 secs
VPD access to mellanox devices takes ~ 1 mili. 5 secs is safe.
Added TO error message.
Added -E- prefix to error mesage.
Oren Kladnitsky [Wed, 15 Jul 2009 16:07:09 +0000 (19:07 +0300)]
Add vpd read timeout.
This patch is from Mike Hienz from QLogic.
- Add timeout to vpd read.
- Change cmd parse to getopt and add -t flag
- Add propper usage
Oren Kladnitsky [Sun, 29 Mar 2009 18:03:46 +0000 (21:03 +0300)]
Added --disable-dc (dump config) config option.
This disables flint's dump config option eliminates zlib dependency
Oren Kladnitsky [Mon, 9 Mar 2009 15:13:55 +0000 (17:13 +0200)]
Fix error message
Vladimir Sokolovsky [Wed, 4 Mar 2009 15:07:00 +0000 (17:07 +0200)]
hca_self_test: fix lspci output parsing
Signed-off-by: Mohammad Sawalha <mohammad@mellanox.co.il>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Oren Kladnitsky [Mon, 2 Mar 2009 15:01:38 +0000 (17:01 +0200)]
Many updates
Check that all required tools are in the path
Check errors on reading counter sysfs files
Do not display internal error mesages
Remove some extra prints
Oren Kladnitsky [Tue, 3 Feb 2009 16:49:09 +0000 (18:49 +0200)]
Added BridgeX device id
Oren Kladnitsky [Thu, 15 Jan 2009 11:50:49 +0000 (13:50 +0200)]
Fixed issue with InfiniScaleIV dev id support
Oren Kladnitsky [Thu, 15 Jan 2009 11:43:39 +0000 (13:43 +0200)]
Add missing echo
Oren Kladnitsky [Thu, 4 Dec 2008 17:47:17 +0000 (19:47 +0200)]
Added hca_self_test.ofed script installation
This script runs some checks to verify HCAs health.
See hca_self_test.readme for details
Oren Kladnitsky [Fri, 14 Nov 2008 09:56:25 +0000 (11:56 +0200)]
Removed ConnectX undumpable address
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