Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dell z9264f bringup #2415

Merged
merged 7 commits into from
Jan 9, 2019
Merged

Conversation

dgsudharsan
Copy link
Collaborator

- What I did
Bring up Sonic on Z9264 A01 Board

- How I did it
The existing code base supports Z9264f X00 variant. The changes have been done based on differences in the hardware between X00 and A01 variants

- How to verify it

By checking the output of various show commands

- Description for the changelog

The changes comprise of platform files for Z9264f A01 board bring up. The changes include

  1. New fpga ocores driver for A01 variant.
  2. Modifying the i2c tree based on the changes in A01 hardware
  3. Sfp transceiver change event support
  4. Platform reboot plugin

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

@dgsudharsan
Copy link
Collaborator Author

Mt Darwin(Z9264) A01 (X01) bring up

Show platform syseeprom:

root@sonic:~# show platform syseeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 181
TLV Name Code Len Value


Product Name 0x21 9 Z9264F-ON
Part Number 0x22 6 0WCXFV
Serial Number 0x23 20 CN0WCXFVDND0088M0002
Base MAC Address 0x24 6 20:04:0F:06:BA:33
Manufacture Date 0x25 19 08/22/2018 20:15:27
Device Version 0x26 1 1
Label Revision 0x27 3 A01
Platform Name 0x28 30 x86_64-dellemc_z9264f_c3538-r0
ONIE Version 0x29 10 3.42.1.9-3
MAC Addresses 0x2A 2 640
Manufacturer 0x2B 5 DND00
Manufacture Country 0x2C 2 CN
Vendor Name 0x2D 8 Dell EMC
Diag Version 0x2E 11 3.00.3.41-1
Service Tag 0x2F 7 6G0NXC2
Vendor Extension 0xFD 4
CRC-32 0xFE 4 0xEF38E342
(checksum valid)

show platform psustatus:

root@sonic:~# show platform psustatus
PSU Status


PSU 1 OK
PSU 2 OK
root@sonic:~#

Show platform summary:

root@sonic:# show platform summary
Platform: x86_64-dellemc_z9264f_c3538-r0
HwSKU: DellEMC-Z9264f
ASIC: broadcom
root@sonic:
#

Show environment:

