]> git.openfabrics.org - ~adrianc/mstflint.git/log
~adrianc/mstflint.git
9 years agomtcr_ul access device only through configuration cycles on arm64 arch due to failure...
Adrian Chiris [Tue, 12 Aug 2014 11:41:48 +0000 (14:41 +0300)]
mtcr_ul access device only through configuration cycles on arm64 arch due to failure to mmap

9 years agowarrning fix
Adrian Chiris [Sun, 3 Aug 2014 07:36:56 +0000 (10:36 +0300)]
warrning fix

9 years agoupdated changelog of mstflint.spec.in
Adrian Chiris [Thu, 31 Jul 2014 15:57:28 +0000 (18:57 +0300)]
updated changelog of mstflint.spec.in

9 years agofixed warrnings when compiling with gcc 4.8
Adrian Chiris [Thu, 31 Jul 2014 15:18:59 +0000 (18:18 +0300)]
fixed warrnings when compiling with gcc 4.8

9 years agoported changes from MFT-3.7.0
Adrian Chiris [Thu, 31 Jul 2014 13:50:35 +0000 (16:50 +0300)]
ported changes from MFT-3.7.0

9 years agoMerge branch 'master' of ssh://git.openfabrics.org/home/mohammads/scm/mstflint
Adrian Chiris [Thu, 24 Jul 2014 07:19:31 +0000 (10:19 +0300)]
Merge branch 'master' of ssh://git.openfabrics.org/home/mohammads/scm/mstflint

9 years agoCheck empty VPD even if no checksum required
Adham Masarwah [Sun, 20 Jul 2014 13:06:04 +0000 (16:06 +0300)]
Check empty VPD even if no checksum required

Signed-off-by: Adham Masarwah <adham@mellanox.com>
10 years agoAdded -v flag to print version
Adham Masarwah [Tue, 8 Jul 2014 08:15:57 +0000 (11:15 +0300)]
Added -v flag to print version
Updated the Help to contain -v / -h flags

Signed-off-by: Adham Masarwah <adham@mellanox.com>
10 years agoCheck the argument for -t if it is number.
Adham Masarwah [Mon, 7 Jul 2014 13:25:36 +0000 (16:25 +0300)]
Check the argument for -t if it is number.

Signed-off-by: Adham Masarwah <adham@mellanox.com>
10 years agoBug SW #400685 mstvpd with an empty VPD issue
Adham Masarwah [Mon, 7 Jul 2014 12:08:32 +0000 (15:08 +0300)]
Bug SW #400685 mstvpd with an empty VPD issue

Signed-off-by: Adham Masarwah <adham@mellanox.com>
10 years agoFix some bugs in mstvpd:
Adham Masarwah [Mon, 7 Jul 2014 11:51:15 +0000 (14:51 +0300)]
Fix some bugs in mstvpd:
    1. mlx5_0 is supported now.
    2. Fixed negative timeout.
    3. Fixed segmentaion fault when no device was provided
    4. Fix return code when the command contain extra flags

Signed-off-by: Adham Masarwah <adham@mellanox.com>
10 years agochanged version to mstflint 3.7.0
Adrian Chiris [Sun, 22 Jun 2014 11:11:45 +0000 (14:11 +0300)]
changed version to mstflint 3.7.0

10 years agoFix out of range address when trying to read invalid address
Adham Masarwah [Thu, 19 Jun 2014 10:25:13 +0000 (13:25 +0300)]
Fix out of range address when trying to read invalid address

10 years agoremoved change im mtcr_mmap() that increments the /sys/bus/pci/*/enable counter due...
Adrian Chiris [Tue, 20 May 2014 12:47:49 +0000 (15:47 +0300)]
removed change im mtcr_mmap() that increments the /sys/bus/pci/*/enable counter due to compatibility issues in some OSes

10 years agoadded missing include
Adrian Chiris [Wed, 14 May 2014 15:43:26 +0000 (18:43 +0300)]
added missing include

