]>
git.openfabrics.org - ~adrianc/mstflint.git/log
Oren Kladnitsky [Thu, 27 Oct 2011 14:34:47 +0000 (16:34 +0200)]
Fix a (harmless) buffer overrun
Oren Kladnitsky [Wed, 26 Oct 2011 12:12:14 +0000 (14:12 +0200)]
Update code to mft-2.7.1 release
Atmel flash support
Clearer error message on device/image mismatch
Version string fix
Oren Kladnitsky [Mon, 10 Oct 2011 09:43:39 +0000 (11:43 +0200)]
Support ConnectX3 and SwitchX in mstdump
Take mstdump from MFT 2.7.0
Added new files from MFT/dev_mgt lib for new mstdump.
Oren Kladnitsky [Sun, 9 Oct 2011 10:40:11 +0000 (12:40 +0200)]
Fix bug with cr access for ConnectX-3 A1 chip
Oren Kladnitsky [Fri, 8 Jul 2011 11:50:17 +0000 (14:50 +0300)]
Updated to MFT 2.7.0 build 20 (final)
Support crspace locking (where available by FW)
Misc fixes
Update help
ROM Query - Supported UEFI ROM format
Oren Kladnitsky [Fri, 8 Jul 2011 11:27:23 +0000 (14:27 +0300)]
Do not display VPD "RW" keyword
Oren Kladnitsky [Thu, 26 May 2011 06:59:33 +0000 (09:59 +0300)]
Update to MFT2.7.0 intermediate build 13.
Major changes:
Support ConnectX3 device.
Support SwitchX device (basic support)
Expansion rom query updates.
Mohammad Sawalha [Wed, 16 Feb 2011 16:26:29 +0000 (18:26 +0200)]
Support NIC and VPI devices
Replaced HCA with CA
Inform the user about CA and port types
Mohammad Sawalha [Tue, 8 Feb 2011 12:27:39 +0000 (14:27 +0200)]
Supported Network controller devices Signed-off-by: Mohammad Sawalha <mohammad@sw005.lab.mtl.com>
Signed-off-by: Oren Kladnitsky <orenk@dev.mellanox.co.il>
Oren Kladnitsky [Sun, 19 Dec 2010 10:30:41 +0000 (12:30 +0200)]
Fixed mstflint device name example to the correct format
Oren Kladnitsky [Sun, 19 Dec 2010 10:04:27 +0000 (12:04 +0200)]
Updated mstdump address list
Oren Kladnitsky [Sun, 19 Dec 2010 10:01:25 +0000 (12:01 +0200)]
Fix seg fault when driver is not loaded and crspace reads all FFs
Oren Kladnitsky [Mon, 6 Dec 2010 13:48:22 +0000 (15:48 +0200)]
Updated mstflint to MFT 2.6.2 sources
Oren Kladnitsky [Wed, 29 Sep 2010 05:57:43 +0000 (07:57 +0200)]
typo
Oren Kladnitsky [Tue, 28 Sep 2010 13:15:50 +0000 (15:15 +0200)]
Updated README for multi-function devices
Mohammad Sawalha [Mon, 13 Sep 2010 14:43:37 +0000 (16:43 +0200)]
Added new device IDs to mstflint
Signed-off-by: Oren Kladnitsky <orenk@dev.mellanox.co.il>
Mohammad Sawalha [Mon, 13 Sep 2010 13:50:38 +0000 (15:50 +0200)]
Changed the hca names and removed the requirement to add new IDs.
Signed-off-by: Oren Kladnitsky <orenk@dev.mellanox.co.il>
Mohammad Sawalha [Mon, 13 Sep 2010 13:17:40 +0000 (15:17 +0200)]
Fixed a buffer override and offline (conf cycles) upgrade.
Signed-off-by: Oren Kladnitsky <orenk@dev.mellanox.co.il>
Oren Kladnitsky [Mon, 13 Sep 2010 07:45:07 +0000 (09:45 +0200)]
mstvpd: Added -r flag to ignore VPD_W tag in the vpd data.
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.