Skip to content
New issue

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

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

Already on GitHub? # to your account

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

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 udupa.ashwini@inventec.com

- 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 udupa.ashwini@inventec.com
*  Add new platform APIs
*  Add pmon_daemon_control.json

Signed-off-by: Ashwini Udupa udupa.ashwini@inventec.com
@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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants