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

202211 #49

Closed
wants to merge 7 commits into from
Closed

202211 #49

wants to merge 7 commits into from

Commits on Mar 13, 2023

  1. [202211] Advance sonic-dbsyncd submodule

    fa8b709 Handled the error case of negative age (#57)
    990f5b0 Use github code scanning instead of LGTM (#55)
    a7992c5 Install libyang for swss-common. (#50)
    244fa86 Update README.md
    
    Signed-off-by: Vivek Reddy <[email protected]>
    vivekrnv committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    36677f5 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Configuration menu
    Copy the full SHA
    6471ef7 View commit details
    Browse the repository at this point in the history
  2. Made non-upstream patch design order aware (sonic-net#14434)

    - Why I did it
    
    Currently, non upstream patches are applied only after upstream patches.
    
    Depends on sonic-net/sonic-linux-kernel#313. Can be merged in any order, preferably together
    
    - What I did it
    
    Non upstream Patches that reside in the sonic repo will not be saved in a tar file bur rather in a folder pointed out by EXTERNAL_KERNEL_PATCH_LOC. This is to make changes to the non upstream patches easily traceable.
    The build variable name is also updated to INCLUDE_EXTERNAL_PATCHES
    Files/folders expected under EXTERNAL_KERNEL_PATCH_LOC
    EXTERNAL_KERNEL_PATCH_LOC/
           ├──── patches/
                 ├── 0001-xxxxx.patch
                 ├── 0001-yyyyyyyy.patch
                 ├── .............
           ├──── series.patch
    series.patch should contain a diff that is applied on the sonic-linux-kernel/patch/series file. The diff should include all the non-upstream patches.
    How to verify it
    
    Build the Kernel and verified if all the patches are applied properly
    
    Signed-off-by: Vivek Reddy Karri <[email protected]>
    vivekrnv committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    7ca3ca3 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Merge branch '202211' of https://github.com/sonic-net/sonic-buildimage

    …into 202211
    Vivek Reddy Karri committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    e30197e View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Facilitate automatic integration of new hw-mgmt (sonic-net…

    …#14594)
    
    - Why I did it
    Facilitate Automatic integration of new hw-mgmt version into SONiC.
    
    Inputs to the Script:
    
    MLNX_HW_MANAGEMENT_VERSION Eg: 7.0040.5202
    CREATE_BRANCH: (y|n) Creates a branch instead of a commit (optional, default: n)
    BRANCH_SONIC: Only relevant when CREATE_BRANCH is y. Default: master.
    Note: These should be provided through SONIC_OVERRIDE_BUILD_VARS  parameter
    
    Output:
    
    Script creates a commit (in each of sonic-buildimage, sonic-linux-kernel) with all the changes required for upgrading the hw-management version to a version provided by MLNX_HW_MANAGEMENT_VERSION
    Brief Summary of the changes made:
    
    MLNX_HW_MANAGEMENT_VERSION flag in the hw-management.mk file
    hw-mgmt submodule is updated to the corresponding version
    Updates are made to non-upstream-patches/patches and series.patch file
    series, kconfig-inclusion and kconfig-exclusion files can be updated in the sonic-linux-kernel repo
    sonic-linux-kernel/patches folder is updated with the corresponding upstream patches
    Based on the inputs, there could be a branch seen in the local for each of the repo's. Branch is named as <branch>_<parent_commit>_integrate_<hw_mgmt_version>
    
    - How I did it
    Added a new make target which can be invoked by calling make integrate-mlnx-hw-mgmt
    user@server:/sonic-buildimage$ git rev-parse --abbrev-ref HEAD
    master_23193446a_integrate_7.0020.5052
    user@server:/sonic-buildimage$ git log --oneline -n 2
    f66e01867 (HEAD -> master_23193446a_integrate_V.7.0020.5052, show) Intgerate HW-MGMT V.7.0020.5052 Changes
    2319344 (master_intg_hw_mgmt) Update logic
    
    user@server:/sonic-buildimage/src/sonic-linux-kernel$ git rev-parse --abbrev-ref HEAD
    master_6847319_integrate_7.0020.4104
    user@server:/sonic-buildimage/src/sonic-linux-kernel$ git log --oneline -n 2
    6094f71 (HEAD -> master_6847319_integrate_V.7.0020.5052) Intgerate HW-MGMT V.7.0020.5052 Changes
    6847319 (origin/master, origin/HEAD) Read ID register for optoe1 to find pageable bit in optoe driver  (sonic-net#308)
    Changes made will be summarized under sonic-buildimage/integrate-mlnx-hw-mgmt_user.out file. Debugging and troubleshooting output is written to sonic-buildimage/integrate-mlnx-hw-mgmt.log files
    
    User output file & stdout file:
    
    log_files.tar.gz
    
    Limitations:
    Assumes the changes would only work for amd64
    Assumes the non-upstream patches in mellanox only belong to hw-mgmt
    
    - How to verify it
    Build the Kernel
    
    Signed-off-by: Vivek Reddy Karri <[email protected]>
    vivekrnv authored and Vivek Reddy Karri committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    764c9e2 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Fix the hw-mgmt intg tool case sensitivity for KConfig (so…

    …nic-net#14709)
    
    Fix the script to consider case sensitivity while writing the kconfig
    
    Signed-off-by: Vivek Reddy Karri <[email protected]>
    vivekrnv authored and Vivek Reddy Karri committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    9881dff View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Temp

    Signed-off-by: Vivek Reddy <[email protected]>
    vivekrnv committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    7b1895c View commit details
    Browse the repository at this point in the history