From d67e5eeae03b146d0fc891906bcebbb559a98170 Mon Sep 17 00:00:00 2001 From: Lukas Stockner Date: Fri, 13 May 2022 02:01:33 +0200 Subject: [PATCH] Fix Celestica Seastone2 LED init script to not break port status Fixes #10103. The LED init script that was added in #9769 enables the port LEDs, but it turns out that the linkscan change combined with Broadcom SAI 6.0 breaks detection of port status on boot. Without the linkscan and sleep, the LED still work as expected, and the port status is correct again. Signed-off-by: Lukas Stockner --- .../{custom.bin => custom_led.bin} | Bin .../x86_64-cel_seastone_2-r0/led_proc_init.soc | 7 ++----- 2 files changed, 2 insertions(+), 5 deletions(-) rename device/celestica/x86_64-cel_seastone_2-r0/{custom.bin => custom_led.bin} (100%) diff --git a/device/celestica/x86_64-cel_seastone_2-r0/custom.bin b/device/celestica/x86_64-cel_seastone_2-r0/custom_led.bin similarity index 100% rename from device/celestica/x86_64-cel_seastone_2-r0/custom.bin rename to device/celestica/x86_64-cel_seastone_2-r0/custom_led.bin diff --git a/device/celestica/x86_64-cel_seastone_2-r0/led_proc_init.soc b/device/celestica/x86_64-cel_seastone_2-r0/led_proc_init.soc index b6b474bd53d6..8470ab26efeb 100644 --- a/device/celestica/x86_64-cel_seastone_2-r0/led_proc_init.soc +++ b/device/celestica/x86_64-cel_seastone_2-r0/led_proc_init.soc @@ -1,5 +1,2 @@ -linkscan off -m0 load 0 0x3800 /usr/share/sonic/platform/custom.bin -sleep 10 -led auto on; led start -linkscan on +m0 load 0 0x3800 /usr/share/sonic/platform/custom_led.bin +led start