Commit Graph

388 Commits

Author SHA1 Message Date
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