Commit Graph

518 Commits

Author SHA1 Message Date
Nazarii Hnydyn
d53df059d4 [devices]: Added new SN3700/SN3700C Mellanox platforms (#2548)
* [mlnx-msn3700]: Added MSN3700 platform.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>

* [mlnx-msn3700]: Upgrade FW burn: use ASIC auto detect.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>

* [mlnx-msn3700]: Updated HW-MGMT/FW/MFT/SAI/SDK.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>

* [mlnx-msn3700]: Added MSN3700C platform.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2019-02-13 23:08:04 -08:00
Kevin(Shengkai) Wang
a9d2bf37e1 [mellanox] Implement PSU related APIs based on the new platform API (#2460)
* Implement part of PSU related APIs including get_status(), get_presence()

Signed-off-by: Kevin Wang <kevinw@mellanox.com>
2019-02-13 15:21:07 +02: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
lguohan
f008fc8a35
[docker-syncd-mlnx-rpc]: fix mellanox syncd docker build (#2551)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-11 21:28:55 -08: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
f20665008c
[build]: put stretch debian packages under target/debs/stretch/ (#2519)
* [build]: put stretch debian packages under target/debs/stretch/

* in stretch build phase, all debian packages built in that stage are placed under target/debs/stretch directory.
* for python-based debian packages, since they are really the same for jessie and stretch, they are placed under target/python-debs directory.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-04 22:06:37 -08:00
lguohan
9c2d7240ea
[vs]: Force10-S6000 buffer settings for virtual switch (#2515)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-01 11:18:02 -08:00
Prince Sunny
39e12a1d82 [swss]: Change VrfMgrd startup order, cleanup VRF_TABLE from state DB (#2510) 2019-01-31 23:28:31 -08:00
lguohan
2b01beb7d4
[kvm]: support for all hwsku in kvm switch (#2495)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-30 02:04:20 -08:00
lguohan
bc3f649631
[swss]: remove intfsyncd service (#2499)
intfsyncd is replaced by intfmgrd service

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-29 10:36:04 -08:00
Joe LeVeque
8f43cad061 [rsyslog] Suppress duplicate messages from base image and all Docker containers (#2497) 2019-01-29 03:41:40 -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
stepanblyschak
20dfb03359 [mellanox|ffb] ISSU version check (#2437)
* Revert "[mellanox]: Integrate CRIU tool to SYNCD docker container (#2061)"

This reverts commit 514b38f348.

Conflicts:
	platform/mellanox/docker-syncd-mlnx.mk
	sonic-slave/Dockerfile

* [mellanox|ffb] remove unused scripts

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [mellanox|ffb] ISSU version check

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [mlnx|ffb] remove extra ';'

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-17 14:41:32 -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
stepanblyschak
a58b606df0 [mellanox] Update SDK to 4.3.0134 (#2447)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-15 11:27:24 -08:00
stepanblyschak
ff526dd103 [mellanox|ffb] use system level warm reboot for Mellanox fastfast boot (#2374)
* [mellanox|ffb] use system level warm reboot for Mellanox fastfast boot

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [mellanox|ffb] add comments for mellanox start/stop drivers section

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-10 14:09:03 -08:00
stepanblyschak
ae190725ff [mellanox] Update SDK to 4.3.0132 (#2430)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-09 21:11:03 -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
sunesh
b84dbd8074 [barefoot]: updating deb package for platform and sai (#2413) 2019-01-04 09:33:53 -08:00
stepanblyschak
363951fe0c
[mellanox] update SAI,SDK,FW pointers (#2410)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-03 17:17:56 +02: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
Volodymyr Samotiy
011ede9b9f [Mellanox]: Update SDK for 4.9.0-8 kernel (#2383)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-12-14 13:24:16 -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
John Cheung
4671cb4d5a Update URL for bfn SDE to 8.5.0 on Azure/SONiC master (#2352)
* [Barefoot] Update bfn sde url for 8.5.0

* [Barefoot] Update bfn sde url for 8.5.0

* Update bfn-platform.mk
2018-12-07 14:28:24 -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
simonJi2018
b17a6522b9 [nephos]: support Debian 9 for nephos platform (#2347)
* Upgrade SAI to v1.2.4

* Add a new supported device accton as7116

* Add maintainer info for deb

* Add mk file for accton 7116

* fix some bug for sai 1.2.4

* fix git commit error for sdk and sai

* change sai and sdk deb name

* add config file for qos support

* initial commit

* Delete qos.json

* Delete buffers.json.j2

* Delete qos.json

* Delete buffers.json.j2

* Delete buffers.json.j2

* Delete qos.json

* add support for sai 1.3.0

* add qos and buffer file for device and add sensor driver for 7116

* change buffer template

* fix fan led bug

* add support for linux-4.9

* update device driver and update sdk and sai for support kernel 4.9
2018-12-05 00:30:38 -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
Volodymyr Samotiy
75b41233d2 [Mellanox|FFB]: Add support for Mellanox fast-fast boot (#2294)
* [mlnx|ffb] Add support for mellanox fast-fast boot

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [mlnx|ffb]: Add support of "config end" event for mlnx fast-fast boot

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

* [Mellanox|FFB]: Fix review comments

* Change naming convention from "fast-fast" to "fastfast"

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-12-04 10:11:24 -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