acpitz-virtual-0
Adapter: Virtual device
temp1: +0.0 C (crit = +94.0 C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +39.0 C (high = +74.0 C, crit = +94.0 C)
Core 2: +36.0 C (high = +74.0 C, crit = +94.0 C)
Core 6: +35.0 C (high = +74.0 C, crit = +94.0 C)
Core 8: +34.0 C (high = +74.0 C, crit = +94.0 C)
Core 12: +37.0 C (high = +74.0 C, crit = +94.0 C)

Onboard Temperature Sensors:
PT_Left_temp: 29 degrees C
PT_Mid_temp: 40 degrees C
PT_Right_temp: 32 degrees C
Broadcom Temp: 37 degrees C
Inlet Airflow Temp: 35 degrees C
CPU Temp: 36 degrees C
CPU Near Temp: 39 degrees C
DRAM Temp: 36 degrees C
Fan Trays:
Fan Tray 1:
Fan1 Speed: 10440 RPM
Fan2 Speed: 10440 RPM
Fan1 State: Normal
Fan2 State: Normal
Fan Tray 2:
Fan1 Speed: 10440 RPM
Fan2 Speed: 10350 RPM
Fan1 State: Normal
Fan2 State: Normal
Fan Tray 3:
Fan1 Speed: 10440 RPM
Fan2 Speed: 10440 RPM
Fan1 State: Normal
Fan2 State: Normal
Fan Tray 4:
Fan1 Speed: 10440 RPM
Fan2 Speed: 10440 RPM
Fan1 State: Normal
Fan2 State: Normal
PSUs:
PSU1:
FAN Normal Temperature: 36 degrees C
FAN System Temperature: 30 degrees C
FAN Chassis Temperature: 38 degrees C
FAN AirFlow Temperature: 34 degrees C
FAN RPM: 17850 RPM
Input Voltage: 53 Volts
Output Voltage: 12 Volts
Input Power: 188 Watts
Output Power: 136 Watts
Input Current: 0.96 Amps
Output Current: 11 Amps
PSU2:
FAN Normal Temperature: 36 degrees C
FAN System Temperature: 30 degrees C
FAN Chassis Temperature: 38 degrees C
FAN AirFlow Temperature: 34 degrees C
FAN RPM: 17850 RPM
Input Voltage: 47 Volts
Output Voltage: 12 Volts
Input Power: 220 Watts
Output Power: 187 Watts
Input Current: 2.11 Amps
Output Current: 15.50 Amps

Total Power:                        408 Watts

Show interfaces transceiver presence:

root@sonic:~# show interfaces transceiver presence Ethernet4
Port Presence


Ethernet4 Present
root@sonic:~# show interfaces transceiver presence Ethernet8
Port Presence


Ethernet8 Not present
root@sonic:~# show interfaces transceiver presence Ethernet12
Port Presence


Ethernet12 Present
root@sonic:~#

Show interfaces transceiver eeprom:

root@sonic:~# show interfaces transceiver eeprom Ethernet4
Ethernet4: SFP EEPROM detected
Connector: No separable connector
Encoding: Unspecified
Extended Identifier: Power Class 1(1.5W max)
Extended RateSelect Compliance: QSFP+ Rate Select Version 1
Identifier: QSFP+
Length Cable Assembly(m): 3
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10/40G Ethernet Compliance Code: 40GBASE-CR4
Fibre Channel Speed: 1200 Mbytes/Sec
Fibre Channel link length/Transmitter Technology: Electrical inter-enclosure (EL)
Fibre Channel transmission media: Twin Axial Pair (TW)
Vendor Date Code(YYYY-MM-DD Lot): 2013-05-23
Vendor Name: Amphenol
Vendor OUI: 78-a7-14
Vendor PN: 616750003
Vendor Rev: B
Vendor SN: CN0FC6KV35D6898

root@sonic:~# show interfaces transceiver eeprom Ethernet12
Ethernet12: SFP EEPROM detected
Connector: No separable connector
Encoding: Unspecified
Extended Identifier: Power Class 1(1.5W max)
Extended RateSelect Compliance: QSFP+ Rate Select Version 1
Identifier: QSFP+
Length Cable Assembly(m): 3
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10/40G Ethernet Compliance Code: 40GBASE-CR4
Fibre Channel Speed: 1200 Mbytes/Sec
Fibre Channel link length/Transmitter Technology: Electrical inter-enclosure (EL)
Fibre Channel transmission media: Twin Axial Pair (TW)
Vendor Date Code(YYYY-MM-DD Lot): 2013-05-23
Vendor Name: Amphenol
Vendor OUI: 78-a7-14
Vendor PN: 616750003
Vendor Rev: B
Vendor SN: CN0FC6KV35D6898
Show interfaces status:

root@sonic:~# show interfaces status
Interface Lanes Speed MTU Alias Oper Admin


Ethernet0 49,50,51,52 N/A 9100 hundredGigE1/1 down up
Ethernet4 53,54,55,56 N/A 9100 hundredGigE1/2 up up
Ethernet8 65,66,67,68 N/A 9100 hundredGigE1/3 down up
Ethernet12 69,70,71,72 N/A 9100 hundredGigE1/4 up up

Module information:

root@sonic:# lsmod | grep fpga
dell_z9264f_fpga_ocores 36864 0
root@sonic:
# modinfo dell_z9264f_fpga_ocores
filename: /lib/modules/4.9.0-7-amd64/extra/dell_z9264f_fpga_ocores.ko
description: Driver for FPGA Opencores I2C bus
author: Joyce_Yu@Dell.com
license: GPL
alias: pci:v000010EEd00007021svsdbcsci*
depends:
retpoline: Y
vermagic: 4.9.0-7-amd64 SMP mod_unload modversions
parm: use_irq:Get an use_irq value from user...
(int)

I2C MUX initialization:

root@sonic:# cat /sys/class/i2c-adapter/i2c-2/name
i2c-603-mux (chan_id 0)
root@sonic:
# cat /sys/class/i2c-adapter/i2c-10/name
i2c-604-mux (chan_id 0)
root@sonic:# cat /sys/class/i2c-adapter/i2c-18/name
i2c-605-mux (chan_id 0)
root@sonic:
# cat /sys/class/i2c-adapter/i2c-26/name
i2c-606-mux (chan_id 0)
root@sonic:# cat /sys/class/i2c-adapter/i2c-34/name
i2c-607-mux (chan_id 0)
root@sonic:
# cat /sys/class/i2c-adapter/i2c-38/name
i2c-607-mux (chan_id 4)
root@sonic:# cat /sys/class/i2c-adapter/i2c-42/name
i2c-608-mux (chan_id 0)
root@sonic:
# cat /sys/class/i2c-adapter/i2c-50/name
i2c-609-mux (chan_id 0)
root@sonic:# cat /sys/class/i2c-adapter/i2c-58/name
i2c-610-mux (chan_id 0)
root@sonic:
# cat /sys/class/i2c-adapter/i2c-66/name
i2c-611-mux (chan_id 0)
root@sonic:~#

build_debian.sh Outdated
@@ -228,6 +228,7 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
python-scapy \
tcptraceroute \
mtr-tiny \
ipmitool \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ipmitool is installed the pmon container, can you use that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Collaborator

@lguohan lguohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@lguohan lguohan merged commit 1ffb34b into sonic-net:master Jan 9, 2019
yxieca added a commit to yxieca/sonic-buildimage that referenced this pull request Aug 18, 2022
…submodule head

linkmgrd:
* 476f85e 2022-08-17 | Update linkmgr health after getting default route update (sonic-net#117) (HEAD -> 202205, github/202205) [Longxiang Lyu]
* fc589e9 2022-08-17 | Use `table` to toggle peer forwarding state (sonic-net#108) (sonic-net#120) [Longxiang Lyu]
* bcb5a56 2022-08-17 | Fix azure pipeline (sonic-net#118) (sonic-net#121) [Longxiang Lyu]

swss:
* ef3a601 2022-08-17 | [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive() (sonic-net#2415) (HEAD -> 202205) [Nikola Dancejic]

sairedis:
* aed01cd 2022-08-12 | Fix: missing sonic-db-cli in docker-sonic-vs image (sonic-net#1072) (sonic-net#1104) (github/202205) [Hua Liu]

platform-daemon:
* 5a68073 2022-08-01 | Xcvrd changes to support 400G ZR configuration (sonic-net#270) (HEAD -> 202205) [Prince George]

swsssdk:
* ca785a2 2022-06-01 | Remove sonic-db-cli (sonic-net#122) (HEAD -> 202205, origin/202205) [Hua Liu]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this pull request Aug 19, 2022
…submodule head (#11761)

linkmgrd:
* 476f85e 2022-08-17 | Update linkmgr health after getting default route update (#117) (HEAD -> 202205, github/202205) [Longxiang Lyu]
* fc589e9 2022-08-17 | Use `table` to toggle peer forwarding state (#108) (#120) [Longxiang Lyu]
* bcb5a56 2022-08-17 | Fix azure pipeline (#118) (#121) [Longxiang Lyu]

swss:
* ef3a601 2022-08-17 | [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive() (#2415) (HEAD -> 202205) [Nikola Dancejic]

sairedis:
* aed01cd 2022-08-12 | Fix: missing sonic-db-cli in docker-sonic-vs image (#1072) (#1104) (github/202205) [Hua Liu]

platform-daemon:
* 5a68073 2022-08-01 | Xcvrd changes to support 400G ZR configuration (#270) (HEAD -> 202205) [Prince George]

swsssdk:
* ca785a2 2022-06-01 | Remove sonic-db-cli (#122) (HEAD -> 202205, origin/202205) [Hua Liu]

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

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Aug 29, 2022
Update sonic-swss submodule pointer to include the following:
* Dynamic port configuration - add port buffer cfg to the port ref counter ([sonic-net#2194](sonic-net/sonic-swss#2194))
* tlm_teamd: Filter portchannel subinterface events from STATE_DB LAG_TABLE ([sonic-net#2408](sonic-net/sonic-swss#2408))
* [counters] Improve performance by polling only configured ports buffer queue/pg counters ([sonic-net#2360](sonic-net/sonic-swss#2360))
* added support for Xsight platform ([sonic-net#2426](sonic-net/sonic-swss#2426))
* [ci][asan] add DVS tests run with ASAN ([sonic-net#2363](sonic-net/sonic-swss#2363))
* Handle dual ToR neighbor miss scenario ([sonic-net#2151](sonic-net/sonic-swss#2151))
* Upstream new development on p4orch ([sonic-net#2237](sonic-net/sonic-swss#2237))
* [lgtm] Fix dependency ([sonic-net#2419](sonic-net/sonic-swss#2419))
* [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive() ([sonic-net#2415](sonic-net/sonic-swss#2415))
* [macsec]: Set MTU for MACsec ([sonic-net#2398](sonic-net/sonic-swss#2398))
* Delete Invalid if condition in intfsorch.cpp ([sonic-net#2411](sonic-net/sonic-swss#2411))

Signed-off-by: dprital <drorp@nvidia.com>
@zbud-msft zbud-msft mentioned this pull request Sep 15, 2022
7 tasks
theasianpianist added a commit to theasianpianist/sonic-buildimage that referenced this pull request Oct 5, 2022
Include:

df92fb7 Improve verbosity level and provide more info in the log (sonic-net#2472)
e81ed20 [intfmgr]: Enable `accept_untracked_na` kernel param (sonic-net#2436)
24d29f1 [orchdaemon]: Fixed sairedis record file rotation (sonic-net#2299)
b8ee07d [build] add missing package libyang-dev in lgtm.yml (sonic-net#2475)
e46dd29 [crm] Fix issue with continues EXCEEDED and CLEAR logs for ACL group/table counters (sonic-net#2463)
b61d24c [doc]: Update README.md (sonic-net#2456)
b9ade5d [orchagent] Fix issue: ip prefix shall be inited even if VRF/VNET is not ready (sonic-net#2461)
f0f1eb4 Revert "[counters] Improve performance by polling only configured ports buffer queue/pg counters (sonic-net#2360)" (sonic-net#2458)
3d757a8 [ci][asan] add DVS tests run with ASAN (sonic-net#2441)
04fbc8e [ci] Only when test stage succeeded or succeededwithissues, PR run Gcov (sonic-net#2460)
7cc035f [orchagent]: Publish identified events via structured-events channel (sonic-net#2446)
efa0f01 [QoS] Enforce drop probability only for colors whose WRED are enabled (sonic-net#2422)
05c5c2f [swss] Replace memset functions (sonic-net#2423)
9ff993d Modified the test file to remove click commands and do the REDIS-DB u… (sonic-net#2264)
9e376af Install libyang in azure pipeline. (sonic-net#2445)
c1eb99a check state_db for po before sending ARP/ND pkts (sonic-net#2444)
43cc486 [portmgr] Fixed the orchagent crash due to late arrival of notif (sonic-net#2431)
b62c716 Enhance orchagent and buffer manager in error handling (sonic-net#2414)
13bda3c [Everflow/ERSPAN] Set correct destination port and mac address when the nexthop is updated for ERSPAN mirror destination (sonic-net#2392)
0ccb315 Revert "[VS Test] Skip failing subport tests (sonic-net#2370)" (sonic-net#2421)
ac8a83f [UT] [Portsyncd] Added Unit Tests for portsyncd (sonic-net#2297)
83a186a Change the log messages in addKernelNeigh/Route from ERROR to INFO (sonic-net#2437)
9c23389 [BFD]Clean up state_db BFD entries on swss restart (sonic-net#2434)
d41aebf EntityBulker SIGSEGV when create_entry attr_count 0 (sonic-net#2224)
f52a7b1 Fix the Fec Mode Setting of gbsyncd (sonic-net#2430)
8cc0a45 [neighsyncd] Enabling ipv4 link local entries for non-dualtor (sonic-net#2427)
5624e87 Revert "[ci][asan] add DVS tests run with ASAN (sonic-net#2363)" (sonic-net#2433)
a26b26a Dynamic port configuration - add port buffer cfg to the port ref counter (sonic-net#2194)
486939a tlm_teamd: Filter portchannel subinterface events from STATE_DB LAG_TABLE (sonic-net#2408)
a4b8992 [counters] Improve performance by polling only configured ports buffer queue/pg counters (sonic-net#2360)
4aaeec9 added support for Xsight platform (sonic-net#2426)
ca9edca [ci][asan] add DVS tests run with ASAN (sonic-net#2363)
dec4570 Handle dual ToR neighbor miss scenario (sonic-net#2151)
9eb4422 Upstream new development on p4orch (sonic-net#2237)
e9be2c0 [lgtm] Fix dependency (sonic-net#2419)
c0168f3 [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive() (sonic-net#2415)
cfcf3d8 [macsec]: Set MTU for MACsec (sonic-net#2398)
8346034 Delete Invalid if condition in intfsorch.cpp (sonic-net#2411)

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
theasianpianist added a commit that referenced this pull request Oct 7, 2022
Include:

df92fb7 Improve verbosity level and provide more info in the log (#2472)
e81ed20 [intfmgr]: Enable `accept_untracked_na` kernel param (#2436)
24d29f1 [orchdaemon]: Fixed sairedis record file rotation (#2299)
b8ee07d [build] add missing package libyang-dev in lgtm.yml (#2475)
e46dd29 [crm] Fix issue with continues EXCEEDED and CLEAR logs for ACL group/table counters (#2463)
b61d24c [doc]: Update README.md (#2456)
b9ade5d [orchagent] Fix issue: ip prefix shall be inited even if VRF/VNET is not ready (#2461)
f0f1eb4 Revert "[counters] Improve performance by polling only configured ports buffer queue/pg counters (#2360)" (#2458)
3d757a8 [ci][asan] add DVS tests run with ASAN (#2441)
04fbc8e [ci] Only when test stage succeeded or succeededwithissues, PR run Gcov (#2460)
7cc035f [orchagent]: Publish identified events via structured-events channel (#2446)
efa0f01 [QoS] Enforce drop probability only for colors whose WRED are enabled (#2422)
05c5c2f [swss] Replace memset functions (#2423)
9ff993d Modified the test file to remove click commands and do the REDIS-DB u… (#2264)
9e376af Install libyang in azure pipeline. (#2445)
c1eb99a check state_db for po before sending ARP/ND pkts (#2444)
43cc486 [portmgr] Fixed the orchagent crash due to late arrival of notif (#2431)
b62c716 Enhance orchagent and buffer manager in error handling (#2414)
13bda3c [Everflow/ERSPAN] Set correct destination port and mac address when the nexthop is updated for ERSPAN mirror destination (#2392)
0ccb315 Revert "[VS Test] Skip failing subport tests (#2370)" (#2421)
ac8a83f [UT] [Portsyncd] Added Unit Tests for portsyncd (#2297)
83a186a Change the log messages in addKernelNeigh/Route from ERROR to INFO (#2437)
9c23389 [BFD]Clean up state_db BFD entries on swss restart (#2434)
d41aebf EntityBulker SIGSEGV when create_entry attr_count 0 (#2224)
f52a7b1 Fix the Fec Mode Setting of gbsyncd (#2430)
8cc0a45 [neighsyncd] Enabling ipv4 link local entries for non-dualtor (#2427)
5624e87 Revert "[ci][asan] add DVS tests run with ASAN (#2363)" (#2433)
a26b26a Dynamic port configuration - add port buffer cfg to the port ref counter (#2194)
486939a tlm_teamd: Filter portchannel subinterface events from STATE_DB LAG_TABLE (#2408)
a4b8992 [counters] Improve performance by polling only configured ports buffer queue/pg counters (#2360)
4aaeec9 added support for Xsight platform (#2426)
ca9edca [ci][asan] add DVS tests run with ASAN (#2363)
dec4570 Handle dual ToR neighbor miss scenario (#2151)
9eb4422 Upstream new development on p4orch (#2237)
e9be2c0 [lgtm] Fix dependency (#2419)
c0168f3 [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive() (#2415)
cfcf3d8 [macsec]: Set MTU for MACsec (#2398)
8346034 Delete Invalid if condition in intfsorch.cpp (#2411)

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
tshalvi pushed a commit to tshalvi/sonic-buildimage that referenced this pull request Dec 20, 2022
…() (sonic-net#2415)

* [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive()

PR sonic-net#2407 added a check which returned true in isNeighborActive if it is
in the skip_neighbors_ list, but only checked for Mux in Subnet. This
extends that check to Mux Ports and Nexthop Muxes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants