Skip to content

[Inventec][d7032]: Update config.bcm and platform modules to latest. #3522

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ash111111-blip
Copy link

  • Update config.bcm
  • Update platform modules

Signed-off-by: Ashwini Udupa [email protected]

- What I did
Upgraded platform modules for D7032 platform.
Commented out the loopback and management ports in bcm config files

- How I did it
Added updated files to device/inventec/xx86_64-inventec_d7032q28b-r0 and
platform/broadcom/sonic-platform-modules-inventec/d7032q28b/modules

- How to verify it
Built SONiC image and tested on switch.
"show interfaces status" shows correct output of port status and reboot works fine.

- Description for the changelog

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

@msftclas
Copy link

msftclas commented Sep 26, 2019

CLA assistant check
All CLA requirements met.

@ash111111-blip
Copy link
Author

@lguohan : Please review it.

@ash111111-blip
Copy link
Author

@jleveque : Please review and merge it.

Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

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

Looks good to me. I would like @lguohan to take a look, also.

@jleveque jleveque requested a review from lguohan January 27, 2020 23:47
@ash111111-blip
Copy link
Author

@lguohan : Please review it.

@ash111111-blip
Copy link
Author

@jleveque : Please merge it. Its pending from a long time.

@jleveque
Copy link
Contributor

Retest vsimage please

@ash111111-blip
Copy link
Author

Hi @jleveque,
The vsiamge test is passed. Would you please merge this PR?
Thanks,
Ashwini

@jleveque
Copy link
Contributor

@lguohan: This looks good to me. Can you please review as well?

Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

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

Rather than using sff8436 SFP driver, can you please utilize the optoe driver which is already installed in SONiC?

*  Update config.bcm
*  Update platform modules

Signed-off-by: Ashwini Udupa [email protected]
*  Add new platform APIs
*  Add pmon_daemon_control.json

Signed-off-by: Ashwini Udupa [email protected]
@ash111111-blip
Copy link
Author

ash111111-blip commented Feb 18, 2020

@jleveque : Yes, I have updated inventec_d7032_util.py to use optoe2 driver.
Inventec driver is used to get "lpmode", "presence" info that optoe does not support.

@ashwiniudupa
Copy link

@jleveque : Please review my changes. I have used optoe2 driver.

@jleveque
Copy link
Contributor

Retest mellanox please

@cookiesowns
Copy link

Any updates on getting this merged in ?

@jleveque
Copy link
Contributor

@lguohan to provide final review.

@cookiesowns
Copy link

cookiesowns commented Jun 22, 2020

Might need input on this from @ashwiniudupa1

having issues with i2c on this build still. Built from his branch with master rebased on top of it.

admin@sonic:~$ show version

SONiC Software Version: SONiC.master.0-90be8c90
Distribution: Debian 10.4
Kernel: 4.19.0-6-amd64
Build commit: 90be8c90
Build date: Mon Jun 22 20:40:41 UTC 2020
Built by: ubuntu@fc640-3

Platform: x86_64-inventec_d7032q28b-r0
HwSKU: INVENTEC-D7032Q28B-C32
ASIC: broadcom
/usr/bin/decode-syseeprom : ERROR : [Errno 2] No such file or directory: '/sys/class/i2c-adapter/i2c-0/0-0053/eeprom'
Serial Number:
Uptime: 21:15:40 up 3 min,  1 user,  load average: 1.41, 1.39, 0.65

Docker images:
REPOSITORY                    TAG                 IMAGE ID            SIZE
docker-router-advertiser      latest              1eaae6a051a2        349MB
docker-router-advertiser      master.0-90be8c90   1eaae6a051a2        349MB
docker-lldp                   latest              9a9ef9e8641d        375MB
docker-lldp                   master.0-90be8c90   9a9ef9e8641d        375MB
docker-database               latest              b11a9e8b6059        349MB
docker-database               master.0-90be8c90   b11a9e8b6059        349MB
docker-sonic-telemetry        latest              8b76ffd00824        412MB
docker-sonic-telemetry        master.0-90be8c90   8b76ffd00824        412MB
docker-sonic-mgmt-framework   latest              8dca06a88f59        488MB
docker-sonic-mgmt-framework   master.0-90be8c90   8dca06a88f59        488MB
docker-snmp                   latest              e2467d411ac6        388MB
docker-snmp                   master.0-90be8c90   e2467d411ac6        388MB
docker-teamd                  latest              f3a7134c4aac        314MB
docker-teamd                  master.0-90be8c90   f3a7134c4aac        314MB
docker-syncd-brcm             latest              23df2d1b99ac        442MB
docker-syncd-brcm             master.0-90be8c90   23df2d1b99ac        442MB
docker-sflow                  latest              20815807fc5b        315MB
docker-sflow                  master.0-90be8c90   20815807fc5b        315MB
docker-platform-monitor       latest              c8580f88c3d9        357MB
docker-platform-monitor       master.0-90be8c90   c8580f88c3d9        357MB
docker-orchagent              latest              c5ae7f7382c7        333MB
docker-orchagent              master.0-90be8c90   c5ae7f7382c7        333MB
docker-nat                    latest              4824478bf8ac        316MB
docker-nat                    master.0-90be8c90   4824478bf8ac        316MB
docker-fpm-frr                latest              ba27e44a3279        334MB
docker-fpm-frr                master.0-90be8c90   ba27e44a3279        334MB
docker-dhcp-relay             latest              412ef1cc1fb3        303MB
docker-dhcp-relay             master.0-90be8c90   412ef1cc1fb3        303MB
admin@sonic:~$ ls -lah /sys/class/i2c-adapter/i2c-0/0-0053/eeprom
ls: cannot access '/sys/class/i2c-adapter/i2c-0/0-0053/eeprom': No such file or directory
admin@sonic:~$ ls -lah /sys/class/i2c-adapter/i2c-0/0-0053
ls: cannot access '/sys/class/i2c-adapter/i2c-0/0-0053': No such file or directory
admin@sonic:~$ ls -lah /sys/class/i2c-adapter/i2c-0
lrwxrwxrwx 1 root root 0 Jun 22 21:11 /sys/class/i2c-adapter/i2c-0 -> ../../devices/pci0000:00/0000:00:13.0/i2c-0
admin@sonic:~$ sudo ls -lah /sys/class/i2c-adapter/i2c-0
lrwxrwxrwx 1 root root 0 Jun 22 21:28 /sys/class/i2c-adapter/i2c-0 -> ../../devices/pci0000:00/0000:00:13.0/i2c-0
admin@sonic:~$

