Skip to content

Commit 1bfdb8f

Browse files
committed
kamel: Questone2: NX4808xxv and R1N25A SKU
1 parent 8c8cc49 commit 1bfdb8f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

platform/broadcom/sonic-platform-modules-cel/debian/platform-modules-questone2.init

+5-3
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,18 @@ start)
4444
done
4545

4646
# One platform support two hwskus, auto select the correct hwsku
47-
# If label is not either Questone-II or Questone-IIA, then Questone-IIA is used by default
47+
# If label is not either Questone-II or Questone-IIA, then Questone-IIA is used by default
48+
# Also, the Arctica NX4808xxv and R1N25A is a branded Questone-II.
4849
hwsku_file="/usr/share/sonic/device/x86_64-cel_questone_2-r0/default_sku"
4950
if [ ! -f $hwsku_file ]; then
5051
platform_path="/usr/share/sonic/device/x86_64-cel_questone_2-r0"
5152

5253
sleep 1 # Wait for EEPROM driver initialization
53-
hwsku=$(decode-syseeprom | grep "Label" | awk '{print $5}')
54+
hwsku=$(decode-syseeprom | grep "Label" | awk '{print $5 $6}')
5455

5556
cd ${platform_path}
56-
if [ x$hwsku = x"Questone-II" ];then
57+
if [ x$hwsku = x"Questone-II" ] || [ x$hwsku = x"ArcticaNX4808xxv" ] || \
58+
[ x$hwsku = x"R1N25A" ]; then
5759
echo "Questone_2 t1" > $hwsku_file
5860
ln -sf ./Questone_2/platform.json platform.json
5961
ln -sf ./Questone_2/platform_components.json platform_components.json

0 commit comments

Comments
 (0)