Skip to content

Commit

Permalink
[broadcom]: fix delay to load led proc init (#1940)
Browse files Browse the repository at this point in the history
led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan committed Aug 17, 2018
1 parent bf26a9a commit 511eada
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platform/broadcom/docker-syncd-brcm/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ wait_syncd() {
fi
sleep 1
done

# wait until bcm sdk is ready to get a request
sleep 3
}

# If this platform has an initialization file for the Broadcom LED microprocessor, load it
if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
wait_syncd
sleep 60 # wait until bcm sdk is ready to get a request
/usr/bin/bcmcmd -t 60 "rcload ${PLATFORM_DIR}/led_proc_init.soc"
fi

0 comments on commit 511eada

Please sign in to comment.