Skip to content

[mellanox]: Fix problem with system EEPROM in "hw-mgmt"#1951

Merged
lguohan merged 1 commit intosonic-net:201807from
volodymyrsamotiy:201807_eeprom_fix
Aug 21, 2018
Merged

[mellanox]: Fix problem with system EEPROM in "hw-mgmt"#1951
lguohan merged 1 commit intosonic-net:201807from
volodymyrsamotiy:201807_eeprom_fix

Conversation

@volodymyrsamotiy
Copy link
Collaborator

Signed-off-by: Volodymyr Samotiy volodymyrs@mellanox.com

- What I did
Fixed problem with system EEPROM in hw-mgmt
- How I did it
Apply patch to hw-mgmt sub-module in order to add valid modprobe config for the at24 module
- How to verify it
Build an image, deploy to the switch and verify that decode-syseeprom returns valid output without any errors
- Description for the changelog
[mellanox]: Fix problem with system EEPROM in "hw-mgmt"

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
@lguohan lguohan merged commit b64aec5 into sonic-net:201807 Aug 21, 2018
vivekrnv pushed a commit to vivekrnv/sonic-buildimage that referenced this pull request Jan 14, 2022
fa23bfc [Barefoot] Added CLI to list/set P4 profile (sonic-net#1951)
fc0ecb6 [GCU] Disallowing DeleteInsteadOfReplaceMoveExtender from generating delete whole config move (sonic-net#2006)
dd8c8fe [GCU] Show default option for '--format' (sonic-net#2003)

Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
@xumia xumia mentioned this pull request Jan 17, 2022
5 tasks
vivekrnv pushed a commit to vivekrnv/sonic-buildimage that referenced this pull request Jan 18, 2022
d9f3afe [fdbshow] Adding more options for fdbshow and show mac (sonic-net#1982)
902e14f Revert "Revert "[Barefoot] Added CLI to list/set P4 profile (sonic-net#1951)"" (sonic-net#2019)
5cc9dd5 Revert "Revert "[sonic-package-manager] support sonic-cli-gen and packages with YANG model (sonic-net#1650)" (sonic-net#1972)" (sonic-net#1994)

Signed-off-by: Vivek Reddy Karri <vkarri@s-build-sonic-01.mts.labs.mlnx>
qiluo-msft pushed a commit that referenced this pull request Jan 19, 2022
```
d9f3afe [fdbshow] Adding more options for fdbshow and show mac (#1982)
902e14f Revert "Revert "[Barefoot] Added CLI to list/set P4 profile (#1951)"" (#2019)
5cc9dd5 Revert "Revert "[sonic-package-manager] support sonic-cli-gen and packages with YANG model (#1650)" (#1972)" (#1994)
```
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this pull request Feb 5, 2022
* Add trap flow counter support. See HLD: sonic-net/SONiC#858
* Flow counters are usually used for debugging, troubleshooting and performance enhancement processes. Host interface trap counter can get number of received traps per Trap ID.
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this pull request Apr 28, 2022
#### What I did
* Added "show platform barefoot profile" command
* Added "config platform barefoot profile" command
* Updated Command Line Reference Guide

#### How I did it
* Created plugins for Barefoot in show/plugins/barefoot.py and config/plugins/barefoot.py
* Updated doc/Command-Reference.md
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this pull request Apr 28, 2022
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this pull request Apr 28, 2022
…t#1951)"" (sonic-net#2019)

Refer to sonic-net#1951 for details

The PR sonic-net#1951 was reverted in sonic-net#2016 because it was thought to be causing the build failure in sonic-swss TestWarmReboot UTs. But it seems the failures in TestWarmReboot are still occurring e.g. sonic-net#2017 [build](https://dev.azure.com/mssonic/build/_build/results?buildId=65653&view=logs&s=859b8d9a-8fd6-5a5c-6f5e-f84f1990894e)

I think we can reapply sonic-net#1951 and need to investigate TestWarmReboot tests instability
@volodymyrsamotiy volodymyrsamotiy deleted the 201807_eeprom_fix branch February 14, 2023 15:02
Staphylo pushed a commit to Staphylo/sonic-buildimage that referenced this pull request Feb 5, 2026
…om calling into libyang (sonic-net#1951)

#### Why I did it

This is needed by sonic-utilities to prevent a direct dependency on
libyang. By adding these helpers, sonic-utilities will use only what is
provided by sonic-yang-mgmt and not be dependent on the version of
libyang installed.

#### How I did it

Added helpers to:
- Load a yang module based on the provided string and return the loaded
module name.
- Recursively locate dependencies for a given yang path

#### How to verify it

See included test cases.

#### Which release branch to backport (provide reason below if selected)

N/A

#### Tested branch (Please provide the tested image version)

master as of 2025-11-03

#### Description for the changelog

sonic-yang-mgmt: helpers to prevent dependents from calling into libyang

#### Link to config_db schema for YANG module changes
N/A

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

Fixes sonic-net#22385
Needed by sonic-net/sonic-utilities#4118
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