[platform/device] - Update sonic-platform-module-cel and device configuration for haliburton #1960
Conversation
Merge lastest code from Azure/sonic-buildimage ( f05ee30 )
| echo lm75b 0x4a > /sys/bus/i2c/devices/i2c-7/new_device | ||
| echo lm75b 0x48 > /sys/bus/i2c/devices/i2c-14/new_device | ||
| echo lm75b 0x4e > /sys/bus/i2c/devices/i2c-15/new_device | ||
| echo dx010_lm75b 0x48 > /sys/bus/i2c/devices/i2c-5/new_device |
There was a problem hiding this comment.
why can you use original lm75b?
There was a problem hiding this comment.
I will review it again.
| @@ -0,0 +1,209 @@ | |||
| /* | |||
| * dx010-fan-led.c - Kernel module for Seastone DX010 fan LEDs | |||
There was a problem hiding this comment.
the fan led control should be left to user space, can you revert this dx010-fan-led change?
There was a problem hiding this comment.
@pphuchar Please help to check this one.
There was a problem hiding this comment.
Will expose fan led to user-space to control.
There was a problem hiding this comment.
current ask is just revert this to previous version, we can deal with the user-space fan led control later. Not in this PR.
| @@ -0,0 +1,553 @@ | |||
| /* | |||
| * lm75.c - Part of lm_sensors, Linux kernel modules for hardware | |||
There was a problem hiding this comment.
why not use original lm75 in the kernel, why build your own?
|
please remove binary file. lpc_cpld_x64_64 |
| modprobe i2c-mux-pca954x | ||
| modprobe smc | ||
|
|
||
| (cd /usr/local/etc && ./lpc_cpld_x64_64 blu w 0x222 0x1f) |
There was a problem hiding this comment.
cannot check-in a binary file.
There was a problem hiding this comment.
Our team need to use this tool to reset phy port.
How can I use this tool ?
There was a problem hiding this comment.
can you expose the register in your cpld. smc.c driver?
|
retest this please |
merge export fan-leds gpio to sysfs.
| @@ -16,9 +16,10 @@ start) | |||
| echo -n "Setting up board... " | |||
|
|
|||
| depmod -a | |||
There was a problem hiding this comment.
we should not have depmod -a in the init script, depmod -a should be in the postinst script.
|
Move to #1975 |
bb0733a [aclorch] Add ACL_TABLE_TYPE configuration (sonic-net#1982) 59cab5d Support for setting switch level DSCP to TC QoS map (sonic-net#2023) da21172 [aclorch] add generic AclOrch::updateAclRule() method (sonic-net#1993) 4f6cb05 [Reclaiming buffer] Support reclaiming buffer in traditional model (sonic-net#2011) 32d7a69 [Reclaiming buffer] Common code update (sonic-net#1996) b91d8ba [swss] L2 Forwarding Enhancements (sonic-net#1716) 797dab4 [muxorch] Bind all ports to drop ACL table (sonic-net#2027) 99929cd [lgtm.yml] add libgmock-dev (sonic-net#2035) 8727ae5 [flex counter] Flex counter threads consume too much CPU resources sonic-net#9202 (sonic-net#2031) 103fdf0 Remove redundant calls to get child scheduler group during initialization (sonic-net#1965) 18ea840 [macsec]: MACsec statistics support (sonic-net#1867) 0c46242 [orchagent] Flush pipeline every 1 second, not only when select will timeout (sonic-net#2003) 339101c [cbf] Add class-based forwarding support (sonic-net#1963) 24a615b Fix issue: accumulative headroom can exceed limit in rare scenario (sonic-net#2020) 708e232 Test divide by zero processing path (sonic-net#2028) 8f1d035 [macsecmgr]: Wait for port up before enabling macsec (sonic-net#2032) 4912a77 Remove buffer drop counter when port is removed (sonic-net#1860) f9462c4 [Dynamic buffer] [Mellanox] Calculate the peer response time according to the speed (sonic-net#1930) 8b5a401 Routed subinterface enhancements (sonic-net#2017) cdea5e9 Fix next hop compilation (sonic-net#2025) 37c197d [SRV6] Sonic-swss changes for SRV6 (sonic-net#1964) f502c32 [vnetorch] Add ECMP support for vnet tunnel routes (sonic-net#1960) Signed-off-by: Stephen Sun <[email protected]>
bb0733a [aclorch] Add ACL_TABLE_TYPE configuration (#1982) 59cab5d Support for setting switch level DSCP to TC QoS map (#2023) da21172 [aclorch] add generic AclOrch::updateAclRule() method (#1993) 4f6cb05 [Reclaiming buffer] Support reclaiming buffer in traditional model (#2011) 32d7a69 [Reclaiming buffer] Common code update (#1996) b91d8ba [swss] L2 Forwarding Enhancements (#1716) 797dab4 [muxorch] Bind all ports to drop ACL table (#2027) 99929cd [lgtm.yml] add libgmock-dev (#2035) 8727ae5 [flex counter] Flex counter threads consume too much CPU resources #9202 (#2031) 103fdf0 Remove redundant calls to get child scheduler group during initialization (#1965) 18ea840 [macsec]: MACsec statistics support (#1867) 0c46242 [orchagent] Flush pipeline every 1 second, not only when select will timeout (#2003) 339101c [cbf] Add class-based forwarding support (#1963) 24a615b Fix issue: accumulative headroom can exceed limit in rare scenario (#2020) 708e232 Test divide by zero processing path (#2028) 8f1d035 [macsecmgr]: Wait for port up before enabling macsec (#2032) 4912a77 Remove buffer drop counter when port is removed (#1860) f9462c4 [Dynamic buffer] [Mellanox] Calculate the peer response time according to the speed (#1930) 8b5a401 Routed subinterface enhancements (#2017) cdea5e9 Fix next hop compilation (#2025) 37c197d [SRV6] Sonic-swss changes for SRV6 (#1964) f502c32 [vnetorch] Add ECMP support for vnet tunnel routes (#1960) Signed-off-by: Stephen Sun <[email protected]>
What I did Add functions to create/remove next hop groups for vnet tunnel routes. Count the reference count of next hop groups to create and remove as needed. Share the counter of next hop groups with routeorch. Add vs test Why I did it To add support for overlay ECMP. How I verified it Verify ECMP groups are properly created and removed with the functions. Verify vs test passes
…1960) <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "fixes #xxxx", or "closes #xxxx" or "resolves #xxxx" Please provide the following information: --> #### Why I did it The thermal updater's `load_tc_config` method was unable to correctly parse tc_config files that use regex-based parameter. #### How I did it 1. **Added `_find_matching_key` method**: Implements regex pattern matching to find parameter keys in dictionary. 2. **Updated `load_tc_config` method**: - Changed ASIC parameter lookup to use regex pattern `r'asic\\d*'` - Changed Module parameter lookup to use regex pattern `r'module\\d+'` #### How to verify it Test in switch, check if corrected parsed. <!-- If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012. --> #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [x] 202412 - [x] 202511 #### Tested branch (Please provide the tested image version) 202511 Signed-off-by: Jianyue Wu <[email protected]>
- What I did
Signed-off-by: Wirut Getbamrung [email protected]