10 years agoapplied some patches
Adrian Chiris [Wed, 14 May 2014 07:49:15 +0000 (10:49 +0300)]
applied some patches
     main changes:
        - compiling mstflint with no termios.h will work
        - removed un-needed includes
        - mtcr_ul when calling mtcr_mmap() it advances the enable counter when accessing deivce through /sys/bus/pci
        - removed some includes from headers and moved them to source files

10 years ago+ Added support to read VPD in new way from FileSystem path that support concurrency...
Adham Masarwah [Mon, 12 May 2014 12:57:18 +0000 (15:57 +0300)]
+ Added support to read VPD in new way from FileSystem path that support concurrency, and parallel access to read VPD.
+ Fix some coding styles.
+ Change some variables' names.

10 years ago-mtcr_ul.c : ported changes from mft-3.6.0 branch
Adrian Chiris [Thu, 10 Apr 2014 13:36:02 +0000 (16:36 +0300)]
-mtcr_ul.c : ported changes from mft-3.6.0 branch
- mxfwops/flint : modifed GetMaxImageSize due to firmware limitations
- mlxconfig: removed bar size configuration as its not supported yet

10 years agofixed compilation warrnings on Ubuntu , XenServer
Adrian Chiris [Mon, 7 Apr 2014 08:19:46 +0000 (11:19 +0300)]
fixed compilation warrnings on Ubuntu , XenServer

10 years agoFixed compiler warnnings for Debian
Adrian Chiris [Thu, 3 Apr 2014 16:31:53 +0000 (19:31 +0300)]
Fixed compiler warnnings for Debian

10 years agofixed inband access for ConnectIB
Adrian Chiris [Thu, 3 Apr 2014 11:30:17 +0000 (14:30 +0300)]
fixed inband access for ConnectIB

10 years agoFixed flint device name in extended help menu
Adrian Chiris [Wed, 2 Apr 2014 09:25:51 +0000 (12:25 +0300)]
Fixed flint device name in extended help menu

10 years agoremoved unused variable
Adrian Chiris [Wed, 2 Apr 2014 09:06:47 +0000 (12:06 +0300)]
removed unused variable

10 years agoMerge branch 'master' of git://git.openfabrics.org/~mohammads/mstflint
Adrian Chiris [Wed, 2 Apr 2014 08:52:35 +0000 (11:52 +0300)]
Merge branch 'master' of git://git.openfabrics.org/~mohammads/mstflint

10 years agofixed compiler warnings, some fixes in specfile to work with rpmbuild
Adrian Chiris [Tue, 1 Apr 2014 14:33:45 +0000 (17:33 +0300)]
fixed compiler warnings, some fixes in specfile to work with rpmbuild

10 years agoporting of mft-3.6.0 to mstflint-3.6.0
Adrian Chiris [Mon, 31 Mar 2014 13:38:43 +0000 (16:38 +0300)]
porting of mft-3.6.0 to mstflint-3.6.0

10 years agoFixed an issue in burning Connect_IB in SLES 10.3 OS
Mohammad Sawalha [Tue, 4 Feb 2014 16:16:21 +0000 (18:16 +0200)]
Fixed an issue in burning Connect_IB in SLES 10.3 OS

10 years agoFix VPATH build
Oren Kladnitsky [Tue, 14 Jan 2014 14:30:18 +0000 (16:30 +0200)]
Fix VPATH build

10 years agoFix support of --disable-dc configure flag
Oren Kladnitsky [Tue, 14 Jan 2014 12:42:27 +0000 (14:42 +0200)]
Fix support of --disable-dc configure flag

10 years agoAdded configure --disable-inband to eliminate infiniband/mad.h dependency
Oren Kladnitsky [Thu, 9 Jan 2014 11:17:15 +0000 (13:17 +0200)]
Added configure --disable-inband to eliminate infiniband/mad.h dependency

This is required to build on eth only platforms.

10 years agoFix man files packaging in spec
Oren Kladnitsky [Wed, 25 Dec 2013 15:03:09 +0000 (17:03 +0200)]
Fix man files packaging in spec

