Skip to content

Commit

Permalink
Fix Celestica Seastone2 LED init script to not break port status
Browse files Browse the repository at this point in the history
Fixes sonic-net#10103.

The LED init script that was added in sonic-net#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 <lstockner@genesiscloud.com>
  • Loading branch information
lukasstockner committed Apr 22, 2023
1 parent 81a5578 commit d67e5ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions device/celestica/x86_64-cel_seastone_2-r0/led_proc_init.soc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d67e5ee

Please sign in to comment.