60 Commits

Author SHA1 Message Date
Jeffrey Townsend
dc21cd945f Merge pull request #586 from MellanoxBSP/onl_mlnx_qsfp_fix
Fix SFP port count for MSN3800 system
2019-08-19 11:55:03 -07:00
Jeffrey Townsend
5a8c469af0 These autogen makefiles should have been ignored. 2019-07-30 19:16:38 +00:00
Jeffrey Townsend
1f26352e94 More Module Autogen and Toolchain Cleanup.
- Remove usage of strncpy and require aim_strlcpy instead.
- Fix some broken module autogen files.
2019-07-30 19:13:47 +00:00
Oleksandr Shamray
64a10a5e44 Fix port number 32->64 for MSN3800 system 2019-07-17 09:35:10 +00:00
Jeffrey Townsend
8afb69e29f General Platform Module Cleanup
- Cleanup and rerun autogen definitions for each platform module.
- Add missing makefiles.
2019-07-13 17:44:54 +00:00
Jeffrey Townsend
d09d604ea2 Normalize ONLP Platform module directories.
All modules should be in a self-named directory.
2019-07-10 12:45:24 -07:00
Jeffrey Townsend
631b1f88b4 All Platform ONLP shared library and static binary builds now use a common makefile infrastructure.
The module and build dependencies for each platform shared library and static binary are
essentially the same. They have simply been copied over and over again.

This change creates a common makefile infrastructure that is used to build each platform.
This allows the dependencies of the higher layer ONLP code to be managed in a single place
as well as coordinate code configuration and link libraries.
2019-07-08 21:15:32 +00:00
Jeffrey Townsend
848832710d Simplify the platform directory names. 2019-07-05 19:50:14 +00:00
Oleksandr Shamray
0b430b632c Fix port number 32->64 for MSN3800 system 2019-07-01 07:50:36 +00:00
Artemy Kovalyov
2c6f911438 Update Mellanox kernel patches
1. Add 4.9 kernel patch for I2C access optimization
2. Add gearbox kernel patch
3. Add Watchdog introduce patch

Oleksandr shamray <oleksandrs@mellanox.com>
2019-05-31 14:49:10 +00:00
Oleksandr Shamray
1b61335a67 Fix PSU type for MSN3800 system
Fix LED for MSN3800 system
Fix LED for systems with single-FAN drawer systems
Add kernel patches

Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:27:30 +00:00
Mykola Kostenok
49dff57c94 remove outdated script call.
Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com>
2019-05-31 12:27:21 +00:00
Oleksandr Shamray
2f665c22c1 Fixed LED name, PSU type and kernel start arguments for MSN3800 (Tigris) system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:26:34 +00:00
Oleksandr Shamray
c301f5a348 Fixed sensor name for Tigris(MSN3800) system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:25:14 +00:00
Oleksandr Shamray
c5051955d5 fix CPU temp sensors count for MSN3800 (Tigris) system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:25:13 +00:00
Oleksandr Shamray
7b844f2df1 add: MSN3800 (Tigris) system support
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:24:56 +00:00
Jeffrey Townsend
16916d4f5b Updates for the latest hw-management packages. 2019-05-15 06:14:13 -07:00
Oleksandr Shamray
5b698e971e Fixed sensor names for Anaconda system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-01-23 13:12:19 +00:00
Oleksandr Shamray
1e900fe7a8 Merge remote-tracking branch 'remote_onl/master' into onl-anaconda 2019-01-22 12:21:19 +02:00
Mykola Kostenok
9e5becac68 fix sensors names and path.
Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com>

Conflicts:
	packages/platforms/mellanox/x86-64/x86-64-mlnx-mqm8700/onlp/builds/src/module/src/thermali.c
2019-01-02 12:22:54 +00:00
Ohad Oz
d0ff3f2b46 Taking out ACPI kernel cmdline from Anaconda system. 2018-12-26 20:33:28 +00:00
Oleksandr Shamray
506d431a8d Add: MAN3700C (Anaconda 100G) system support
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-12-09 00:43:48 +00:00
Jeffrey Townsend
016cdd7ce6 Merge pull request #451 from MellanoxBSP/onl-msn2100b-upstream
Add: MSN2100-b system support
2018-11-27 13:09:36 -08:00
Oleksandr Shamray
5fe96a8bab Add: MAN3700 (Anaconda) system support
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-11-20 13:59:05 +00:00
sholeksandr
7a17309531 Delete unnecessary file .project
.project file added by mistake. I deleted it.
2018-10-10 09:15:00 +03:00
Oleksandr Shamray
8afec0ff0e Add: MSN2100-b system support
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-09-12 17:45:19 +00:00
Oleksandr Shamray
9c649d16e1 Fix: CPU sensors count on MQM8700 system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-09-05 10:12:37 +00:00
Oleksandr Shamray
acc69bfa90 Change: System name QMB700 -> MQM8700
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-09-05 10:12:00 +00:00
Oleksandr Shamray
43e8d1848b Add: QMB700/QMB700ES systems support
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-09-05 10:12:00 +00:00
Oleksandr Shamray
2fedc3b2f9 Add: fan_per_module parameter to common code. You can define
fan_count in module instead of defining
     by FAN_TYPE_NO_EEPROM/FAN_TYPE_EEPROM before
Add: Orange LED support to common code.
Add: manage_leds_type3 to support future systems
     with 12 FAN's in 6 modules and using Orange led instead of Red.