10 years agoUpdate debian/changelog . Add debian dir to dist
Oren Kladnitsky [Wed, 25 Dec 2013 15:02:23 +0000 (17:02 +0200)]
Update debian/changelog . Add debian dir to dist

10 years agoAdded mstflint man
Oren Kladnitsky [Tue, 24 Dec 2013 16:11:17 +0000 (18:11 +0200)]
Added mstflint man

10 years agorc set to 1
Oren Kladnitsky [Tue, 24 Dec 2013 15:30:36 +0000 (17:30 +0200)]
rc set to 1

10 years agoSet external build macro
Oren Kladnitsky [Tue, 24 Dec 2013 15:30:15 +0000 (17:30 +0200)]
Set external build macro

10 years agoFix warnings
Oren Kladnitsky [Tue, 24 Dec 2013 13:32:10 +0000 (15:32 +0200)]
Fix warnings

10 years agoFixed build issues with 3.5.0 porting
Oren Kladnitsky [Tue, 24 Dec 2013 12:29:24 +0000 (14:29 +0200)]
Fixed build issues with 3.5.0 porting

- Fixed all makefiles
- The build mistakenly took mtcr.h from MFT installation instead of local version
- Fixed bad MTCR_UL indication macro
- Fixed mstregdump db files path selection
- Updated tools_version
- Added libmtcr_ul.a installation to spec
- Compilation Warning fixes

10 years agoFixed licence headers to BSD/GPL
Adrian Chiris [Mon, 23 Dec 2013 15:39:27 +0000 (17:39 +0200)]
Fixed licence headers to BSD/GPL

10 years agoFixed ConnectIB fs3 burn flow
Adrian Chiris [Mon, 23 Dec 2013 15:28:37 +0000 (17:28 +0200)]
Fixed ConnectIB fs3 burn flow

Prevent image corruption due to bad expansion rom addition

10 years agoFix Connectib pci device open-as-inband Allow burning without -override_cahce_replace...
Adrian Chiris [Mon, 23 Dec 2013 15:28:05 +0000 (17:28 +0200)]
Fix Connectib pci device open-as-inband Allow burning without -override_cahce_replacement flag

10 years agoremoved compilation warrnings
Adrian Chiris [Mon, 23 Dec 2013 09:13:48 +0000 (11:13 +0200)]
removed compilation warrnings

10 years agoSupport burning ConnectIB without -override_cache_replacement
Oren Kladnitsky [Mon, 23 Dec 2013 15:44:21 +0000 (17:44 +0200)]
Support burning ConnectIB without -override_cache_replacement

 When driver is up, mtcr replaces the direct pci access with in-band access to the local device.
 Thus fw update is done via FW interface, eliminating colisions between th running FW and the fw update tool

10 years agoMFT-3.5.0 ported to mstflint
Adrian Chiris [Wed, 18 Dec 2013 10:01:09 +0000 (12:01 +0200)]
MFT-3.5.0 ported to mstflint

10 years agoremoved depracated flint
Adrian Chiris [Tue, 17 Dec 2013 10:13:54 +0000 (12:13 +0200)]
removed depracated flint

10 years agofix in mget_devs_flags to support IB access
Adrian Chiris [Tue, 17 Dec 2013 09:50:37 +0000 (11:50 +0200)]
fix in mget_devs_flags to support IB access

10 years agoAdded maccess_reg_mad function implementation
Oren Kladnitsky [Wed, 11 Dec 2013 13:37:33 +0000 (15:37 +0200)]
Added maccess_reg_mad function implementation

10 years agoAdded missing include files to make dist
Oren Kladnitsky [Wed, 11 Dec 2013 13:37:06 +0000 (15:37 +0200)]
Added missing include files to make dist

10 years agoAdded in-band access method over InfiniBand MAD packets
Oren Kladnitsky [Thu, 28 Nov 2013 13:34:36 +0000 (15:34 +0200)]
Added in-band access method over InfiniBand MAD packets

