Skip to content

Commit 6ac2ff7

Browse files
author
Wirut Getbamrung
committed
[syncd-brcm]: add pre-emphasis load to start.sh
1 parent 6c0b9ad commit 6ac2ff7

File tree

1 file changed

+6
-0
lines changed
  • platform/broadcom/docker-syncd-brcm

1 file changed

+6
-0
lines changed

platform/broadcom/docker-syncd-brcm/start.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ fi
3838

3939
supervisorctl start syncd
4040

41+
# If this platform has a pre_emphasis setting file, load it
42+
if [[ -r $HWSKU_DIR/pre-emphasis_PAM4_optics.soc ]]; then
43+
wait_syncd
44+
/usr/bin/bcmcmd -t 60 "rcload $HWSKU_DIR/pre-emphasis_PAM4_optics.soc"
45+
fi
46+
4147
# If this platform has an initialization file for the Broadcom LED microprocessor, load it
4248
if [[ -r ${PLATFORM_DIR}/led_proc_init.soc && ! -f /var/warmboot/warm-starting ]]; then
4349
wait_syncd

0 commit comments

Comments
 (0)