FIX: remove unnecessary LED color2 from led_colors_map
FIX: change FAN LED description for systems with 2 fans pre module
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-09-05 10:11:25 +00:00
Oleksandr Shamray
798d7e4239 Add: fan_per_module parameter to common code. You can define
fan_count in module instead of defining
     by FAN_TYPE_NO_EEPROM/FAN_TYPE_EEPROM before
Add: Orange LED support to common code.
Add: manage_leds_type3 to support future systems
     with 12 FAN's in 6 modules and using Orange led instead of Red.
FIX: remove unnecessary LED color2 from led_colors_map
FIX: change FAN LED description for systems with 2 fans pre module
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-07-11 18:45:52 +00:00
Nataliya Yakuts
e7d68be8c0 4/4 - "B" platforms (40Gb vs 100Gb) support: MSN2410B, MSN2700B, MSN2740B
This is 4-th of four pull requests:

 1. Mellanox common code restructuring. MSN2100, MSN2410, MSN2700 platforms support
 2. MSN2740 platform support
 3. MSN2010 platform support
 4. "B" platforms (40Gb vs 100Gb) support: MSN2410B, MSN2700B, MSN2740B

Signed-off-by: Nataliya Yakuts nataliyay@mellanox.com
Reviewed-by: Michael Shych michaelsh@mellanox.com
2018-04-17 10:35:05 +00:00
Jeffrey Townsend
3cd997ffc3 Merge pull request #354 from mlxnataliyay/upstream_part3
3/4 - MSN2010 platform support
2018-04-16 13:15:45 -07:00
Jeffrey Townsend
4d8dc57458 Merge pull request #353 from mlxnataliyay/upstream_part2
2/4 - MSN2740 platform support
2018-04-16 13:14:48 -07:00
Nataliya Yakuts
8b06acb96a MSN2010 platform support
Signed-off-by: Nataliya Yakuts <nataliyay@mellanox.com>
Reviewed-by: Michael Shych <michaelsh@mellanox.com>
2018-03-26 16:43:50 +00:00
Nataliya Yakuts
f4fad36eca MSN2740 platform support
Signed-off-by: Nataliya Yakuts <nataliyay@mellanox.com>
Reviewed-by: Michael Shych <michaelsh@mellanox.com>
2018-03-26 15:37:34 +00:00
Nataliya Yakuts
9856e65899 Mellanox common code restructuring. MSN2100, MSN2410, MSN2700 platforms support.
Signed-off-by: Nataliya Yakuts <nataliyay@mellanox.com>
Reviewed-by: Michael Shych <michaelsh@mellanox.com>
2018-03-26 14:20:06 +00:00
Jeffrey Townsend
3ef3bb3b49 Code Module Cleanup
- Fix autogen definitions for all code modules
- Rerun autogen on all modules
2018-03-08 20:20:50 +00:00
Jeffrey Townsend
ac3aef6597 Remove autogenerated makefiles from git. 2018-03-08 17:56:11 +00:00
Jeffrey Townsend
034ab83a76 Merge pull request #263 from mshych/master
Mellanox MSN2700, MSN2410, MSN2100 support for Debian9 / kernel 4.9.30 build
2017-12-29 06:31:53 -08:00
Carl D. Roth
8e1577f4cb deprecated 2017-12-26 17:48:18 -08:00
Michael Shych
2624a062b8 Add ONL based on Debian 9 and kernel 4.9.30 support for Mellanox platforms MSN2700, MSN2410, MSN2100.
Signed-off-by: Michael Shych <michaelsh@mellanox.com>
2017-11-13 12:51:57 +00:00
sholeksandr
e874e9f712 Merge branch 'master' into manager_led 2017-06-30 19:48:27 +03:00
Oleksandr Shamray oleksandrs@mellanox.com
38e5033b97 Change OPEN_READ_FILE macros to the onlp_file_read() API in fani.c 2017-06-19 14:22:48 +00:00
Oleksandr Shamray oleksandrs@mellanox.com
9fc5037615 Add LED manager function to sysi.c to 2100, 2410 and 2700 systems
Add API for read min_fan_speed.
Fix led_mode compare ledi.c
General code cleunup
2017-06-07 18:39:33 +00:00
Oleksandr Shamray oleksandrs@mellanox.com
5f36520f5c Add led mamanger for msn2100 system
Change 'magic number' of FAN_COUNT to define
General code cleunup
2017-06-07 18:04:32 +00:00
Oleksandr Shamray oleksandrs@mellanox.com
682cf99e80 add API for read min_fan_speed.
change define MIN_LIMIT_*_FAN_RPM to api call
2017-06-05 18:32:03 +00:00
Oleksandr Shamray oleksandrs@mellanox.com
e892e00c8e Add LED manage function to sysi.c to 2410 and 2700 systems
Fix led_mode comparation in ledi.c
2017-06-02 16:21:50 +00:00
Oleksandr Shamray oleksandrs@mellanox.com
22e351983a Added onlp_sfp_dev_readb and onlp_sfp_dev_readw support
to msn2100, msn2410 and msn2700 systems

V2->v1
Comments pointed out by Vadim:
- remove unnecessary braces;

Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2017-05-29 19:18:05 +00:00
Jeffrey Townsend
f7485d0a4f Revert "merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()" 2017-03-29 13:51:34 -07:00