]> git.openfabrics.org - ~adrianc/mstflint.git/log
~adrianc/mstflint.git
9 years agoadded support for ISFU in mstflint
Adrian Chiris [Thu, 26 Feb 2015 15:35:05 +0000 (17:35 +0200)]
added support for ISFU in mstflint

9 years agoporting of MFT-4.0.0 changes to mstflint pt1
Adrian Chiris [Mon, 23 Feb 2015 16:03:46 +0000 (18:03 +0200)]
porting of MFT-4.0.0 changes to mstflint pt1

9 years agomtcr_ul- get cap9 pci address from pci_find_capability method
Adrian Chiris [Wed, 7 Jan 2015 14:05:04 +0000 (16:05 +0200)]
mtcr_ul- get cap9 pci address from pci_find_capability method

9 years agomft-3.8.0 porting pt3
Adrian Chiris [Tue, 6 Jan 2015 14:06:53 +0000 (16:06 +0200)]
mft-3.8.0 porting pt3

9 years agoported mft-3.8.0 changes pt2
Adrian Chiris [Sun, 4 Jan 2015 13:30:48 +0000 (15:30 +0200)]
ported mft-3.8.0 changes pt2

9 years agoported changes from MFT-3.8.0 branch
Adrian Chiris [Tue, 30 Dec 2014 16:06:19 +0000 (18:06 +0200)]
ported changes from MFT-3.8.0 branch

9 years agoAdded support for switching MEM to CONFIG in mtcr , also merge cmdif from MFT
Adham Masarwah [Tue, 23 Dec 2014 13:58:09 +0000 (15:58 +0200)]
Added support for switching MEM to CONFIG in mtcr , also merge cmdif from MFT

Signed-off-by: Adham Masarwah <adham@mellanox.com>
9 years ago- mflash : updated icmd error codes
Adrian Chiris [Tue, 16 Dec 2014 11:46:17 +0000 (13:46 +0200)]
- mflash : updated icmd error codes
- mtcr_ul : fixed icmd semaphore locking mechanism according to new spec

9 years agomtcr- new pci capability performance fix
Adrian Chiris [Thu, 11 Dec 2014 16:01:30 +0000 (18:01 +0200)]
mtcr- new pci capability performance fix

9 years agoremoved support of flash access via fw on CX device
Adrian Chiris [Thu, 11 Dec 2014 09:46:27 +0000 (11:46 +0200)]
removed support of flash access via fw on CX device

9 years agoremoved un-needed variables from makefile
Adrian Chiris [Mon, 8 Dec 2014 09:17:20 +0000 (11:17 +0200)]
removed un-needed variables from makefile

9 years ago- addedd support for next gen devices that support new pci capability (0x9)
Adrian Chiris [Mon, 8 Dec 2014 08:55:24 +0000 (10:55 +0200)]
- addedd support for next gen devices that support new pci capability (0x9)
     this capability allows access to : CR-Space , iCMD command ifc to be utilized in the
     near future for 5th generation devices and above.
- for compatible device with un-supporting fw current flow is kept

9 years agoadded support for compiling flint with a cross compiler (passing Zlib include path...
Adrian Chiris [Mon, 8 Dec 2014 08:54:57 +0000 (10:54 +0200)]
added support for compiling flint with a cross compiler (passing Zlib include path was missing)

9 years agoAdded support for multiple archs
tomerc [Sun, 7 Dec 2014 15:59:38 +0000 (17:59 +0200)]
Added support for multiple archs

Signed-off-by: tomerc <tomerc@mellanox.com>
Signed-off-by: Adrian Chiris <adrianc@mellanox.com>
9 years ago- added new files to tools_layouts (for MGIR register)
Adrian Chiris [Sun, 23 Nov 2014 13:05:07 +0000 (15:05 +0200)]
- added new files to tools_layouts (for MGIR register)
- mtcr_ul - added support for iCMD via Virtual CR-Space only

9 years ago- added support for accessing flash through ICMD in mstflint
Adrian Chiris [Mon, 17 Nov 2014 16:11:43 +0000 (18:11 +0200)]
- added support for accessing flash through ICMD in mstflint
- initial porting of mft-3.8.0 changes (mflash, mlxfwops, flint, mlxconfig, reg_access)
- added cmdif library : library for sending command to devices that support Tools HCR (ConnectX3 and Connect3Pro devices)

9 years agoupdated changelog
Adrian Chiris [Mon, 13 Oct 2014 06:45:25 +0000 (08:45 +0200)]
updated changelog

9 years agochanged version to mft-3.7.1
Adrian Chiris [Sun, 12 Oct 2014 15:23:32 +0000 (17:23 +0200)]
changed version to mft-3.7.1

9 years agoRM425969 fixed mlxfwops/flint default number of flash bank (set to -1 for mflash...
Adrian Chiris [Sun, 12 Oct 2014 14:44:34 +0000 (16:44 +0200)]
RM425969 fixed mlxfwops/flint default number of flash bank (set to -1 for mflash default behaviour)

9 years agofixed endianess issues when working on big-endian platforms
Adrian Chiris [Wed, 27 Aug 2014 15:43:18 +0000 (18:43 +0300)]
fixed endianess issues when working on big-endian platforms

9 years agoported changes from MFT-3.7.0 pt3
Adrian Chiris [Wed, 20 Aug 2014 11:51:55 +0000 (14:51 +0300)]
ported changes from MFT-3.7.0 pt3

9 years agoadded parallel access support for mtcr_ul
Adrian Chiris [Tue, 19 Aug 2014 14:34:02 +0000 (17:34 +0300)]
added parallel access support for mtcr_ul

9 years agoported changes from MFT-3.7.0 pt2
Adrian Chiris [Sun, 17 Aug 2014 08:57:47 +0000 (11:57 +0300)]
ported changes from MFT-3.7.0 pt2

9 years agofixed RM#415018 - mstflint would not take default response on prompt
Adrian Chiris [Thu, 14 Aug 2014 12:40:12 +0000 (15:40 +0300)]
fixed RM#415018 - mstflint would not take default response on prompt

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