The mtcr_ul lib tools cann now access Mellanox devices via the InfiniBand fabric.
This allows remote access to switches.
Accepted device names:
  lid-<target device lid>[,<sending adapter name>,<sending port number>] E.G.: lid-5
  ibdr-<dot seperated dr path>,<sending adapter name>,<sending port number>  E.G.: ibdr-0.1,mlx5_1,1

10 years agoDo not pront warning on PCI bar access failure in ConnectIB
Oren Kladnitsky [Thu, 28 Nov 2013 11:39:59 +0000 (13:39 +0200)]
Do not pront warning on PCI bar access failure in ConnectIB

ConnectIB by default does not expose crspace bar hence this is an expected behavior

10 years agoMajor code refactoring - seperated access handlers into functions per access type
Oren Kladnitsky [Wed, 27 Nov 2013 12:55:07 +0000 (14:55 +0200)]
Major code refactoring - seperated access handlers into functions per access type

The code is more modular.
This makes it easy to add new access types in the future.

10 years agoTabs to spaces
Oren Kladnitsky [Wed, 27 Nov 2013 10:04:39 +0000 (12:04 +0200)]
Tabs to spaces

10 years agoSplit mtcr.h to seperate header and libmtcr_ul.a
Oren Kladnitsky [Tue, 19 Nov 2013 22:35:59 +0000 (00:35 +0200)]
Split mtcr.h to seperate header and libmtcr_ul.a

mtcr.h contained both declaration and implementation, which was bad.
Note: External users of  mtcr.h should add "-lmtcr_ul" to the linker

10 years agoOn mclose a pci conf device, add a read from a safe-to-read address
Oren Kladnitsky [Mon, 7 Oct 2013 10:25:54 +0000 (13:25 +0300)]
On mclose a pci conf device, add a read from a safe-to-read address
This prevents side effects on a full pci config dump through sysfs or other method.

10 years agoReplaced wrong proprietary license to BSD/GPL on few source files.
Oren Kladnitsky [Wed, 14 Aug 2013 13:28:49 +0000 (16:28 +0300)]
Replaced wrong proprietary license to BSD/GPL on few source files.
This commit contains only comments change.

10 years agoFriendlier message on mem access failure and switch to config
Oren Kladnitsky [Mon, 12 Aug 2013 13:29:29 +0000 (16:29 +0300)]
Friendlier message on mem access failure and switch to config

10 years agoFixed ConnectX2 Secure host mode support
Oren Kladnitsky [Mon, 12 Aug 2013 10:41:23 +0000 (13:41 +0300)]
Fixed ConnectX2 Secure host mode support

10 years agoSet correct mstflint name in help (instead of flint)
Oren Kladnitsky [Wed, 7 Aug 2013 10:15:36 +0000 (13:15 +0300)]
Set correct mstflint name in help (instead of flint)

10 years agoAdded buffer read/write with no endianedd swap to mtcr.h
Mohammad Sawalha [Wed, 19 Jun 2013 12:13:26 +0000 (15:13 +0300)]
Added buffer read/write with no endianedd swap to mtcr.h

