-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Inventec][D6332] Add new platform Inventec D6332 #3769
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
Conversation
1. Add D6332 device files device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/buffers.json.j2 device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/buffers_defaults_t0.j2 device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/buffers_defaults_t1.j2 device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/pg_profile_lookup.ini device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/port_config.ini device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/qos.json.j2 device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/sai.profile device/inventec/x86_64-inventec_d6332-r0/INVENTEC-D6332/td3-d6332-32x100G.config.bcm device/inventec/x86_64-inventec_d6332-r0/custom_led.bin device/inventec/x86_64-inventec_d6332-r0/default_sku device/inventec/x86_64-inventec_d6332-r0/installer.conf device/inventec/x86_64-inventec_d6332-r0/led_proc_init.soc device/inventec/x86_64-inventec_d6332-r0/linkscan_led_fw.bin device/inventec/x86_64-inventec_d6332-r0/plugins/eeprom.py device/inventec/x86_64-inventec_d6332-r0/sensors.conf 2. Add D6332 Driver platform/broadcom/sonic-platform-modules-inventec/d6332/modules/Makefile platform/broadcom/sonic-platform-modules-inventec/d6332/modules/gpio-ich.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/i2c-mux-pca9541.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/inv_cpld.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/inv_eeprom.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/inv_mux.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/inv_mux.h platform/broadcom/sonic-platform-modules-inventec/d6332/modules/inv_platform.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/inv_swps.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/inv_swps.h platform/broadcom/sonic-platform-modules-inventec/d6332/modules/io_expander.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/io_expander.h platform/broadcom/sonic-platform-modules-inventec/d6332/modules/lpc_ich.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/pmbus.h platform/broadcom/sonic-platform-modules-inventec/d6332/modules/transceiver.c platform/broadcom/sonic-platform-modules-inventec/d6332/modules/transceiver.h platform/broadcom/sonic-platform-modules-inventec/d6332/modules/ucd9000.c 3. Add New Platform API implementation platform/broadcom/sonic-platform-modules-inventec/d6332/setup.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/__init__.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/chassis.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/eeprom.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/fan.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/platform.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/psu.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/qsfp.py platform/broadcom/sonic-platform-modules-inventec/d6332/sonic_platform/thermal.py 4. Modify Makefile, debian rules and add init scripts platform/broadcom/one-image.mk platform/broadcom/platform-modules-inventec.mk platform/broadcom/sonic-platform-modules-inventec/debian/control platform/broadcom/sonic-platform-modules-inventec/debian/platform-modules-d6332.init platform/broadcom/sonic-platform-modules-inventec/debian/platform-modules-d6332.install platform/broadcom/sonic-platform-modules-inventec/debian/rules platform/broadcom/sonic-platform-modules-inventec/systemd/platform-modules-d6332.service Signed-off-by: David Xiao <[email protected]>
Signed-off-by: David Xiao <[email protected]>
Signed-off-by: David Xiao <[email protected]>
add sfputil.py to plugins Signed-off-by: David Xiao <[email protected]>
@jleveque Hi Joe, would you please review this PR at your convenience? Thanks a lot. |
Signed-off-by: David Xiao <[email protected]>
platform/broadcom/sonic-platform-modules-inventec/debian/platform-modules-d6332.init
Outdated
Show resolved
Hide resolved
Signed-off-by: David Xiao <[email protected]>
There was a problem hiding this 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 just like Guohan to look it over, as well.
@lguohan Hi Guohan, Joe asked for second review for this PR, would you please take a look at your convenience. Thanks a lot. Best, David |
@jleveque Hi Joe, it looks like Guohan hasn't get a chance to look into this PR in past several weeks. Would you please kindly touch base with him and see what should we process this PR. Many thanks. Best, David |
@@ -30,6 +30,11 @@ Architecture: amd64 | |||
Depends: linux-image-4.9.0-9-2-amd64 | |||
Description: kernel modules for platform devices such as fan, led | |||
|
|||
Package: platform-modules-d6332 | |||
Architecture: amd64 | |||
Depends: linux-image-4.9.0-9-2-amd64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4.19 kernel
@@ -30,6 +30,11 @@ Architecture: amd64 | |||
Depends: linux-image-4.9.0-9-2-amd64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4.19 kernel
@@ -0,0 +1,247 @@ | |||
/* | |||
* Hardware monitoring driver for UCD90xxx Sequencer and System Health |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use original kernel driver?
@@ -0,0 +1,8409 @@ | |||
#include <linux/slab.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use optoe driver.
@@ -0,0 +1,425 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use linux original driver
@@ -0,0 +1,1131 @@ | |||
/* | |||
* lpc_ich.c - LPC interface for Intel ICH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use linux original driver.
@@ -0,0 +1,573 @@ | |||
/* | |||
* I2C multiplexer driver for PCA9541 bus master selector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use linux original driver
@@ -0,0 +1,513 @@ | |||
/* | |||
* Intel ICH6-10, Series 5 and 6, Atom C2000 (Avoton/Rangeley) GPIO driver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use linux original driver.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use linux original driver
…atically (#22026) #### Why I did it src/sonic-utilities ``` * 6e93f44 - (HEAD -> master, origin/master, origin/HEAD) Add Arista-7060X6-64PE-C224O8, Arista-7060X6-64PE-C256S2 to generic_config_updater (#3804) (18 hours ago) [rick-arista] * 208474c - Add scope to field validator.[redo PR: 3675] (#3805) (2 days ago) [Xincun Li] * a363c7f - [SmartSwitch] Extend reboot script for rebooting SmartSwitch (#3566) (6 days ago) [Vasundhara Volam] * 5e3b132 - [hash] update GH frontend with IPV6_FLOW_LABEL for ECMP/LAG switch hash configuration (#3730) (7 days ago) [Andriy Yurkiv] * 706f97e - [Techsupport] Add show route-map command to frr dumps in techsupport (#3797) (7 days ago) [Sudharsan Dhamal Gopalarathnam] * 1ec0540 - Fix the switch level Voq counter to use switch_id Oid instead of counter name for PACKET_INTEGRITY counter (#3769) (7 days ago) [saksarav-nokia] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (sonic-net#22026) #### Why I did it src/sonic-utilities ``` * 6e93f44 - (HEAD -> master, origin/master, origin/HEAD) Add Arista-7060X6-64PE-C224O8, Arista-7060X6-64PE-C256S2 to generic_config_updater (sonic-net#3804) (18 hours ago) [rick-arista] * 208474c - Add scope to field validator.[redo PR: 3675] (sonic-net#3805) (2 days ago) [Xincun Li] * a363c7f - [SmartSwitch] Extend reboot script for rebooting SmartSwitch (sonic-net#3566) (6 days ago) [Vasundhara Volam] * 5e3b132 - [hash] update GH frontend with IPV6_FLOW_LABEL for ECMP/LAG switch hash configuration (sonic-net#3730) (7 days ago) [Andriy Yurkiv] * 706f97e - [Techsupport] Add show route-map command to frr dumps in techsupport (sonic-net#3797) (7 days ago) [Sudharsan Dhamal Gopalarathnam] * 1ec0540 - Fix the switch level Voq counter to use switch_id Oid instead of counter name for PACKET_INTEGRITY counter (sonic-net#3769) (7 days ago) [saksarav-nokia] ``` #### How I did it #### How to verify it #### Description for the changelog
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)