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

[Mellanox] Update SN2201 sai profile and platform reboot script #10978

Merged
merged 3 commits into from
Jun 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update reboot scripts
Signed-off-by: Kebo Liu <kebol@nvidia.com>
keboliu committed Jun 5, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 613ac6f89a32be44aac6406ae8ab13c36eceb7bf
4 changes: 1 addition & 3 deletions device/mellanox/x86_64-mlnx_msn2700-r0/platform_reboot
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ declare -r EXIT_ERROR="1"

declare -r PENDING_COMPONENT_FW="/usr/bin/install-pending-fw.py"
declare -r FW_UPGRADE_SCRIPT="/usr/bin/mlnx-fw-upgrade.sh"
declare -r SYSFS_PWR_CYCLE="/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle"
declare -r SYSFS_PWR_CYCLE="/var/run/hw-management/system/pwr_cycle"

FORCE_REBOOT="no"

@@ -24,8 +24,6 @@ function SafePwrCycle() {
sync ; sync
umount -fa > /dev/null 2&>1
echo 1 > $SYSFS_PWR_CYCLE
sleep 3
echo 0 > $SYSFS_PWR_CYCLE
}

ParseArguments "$@"