10 years agomtcr: mtcr_ul/mtcr.h set pci.conf_dev as the default device (copy pci.conf_dev to...
Sami Salloum [Tue, 30 Apr 2013 18:45:00 +0000 (18:45 +0000)]
mtcr: mtcr_ul/mtcr.h set pci.conf_dev as the default device (copy pci.conf_dev to dev_name)

10 years agoAdded support for mlx5_XX ConnectIB device aliases
Oren Kladnitsky [Sun, 4 Aug 2013 13:19:03 +0000 (16:19 +0300)]
Added support for mlx5_XX ConnectIB device aliases

10 years agoAdded ConnectX2 Secure host mode device id to the supported device list
Oren Kladnitsky [Mon, 22 Jul 2013 15:38:32 +0000 (18:38 +0300)]
Added ConnectX2 Secure host mode device id to the supported device list

10 years agoChanged mstflint version in changelog of debian to 3.0
Mohammad Sawalha [Mon, 29 Jul 2013 15:10:49 +0000 (18:10 +0300)]
Changed mstflint version in changelog of debian to 3.0

10 years agoAdd support for ubuntu
Mohammad Sawalha [Mon, 22 Jul 2013 15:33:47 +0000 (18:33 +0300)]
Add support for ubuntu

10 years agoAdded support for connectIB and ConnnectX PRO and display INIT port status instead...
Mohammad Sawalha [Mon, 22 Jul 2013 10:30:55 +0000 (13:30 +0300)]
Added support for connectIB and ConnnectX PRO and display INIT port status instead of DOWN

11 years agoImport from MFT 3.0.0: Fixed product version (rom adn fw common version) handling
Oren Kladnitsky [Wed, 3 Apr 2013 09:20:40 +0000 (12:20 +0300)]
Import from MFT 3.0.0: Fixed product version (rom adn fw common version) handling

11 years agoAdded ConnectX-3 Pro support
Oren Kladnitsky [Sun, 31 Mar 2013 09:08:25 +0000 (12:08 +0300)]
Added ConnectX-3 Pro support
Devid missing cfor case list

11 years agoRemoved default -Werror
Oren Kladnitsky [Wed, 27 Mar 2013 23:29:00 +0000 (01:29 +0200)]
Removed default -Werror

11 years agoRemoved old mstregdump files
Oren Kladnitsky [Wed, 27 Mar 2013 13:48:30 +0000 (15:48 +0200)]
Removed old mstregdump files

11 years agoAdded debian dir for deb generation.
Oren Kladnitsky [Sun, 24 Mar 2013 16:06:48 +0000 (18:06 +0200)]
Added debian dir for deb generation.
Not automated yet - Version is hard coded.

11 years agoFix some compiler warnings
Oren Kladnitsky [Sun, 24 Mar 2013 08:29:43 +0000 (10:29 +0200)]
Fix some compiler warnings

11 years agoFix license headers
Oren Kladnitsky [Thu, 21 Mar 2013 10:41:19 +0000 (12:41 +0200)]
Fix license headers

11 years agoUpdated versions
Oren Kladnitsky [Thu, 21 Mar 2013 10:30:05 +0000 (12:30 +0200)]
Updated versions

11 years agoAdd ConnectIB and ConnectX3pro device IDs support
Oren Kladnitsky [Thu, 21 Mar 2013 10:15:25 +0000 (12:15 +0200)]
Add ConnectIB and ConnectX3pro device IDs support

11 years agoAdded new mstdump from MFT 3.0.0
Oren Kladnitsky [Wed, 20 Mar 2013 14:42:57 +0000 (16:42 +0200)]
Added new mstdump from MFT 3.0.0

11 years agoFix warning in mtcr mdevices_info
Oren Kladnitsky [Wed, 20 Mar 2013 14:42:12 +0000 (16:42 +0200)]
Fix warning in mtcr mdevices_info

11 years agoImport MFT 3.0.0 changes
Oren Kladnitsky [Sun, 17 Mar 2013 13:58:33 +0000 (15:58 +0200)]
Import MFT 3.0.0 changes
Lots of changes:
- ConectIB Adapter initial support
- Tree changes
- mstdump removed - New version will be added next commit

11 years agoAdded mopend() func for MFT compatibility
Oren Kladnitsky [Thu, 14 Mar 2013 07:56:20 +0000 (09:56 +0200)]
Added mopend() func for MFT compatibility

11 years agoSet pci conf device in mdevices_info
Oren Kladnitsky [Mon, 21 Jan 2013 18:43:01 +0000 (20:43 +0200)]
Set pci conf device in mdevices_info
Add a few stub functions to match MFT mtcr lib

11 years agoAdded mdevices_info function
Sami Salloum [Sun, 20 Jan 2013 14:37:45 +0000 (16:37 +0200)]
Added mdevices_info function

11 years agoAdded mdevices function
Sami Salloum [Thu, 27 Dec 2012 15:10:17 +0000 (17:10 +0200)]
Added mdevices function

11 years agoBugFix: Certain flash types not identified in big endian platforms
Oren Kladnitsky [Sun, 2 Dec 2012 08:56:31 +0000 (10:56 +0200)]
BugFix: Certain flash types not identified in big endian platforms

11 years agodd git version to -v output
Oren Kladnitsky [Tue, 30 Oct 2012 15:03:16 +0000 (17:03 +0200)]
dd git version to -v output

11 years agoChange base MFT version to 2.7.1a
Oren Kladnitsky [Thu, 25 Oct 2012 14:46:23 +0000 (16:46 +0200)]
Change base MFT version to 2.7.1a

11 years agoCheck for dkms kernel RPMs when checking RPM version
Oren Kladnitsky [Thu, 25 Oct 2012 14:42:28 +0000 (16:42 +0200)]
Check for dkms kernel RPMs when checking RPM version

11 years agoHandle lspci output for ConnectX3 on Redhat6.2 Signed-off-by: Mohammad Sawalha <moham...
Mohammad Sawalha [Mon, 30 Jul 2012 11:38:30 +0000 (14:38 +0300)]
Handle lspci output for ConnectX3 on Redhat6.2 Signed-off-by: Mohammad Sawalha <mohammad@l-reg-8089.lab.mtl.com>

11 years agoFixed spec file description and url
Oren Kladnitsky [Wed, 24 Oct 2012 14:24:41 +0000 (16:24 +0200)]
Fixed spec file description and url

11 years agoFixed make dist broken by prev commit
Oren Kladnitsky [Wed, 24 Oct 2012 14:17:09 +0000 (16:17 +0200)]
Fixed make dist broken by prev commit

11 years agoUpdated mstdump database to MFT 2.7.1b
Oren Kladnitsky [Sun, 21 Oct 2012 11:10:22 +0000 (13:10 +0200)]
Updated mstdump database to MFT 2.7.1b
Removed ConnectX-3/2 do-not-read addresses from teh db

11 years agoChange mstdump data files from .crb to .dat .
Oren Kladnitsky [Sun, 21 Oct 2012 09:18:30 +0000 (11:18 +0200)]
Change mstdump data files from .crb to .dat .
Sync with MFT naming.

12 years agoAdded COPYING file
Oren Kladnitsky [Thu, 8 Mar 2012 09:05:29 +0000 (11:05 +0200)]
Added COPYING file

12 years agoFix warning: mtcr_connectx_flush defined but not used
Oren Kladnitsky [Thu, 23 Feb 2012 09:36:24 +0000 (11:36 +0200)]
Fix warning: mtcr_connectx_flush defined but not used

12 years agohca_self_test.ofed: fix a bug in port state detection
Oren Kladnitsky [Sun, 27 Nov 2011 16:37:12 +0000 (18:37 +0200)]
hca_self_test.ofed: fix a bug in port state detection
Always reported down - from last commit.

12 years agoFixed "make dist"
Oren Kladnitsky [Sun, 27 Nov 2011 08:52:19 +0000 (10:52 +0200)]
Fixed "make dist"
Thanks Ira Weiny for reporting

12 years agohca_self_test: Print port num for eth port.
Oren Kladnitsky [Tue, 15 Nov 2011 14:58:16 +0000 (16:58 +0200)]
hca_self_test: Print port num for eth port.
Fix potential bug if port state is empty

12 years agohca_self_test: Support CX3. Fix kernel RPM checks
Oren Kladnitsky [Sun, 13 Nov 2011 12:03:13 +0000 (14:03 +0200)]
hca_self_test: Support CX3. Fix kernel RPM checks

12 years agoFix a (harmless) buffer overrun
Oren Kladnitsky [Thu, 27 Oct 2011 14:34:47 +0000 (16:34 +0200)]
Fix a (harmless) buffer overrun

12 years agoUpdate code to mft-2.7.1 release
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

12 years agoSupport ConnectX3 and SwitchX in mstdump
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.

12 years agoFix bug with cr access for ConnectX-3 A1 chip
Oren Kladnitsky [Sun, 9 Oct 2011 10:40:11 +0000 (12:40 +0200)]
Fix bug with cr access for ConnectX-3 A1 chip

13 years agoUpdated to MFT 2.7.0 build 20 (final)
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