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

[device/Pegatron] Add platform support for fn-6254-dn-f and update Porsche project #3349

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

Conversation

Peter5Lin
Copy link
Contributor

@Peter5Lin Peter5Lin commented Aug 15, 2019

Pegatron New Project:
Platform: x86_64-pegatron_fn_6254_dn_f-r0 (48x25G+6x100G)
HwSKU: fn-6254-dn-f
ASIC: nephos

- What I did

  1. Add platform support for fn-6254-dn-f project
  2. Update Porsche project

- How I did it

  1. Add configuration and platform drivers for fn-6254-dn-f project
  2. Update configuration and platform drivers for Porsche project

- How to verify it

  1. show interfaces status
  2. show environment
  3. show interfaces transceiver eeprom
  4. show platform syseeprom
  5. show platform psustatus
  6. sfputil show presence
  7. sfputil show lpmode
  8. sfputil reset ...
  9. sfputil lpmode ...
  10. psuutil numpsus

- Description for the changelog

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

2. modify port speed setting to 25G
3. modify pegatron uninstall
2. fix porsch fiber link issus
2. add Pega fn-6254-dn-f & porsche project to nephos
3. modify HWMON driver
4. add platform status checking service (PSU/FAN)
2. add Pegatron project back to one-image
3. modify Pegatron project utility
@@ -0,0 +1,431 @@
/*
* A SFP driver for the fn_6254_dn_f platform
Copy link
Collaborator

Choose a reason for hiding this comment

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

please use optoe driver for sfp

#make modules -C $(KERNEL_SRC)/build M=$(MODULE_SRC)
# For fn-6254-dn-f ixgbe driver
git clone https://github.com/Peter5Lin/kernelDriver
git --git-dir=kernelDriver/.git/ --work-tree=kernelDriver am ../fn-6254-dn-f/$(MODULE_DIR)/pegatron_fn_6254_dn_f_ixgbe/0001-modify-Intel-ixgbe-driver-for-fn-6254-dn-f.patch
Copy link
Collaborator

Choose a reason for hiding this comment

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

we already have ixgbe driver, please use that. please submit patch to sonic-linux-kernel.

please have good description of the patch.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi

We need to use our own driver because our HW layout is different.
This patch is only for our platform.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi

I will check optoe driver for SFP in few days

Copy link
Collaborator

Choose a reason for hiding this comment

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

it is hard to maintain another ixgbe driver.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi

I understand, but the version I used is same as src/ixgbe.
To keep a stable version for us, I need to put it to another space instead of use
wget -O ixgbe-$(IXGBE_DRIVER_VERSION).tar.gz "https://sonicstorage.blob.core.windows.net/packages/ixgbe-5.2.4.tar.gz?sv=2015-04-05&sr=b&sig=AaqJHHaPiJRp8R3HKobi0GNDgHAVnqijk6hpahwJ0Mg%3D&se=2154-10-05T22%3A19%3A29Z&sp=r"``

Or, I should use it directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi
The modified was finished, please help to review
Thanks

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.

use optoe driver, remove private patch of ixgbe driver.

2. change sfp eeprom driver of Porsche project from at24 to optoe
@Peter5Lin
Copy link
Contributor Author

Hi lguohan:
From SONiC linux kernel readme, I need provide our HW related ixgbe driver patch in our platform.
Please approve this change.
Thanks

"""Platform specific kernel modules are expected to develop out-of-tree kernel modules, provide them in debian packages to be embeded into SONiC ONE image and installed on their platforms."""

@EMT999
Copy link

EMT999 commented Oct 10, 2021

Thank you I love you :)

@Peter5Lin Peter5Lin requested a review from a team as a code owner June 10, 2022 02:01
mssonicbld added a commit that referenced this pull request Jun 25, 2024
…atically (#19333)

#### Why I did it
src/sonic-utilities
```
* 0e6a55ef - (HEAD -> master, origin/master, origin/HEAD) [fast-reboot] Backup database after syncd/swss stopped (#3342) (20 hours ago) [Stepan Blyshchak]
* c51758df - fix: fix show bgp summary output typo (#3375) (25 hours ago) [Chenyang Wang]
* cf7bfa29 - Add the definition of `log` in `script decode-syseeprom` (#3383) (4 days ago) [Yutong Zhang]
* 9d206af7 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (#3358) (5 days ago) [Marty Y. Lok]
* 515265a5 - Update TRANSCEIVER_FIRMWARE_INFO table for all targets in sfputil (#3370) (6 days ago) [mihirpat1]
* 3df762f1 - [config] no op if Golden Config is invalid (#3367) (7 days ago) [jingwenxie]
* 8f715acf - [config]Support single file reload for multiasic (#3349) (7 days ago) [jingwenxie]
* 31f5fa8e - Improve load_mingraph to wait eth0 restart before exit (#3365) (7 days ago) [Hua Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
arun1355492 pushed a commit to arun1355492/sonic-buildimage that referenced this pull request Jul 26, 2024
…atically (sonic-net#19333)

#### Why I did it
src/sonic-utilities
```
* 0e6a55ef - (HEAD -> master, origin/master, origin/HEAD) [fast-reboot] Backup database after syncd/swss stopped (sonic-net#3342) (20 hours ago) [Stepan Blyshchak]
* c51758df - fix: fix show bgp summary output typo (sonic-net#3375) (25 hours ago) [Chenyang Wang]
* cf7bfa29 - Add the definition of `log` in `script decode-syseeprom` (sonic-net#3383) (4 days ago) [Yutong Zhang]
* 9d206af7 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (sonic-net#3358) (5 days ago) [Marty Y. Lok]
* 515265a5 - Update TRANSCEIVER_FIRMWARE_INFO table for all targets in sfputil (sonic-net#3370) (6 days ago) [mihirpat1]
* 3df762f1 - [config] no op if Golden Config is invalid (sonic-net#3367) (7 days ago) [jingwenxie]
* 8f715acf - [config]Support single file reload for multiasic (sonic-net#3349) (7 days ago) [jingwenxie]
* 31f5fa8e - Improve load_mingraph to wait eth0 restart before exit (sonic-net#3365) (7 days ago) [Hua Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 1, 2024
…atically (sonic-net#19333)

#### Why I did it
src/sonic-utilities
```
* 0e6a55ef - (HEAD -> master, origin/master, origin/HEAD) [fast-reboot] Backup database after syncd/swss stopped (sonic-net#3342) (20 hours ago) [Stepan Blyshchak]
* c51758df - fix: fix show bgp summary output typo (sonic-net#3375) (25 hours ago) [Chenyang Wang]
* cf7bfa29 - Add the definition of `log` in `script decode-syseeprom` (sonic-net#3383) (4 days ago) [Yutong Zhang]
* 9d206af7 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (sonic-net#3358) (5 days ago) [Marty Y. Lok]
* 515265a5 - Update TRANSCEIVER_FIRMWARE_INFO table for all targets in sfputil (sonic-net#3370) (6 days ago) [mihirpat1]
* 3df762f1 - [config] no op if Golden Config is invalid (sonic-net#3367) (7 days ago) [jingwenxie]
* 8f715acf - [config]Support single file reload for multiasic (sonic-net#3349) (7 days ago) [jingwenxie]
* 31f5fa8e - Improve load_mingraph to wait eth0 restart before exit (sonic-net#3365) (7 days ago) [Hua Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Aug 9, 2024
…atically (#19865)

#### Why I did it
src/sonic-utilities
```
* 259a37d5 - (HEAD -> 202405, origin/202405) [config]Support single file reload for multiasic (#3349) (#3481) (11 hours ago) [jingwenxie]
```
#### 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.

4 participants