Commit Graph

684 Commits

Author SHA1 Message Date
Arun Saravanan Balachandran
da2ae4959d Updated merge changes 2019-09-13 03:53:04 -07:00
ciju-juniper
3ff0c4d0dc [Juniper][QFX5210] Optoe driver for SFP management (#3438)
* Adding platform support for Juniper QFX5210

This switch has 64 QSFP28 (40G/100G) ports, 2 SFP+ (1G/10G) ports
on Broadcom Tomahawk II chipset. CPU used in QFX5210-64C-S is
Intel Broadwell-DE. The machine has Redundant and hot-swappable
Power Supply (1+1) and also has Redundant and hot swappable fans (3+1).

Signed-off-by: Ciju Rajan K <crajank@juniper.net>

* [Juniper][QFX5210] Optoe driver for SFP management

This commit implements the following changes
 - Moving to optoe driver for sfp management
 - Removing the old sfp driver
 - Updating the port-config.ini to add the index field
 - Correction in sfputil.py to incorporate optoe driver
 - Platform support for 'poweroff' command

Signed-off-by: Ciju Rajan K <crajank@juniper.net>
2019-09-11 09:39:24 -07:00
Arun Saravanan Balachandran
372f786e7a
Merge branch 'master' into platform2.0 2019-09-11 15:45:22 +05:30
Arun Saravanan Balachandran
a9310e4dac DellEMC S6000: Platform2.0 API [Fan] 2019-09-11 05:21:57 -04:00
Roy Lee
9179990ba1 [device][accton] Add as5812-54t. (#3428)
* Verified as5812_54t platfrom, except SDK and monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Add as5812-54t to build its debian package.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Use the right cpld read/write api.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Update device paths.
Signed-off-by: roy_lee <roy_lee@accton.com>

* update psu driver, correct python lib location.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Give a default return value.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-09-10 22:07:13 -07:00
zzhiyuan
2095d6ec03 [devices]: Update arista submodule (#3431)
- Add support for fans in new platform API
- Mount platform API in pmon for arista platforms
2019-09-10 14:37:05 -07:00
Arun Saravanan Balachandran
584ac010a0 DellEMC S6100 : Sync latest changes to Module 2019-09-09 01:25:32 -07:00
Arun Saravanan Balachandran
4bad5eabb6
Merge branch 'master' into platform2.0_s6100 2019-09-09 12:45:07 +05:30
jostar-yang
d47ec5268c [devices]: Add to support thermal plan in as9716 platform (#3409) 2019-09-06 15:11:46 -07:00
sridhar-ravindran
309af83225 [DELL][S6000] Platform 2.0 TransceiverChange Support (#3414)
Implemented remaining APIs in s6100,z9100,s6000
Removed soft link in s6100,s6000,z9100 and implemented seperately
Implemented get_transceiver_change_event in S6000
2019-09-06 14:57:52 -07:00
ciju-juniper
fdcb69d048 [devices]: Adding platform support for Juniper QFX5210 (#3270)
This switch has 64 QSFP28 (40G/100G) ports, 2 SFP+ (1G/10G) ports
on Broadcom Tomahawk II chipset. CPU used in QFX5210-64C-S is
Intel Broadwell-DE. The machine has Redundant and hot-swappable
Power Supply (1+1) and also has Redundant and hot swappable fans (3+1).

Signed-off-by: Ciju Rajan K <crajank@juniper.net>
2019-09-06 07:52:45 -07:00
ChiouRung Haung
4c36866a26 [syncd-rpc-brcm]: Fix syncd terminated in broadcom rpc image (#3391)
Signed-off-by: chiourung_huang <chiourung_huang@edge-core.com>
2019-08-28 11:55:27 -07:00
Wirut Getbamrung
a5b805e37a [platform/cel]: Add new API installer to pmon and base image (#3379)
* [platform/cel]: Add new api installer

* [device/celestica]: Update APIs to support both pmon and base image

* [device/e1031]: update hwmon name
2019-08-28 11:19:34 -07:00
Arun Saravanan Balachandran
dd9c2a5b22 DellEMC S6100 : Platform2.0 API [Module] 2019-08-23 23:34:53 -04:00
Aravind Mani
f238042471 Z9264f-LED_changes (#3376)
Updated z9264_platform.sh to change appropriate LED when HWSKU is changed.
2019-08-23 12:00:37 -07:00
Samuel Angebault
892473981e [device/arista] Update drivers submodules (#3378)
- increase timeout for power supply driver initialization
2019-08-23 11:55:24 -07:00
paavaanan
aea84a7477 BIOS upgrade support with API2.0 for DellEMC S6100 (#3116) 2019-08-23 11:12:26 -07:00
Arun Saravanan Balachandran
9cebe7c153 DellEMC : Platform2.0 API Implementation for Chassis [S6000, S6100, Z9100] 2019-08-23 13:37:38 -04:00
Arun Saravanan Balachandran
79b1eb8fc1 DellEMC S6100 : Platform2.0 API [Module, Thermal] 2019-08-20 10:56:57 -04:00
JohnsonYJLu
cc6642300a update cpld & swpld module attribute (#3362)
Signed-off-by: johnson <JOHNSON.LU@deltaww.com>
2019-08-19 10:23:48 -07:00
Arun Saravanan Balachandran
c870b39589 DellEMC S6100 : Platform2.0 API implementation [Module, Thermal] 2019-08-19 09:35:30 -04:00
Jonathan Tsai
a5c351a467 [Quanta/platform] Update IX1B to support Stretch (#2358)
* [Quanta/platform] Update IX1B to support Stretch

What I did
Update IX1B's platform folders to support Stretch
How I did it
Follow https://github.com/Azure/SONiC/wiki/Porting-Guide
How to verify it
Follow https://github.com/Azure/SONiC/wiki/Command-Reference
to verify hardware information can get from CLI correctly

Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
2019-08-15 02:25:43 -07:00
Samuel Angebault
05d75dec07 [device/Arista] Update drivers submodules (#3339)
- Improve smbus reliability for all platforms
 - Delay processing of the reboot cause to reduce critical path
 - Add support of get_change_event for PSUs
2019-08-15 02:22:37 -07:00
linalvin
4fed69ecbe [device][platform] Update Inventec new platform d6356 (#2791) 2019-08-15 01:00:52 -07:00
jostar-yang
ff6437eaaa [devices]: Add support fpga drv and pimutility for minipack platform (#3053) 2019-08-15 00:50:13 -07:00
Roy Lee
e19e661080 [device] as5712-54x, add more entries for sensors (#3328)
* Change psu driver to comfort to lm-sensors.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Duplicate fan attributes with naming conforming to lm-sensors.
Replace psu drivers.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Revise cpr_4011_4mxx.c to support lm-sensors.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-08-15 00:48:19 -07:00
Jonathan Tsai
ee31e3b8bb [Quanta] Add a new supported device and platform, IX9-32X (#3341)
Switch Vendor: Quanta
Switch SKU: IX9-32X
CPU: Broadwell-DE with BMC
ASIC Vendor: Broadcom
Switch ASIC: Tomahawk3, BCM56980
Port Configuration: 32x400G

Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
2019-08-15 00:43:34 -07:00
Wirut Getbamrung
ea063db4b6 [device/celestica]: Implement Sfp APIs based on the new platform API (#3290)
* [platform/cel]: update qsfp driver for dx010

* [device/celestica]: add sfp api

* [device/celestica]: add eeprom api
2019-08-14 17:51:20 -07:00
sridhar-ravindran
88dc7ad13e [DELL][Z9100,S6100,S6000] Platform 2.0 SFP Changes (#3229)
* [DELL][Z9100,S6100,S6000] Platform 2.0 SFP Changes

Added support in sfp.py file which will be generic. Send the eeprom path and sfp_control path from chassis.py
2019-08-13 08:47:21 -07:00
JohnsonYJLu
3e6e037d67 Modify ag9064 platform module and add support psutil. (#3305)
Signed-off-by: johnson <JOHNSON.LU@deltaww.com>
2019-08-08 16:50:28 -07:00
Roy Lee
b45c1aca73 [device] Adding platform support for Accton as7315-27xb (#3301)
This switch has 27 fiber ports, 4x25G, 20x10G , and 3x100G ports ports.
CPU: Intel ® Atom™ Processor C3508,1.6GHz
BMC: None
MAC: Broadcom BCM88470 (Qumran AX).
MISC: Support IEEE1588v2, hot-swappable PSU, hot-swappable fan tray.

But notice here, BCM88470 is not supported for SAI now.
So the syncd container is not running so far.

Signed-off-by: roy_lee <roy_lee@accton.com>
2019-08-08 01:13:46 -07:00
Jonathan Tsai
2ff8f5d1b9 [Quanta] Add a new supported device and platform, IX7-32X, IX8-56X (#3297)
Switch Vendor: Quanta
Switch SKU: IX7-32X
CPU: Intel C2558
ASIC Vendor: Broadcom
Switch ASIC: Trident3, BCM56870
Port Configuration: 32x100G

Switch Vendor: Quanta
Switch SKU: IX8-56X
CPU: Intel C2558
ASIC Vendor: Broadcom
Switch ASIC: Trident3, BCM56873
Port Configuration: 48x25G + 8x100G

Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
2019-08-08 01:11:29 -07:00
jostar-yang
cc312793b5 Fix read lm75 thermal sensors issue (#3285) 2019-08-07 13:00:41 -07:00
Karthik Gengan
a99a37dbef DellEmc: Platform 2.0 Api(chassis,fan,eeprom) for S6100 and Z9100 (#3234) 2019-08-07 11:02:56 -07:00
Arun Saravanan Balachandran
f0c0fac162 DellEMC S6000 : Platform2.0 API implementation for EEPROM (#3295) 2019-08-06 15:53:07 -07:00
Wirut Getbamrung
1dd2688844 [device/celestica]: Implement thermal base API based on the new platform API (#3220) 2019-08-05 09:01:50 -07:00
Jonathan Tsai
2bb58044c0 [Quanta] Add a new supported device and platform, IX8C-56X (#3182)
* [Quanta] Add a new supported device and platform, IX8C-56X

Switch Vendor: Quanta
Switch SKU: IX8C-56X
ASIC Vendor: Broadcom
Switch ASIC: Trident3
Port Configuration: 48x25G + 8x100G

Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
2019-08-01 22:19:52 -07:00
hans-tseng
ca1534aadb [devices]: Add platform support for delta ag9032v2a (#3148)
Add platform support for delta ag9032v2a
CPU: Broadwell-DE
ASIC: BMC56870 with <100Gx32 + 10Gx1>
BMC: AST2520:
- What I did
add the new platform of delta ag9032v2a
- How I did it
1.provide the QSFP and SWPLD attributes and create the virtual buses of I2C
2. provide the port configuration
- How to verify it
1. psuutil.py
2. sfputil.py
3. bcmcd

- Known issue
The port LED is not ready. We noticed that BCM chip had the M0 FW initialization issue while bringing up SDK with "BRCM SAI ver: [3.5.2.3], OCP SAI ver: [1.4], SDK ver: [6.5.14]" and here is the information :
root@sonic:/home/admin# bcmcmd "M0 status"
M0 status
0:soc_iproc_data_send_wait: No response for msg 2
M0 FW is NOT Running
M0 FW Version is 0.0
Host FW Version is 1.0
Host and M0 FW Versions do not match!!!

Signed-off-by: hans-tseng <hans.tseng@deltaww.com>
2019-08-01 22:18:04 -07:00
Roy Lee
ff8e34463d [device/Accton] Fix i2c fault from ir3570a on 3 models (#3245)
I2c burst read may failed due to misoperation of ir3570a(A DC-to-DC converter IC).
As #2966, there are 3 more models have this symptom, as7326-56x, as7726-32x, and as9716-32d.
Also correct typo of naming on as7816-64x and as7716-32x.

Signed-off-by: roy_lee roy_lee@accton.com

What I did
Disabling i2c function of ir3570a which may failed i2c tranfer to others.
Close channel of mux after data transfered.

How I did it
Identify version of ir3570, if it's ir3570a, disable its alias i2c address.
Enable parameter of driver i2c_mux_pca954x to close channel on after every access.

How to verify it
Write 08 to offset 0xcf of systom eeprom and execute i2c block read.
It will return error.
plug-in several transceivers and run "show interfaces transceiver presence" and "sfputil show presence". You may see the different result. (But doing this requires updated xcvrd).

Signed-off-by: roy_lee <roy_lee@accton.com>
2019-07-31 11:28:03 -07:00
Lawrence Lee
7271fe598f [build]: Move Systemd service start to systemd generator (#3172)
- What I did

 Move the enabling of Systemd services from sonic_debian_extension to a new systemd generator

- How I did it

  Create a new systemd generator to manually create symlinks to enable systemd services
  Add rules/Makefile to build generator
  Add services to be enabled to /etc/sonic/generated_services.conf to be read by the generator at boot time

Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
2019-07-29 15:52:15 -07:00
sridhar-ravindran
95558ad5ce [DELLEMC][S6000] Platform 2.0 Reboot Reason and fixed issue in process-reboot-cause (#3156)
Added Reboot Reason for S6000 in platform 2.0
Fixed issue in process-reboot-cause
Added package uninstall code in platform de-init code for z9100, s6100
- How I did it
-> Added support for S6000 Reboot Reason
-> Added platform.py for all platforms
-> Verified show reboot-cause command with the code changes. Added UT logs with show reboot-cause
-> Modified process-reboot-cause service to start after pmon.service. In S6000, we have to wait for nvram to be loaded.
-> If reboot-cause service starts before pmon.service, show reboot-cause is showing incorrect reason.
-> Bug fix in process-reboot-cause file
- import sonic_platform
+ import sonic_platform.platform
2019-07-24 12:15:46 -07:00
Roy Lee
efe9438c61 [Accton] Correct port index and offer the default speed. (#3213)
* [as5712-54x]
Verified with index from 1.
Add qsfp_event() for command "show interaface trancerver".
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as6712-32x]
Add default port speed.
Verified with index from 1.

Signed-off-by: roy_lee <roy_lee@accton.com>

* [as7726-32x]
Add default port speed.
Verified with index from 1.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as7712-32x]
Add default port speed.
Verified with index from 1.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as5812-54x]
Add default port speed.
Verified with index from 1.

Signed-off-by: roy_lee <roy_lee@accton.com>

* [as5712-54x]
Update port-config with 1-based index.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as5812-54x]
Somehow the service may block, use type=simple to work-around.
Add syslog function for monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as7716-32x]
Update port-config with 1-based index.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as7816-64x]
Update port-config with 1-based index.
Implement sfputil change_event.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as7326-56x]
Update port-config with 1-based index.
Implement sfputil change_event.

Signed-off-by: roy_lee <roy_lee@accton.com>

* Remove debug code.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [as7312-54x]
Update port-config with 1-based index and default port speed.

Signed-off-by: roy_lee <roy_lee@accton.com>
2019-07-24 12:14:43 -07:00
Harish Venkatraman
dbe07a4339 [sonic-platform-modules-dell] Graceful platform reboot (#2912)
The following commit addresses the graceful unmounting of file
system and graceful shutdown of dockers before calling a
cold reboot which will cause a power cycle of SSD. This ensures
orderly shutdown and no corruption of files systems because
of the power cycle to SSD.
This commit will use the existing systemd-reboot service scripts
and override the configuration to do cold reboot for S6100 and
Z9100.
Unit tested the fix and graceful shutdown of file system and
dockers are done with cold reboot.

Signed-off-by: Harish Venkatraman <harish_venkatraman@dell.com>
2019-07-23 15:26:58 -07:00
Wirut Getbamrung
0340cf3b8b [device/celestica]: Implement device base APIs for Fan/PSU API based on the new platform API (#3163)
* [platform/cel]: add fan present sysfs

* [device/celestica]: move component device to chassis

* [device/celestica]: add basic device api
2019-07-23 10:00:02 -07:00
srideepDell
ce5d16f858 [devices]: DellEMC [s5232]: PSU detection and default led state support (#3185)
*   [devices]: Add a new supported device DellEMC s5232f

    * Switch Vendor: DellEMC
    * Switch SKU: s5232F
    * ASIC Vendor: Broadcom
    * Swich ASIC: Trident3
    * Port Configuration: 32x100G
    * SONiC Image: sonic-broadcom.bin

    * LED support for s5232f
    * Changes Include ipmitool implementation for platform_sensors script is inclued in pmon startup
    * Added 100G,25G,10G configruation ( 100G is default).

* s5232[device] PSU detecttion and default led state support
2019-07-19 07:01:02 -07:00
Roy Lee
9c4d23427b [device][accton]: add support for as7312-54xs (#3140)
* Add driver and util for peripherals of as7312-54xs, most are copied from as7312-54s.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Add default port speed and index from 1.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Update i2c addr of psus.
Add system logging for monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Correct syntax of module_dirs.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Validate sfputil after tested.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Correct the index of eeprom mapping.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-07-18 07:30:22 -07:00
ArunSaravananBalachandran
e520cbe9e3 DellEMC S6100 : Platform2.0 API implementation for PSU (#3132) 2019-07-10 11:54:14 -07:00
Stepan Blyshchak
e4300b8f76 [sairedis.mk] do not build rpc sairedis when not needed (#3109)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-07-06 14:55:31 -07:00
brandonchuang
5a89cf5733 [device][platform] add platform as5835-54t, accton. (#3119)
Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
2019-07-06 14:53:02 -07:00
Samuel Angebault
ae2e555418 [device/Arista] Update arista driver submodules (#3122)
- Add PSU support for the platform API
 - Complete LED support for the platform API
 - Misc refactoring
2019-07-06 14:50:25 -07:00
sridhar-ravindran
56608bf06b [devices]: DELL Platform 2.0 API Infra and Reboot Reason support in Z9100 & S6100 (#3063) 2019-07-03 06:52:35 -07:00
paavaanan
4f737f8b65 [devices]: DellEMC S6100 Watchdog support (#2835) 2019-06-28 23:47:36 -07:00
jostar-yang
9b0d1b74f9 [devices]: Add support as9716 platform (#2993) 2019-06-28 21:53:06 -07:00
sridhar-ravindran
fe45a0d1ea [devices]: DELLEMC: Z9100,S6100 Exporting Device Last PowerOn Reason (#3059) 2019-06-28 21:49:12 -07:00
srideepDell
0695a6449f [devices]: Add a new supported device DellEMC s5232f (#3090)
* Switch Vendor: DellEMC
    * Switch SKU: s5232F
    * ASIC Vendor: Broadcom
    * Swich ASIC: Trident3
    * Port Configuration: 32x100G
    * SONiC Image: sonic-broadcom.bin

    * LED support for s5232f
    * Changes Include ipmitool implementation for platform_sensors script is inclued in pmon startup
    * Added 100G,25G,10G configruation ( 100G is default).
2019-06-28 21:40:50 -07:00
Samuel Angebault
a80baaf8d1 [device/Arista] Update drivers submodules (#3092)
- Add reboot cause support for the platform API
 - Add LED support for the platform API xcvrs and fans
 - Misc fixes
2019-06-28 21:37:36 -07:00
brandonchuang
0b8c1a10e8 [devices]: Add lpmode in sfputil.py for Accton AS6712-32X (#3095)
Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
2019-06-28 21:35:27 -07:00
Karthik Gengan
b92d980769 Remapping S6000 platform files under Vendor (DellEmc) specific directory (#3079) 2019-06-25 12:23:24 -07:00
Sudharsan D.G
2e40fa5dbe [devices]: Poller to detect Intel Rangely LPC failure for dell z9100/s6100 (#3065)
- What I did
Added Daemon to Log LPC bus degradation in Intel C2000 processor. Intel Rangeley C2000 processors with revision less than or equal to 2 have issue where LPC bus degrades over time in some processors. To identify the problem and to notify the issue, a daemon has been added which will log on encountering the issue.

- How I did it
Added a daemon which validates the CPLD scratch(0x102) and SMF scratch(0x202) registers by writing and reading values on regular polling intervals (300 seconds). If there is a discrepancy between read and write, a critical log will be thrown.

- How to verify it
The infra is verify by simulating the issue where between write and read, the value in register is modified and the log appearance is checked.

- Description for the changelog

Added Daemon to identify LPC bus degradation issue and notify using syslog in Dell S6100 and Z9100 platforms. This daemon will only run on processors with revision less than or equal to 2.
2019-06-24 08:13:40 -07:00
sridhar-ravindran
9cf34ec464 Revert "[Dell] [Z9100] Supporting PreEmphasis Settings for Optics (#2501)" (#3060)
This reverts commit ed2d87a710.
2019-06-22 14:45:43 -07:00
RAMA CHANDRA REDDY GADDAM
6370d64b3d [broadcom]: Check for broadcom platform sdk init ready during syncd start. (#2931)
- What I did
During boot/reload time, wait in a loop to check for bcm initialization.
Break the loop, once sdk is ready to process the 'bcmcmd' request (or) loop count reached the maximum value.

- How I did it
In the existing implementation during syncd start process will sleep for a fixed time (3 secs)
for sdk initialization to happen. But the time taken for sdk initialization is varying for different platforms.
To fix this issue, the syncd start process wait in a loop and check whether sdk is ready to process 'bcmcmd' command.

- How to verify it
Check for syncd process status and interface status.
Check for syslogs and no failures related to syncd should be present.
2019-06-19 01:25:37 -07:00
Qi Luo
e7b1988638
[submodule] update sonic-linux-kernel (#2985)
* [submodule] update sonic-linux-kernel
* update linux kernel version
* Fix many version strings
* update mellanox components (built with new kernel)
* [mlnx] add make files for SDK WJH libs
* Update arista driver submodule (#8)
Make the debian packaging point to a newer kernel version.
2019-06-18 10:00:16 -07:00
Shuotian Cheng
a5aa3bb0a5
[Broadcom]: Update SAI version to 3.5.2.3 (#3014)
--Create/remove port fix
--Support SAI_PORT_ATTR_SERDES_IPREDRIVER
--Egress ACL fix for PFC storm restoration
--Memory corruption during warm reboot
--SAI_OBJECT_TYPE_TUNNEL_MAP_ENTRY removal fix
--Segfault/memory corruption fix during switch shutdown
--Directed boardcast fix
--Pre-emphasis value for Dell 6100

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-06-14 15:47:11 -07:00
Renuka Manavalan
cdca062693 [build]: Build sonic-broadcom.bin using debug dockers for all stretch based dockers (#2833)
* Updated Makefile infrastructure to build debug images.
As a sample, platform/broadcom/docker-orchagent-brcm.mk is updated to add a docker-orchagent-brcm-dbg.gz target.

Now "BLDENV=stretch make target/docker-orchagent-brcm-dbg.gz" will build the debug image.

NOTE: If you don't specify NOSTRETcH=1, it implicitly calls "make stretch", which builds all stretch targets and that would include debug dockers too.

This debug image can be used in any linux box to inspect core file. If your module's external dependency can be suitably mocked, you my even manually run it inside.

"docker run -it --entrypoint=/bin/bash e47a8fb8ed38"

You may map the core file path to this docker run.

* Dropped the regular binary using DBG_PACKAGES and a small name change to help readability.

* Tweaked the changes to retain the existing behavior w.r.t INSTALL_DEBUG_TOOLS=y.

When this change ('building debug docker image transparently') is extended to all dockers, this flag would become redundant. Yet, there can be some test based use cases that rely on this flag.

Until after all the dockers gets their debug images by default and we switch all use cases of this flag to use the newly built debug images, we need to maintain the existing behavior.

* 1) slave.mk - Dropped unused Docker build args
2) Debug template builder: renamed build_dbg_j2.sh to build_debug_docker_j2.sh
3) Dropped insignifcant statement CMD from debug Docker file, as base docker has Entrypoint.

* Reverted some changes, per review comments.
"User, uid, guid, frr-uid & frr-guid" are required for all docker images, with exception of debug images.

* Get in sync with the new update that filters out dockers to be built (SONIC_STRETCH_DOCKERS_FOR_INSTALLERS) and build debug-dockers only for those to be built and debug target is available.

* Mkae a template for each target that can be shared by all platforms.
Where needed a platform entry can override the template.
This avoids duplication, hence easier to maintain.

* A small change, that can fit better with other targets too.
Just take the platform code and do the rest in template.

* Extended debug to all stretch based docker images

* 1) Combined all orchagent makefiles into one platform independent make under rules/docker-orchagent.mk
2) Extened debug image to all stretch dockers

* Changes per review comments:
1) Dropped LIBSAIREDIS_DBG from database, teamd, router-advertiser, telemetry, and platform-monitor docker*.mk files from _DBG_DEPENDS list
2) W.r.t docker make for syncd, moved DEPENDS from template to specific makefile and let the template has stuff that is applicable to all.

* 1) Corrected a copy/paste mistake

* Fixed a copy/paste bug

* The base syncd dockers follow a template, which defines the base docker as DOCKER_SYNCD_BASE instead of DOCKER_SYNCD_<platform code>. Fix the docker-syncd-<mlnx, bfn>.mk to use the new one.

[Yet to be tested locally]

* Fixed spelling mistake

* Enable build of dbg-sonic-broadcom.bin, which uses dbg-dockers in place of regular dockers, for dockers that build debug version. For dockers that do not build debug version, it uses the regular docker.

This debug bin is installable and usable in a DUT, just like a regular bin.

* Per review comments:
  1) Share a single rule for final image for normal & debug flavors (e.g. sonic-broadcom.bin & sonic-broadcom-dbg.bin)
  2) Put dbg as suffix in final image name.
  3) Compared target/sonic-broadcom.bin.logs with & w/o fix to verify integrity of sonic-broadcom.bin
  4) Compared target/sonic-broadcom.bin.logs with sonic-broadcom-dbg.bin.log for verification

This fix takes care of ONIE image only. The next PR will cover the rest.
The next PR, will also make debug image conditional with flag.

* Updated per comments.
Now that debug dockers are available, do not need a way to install debug symbols in regular dockers.

With this commit, when INSTALL_DEBUG_TOOLS=y is set, it builds debug dockers (for dockers that enable debug build) and the final image uses debug dockers. For dockers that do not enable debug build, regular dockers get used in the final image.

Note:
The debug dockers are explicitly named as <docker name>-dbg.gz. But there is no "-dbg" suffix for image.
Hence if you make two runs with and w/o INSTALL_DEBUG_TOOLS=y, you have complete set of regular dockers + debug dockers. But the image gets overwritten.
Hence if both regular & debug images are needed, make two runs, as one with INSTALL_DEBUG_TOOLS=y and one w/o. Make sure to copy/rename the final image, before making the second run.
2019-06-12 01:36:21 -07:00
Olivier Singla
708999ad61 [devices]: Add Broadcom XLR/GTS (BCM9COMX2XMC) support for Tomahawk switch (BCM956960K) (#2682)
These patches add support for the Broadcom XMC card (XLR/GTS). At this moment
only Tomahawk switch (BCM956960K) is supported. Add
device/broadcom/x86_64-bcm_xlr-r0 and
platform/broadcom/sonic-platform-modules-brcm-xlr-gts files
2019-06-09 12:09:31 -07:00
lguohan
fa3ea537e7
[docker-saiserver]: upgrade docker saiserver to stretch for brcm/mlnx (#2983) 2019-06-08 16:27:19 -07:00
Samuel Angebault
df063bd78d [device/Arista] Add initial support for platform API (#2964)
* Congregate plugin scripts for Arista platforms

* Update arista driver submodules

Pulls new platform API related changes
2019-06-07 09:01:09 -07:00
brandonchuang
4073e8fa64 [device][platform] add platform as5835-54x, accton. (#2977)
Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
2019-06-07 09:00:12 -07:00
Karthik Gengan
f7774bec6b [device]: DellEmc-S6000 : Back-end work for last reboot reason (#2974)
* DellEmc-S6000 Backend work for lastreboot reason
2019-06-07 08:59:54 -07:00
Roy Lee
4f85c7cd5f [devices/accton]:bugfix: potential i2c fault from IC IR3570a (#2966)
Disabling i2c function of ir3507a which may failed i2c tranfer to others.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-06-05 12:47:22 -07:00
Roy Lee
4d212debc7 [device][platform] add platform as5812-54x, accton. (#2889)
* Add new device accton_as5812_54x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Rename 5812's config.bcm.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Change fan module to support lm-sensors.
Validate for thermal policy.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Add bask reset and lpmode control of 6 QSFP ports.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Get currect duty of fan for comparing. Instead of by stored duty from previous iteration.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Roll back the mistakes to update mellanox submodules.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Rollback for misoperation on submodule platform/p4/SAI-P4-BM.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Change indexes of ports to start from 1, as them on the front panel.
Add low-power mode control of the transciever's eeprom, follows SFF-8436.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-05-28 22:44:32 -07:00
Sudharsan D.G
6d62249f04 [devices]: Optics fixes in Dell Z9100/Z9264f platforms (#2936) 2019-05-25 18:06:53 -07:00
Karthik Gengan
154a88331d [devices]: DellEmc-Z9264f:Interrupt based Optic OIR (#2926) 2019-05-22 22:09:53 -07:00
paavaanan
85077a9211 [devices]: Export reboot_reason sysfs attribute for DellEMC S6100/Z9100 (#2922) 2019-05-20 09:35:31 -07:00
Karthik Gengan
a5a5ba6d6a [devices]: DellEmc-Z9264f: Bug fixed in platform specific sensor script (#2916) 2019-05-19 22:05:46 -07:00
jostar-yang
c1a501e9d5 [devices]: Add to support as4630-54pe platform (#2895)
* Add to support as4630-54pe platform

* Add as4630 monitor psu/fan status
2019-05-18 22:11:38 -07:00
Samuel Angebault
aac0c24312 [device/Arista] Add support for the 7280CR3-32P4 (#2910)
* Add boot0 support for the 7280CR3

* Add platform and plugins for 7280CR3

* Add port config for 7280CR3

* Add platform_reboot for 7280CR3

* Add support for 7280CR3-32D4 based on the 7280CR3-32P4

* Update arista driver submodules

 - Introduce new 7280CR3-32P4
 - Improve to the led plugin for OSFP
2019-05-18 10:34:07 -07:00
Samuel Angebault
5d3da111b2 [device/arista] update arista drivers submodules (#2903)
- Update README.md
 - Improve reboot cause reporting on all platform
 - Refactor parts of the library toward sonic_platform API support
 - Add abstraction for fans
 - Export consistent sysfs entries for fan airflow direction
 - Bootstrap python testing of the driver library.
 - Fix miscellaneous bugs
2019-05-15 18:35:04 -07:00
paavaanan
d5d51c0369 LED Supprot For DellEMC Z9100 (#2799) 2019-05-14 16:07:40 -07:00
Sudharsan D.G
db7c42f750 [devices]: Adding new SKU to DELL Z9264f (#2891)
correcting default sku

Changes for adding tiers

Adding new SKU to Z9264f

correcting default sku

Changes for adding tiers

Modified reboot script

Adding new SKU to Z9264f

correcting default sku

Changes for adding tiers

Adding new SKU to Z9264f

correcting default sku

Changes for adding tiers

Modified reboot script

Renaming sai.profile

UT Fixes

Fixing z9100 c32

Modifying c64 sku

Changing default sku

Fixing typo
2019-05-13 13:36:25 -07:00
Wirut Getbamrung
38ad2a8dad [platform-celestica] - Implement FAN APIs based on the new platform API (#2739)
* [platform/cel] Implement FAN APIs based on the new platform API

* [platform/cel] Move platform api to under device platform

* [platform/cel] Remove rule to build platform api python wheel
2019-05-09 00:57:17 -07:00
paavaanan
b1862f4372 [devices]: DellEMC S6100/Z9100 sensor.conf update (#2861) 2019-05-09 00:22:18 -07:00
Sudharsan D.G
25f285d2ed [devices]: DELL S6000 CPLD driver update to recover if mux is hung during i2c operation (#2858) 2019-05-09 00:12:26 -07:00
Pradchaya Phucharoen
999ec0a7f2 [devices]: Add HLX a dps200 psu driver (#2871) 2019-05-09 00:05:21 -07:00
Roy Lee
584ed989c8 [device][accton]Add fan monitor for as7816-64x (#2859)
* catch signal SIGINT and SIGTERM to set all fans full-speed before end fan monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Add fan_control monitor for as7816-64x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Fix typo.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Correct typo and duty setting after verified.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-05-08 00:41:07 -07:00
lguohan
2519048184
[sairedis]: Update sonic-sairedis pointer and Broadcom/Mellanox SAI/SDK/FW (#2826)
[sairedis]: Update sonic-sairedis pointer and Broadcom/Mellanox SAI/SDK/FW
2019-05-06 11:45:50 -07:00
Guohan Lu
5e95e2753e [docker-brcm-syncd]: build brcm syncd from stretch
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-05-06 05:39:37 +00:00
Guohan Lu
38ef219b7c [broadcom]: update broadcom sai to 3.5.2.1 2019-05-06 05:39:17 +00:00
Shu0T1an ChenG
76adaa80f8 [broadcom]: update saibcm-modules to sdk 6.5.14 2019-05-03 11:29:31 +00:00
sridhar-ravindran
3bd15a07e5 Enable Debugs in BCM Kernel-bde and Knet Modules (#2786)
* Enable Debugs in BCM Kernel-bde and Knet Modules

* Added Explanation for debugs enabled
2019-05-02 08:05:33 -07:00
Roy Lee
38028d0cc2 [devices/accton]: Add a separator for dh_installdirs not to take the wrong platform name. (#2810)
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-04-24 12:25:19 -07:00
Ying Xie
efc28a6830
Revert "[devices]: Watchdog enable/disable in DellEMC S6100 (#2730)" (#2817)
This reverts commit 22d17da09c.
2019-04-23 09:35:20 -07:00
zhenggen-xu
75964ef243 [baseimage]: Add fstrim service and fstrim timer by default (#2804)
This service (weekly) will let SSD firmware to do the garbage collection
after file-system deleted files. It could avoid slowness or
even READ-ONLY error due to SSD not being able to free the pages
even though the file system thinks there was a lot of space left.

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-04-21 14:21:16 -07:00
Renuka Manavalan
ba0ca01ee0 [build]: Makefile: Extend to build debug docker images for all stretch dockers (#2789)
Overall goal: Build debug images for every stretch docker.

An earlier PR (#2789) made the first cut, by transforming broadcom/orchagent to build target/docker-orhagent-dbg.gz.

Changes in this PR:

Made docker-orchagent build to be platform independent.
1.1) Created rules/docker_orchagent.mk
1.2) Removed platform//docker-orchagent-*.mk
1.3) Removed the corresponding entry from platform//rules.mk

Extended the debug docker image build to stretch based syncd dockers.
2.1) For now, only mellanox & barefoot are stretch based.
2.2) All the common variable definitions are put in one place platform/template/docker-syncd-base.mk
2.3) platform/[mellanox, bfn]/docker-syncd-[mlnx, bfn].mk are updated as detailed below.
2.3.1) Set platform code and include template base file
2.3.2) Add the dependencies & debug dependencies and any update over what base template offers.

Extended all stretch based non-platform dockers to build debug dockers too.
3.1) Affected are:
docker-database.mk,
docker-platform-monitor.mk,
docker-router-advertiser.mk,
docker-teamd.mk,
docker-telemetry.mk

Next: Build debug flavor of final images with regular dockers replaced with debug dockers where available.
2019-04-19 18:49:21 -07:00
Pradchaya Phucharoen
9525f862fa [devices]: Haliburton xcvrd event support (#2486)
* [platform/broadcom] Add xcvr event interrupt for haliburton

* [device/celestica] Sfputil implement xcvr event monitor on haliburton

* Codes cleanup, remove gpio_ich module unload line
2019-04-18 02:30:50 -07:00
Stepan Blyshchak
ea078e7823 [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702)
* [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-04-18 02:25:51 -07:00
paavaanan
22d17da09c [devices]: Watchdog enable/disable in DellEMC S6100 (#2730) 2019-04-17 00:04:48 -07:00
Renuka Manavalan
c846fb9ead [build]: Updated Makefile infrastructure to build debug images. (#2753)
* Updated Makefile infrastructure to build debug images.
As a sample, platform/broadcom/docker-orchagent-brcm.mk is updated to add a docker-orchagent-brcm-dbg.gz target.

Now "BLDENV=stretch make target/docker-orchagent-brcm-dbg.gz" will build the debug image.

This debug image can be used in any linux box to inspect core file. If your module's external dependency can be suitably mocked, you my even manually run it inside.

"docker run -it --entrypoint=/bin/bash e47a8fb8ed38"

You may map the core file path to this docker run.

* Dropped the regular binary using DBG_PACKAGES and a small name change to help readability.

* Tweaked the changes to retain the existing behavior w.r.t INSTALL_DEBUG_TOOLS=y.

When this change ('building debug docker image transparently') is extended to all dockers, this flag would become redundant. Yet, there can be some test based use cases that rely on this flag.

Until after all the dockers gets their debug images by default and we switch all use cases of this flag to use the newly built debug images, we need to maintain the existing behavior.
2019-04-13 17:05:18 -07:00
Wirut Getbamrung
4fcb3321b2 [platform-celestica]: Add new fancontrol service for haliburton device (#2736) 2019-04-10 19:13:30 -07:00
Ying Xie
1af74d5662 [Bcm SAI] ugprade Broadcom SAI to version 3.3.5.4m-1 (#2765)
- Broadcom SAI 3.3 GA release 20190402.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-04-10 19:11:59 -07:00
lguohan
b73f9a5b1d
[swss]: update swss docker to stretch (#2714)
* [swss]: update swss docker to stretch

sonic-swss update:

* aa92326 2019-03-29 | fix c++ 11 build complaint for destructors default to noexcept (#822) (HEAD, origin/master, origin/HEAD) [lguohan]
* a304007 2019-03-28 | Allow ACL entry creation without ACL counter (#818) [Wenda Ni]
* 60a8a0d 2019-03-28 | [orchagent]: Cast enum class variable to int (#819) (HEAD, origin/master, origin/HEAD) [Shuotian Cheng]
* 3dd37a4 2019-03-26 | [vnetorch]: Add VNET/tunnel/route removal flows for Bitmap VNET implementation (#816) [Volodymyr Samotiy]
* a937f92 2019-03-22 | [VS]: fix occasional test_fdb_notifications vs test failure (#813) [Jipan Yang]
* ea54825 2019-03-21 | [portsorch] Fix inconsistent return value in bindAclTable (#791) [yorke]
* 5984e3a 2019-03-07 | Fix orchagent SEGV when PortConfigDone not set (#803) [Ramesh Santhanakrishnan]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-03-30 11:57:25 -07:00
Roy Lee
802d5ef55a [devices] add new accton platform minipack (#2670)
[devices] add new accton platform minipack.

Add support for new platform, minipack.
It has
CPU: Broadwell DE – D1527
MAC: Tomahawk3(BCM56980).
PHY:Broadcom BCM81724, 4 pcs, Gearbox for PIM-16Q
BMC:AST2520
8 hot-swappable Port-Interface-Modules, each of them has 16*100G QSFP.

- What I did
Add device and platform files for minipack.
- How I did it
Add as SONiC Porting Guide.
- How to verify it
decode-syseeprom
sensors
psuutil
sfputil
thermal monitor
bcmsh on port status
(port LEDs may not working)
2019-03-15 09:40:38 -07:00
Qi Luo
eb3a1b1b41 Update bcmcmd binary: fix crash issue when long line >= 1023 chars (#2659)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2019-03-08 02:22:00 -08:00
sridhar-ravindran
be92a250d3 [devices]: Reset I2C MUX in S6000 while invoking platform reboot (#2567) 2019-02-16 11:50:15 -08:00
Ying Xie
0846654585 [sai and sairedis] advance sairedis sub-module and upgrade to matching Broadcom SAI build (#2488)
* [Broadcom SAI] upgrade Broadcom SAI to 3.3.4.3m-3

This is SAI 3.3.4.3m-3 compiled with SAI header file at commit ID
6ad3382217ec22f64cd268faefcbc2ff7caba4fd of SAI repo.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* change libsaithrift version to 0.9.4

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [submodule]: update swss, sairedis, swss-common, sonic-utilities

swss

* a6d60f2 2019-02-15 | Create egress ACL table group during the PFCWD stats list installment (#787) (HEAD, origin/master, origin/HEAD) [Wenda Ni]
* 52de963 2019-02-15 | [fpmsyncd] Add VNET routes support (#772) [Wei Bai]
* d27f49e 2019-02-13 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#786) [Jipan Yang]
* 6363985 2019-02-08 | [vstest]: Potential fix for timing issue in warm_reboot's routing UT (#788) [Rodny Molina]
* 6d5424d 2019-02-07 | VNet/Vxlan delete handling (#766) [Prince Sunny]
* d680ce2 2019-02-07 | [neighsyncd] increase neighbor syncd restore timeout to 110 seconds (#745) [Ying Xie]
* b78cc8d 2019-02-01 | support 8 lanes for a physical port (#778) [lguohan]
* 73b620c 2019-02-01 | Increase the watermark polling interval to 10s (#777) [Wenda Ni]
* a2b987b 2019-02-01 | [vstest]: fix test_speed.py (#780) [lguohan]
* cef4bd0 2019-02-01 | [vstest]: fix test_port_an_warm.py test (#779) [lguohan]
* 9f20eda 2019-02-01 | fix a unstable swss egress acl test (#776) [Kebo Liu]
* 316ae6c 2019-01-30 | portsorch ports init done flag should means buffer, autoneg, speed, m… (#747) [Jipan Yang]
* 4280036 2019-01-30 | [teammgrd] Fix inconsistent port admin status (#755) [Jipan Yang]
* cf12bdf 2019-01-30 | Remove AclTableGroup upon removal of port/lag/vlan (#751) [Jipan Yang]
* 5779c1a 2019-01-29 | [aclorch] Remove  L4 port range support limitation on egress ACL table and add new SWSS virtual test. (#741) [Kebo Liu]
* 36e85eb 2019-01-29 | On a routing vlan, the neighbor entry in the /31 subnet is not added to hardware (#771) [Kiran Kumar Kella]
* 882ccc6 2019-01-24 | [vnetorch] Change logic for adding VNet interface (#761) [Marian Pritsak]
* f637557 2019-01-25 | [vrfmgrd] Fix VRF is not set to VRF_TABLE in APP_DB correctly (#768) [yorke]
* e84a6ab 2019-01-24 | use sai_stat_id_t for new SAI header file (#769) [lguohan]

sairedis

* d685e35 2019-02-15 | Add support for fdb_event MOVE and check fdb event oids (#420) (HEAD, origin/master, origin/HEAD) [Kamil Cudnik]
* 2b91013 2019-02-15 | [vslib] add missing port attributes for virtual switch (#419) [Stepan Blyshchak]
* dcc8688 2019-02-14 | Add more specific logic for ingress ACL and buffer profile (#421) [Kamil Cudnik]
* c0b39ea 2019-02-12 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#418) [Jipan Yang]
* ab35dfa 2019-02-11 | Add support for vlan tagged frames in virtual switch (#417) [Kamil Cudnik]
* 145ea44 2019-02-02 | [flex counter] handle router interface stats (#410) [Mykola F]
* c03d639 2019-02-02 | Add more information on failed map sizes (#416) [Kamil Cudnik]
* 29f1e3c 2019-01-31 | Update SAI pointer (#414) [Marian Pritsak]
* c0a948d 2019-01-30 | Add WRED specific comparison logic (#413) [Kamil Cudnik]
* 1b6a661 2019-01-24 | install SAI extension header files into /usr/include/sai (#412) [lguohan]
* 849525a 2019-01-24 | Initialize notification queue pointer before switch create (#411) [Kamil Cudnik]
* 02d92f1 2019-01-23 | Add log info for not matching SG/IPG/QUEUES (#409) [Kamil Cudnik]
* 8793562 2019-01-18 | Update SAI pointer to latest master (#408) [Marian Pritsak]

swss-common

* ec04a5a 2019-02-14 | Add support for WarmStart::setDataCheckState() (#242) [Jipan Yang]
* 56bd73f 2019-02-13 | Force only supported commands on consumer table (#261) [Kamil Cudnik]
* 414de0f 2019-02-12 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#260) [Jipan Yang]
* 88de725 2019-02-05 | [pyext] enable types in stdint.h (#259) [Ying Xie]
* f457ae8 2019-02-05 | Optimized ProducerStateTable set/del notification processing to avoid… (#257) [Jipan Yang]
* e5286fd 2019-01-30 | [rif counters] Rif counter schema update (#256) [Mykola F]

sonic-utilities

* b44b462 2019-02-14 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABL… (#458) (HEAD, origin/master, origin/HEAD) [Jipan Yang]
* e856b8b 2019-02-11 | [aclshow] output only counters per table/rule (#442) [Roman Kachur]

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [mlnx] update mellanox sai

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-02-16 10:14:18 -08:00
Ying Xie
ca522a3da9 [bcm sai] Upgrade Broadcom SAI to version 3.3.4.3-2 (#2550)
- Including Broadcom patch for CS7252202.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-12 05:33:57 +00:00
zzhiyuan
6037707abc [devices]: Add device data for Arista 7060PX/DX4-32 (#2534)
* Add boot0 definition for Arista 7060PX4-32 and 7060DX4-32

* Add port configuration for Arista 7060PX4-32

* Add plugins for Arista 7060PX4-32

* Add platform_reboot for Arista 7060PX4-32

* Add Arista 7060DX4-32 as symlink of 7060PX4-32

* Add sensors configuration and fancontrol for Arista 7060PX4-32

* Update arista-driver submodules for barefoot/broadcom

* Add platform_reboot script for Alhambra

* Rook fancontrol CPLD rename
2019-02-08 22:02:01 -08:00
sridhar-ravindran
ed2d87a710 [Dell] [Z9100] Supporting PreEmphasis Settings for Optics (#2501) 2019-02-06 00:38:06 -08:00
paavaanan
922fdc5de1 [devices]: Dell Hwmon S6100/Z9100 SFM version export (#2521) 2019-02-05 10:35:50 -08:00
lguohan
4ccd35bc25
[kernel]: update sonic kernel to 4.9.0-8-2 (#2468)
* [kernel]: update sonic kernel to 4.9.0-8-2

* 3b2114d 2019-01-20 | [sonic-linux-kernel] add udp_l3mdev_accept kernel upstream patch (#70) (HEAD, azure/master) [Harish Venkatraman]
* 37734aa 2019-01-10 | L3mdev cgroup (#73) [lguohan]
* d631eeb 2018-12-15 | yet another uart race condition fix (#75) [lguohan]

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* Update Mellanox SDK

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* Update arista platform driver to match 4.9.0-8-2 kernel

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-25 00:46:09 -08:00
Ying Xie
8a1d73d76d
[Broadcom SAI] Upgrade Broadcom SAI to 3.3.4.3-1 (#2472)
- Broadcom SAI 3.3 GA 20190118.
- With warm reboot support.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-22 14:49:10 -08:00
jostar-yang
e67f1da9ba [devices]: Fix cpld sysfs permisson error for accton devices (#2457) 2019-01-17 08:56:46 -08:00
paavaanan
9c70e65d54 [device/Dell] SOSFTDEP to lpc_ich module for dell_ich module (#2440)
dell_ich module fails to load sometimes due to the failure of pci_get_drvdata().

This function is responsible for fetching INTEL PCI related memory handle in kernel. This is implemented in lpc_ich kernel module.

Due to race in addition/deletion of kernel modules, sometimes lpc_ich loads after dell_ich.

Because of this behaviour dell_ich module fails to load.

Fixed by addding dependency between modules.

Removed i2c_mux_gpio module from blacklist entry as it is not the original root case of this issue.
2019-01-15 15:32:37 -08:00
Sudharsan D.G
1ffb34b4e3 [devices]: Dell z9264f bringup (#2415)
* Updating Z9264f for A01 board

* Adding platform_reboot plugin to Z9264f

* Change execute mode for platform_reboot

* Indenting python files

* Adding missed service file

* Addressing code review comments

* Modified the polling logic in transceiver change event
2019-01-08 21:14:18 -08:00
padmanarayana
14a0297128 [devices]: Address Dell issue#46 : Adding MUX reset logic to fix probe failures (#2356) 2019-01-08 15:27:16 -08:00
paavaanan
ab6a52f122 [devices]: platform_reboot support for Dell S6100/Z9100 platforms (#2420) 2019-01-07 19:16:31 -08:00
Samuel Angebault
23bc14cf81 [device/arista] Update arista submodule for 4.9.0-8 kernel (#2393)
Update the arista driver submodules to depend on the newest 4.9.0-8
kernel. The dependency on the older one is causing a runtime issue.
2018-12-19 10:05:20 -08:00
Ying Xie
ff7ef2a8fc [bcm sai] upgrace Broadcom SAI to 3.3.3.1-3 (#2389)
- Include helix4 fix.
- Include support for TD2 56854.
- Add dummy support for SAI_PORT_ATTR_ADVERTISED_SPEED.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-17 00:44:05 -08:00
zhenggen-xu
f093ef2a9f [security kernel] Upgrade kernel from 4.9.110-3+deb9u2 to 4.9.110-3+deb9u6 (#2367)
* [security kernel] Upgrade kernel from 4.9.110-3+deb9u2 to 4.9.110-3+deb9u6
short version: 4.9.0-7 to 4.9.0-8

See changelogs for security fixes:
https://tracker.debian.org/media/packages/l/linux/changelog-4.9.110-3deb9u6

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>

* Update sonic-linux-kernel submodule after it was merged

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2018-12-11 04:17:17 -08:00
Samuel Angebault
6c7bcf5067 [device/Arista] fix small issue for the 7170 (#2373)
* Fix boot0 install on vfat

* Only display the hook name in boot0

Instead of printing the entire path

* Update arista driver submodule
2018-12-11 04:14:46 -08:00
Ying Xie
790974eaa0 [knet driver] don't unload knet drivers during shutdown (#2361)
knet driver unload takes about 30 seconds to remove netdevs. This cuts
into our warm reboot time budget.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-07 23:05:02 -08:00
Joe LeVeque
13e17d3a33 [docker-syncd-brcm] Add 'startsecs=0' to ledinit process (#2366) 2018-12-07 20:04:22 -08:00
jostar-yang
7a74ff0c01 [devices]: Add support as7326 thermal plan. Monitor fan/psu (#2344)
* Add support as7326 thermal plan. Monitor fan/psu

* Fix incorrect kernel version for idt init

* fix error parsing
2018-12-06 00:38:53 -08:00
jostar-yang
8a4e779ce1 [devices]: Fix error parsing to idt_int for accton as7726 (#2349) 2018-12-05 16:02:27 -08:00
paavaanan
bcd4e1e375 [devices]: Dell SMF driver hwmon number reorder fix for Dell S6100/Z9100 (#2305) 2018-12-04 20:55:37 -08:00
jostar-yang
1d655dbf2b [devices]: Add support as7726-32x platform (#2340) 2018-12-04 10:11:02 -08:00
Samuel Angebault
989b60059b [device/arista]: Update (#2336)
* Update arista drivers submodule

* Ignore the possible timestamp warning in tar extraction

* Add verbosity toggle to boot0

Console logging is slow because of the 9600 baud rate.
Some time can be saved by decreasing the console verbosity.

* Add hook mechanism in boot0.

Support additional features in boot0 via hooks.
Hooks are unpacked and executed at post-install or pre-exec time.

* Fix 7170 sensors.conf file

Fix critical temperature settings for MAX6658 sensors

* Fix the random swap of storage devices

For arista 7050 switches running with linux 4.9, it is likely the device
name of flash drive (/dev/sda) and usb (/dev/sdb) randomly swap in kernel
booting, depending on which one is ready first. It breaks the expectation
that flash will be mounted as root by setting root=/dev/sda1. This patch
will correct ROOT to flash device refering to the path under block_flash.

* Fix 7170 fancontrol

* Do not remove aquota.user file in boot0

This file is a filesystem protected file used by EOS.
It can be simply removed and will make the SONiC installation failed if
not skipped.
2018-12-04 10:08:55 -08:00
lguohan
5d78dd0db3
Merge pull request #2329 from yxieca/pub-3.3
[bcm SAI] enable Broadcom SAI 3.3 GA release
2018-12-01 23:58:16 -08:00
Ying Xie
1812d6c238 [bcm sai] upgrade to Broadcom SAI 3.3 GA release
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:10:30 +00:00
Ying Xie
550a45c0fa [knet] Pick up some Broadcom knet driver changes in 3.3 GA release
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:09:24 +00:00
Ying Xie
560d35bf42 [knet driver] fix PCI device init race condition
Broadcom CS5982299 fix.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
a11c28de46 [opennsl init] refactoring opennsl init script
- Move driver loading unloading code to functions.
- Change tabs to white spaces

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
5b3e8974cd [Broadom driver] mute chatty debug information
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
243767c8b4 [SAI 3.3] update init script according to 3.3 requirement
- Insert/remove linux-knet-cb module
- Create/remove devices for kernel modules

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
936ca8d323 [make file] add missing CFLAGS
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
c22aca6474 [libsaibcm modules] enabling building linux-knet-cb.ko
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
ee65e7f2cb [saibcm] Fix make file and source code to build on kernel 4.9
The build passes under the name opennsl.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
c50d4c2723 [broadcom patch] take Broadcom patch sdk-6.5.13-gpl-modules.patch
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
73d4c99d78 [saibcm] update saibcm kernel module source code to 6.5.13
This is upgrading code as-is. The build will fail.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Feng Lee
ac2be9d99a [platform] update Ingrassy platform to support stretch (#2322)
* remove nephos sonic-platform-modules-ingrasys module

* [Ingrasys]Add platform drivers and device to support Debian Stretch

* fix gpio init issue
2018-11-30 20:46:36 -08:00
Ying Xie
f9d2b69d26 [syncd script] fix bash script syntax error (#2326)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-30 14:36:16 -08:00
Ying Xie
2590aedda4
[bcm sai] Upgrade Broadcom SAI to 3.1.3.5-12 (#2319)
- Rebuilt with SAI header version v1.3.6

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-29 13:04:50 -08:00
Ying Xie
4abbe43463 [syncd] skip ledinit during syncd warm start (#2285)
* [syncd] skip ledinit during syncd warm start

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-21 17:56:19 -08:00
lguohan
9f6f3e4046
[docker-saiserver]: build docker-saiserver (#2244)
* build docker-saiserver

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* add docker saiserver mlnx/bfn/cavm

* set nephos to 1.3.5

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-11-14 01:15:31 -08:00
Roy Lee
7f76d3bf74 [platform]Accton, add platform as6712-32x. (#2178)
* [platform] Add 6712 dpkg on building.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [platform] remove scache_filename for it failed the bcm checker.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [plaform] add platform/device as6712-32x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [platform] fix error on private data reference at cpld.c.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-10-26 17:10:47 -07:00
Roy Lee
483bd9bbd8 [platform][Broadcom]Accton, fix building error of kernel modules. (#2197)
* [platform]accton, fix building error of kernel modules at platform broadcom.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Refine codes by formatter.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-10-26 16:34:07 -07:00
lguohan
9078377028
[build]: install debug symbols packages when INSTALL_DEBUG_TOOLS=y (#2175)
[build]: install debug symbols packages when INSTALL_DEBUG_TOOLS=y
2018-10-21 17:20:27 -07:00
Joe LeVeque
5c65c7730d [build]: Eliminate build warning messages (#2172) 2018-10-20 14:39:04 -07:00
Joe LeVeque
164a1d3326
[docker-syncd-brcm] Reorganize start.sh (#2161) 2018-10-18 14:07:30 -07:00
juntseng62
96eac8f099 [devices]: Add snh60b0-640f device (Tomhawk2) & snh60a0-320fv2 device 32x100G (Tomhawk) (#2129)
* [platform]:add platfrom snh60a0-320fv2 & snh60b0-640f

* [device]:add platfrom snh60a0-320fv2 & snh60b0-640f

* remove minigraph.xml for snh60a0_320fv2-r0 and snh60b0_640f-r0 platform
2018-10-10 18:33:51 -07:00
lguohan
794981f283
[submodule]: update broadcom SAI to 3.1.3.5-11 (#2135)
disable vxlan init for helix4

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-09 23:43:31 -07:00
zzhiyuan
8359597796 [devices]: Update arista submodules for SFP txdisable toggle (#2122)
* Fix broadcom lane map for 7050-QX32S

First port lane map needs to be swapped.

* Update arista submodules for SFP txdisable toggle

With this update the SFPs will set txdisable to 0 when out of reset.
Allowing optical cables to be used on these ports.
2018-10-05 09:15:47 -07:00
Roy Lee
593bcb1c1b [device] accton update driver and sync as5712-54x from 201807. (#2110)
* [platform_accton] Remove dependency on particular version of linux.
Signed-off-by: Polly Hsu <polly_hsu@edge-core.com>

* [platfrom] as5712-54x: update i2c_client for linux kernel 4.x.
Signed-off-by: Polly Hsu <polly_hsu@edge-core.com>

* [platform] Update lastest optoe.c from https://github.com/opencomputeproject/oom/blob/master/optoe/optoe.c.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [platform] rm optoe driver here. For it's inside the kernel.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [platform] as5712-54x, merge the change of Azure/sonic-buildimage#2002 which is on branch 201807.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-10-02 05:36:28 -07:00
Ying Xie
c8e6b15504
[syncd] warn shutdown syncd process when warm boot is enabled (#2078)
* [syncd] warn shutdown syncd process when warm boot is enabled

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [warmboot] mount folder to hold warmboot temporary files

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* Fix a typo
2018-10-01 19:01:04 -07:00
Samuel Angebault
e72d63cf92 [arista] Update Arista drivers submodule (#2097)
* [arista] Update Arista drivers submodule

* Fix 7050qx32 fancontrol for kernel 4.9

* Fix 7060cx32s fancontrol for kernel 4.9

* Install python3-yaml for sonic config tests

* Fix 7260cx3 fancontrol for kernel 4.9

* Fix hwsku-init scripts and permissions

* Preserve old_config folder in boot0
2018-09-28 21:27:41 -07:00
paavaanan
763982b70e [devices]: Dell-S6100/Z9100 depmod fixes (#2071) 2018-09-25 23:14:09 -07:00
Jonathan Tsai
51fec6eebd [Quanta/device] Correct IX1B platform name to fit ONIE rule (#2065)
* Change platform name from x86_64-quanta_ix1b_32x-r0 to x86_64-quanta_ix1b_rglbmc-r0
2018-09-21 21:57:10 -07:00
Shuotian Cheng
792e2dfbf3 [broadcom]: Update SAI to 3.1.3.5-10 (#2068)
* Fix Trident2 parity error correction bug
* VXLAN decapsulation implementation

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-09-21 21:56:44 -07:00
Samuel Angebault
5e082133cd [arista] update arista drivers submodule (#2059) 2018-09-19 13:25:54 -07:00
Marian Pritsak
51a8d8ecfa [docker-orchagent]: Upgrade iproute2 to v4.9 (#2052)
Signed-off-by: Marian Pritsak <marianp@mellanox.com>
2018-09-16 17:10:03 -07:00
klhaung
6f496bda20 [device][platform] Update Inventec platform porting to support stretch (#2010)
* [device][platform] d6254qs d6556 platform porting
[device][platform] sensor and status led support for d7032q28b d7254q28b d7264q28b d6254qs d6556
[device][platform] qos support for d7032q28b d7254q28b
[device][platform] service configuration files for d7032q28b d7254q28b d7264q28b d6254qs d6556

* remove binary files and remove non-supported attributes in config.bcm

* remove gpio-ich here. file a PR in sonic-linux-kernel instead.

* remove unnecessary comments

* add GPL license
2018-09-14 00:54:08 -07:00
lguohan
860de856a8
[rsyslog]: use # to separate container name and program name in syslog message for syncd containers (#2031)
previous commit f3ca7c422f
missed syncd containers

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-11 14:57:29 -07:00
padmanarayana
c4154eb9a9 [devices]: Add GPIO interrupt enable for Z9100/S6100 and transceiver-plug-inout-event for Z9100 (#2025) 2018-09-09 00:13:19 -07:00
lguohan
22edc33896
[broadcom]: upgrade SAI to 3.1.3.5-8 (#2028)
Fix get_fdb_entry_attribute bridge port ID [Shuotian Cheng]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-07 12:59:10 -07:00
paavaanan
6af462ac53 Dell platform modules for S6100/Z9100 is added with systemd support (#2026) 2018-09-06 23:27:23 -07:00
Pradchaya P
d3c1423d08 [platform/dx010] Fix issing qsfp_reset sysfs file (#2007)
* Fix qsfp_reset file missing.

* [platform/dx010] Add systemd unit for platform init.
2018-09-05 10:10:13 -07:00
StanleyCi
2cce4aec1c [device] Update ag9032v1 and ag9064 modules. (#1690)
* Update ag9032v1 and ag9064 modules.

Signed-off-by: neal tai <neal.tai@deltaww.com>

* Fix the sfputil.py when convert an integer to hexadecimal without the 'L' trailing.

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-09-01 13:52:38 -07:00
jackyjs
14a0b8c8a3 [devices]: Add Delta Platform et-6248brb (#1640)
* Add Delta Platform et-6248brb

Signed-off-by: jackyjsliu <JACKY.JS.LIU@deltaww.com>

* add Broadcom configuration file

Signed-off-by: jackyjsliu <JACKY.JS.LIU@deltaww.com>

* modify Broadcom configuration file
2018-09-01 13:25:46 -07:00
Pradchaya P
e8db1846ad [platform-device/haliburton] Support xcvr and sensor monitoring (#1998)
* [platform/haliburton] Fix kernel panic when remove smc module.

* [platform/haliburton] Chanage sysfs to support module interrupt

* [device/haliburton] Update sfputil to use new sysfs.

* [device/haliburton] sfputil to support xcvrd monitoring.
2018-08-29 08:50:29 -07:00
zzhiyuan
1157dbb4f5 [arista]: Update arista submodule to fix transceiver event (#1986) 2018-08-25 01:02:35 -07:00
Wirut Getbamrung
27bdc00be3 [platform/device] - Update Haliburton platform modules and device configuration (#1975)
* Add psuutil and sfputil support

* Fixed fancontrol issue

* Add sensor's label

* Update haliburton platform modules
2018-08-23 13:43:05 -07:00
Shuotian Cheng
a99008356b [dell]: Remove depmod -a from the platform initialization script (#1954)
depmod -a will be executed automatically after the package get installed

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-22 17:12:05 -07:00
lguohan
f05ee30d53
[sai]: upgrade SAI to version 1.3.3 (#1944)
* [sai]: upgrade SAI to version 1.3.3

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* update mellanox sai
2018-08-17 11:13:08 -07:00
lguohan
ec8a7f5e54
[broadcom]: fix delay to load led proc init (#1940)
led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-16 23:11:45 -07:00
lguohan
38f3eba695
[kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1) (#1922)
* [kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1)

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [mellanox]: Update SDK pointer for 4.9.0-7 kernel (#44)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>

* Update arista drivers for 4.9.0-7 linux kernel (#43)
2018-08-16 08:56:56 -07:00
loshihyu
6918a22959 [Inventec] Add D7264 platform support (#1675)
* Add Inventec D7264 platform support

* Fixed util script file permission

* Fixed more scripts file permission
2018-08-14 13:07:03 -07:00
lguohan
859d0e1e8a
[bcmsh]: add inactivity timeout for bcmsh (default 300 seconds) (#1921)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 11:34:04 -07:00
Guohan Lu
9047edc38e [platform]: move dell platform modules into buildimage repo
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 10:39:07 +00:00
lguohan
0cd4ef0c85
[socat]: build socat with readline (#1919)
support readline in bcmsh

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 01:12:58 -07:00
klhaung
58db7f17a7 [device & platform] led and transceiver deamon for inventec switch d7032 and d7054 (#1678)
* [device]: Modify SFPUtil for inventec-d7032
[device]: Add front panel led support for Inventec-d7032
[platform]: Add transceiver monitor daemon for Inventec-d7032 and Inventec-d7054

* [device] follow new porting guide to have broadcom config under device folder

* remove license
2018-08-12 12:39:20 -07:00
Guohan Lu
8910c7e18c update .gitignore
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-12 07:58:59 +00:00
Guohan Lu
66ffca2832 [kernel]: set default option to build kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 23:46:13 +00:00
Guohan Lu
400597596a [submodules]: update submodule for platform modules dell, s6000 and kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 21:10:42 +00:00
Samuel Angebault
be0328a59a Update arista-drivers submodules (#42) 2018-08-11 09:09:03 +00:00
Guohan Lu
5d46e050d6 [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
aa2e340f5a [broadcom]: build broadcom kernel modules from gpl source codes
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
3021e4efd6 [devices]: add celstica haliburton
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
7d13479aed [celestica]: Add dx010 gpio sysfs exported when platform modules load.
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
8e0f1f526f [celestica]: update dx010 fan driver to support fault alarm
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
b8a01dc3b4 [build]: add .gitignore for cel, delta and inventec
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
yurypm
39b0e801ca [device] Update arista driver submodule (#38)
* [device] Update arista driver submodule

* Set Arista scd driver config

Set ARISTA_SCD_DRIVER_CONFIG config to build and
include scd driver to resulting Arista deb packages
2018-08-11 09:09:03 +00:00
Guohan Lu
f7c16e3eba [devices]: change celestica platform modules version back to 0.6 2018-08-11 09:09:03 +00:00
paavaanan
ecfca8bf23 [devices]: DellEMC new platform support for z9264f - 64x100 (#26)
* Added new platform support DellEMC - Z92264f - 64x100

* Includes changes with Makefiles, sfputil, eeprom and default minigraph

* Led support for Z9264f platform

* Includes changes on default minigraph

* ipmitool implementation in pmon docker. platform_sensors script is inclued in pmon startup
2018-08-11 09:09:03 +00:00
StanleyCi
145aa4ff70 [delta]: Enable ag5648, et-6248brb, ag9064 and fix the build error of ag5648 PSU module. (#32)
* 1. Fixed delta ag5648 PSU modules.
2. Enable build ag5648.

Signed-off-by: neal tai <neal.tai@deltaww.com>

* 1. Modified the kernel depends for ag5648.
2. Modified platform-modules-ag5648.service for install ag5648.

Signed-off-by: neal tai <neal.tai@deltaww.com>

* Enable the ag9064.

Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>

* Add Delta platform et-6248brb

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
0fb388233a [devices]: disable compiling ag9064 and ag5648
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
hans-tseng
c77ddbc79e [devices]: modified and fixed delta ag9064 modules (#28)
2. enable build ag9064

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-08-11 09:09:03 +00:00
StanleyCi
b53fa5ee67 [devices]: Modified and fixed delta ag5648 modules. (#30)
* Modified and fixed delta ag5648 modules
1. modified and fixed delta ag5648 modules.
2. enable build ag5648.

Signed-off-by: neal tai <neal.tai@deltaww.com>

* Enable build ag9064

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
244aaca197 [devices]: disable compiling ag9064 and ag5648
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
hans-tseng
cbf204ba01 [device]: add the new platform ag9064 (#23)
Signed-off-by: hans <hans.tseng@deltaww.com>
2018-08-11 09:09:03 +00:00
Samuel Angebault
764a7edd83 [device]: Enable arista drivers for sonic-linux-kernel 4.9 (#21)
* Enable arista drivers

* Add vfat ascii charset in initramfs

* Update boot0.j2 for 4.9 kernel

* Fix i2c offsets in sensors.conf

* Bump sonic-platform-modules-arista submodule
2018-08-11 09:09:03 +00:00
Guohan Lu
91891af27e [bug fix]: fix delta ag9032v1 driver compilation. disable ag9064 2018-08-11 09:09:03 +00:00
Guohan Lu
689bbd2b72 [broadcom]: update opennsl module to 3.4.1.11-1 2018-08-11 09:09:03 +00:00
Guohan Lu
0edb3802b0 [build]: add stretch target to build in stretch docker 2018-08-11 09:09:03 +00:00
nealtai
4142d7f4bf [Delta]: Modify delta-ag9032v1 driver for kernel 4.9 (#20)
Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-08-11 09:09:03 +00:00
pwisutti
025dad0e11 [celestica] change to use lm75 standard driver (#19) 2018-08-11 09:09:03 +00:00
Guohan Lu
ec9dc57704 [devices]: enable sonic-platform-modules-cel 2018-08-11 09:09:03 +00:00
Guohan Lu
f489bea105 [platform]: incorporate sonic-platform-modules-cel into sonic buildimage repo 2018-08-11 09:09:03 +00:00
Guohan Lu
759edc93c9 [dell]: update to stretch-kernel based dell modules 2018-08-11 09:09:03 +00:00
Guohan Lu
9801ba9cc9 [devices]: enable platform modules for various platforms 2018-08-11 09:09:03 +00:00
lguohan
35ab7a6e09 [kernel]: upgrade linux kernel to 4.9.0-5 (4.9.65-3+deb9u2) (#8) 2018-08-11 09:09:03 +00:00
lguohan
13c83ac6f9 [platform]: enable platform driver for dell s6000 (#5) 2018-08-11 09:09:03 +00:00
Guohan Lu
5d1a7a1f3a [temp]: disable building platform drivers tempoerarily 2018-08-11 09:07:59 +00:00
Guohan Lu
540a87a9db [opennsl]: use opennsl kernel module based on kernel 4.9.0-3 2018-08-11 09:07:59 +00:00
Guohan Lu
87ec4f113b [docker-syncd]: install kmod in docker-syncd-brcm without prompt 2018-08-11 09:07:59 +00:00
lguohan
75361042f5
[device]: add support for celestica E1031 (#1528) 2018-08-04 21:19:29 -07:00
zzhiyuan
c822b3c75d Update arista driver submodule (#1900)
Includes changes to enable interrupt handling.
2018-08-03 16:34:27 -07:00
yurypm
a8c41d9a66 [device] Update arista driver submodule (#1897) 2018-08-01 14:47:36 -07:00
pavel-shirshov
f033cbe296
[bcm syncd]: Wait initializing led_proc for 60 seconds (#1863)
* Wait initializing led_proc for 60 seconds. bcm sdk need time to be ready accept a connection
2018-07-18 09:38:41 -07:00
lguohan
2944f3e3cb
[swss]: sonic-swss submodule update (#1856)
* [swss]: sonic-swss submodule update

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [broadcom]: update sai.mk

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-07-13 13:43:16 -07:00
Ying Xie
daf590e677 [broadcom sai] update Broadcom SDK/SAI version (#1853)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-07-12 01:52:38 -07:00
lguohan
48e3e15f52
[broadcom]: update sai.mk (#1850)
* Add function pointers for extended get stats API

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-07-08 11:32:17 -07:00
Prince Sunny
51bfc2ebd5 [SAI] update SAI header to 1.3 (#1778) 2018-07-06 09:30:53 -07:00
yurypm
f6fffda7bb [device] Update arista driver submodule (#1835)
* [device] Update arista driver submodule

* Set Arista scd driver config

Set ARISTA_SCD_DRIVER_CONFIG config to build and
include scd driver to resulting arista deb packages
2018-07-03 17:01:41 -07:00
Pradchaya P
78ed06d6be [Platform/Celestica] Add dx010 fan led control. (#1834) 2018-07-03 17:00:13 -07:00
Qi Luo
ff237aaf18
[syncd] Treat bcmcmd as a supervisor task so we could collect stdout/stderr (#1825) 2018-06-29 08:37:20 -07:00
Qi Luo
7ba08e5bf6
Prefix docker container name to syslog syslogtag (program name) (#1810) 2018-06-25 10:48:42 -07:00
sihuihan88
82343ca165 [sai]: update SAI version to 3.1.3.4-15 (#1808)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-06-22 18:03:27 -07:00
Pradchaya P
3ea616dcc3 [platform] Celestica: dx010 init gpio sysfs (#1807) 2018-06-22 11:56:22 -07:00
Shuotian Cheng
493ae71f8f [Broadcom]: update Broadcom SAI to 3.1.3.4-14 (#1797)
Fix mirror session destination update bug causing no resources issue

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-06-19 17:52:09 -07:00
zhenggen-xu
83d9c7e593 [bcmsh] Fix the bcmsh issues. (#1761)
bcmsh is not copied to /usr/bin/ at host side
2018-06-06 15:39:23 -07:00
lguohan
e7d17c0a2b
[broadcom]: update brcm sai to 3.1.3.4-13 (#1760)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-06-01 08:13:58 -07:00
Ying Xie
4d564688bf
[broadcom sai] upgrade Broadcom SAI to version 3.1.3.4-12 (#1740)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-05-24 16:49:24 -07:00
Wirut Getbamrung
ea465db046 [devices]: update dx010 fan configuration (#1735) 2018-05-23 02:55:29 -07:00
Qi Luo
f3f8b9ff57
[syncd]: Add socat and bcmsh wrapper (#1657)
* [syncd]: Add socat and bcmsh wrapper
* Install socat in docker-base
* Add hint banner, add host wrapper
* Refine banner message
2018-05-04 09:27:01 -07:00
Samuel Angebault
724aaf162c [device] Update arista driver submodule (#1674) 2018-05-03 22:26:49 -07:00
lguohan
9a23770173
[broadcom]: update broadcom SAI to 3.1.3.4-11 (#1670)
Provide better ECMP load-balancing via hash seed

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-02 02:36:12 -07:00
Ying Xie
7759bc8b92 [Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-10 (#1591)
* [Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-9

Includes configuration files for following devices:

- Quanta 1X1B-32X
- Dell Z9264F
- Inventec D7054Q28B and D7032Q28B

* [bcm sai] upgrade sai version to 3.1.3.4-10

include configuration change to 7060 T0.
2018-04-12 17:55:08 -07:00
Samuel Angebault
ca111db34d [device] Update Arista driver submodule (#1585)
Watchdog timeout increased
2018-04-10 20:16:07 -07:00
Samuel Angebault
9f3d3f1583 [device] Update Arista drivers submodule (#1533)
Enforce SMBus retry for all kinds of IO error as they are generally
one off errors.
2018-03-27 02:14:16 -07:00
nealtai
830e1dd560 [device]: Add a new supported device, Delta-ag5648 (#1470)
* [platform]: Add a new supported platform, Delta-ag5648

            CPU : Intel Rangeley C2538
            Swich ASIC: Broadcom Tomahawk BCM56967
            Ports : 48x25G + 6x100G
            Switch SKU : Delta-ag5648

Signed-off-by: neal tai <neal.tai@deltaww.com>

* Delete the file

Delete the auto-generated file.

* [device]: ag5648 remove all *.cmd files.
          remove the files under ag5648/modules

Signed-off-by: neal tai <neal.tai@deltaww.com>

* [device]: ag5648 device drivers
          1. Use the common driver dni_emc2305.c

          ag9032v1 device drivers
          1. Move dni_emc2305.c to be the common driver
          2. Remove at24.c

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-03-23 15:17:41 -07:00
Roy Lee
ebea937a7a [devices]: New platform as7326-56x (#1524)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* Install sonic-platform-common package in platform-monitor docker for ledd (#1330)

* Install sonic-platform-common package in platform-monitor docker for ledd

* Specify Python wheel dependencies in docker-platform-monitor.mk; Remove explicit specifications from Dockerfile.j2

* Add related files for new platfrom as7326_56x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Validate sfputil.py and verified.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Push submodule sonic-platform-modules-accton for as7326-56x validation.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-03-23 12:36:25 -07:00
StanleyCi
baa9d45343 [devices]:Add attributes for cpupld and swpld. (#1516)
Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
2018-03-23 10:45:01 -07:00
padmanarayana
dda00292f3 Sonic fstrim (#1520)
* Update Dell submodule for fstrim support

* Revert PR 1500 since fstrim files are now part of submodule
2018-03-21 13:15:05 -07:00
Harish Venkatraman
87e942343f [device/dell] Added dynamic sai.profile generation (#1518)
* [device/dell] Added dynamic sai.profile generation

This commit addds new code for generating dynamic sai.profile file.
The sai.profile.j2 will generate the sai.profile dynamically based on
the topology. It will generate the sai.profile under /etc/sai.d/ directory
in syncd. Before syncd is started this J2 file will be run from the start.sh
file from /usr/bin/ directory. Since the sai.profile is dynamically generated
the old sai.profile file is not required so deleted the file for S6100.
It also address couple of more changes for port_config.ini support is added
for speed in the file which can be used later to find the port speed. Also
the buffer_default_t*.j2 file the ports should be from 0 to 64 changed.

Unit tested the code on S6100 for dynamic generation of sai.profile file for
both T0 and T1 and the file was created in /etc/sai.d/sai.profile
Similarly tested the sonic binary on S6000 to make sure that the sai.profile is
copied from the /usr/share/sonic/hwsku/sai.profile to /etc/sai.d/sai.profile.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>

* [sonic-buildimage] Updating module sai-redis

Updating the sonic-sairedis point.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-03-21 09:28:23 -07:00
jostar-yang
06a823d3fb [devices]: Add build as7716-32xb to platform-modules-accton.mk file (#1496)
* Add build as7716-32xb to mk file

* Add as7716-32xb build to onie-image.mk

* Add as7716-32xb to debian build
2018-03-19 23:40:12 -07:00
lguohan
3ba84ec1f7
[SAI]: Update sonic to use SAI v1.2.4 (#1509)
* Update SAI to v1.2.4

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* update SAI to v1.2.4 header
2018-03-17 19:07:28 -07:00
delta-JohnsonLu
93f38de672 [devices]: modify platform-modules-ag9064.init (#1504)
add load IPMI module.

Signed-off-by: johnson.lu <johnson.lu@deltaww.com>
2018-03-17 16:43:14 -07:00
Shuotian Cheng
23e79818e3
[platform]: Update sonic-platform-modules-dell submodule (#1502)
* Enable/disable fstrim on S6100 & Z9100

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-03-15 15:30:09 -07:00
Ying Xie
f306dd36cd
[BCM SAI] update Broadcom SDK and SAI (#1485)
SDK: no functional change, update version number to 3.4.1.11-2.
SAI: upgrade to 3.1.3.4-5, enable warm shutdown feature.
2018-03-14 14:44:40 -07:00
jostar-yang
16f81afe9a [devices]: Add as7716-32xb device code (#1472)
* Add as7716-32xb device code

* Add as7716-32xb drv code
2018-03-09 15:47:10 -08:00
padmanarayana
02b62ac9bb [fast-reboot]: Support OS9 -> SONiC fast-reboot migration (#1414)
* Support OS9 -> SONiC fast-reboot migration

* Address review comments. Update NOS mac in EEPROM and net.rules for eth0

* Address review comments. Update sonic-platform-modules-dell to fac81d...

* Fix script for POSIX compliance
2018-03-08 16:42:41 -08:00
wadelnn
2d4c8a2ae6 [Platform] Update switch config files for Ingrasys platforms. (#1474)
* Add psuutil for S8900-54XC and S8900-64XC.
* Update syseeprom to CPU EEPROM for S9130-32X, S9200-64X and S9230-64X.
* Update sensors.conf for S9200-64X and S9230-64X.
* Update submodule for platform/broadcom/sonic-platform-modules-ingrasys

Signed-off-by: Wade He <chihen.he@gmail.com>
2018-03-08 11:49:17 -08:00
Ying Xie
e4a02cbf65
[SAI] upgrade to Broadcom SAI 3.1.3.4-4 (#1475) 2018-03-08 10:36:39 -08:00
Roy Lee
763461eeac [devices]: As7816 64x validate sfputil psuutil (#1466) 2018-03-07 00:33:33 -08:00
Ying Xie
b9f4aa9f00 [bcm sai] upgrade to sai version 3.1.3.4-3 (#1451)
- included bcm config files missed between 3.0 and 3.1.
2018-03-02 21:21:47 -08:00
StanleyCi
571a18add4 [Delta ag9032v1]Add attributes for cpupld and swpld. (#1437)
Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
2018-03-01 21:15:27 -08:00
hans-tseng
837e964854 [devices]: add the delta ag9064 platform (#1435)
* add the ag9064 platform

Signed-off-by: hans <hans.tseng@deltaww.com>
2018-03-01 02:14:26 -08:00
Ying Xie
4cac329472
[SAI] upgrade to Broadcom SAI 3.1.3.4-2 (#1427) 2018-02-27 18:34:57 -08:00
StanleyCi
09b9bd8534 [Delta ag9032v1]: Add attributes for cpupld and swpld. (#1422)
Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
2018-02-27 12:51:53 -08:00
lguohan
005a59fc4d
[image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00
Jonathan Tsai
98bfaf27e3 [QUANTA]: Add psuutil support for IX1B (#1409)
- What I did
Add psuutil support for Quanta-IX1B-32X
Update Quanta submodule

- How I did it
Update Quanta-IX1B-32X platform module driver.

- How to verify it

admin@switch1:~$ sudo psuutil status
PSU    Status
-----  --------
PSU 1  OK
PSU 2  OK

- Description for the changelog
Add psuutil support for Quanta-IX1B-32X
Update Quanta submodule

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
2018-02-22 16:27:14 -08:00
Roy Lee
5576c11c12 New model as7312 54x (#1339)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* Install sonic-platform-common package in platform-monitor docker for ledd (#1330)

* Install sonic-platform-common package in platform-monitor docker for ledd

* Specify Python wheel dependencies in docker-platform-monitor.mk; Remove explicit specifications from Dockerfile.j2

* [7312_54x] Add plug-in files.
Signed-off-by: roylee123 <roy_lee@accton.com>

* [as7312-54x] Update i2c related drivers after tested on R0B model.
Signed-off-by: roylee123 <roy_lee@accton.com>

* Add as7312-54x driver package.
Signed-off-by: roylee123 <roy_lee@accton.com>

* [as7312-54x] Add index to port_config.ini for mmaping port with single lane.
             Validate sfputil.py and mark unsupported for lp mode.
Signed-off-by: roylee123 <roy_lee@accton.com>

* [as7312-54x] Change for R01 HW board.
Signed-off-by: roylee123 <roy_lee@accton.com>

* [as7312-54x] recovered for the lint corrected not suitable for python.
Signed-off-by: roylee123 <roy_lee@accton.com>

* Remove debug printing.
Signed-off-by: roylee123 <roy_lee@accton.com>

* [platform] as7312-32x, update for util.py recovered.
Signed-off-by: roylee123 <roy_lee@accton.com>

* [platform] Accton: merged the commit by Polly Hsu.
        Change platform modules to depend on 3.16.0-5-amdn64 kernel.

Signed-off-by: roylee123 <roy_lee@accton.com>

* [Device] As7312-54x, update for correct I2C addresses for sfp and psu.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [Platform] as7312-54x, pushed submodule to new i2c drivers and script.
Signed-off-by: roy_lee <roy_lee@accton.com>

* resolved PR New model as7312 54x #1339  merge conflicts on sfputil.py.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-02-14 19:10:37 -08:00
stanepc1
46ec35df81 [device] Add a new platform ly1200 for MiTAC (#1369)
* [device] Add a new platform ly1200 for MiTAC

Signed-off-by: Eddy Weng <eddy.weng@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] Update dependency for new kernel.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [minigraph]: Set hostname in all default minigraphs to 'sonic'

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [kernel]: update linux kernel to support ly1200 of MiTAC

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] adapt PSU driver for linux kernel upgrade.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* Resolve the conflict with Quanta

modified files are as below.
.gitmodules
platform/broadcom/one-image.mk
platform/broadcom/rules.mk

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
2018-02-13 21:39:08 +08:00
Roy Lee
02e0fadca2 [Platform] Accton as7712 32x support oom (#1327)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* [platform] accton as7712_32x supports OOM SFP eerpom driver.
Signed-off-by: roylee123 <roy_lee@accton.com>

* [platform] update for as7712-32x to remove local optoe.c file and Makefile.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-02-13 21:37:12 +08:00
cpchang
ed408cde54 [Quanta]: Add a new supported device and platform, IX1B-32X (#1372)
* [Quanta]: Add a new supported device and platform, IX1B-32X

Switch Vendor: Quanta
Switch SKU:    IX1B-32X
ASIC Vendor:   Broadcom
Swich ASIC:    Tomahawk
Port Config:   32x100G

Signed-off-by: Chih-Pei.Chang@qct.io
2018-02-12 11:11:26 +08:00
Samuel Angebault
7b98238de6 [device/arista] Update Arista drivers submodule (#1376)
- The driver package was split into bins, drivers, python2, python3
 - Introduce some tracing regarding the switch chip reset
 - Add watchdog during boot for DCS-7260CX3-64
2018-02-08 00:12:30 +08:00
lguohan
e223610f4e
[devices]: change celestica platform modules to depend on 3.16.0-5-amd64 kernel (#1374) 2018-02-07 10:08:13 +08:00
lguohan
60452351ea
[devices]: change platform modules to depend on 3.16.0-5-amdn64 kernel (#1368)
* [devices]: change platform modules to depend on 3.16.0-5-amdn64 kernel

* update kernel to 3.16.0-5-amd64 for dell s6100 and z9100
2018-02-04 12:48:48 +08:00
paavaanan
a4bcccc9db [dell-hwmon] Changed variables in psuutil scripts for both Z9100/S6100 platforms (#1305)
* [dell-hwmon] Changes psuutil scripts for Z9100/S6100 platform to use hwmon variables

* Updated sumbodule 23c5383780790234da3774155bd521db14d8daa4 - hwmon changes
2018-02-04 08:49:24 +08:00
Qi Luo
358949b4e5
Upgrade linux-image version (#1294)
* Upgrade linux-image version
* Add missing dependency of igb
* Fix mft build rule
* Add missing dependency of ixgbe
* [Broadcom]: Update OpenNSL modules to be compatible with kernel 3.16.0-5 (#3)
* [Nephos] Update SDK version to support new kernel module 3.16.0-5 (#4)
* [mellanox]: Update URL for SDK (#5)
2018-01-31 11:39:48 -08:00
lguohan
1d0a57a465
[dell]: add psuutil support for s6000 (#1342)
also remove w83627dhg as it raises false alarm.
2018-01-29 11:21:30 -08:00
Shuotian Cheng
c568e8fd27 [Broadcom]: Update Boradcom SAI package to 3.0.3.3-3 (#1312)
- update Arista 7050-QX32S config.bcm file
- update Accton th-as771*-32x100G.config.bcm files
2018-01-16 19:16:34 -08:00
jostar-yang
5c83be5d28 Add support for Accton AS7712-32X platform (#1299)
* Add support as7716_32x sfp/psu/portled/eeprom

* Add as7716_32x drv code(not inlcude .*.o)

* Update platform-modules-accton.mk

* Update platform-modules-accton.mk

1.Modify platform-modules-accton.mk to use new style code add_extra_package
2. fix error code

* Add as7716_32x build to debian control,rule

* Add as7716_32x export
2018-01-12 19:34:51 -08:00
lguohan
fac28cf63f
[build]: build libsaithrift-dev and docker-ptf-[platform] (#1300) 2018-01-12 09:34:51 -08:00
pavel-shirshov
47aba6f76d
[libsaithrift-dev]: Enable building libsaithrift-dev and pythonthrift libraries (#1296)
* Fix build of libsaithrift for broadcom

* Restore libsaithrift-dev building

* Comment out libsaithrift library on cavium and marvell. Both of them have old SAI drivers

* Revert back unintentional acton changes

* Don't run the package checks when building sairedis package
2018-01-11 20:32:14 -08:00
nealtai
41cdb8971f [Delta]: Add psuutil support for ag9032v1 (#1298)
Fix the bug of psu module for ag9032v1

Signed-off-by: neal <neal.tai@deltaww.com>
2018-01-11 15:17:55 -08:00
Roy Lee
8ae3c6c88a [Platform]As7712-32x update for sensors test (#1292)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* [platform]AS7712.
    1. update device driver.
        - move 7712 modules to common dir, and linked to them.
        - add new lm75 node at I2C address 0x4B.
        - add optoe module for QSFP eeprom access.
        - add accton_pmbus_3y.c module for pmbus access.
    2. masked sensor.conf for matching of sku-sensors-data.yml.
Signed-off-by: roylee123 <roy_lee@accton.com>
2018-01-10 03:08:05 -08:00
Shuotian Cheng
32559d4fce [platform]: chmod 0644 for *.mk files (#1284) 2018-01-08 07:49:42 -08:00
Shuotian Cheng
ffc19d3e9d
[arista]: Update Arista platform modules and mount libraries to snmp docker (#1283)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-01-05 11:51:59 -07:00
lguohan
a27b3d54e7
[platform]: chmod a+x for debian/rules for platform-modules-delta (#1282) 2018-01-04 12:45:36 -08:00
Roy Lee
f8d32aa9f1 [platform]: As7712 32x add fancontrol (#1270)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* [AS7712-32X] Add fancontrol.

Signed-off-by: roylee123 <roy_lee@accton.com>

* [AS7712-32X] add psuutil.py and sensors.conf

Signed-off-by: roylee123 <roy_lee@accton.com>

* Remove 1 reduntant line.

Signed-off-by: roylee123 <roy_lee@accton.com>

* [AS7712-32X] Change fan driver to support fancontrol.
Signed-off-by: roylee123 <roy_lee@accton.com>
2018-01-03 11:42:49 -08:00
wadelnn
22eea55c9b [Platform] Add psuutil and update submodule for Ingrasys S9100-32X, S8810-32Q, S9200-64X on master branch (#1271)
* [platform] Add Psuutil and fixed voltage alarm for S9100

* Add I2C CPLD kernel module for psuutil.
* Support psuutil script.
* Add voltage min and max threshold.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Platform] Add Psuutil and update sensors.conf for S8810-32Q and S9200-64X

 * Support psuutil script.
 * Update sensors.conf for tmp75.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-12-29 10:41:43 -08:00
Roy Lee
683562cf2f [Accton AS7816-64X] Add new platform and device for AS7816-64X. (#1260)
Signed-off-by: roylee123 <roy_lee@accton.com>
2017-12-22 10:06:21 -08:00
jostar-yang
db49660b86 Add set/get lpmode and mode_rst feature for qsfp (#1261)
* Add lpmode set/get . mode_reset feature for qsfp

* Add lp mode, set/get and mode_rst feature for sfp
2017-12-21 01:54:32 -08:00
Ying Xie
ee58ee2067
[build] make second Accton Debian package extra package of the first one (#1257)
Both packages are built with a single build command. We only have to
take the second one after the first one is built.
2017-12-20 15:25:04 -08:00
yurypm
b57cfd7295 [arista] Delete sysfs entries for all Arista Digital Power Monitor/Management devices (#1256)
* Bump sonic-platform-modules-arista submodule

* [arista] Remove DPM entries from Arista sensors.conf files
2017-12-20 14:05:23 -08:00
lguohan
52e07979e2
[broadcom]: update sai to 3.0.3.3-1 (#1243)
add SAI_ROUTER_INTERFACE_ATTR_MTU support in broadcom SAI
2017-12-17 02:03:39 -08:00
Roy Lee
db7f173f23 [Accton AS7712] Add sfp reset in driver and sfputil.py. (#1241)
Signed-off-by: roylee123 <roy_lee@accton.com>
2017-12-15 00:59:41 -08:00
Samuel Angebault
9dc85620f3 [device/arista] Add psuutil plugin for Arista platforms (#1221)
* Bump sonic-platform-modules-arista submodule

* Add psuutil plugnis for Arista platforms
2017-12-08 16:32:50 -08:00
wadelnn
c4f7cd376e [Ingrasys]: Update QSFP monitor CoPP test and sensors config (#1202)
* Increase read socket buffer for CoPP Test
* Add QSFP monitor service
* Update S8810-32Q sensors.conf

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-12-07 12:08:49 -08:00
Shuotian Cheng
d9c0ede2e4
[Broadcom]: Update Broadcom SDK/SAI package (#1205)
Update Broadcom OpenNSL to 3.2.3.7-1
Update Broadcom SAI to 3.0.3.3

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-07 11:32:47 -08:00
lguohan
b907e4e9f5
[vs]: add vlan configuration support in virtual switch (#1200) 2017-11-30 14:59:25 -08:00
Roy Lee
397f513362 [platform] Accton AS7712-32X. Update for sensors and sfputil (#1197)
Revise kernel driver to duplicate nodes for support of lm-sensors, at fan and PSU.
Update sfputil.py to to fit new SfpUtil prototype.

Signed-off-by: roylee123 <roy_lee@accton.com>
2017-11-30 11:19:41 -08:00
Jason Tsai
51dfa1768d [Ingrasys] Update platform configuration files (#1194) 2017-11-29 11:57:35 -08:00
Shuotian Cheng
b7c2ffa73a
[Broadcom]: Update Broadcom SAI package to 3.0.3.2-15 (#1186)
Add support for TD2 BCM 56854
Add th-ag9032v1-32x100G.config.bcm for Delta AG9032v1

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-27 19:07:58 -08:00
nealtai
8602360ffd [platform] Add a new supported platform, Delta-ag9032v1 (#1168)
CPU : Intel Rangeley C2538
    Swich ASIC: Broadcom Tomahawk BCM56960
    Ports : 32x100G
    Switch SKU : Delta-ag9032v1

Signed-off-by: neal <neal.tai@deltaww.com>
2017-11-27 14:29:22 -08:00
Polly Hsu
0f903d008b [Accton]: Add a new supported platform, AS5712-54X (#1167)
* Switch Vendor: Edge-core
* Switch SKU: AS5712-54X
* ASIC Vendor: Broadcom
* Swich ASIC: TRIDENT2
* Port Configuration: 48x10G+6x40G
* SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: polly_hsu@accton.com
2017-11-22 02:59:28 -08:00
Shuotian Cheng
343597ce22 [Broadcom]: Update Broadcom SAI package to 3.0.3.2-13 (#1161)
Fix crash due to dirty pointers

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-17 09:36:02 -08:00
lguohan
f4e37a66f9 add INSTALLS, LAZY_INSTALLS, DEPENDS targets to image build (#1159)
1. _INSTALLS defines the packages to be installed in the image
at the build time.
2. _LAZY_INSTALLS defines the packages to be installed in the image
at the first run time
3. _DEPENDS defines the packages to at the build dependency of
the image
2017-11-16 12:27:03 -08:00
Shuotian Cheng
6284452535 [Broadcom]: Update Broadcom SAI package to 3.0.3.2-12 (#1150)
Fix memory leak in multipath routing (part II)
Update th-s6100-64x40G.config.bcm

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-14 03:23:55 -08:00