@ash111111-blip ash111111-blip requested a review from a team as a code owner June 10, 2022 02:01
mssonicbld added a commit that referenced this pull request Feb 20, 2025
…lly (#21774)

#### Why I did it
src/sonic-swss
```
* 9875694a - (HEAD -> 202411, origin/202411) Added change not to create ECMP Group in SAI and program the route if none of ECMP members are active/link-up (#3522) (19 hours ago) [mssonicbld]
* 60fd7355 - [BufferOrch] Use SAI bulk API to configure port, PG and queue (#3523) (19 hours ago) [mssonicbld]
* 5071becf - Merge pull request #3519 from stepanblyschak/202411-fc-after-apply-view (33 hours ago) [Kumaresh Perumal]
* c3437bd2 - [202411][FC] process FC after apply view (3 days ago) [Stepan Blyschak]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Junchao-Mellanox pushed a commit to Junchao-Mellanox/sonic-buildimage that referenced this pull request Mar 7, 2025
…lly (sonic-net#701)

#### Why I did it
src/sonic-swss
```
* bdc4fe0 - (HEAD -> 202412, origin/202412) Merge pull request #42 from r12f/code-sync-202412 (9 hours ago) [Riff]
|\ 
| failure_prs.log skip_prs.log 054f912 - Merge remote-tracking branch 'base/202411' into code-sync-202412 (18 hours ago) [r12f]
| failure_prs.log skip_prs.log e21b5a5 - Link orchagent against jemalloc (sonic-net#3530) (2 days ago) [mssonicbld]
| failure_prs.log skip_prs.log aac84b5 - Merge pull request sonic-net#3531 from mssonicbld/cherry/202411/3426 (2 days ago) [Kumaresh Perumal]
| |\ 
| | failure_prs.log skip_prs.log 272f45a - vlanmgrd not to throw exception for Portchannel ip link add because of race condition with PortChannel removal. (2 days ago) [Sonic Build Admin]
| |/ 
| failure_prs.log skip_prs.log 16f5331 - [vlanmgrd]: Fixing an issue causing mismatch between MAC and link-local IPv6 addresses of VLAN and Bridge interfaces (sonic-net#3527) (5 days ago) [mssonicbld]
| failure_prs.log skip_prs.log 4d3bae4 - Avoid removing a VRF routing table when there are pending creation entries in gRouteBulker (sonic-net#3526) (6 days ago) [mssonicbld]
| failure_prs.log skip_prs.log 9875694 - Added change not to create ECMP Group in SAI and program the route if none of ECMP members are active/link-up (sonic-net#3522) (7 days ago) [mssonicbld]
| failure_prs.log skip_prs.log 60fd735 - [BufferOrch] Use SAI bulk API to configure port, PG and queue (sonic-net#3523) (7 days ago) [mssonicbld]
| failure_prs.log skip_prs.log 5071bec - Merge pull request sonic-net#3519 from stepanblyschak/202411-fc-after-apply-view (7 days ago) [Kumaresh Perumal]
| |\ 
| | failure_prs.log skip_prs.log c3437bd - [202411][FC] process FC after apply view (9 days ago) [Stepan Blyschak]
| |/ 
| failure_prs.log skip_prs.log 5031aad - Capability query for MACSEC ACL attribute (sonic-net#3511) (2 weeks ago) [mssonicbld]
| failure_prs.log skip_prs.log 4b357e5 - Fix VRF update handling for loopback interfaces in IntfsOrch (sonic-net#3512) (2 weeks ago) [mssonicbld]
| failure_prs.log skip_prs.log fe98176 - Add a delay between killing teamd processes (sonic-net#3510) (2 weeks ago) [mssonicbld]
| failure_prs.log skip_prs.log e967711 - Remove RIF from m_rifsToAdd before deleting it (sonic-net#3499) (3 weeks ago) [mssonicbld]
| failure_prs.log skip_prs.log 337c9a1 - Optimize counter polling interval by making it more accurate (sonic-net#3500) (3 weeks ago) [mssonicbld]
* b9b4108 - Merge pull request #41 from Azure/revert-40-cherry/msft-202412/3481 (10 hours ago) [Riff]
* 824d021 - (origin/revert-40-cherry/msft-202412/3481) Revert "[hash] add SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL to hash-field map fo…" (30 hours ago) [Riff]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

5 participants