File tree 1 file changed +5
-3
lines changed
platform/broadcom/sonic-platform-modules-cel/debian
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,18 @@ start)
44
44
done
45
45
46
46
# 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.
48
49
hwsku_file=" /usr/share/sonic/device/x86_64-cel_questone_2-r0/default_sku"
49
50
if [ ! -f $hwsku_file ]; then
50
51
platform_path=" /usr/share/sonic/device/x86_64-cel_questone_2-r0"
51
52
52
53
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 }' )
54
55
55
56
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
57
59
echo " Questone_2 t1" > $hwsku_file
58
60
ln -sf ./Questone_2/platform.json platform.json
59
61
ln -sf ./Questone_2/platform_components.json platform_components.json
You can’t perform that action at this time.
0 commit comments