Skip to content

Commit

Permalink
[platform/device] Introduce Silverstone device and platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
pphuchar committed Aug 23, 2018
1 parent b64aec5 commit e484a55
Show file tree
Hide file tree
Showing 12 changed files with 1,298 additions and 4 deletions.
3 changes: 2 additions & 1 deletion build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
hping3 \
python-scapy \
tcptraceroute \
mtr-tiny
mtr-tiny \
ipmitool

sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y download \
grub-pc-bin
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# name lanes alias index
Ethernet0 89,90,91,92,93,94,95,96 QSFPDD1 1
Ethernet4 81,82,83,84,85,86,87,88 QSFPDD2 2
Ethernet8 105,106,107,108,109,110,111,112 QSFPDD3 3
Ethernet12 97,98,99,100,101,102,103,104 QSFPDD4 4
Ethernet16 137,138,139,140,141,142,143,144 QSFPDD5 5
Ethernet20 129,130,131,132,133,134,135,136 QSFPDD6 6
Ethernet24 169,170,171,172,173,174,175,176 QSFPDD7 7
Ethernet28 161,162,163,164,165,166,167,168 QSFPDD8 8
Ethernet32 201,202,203,204,205,206,207,208 QSFPDD9 9
Ethernet36 193,194,195,196,197,198,199,200 QSFPDD10 10
Ethernet40 233,234,235,236,237,238,239,240 QSFPDD11 11
Ethernet44 225,226,227,228,229,230,231,232 QSFPDD12 12
Ethernet48 73,74,75,76,77,78,79,80 QSFPDD13 13
Ethernet52 65,66,67,68,69,70,71,72 QSFPDD14 14
Ethernet56 121,122,123,124,125,126,127,128 QSFPDD15 15
Ethernet60 113,114,115,116,117,118,119,120 QSFPDD16 16
Ethernet64 9,10,11,12,13,14,15,16 QSFPDD17 17
Ethernet68 1,2,3,4,5,6,7,8 QSFPDD18 18
Ethernet72 57,58,59,60,61,62,63,64 QSFPDD19 19
Ethernet76 49,50,51,52,53,54,55,56 QSFPDD20 20
Ethernet80 153,154,155,156,157,158,159,160 QSFPDD21 21
Ethernet84 145,146,147,148,149,150,151,152 QSFPDD22 22
Ethernet88 185,186,187,188,189,190,191,192 QSFPDD23 23
Ethernet92 177,178,179,180,181,182,183,184 QSFPDD24 24
Ethernet96 217,218,219,220,221,222,223,224 QSFPDD25 25
Ethernet100 209,210,211,212,213,214,215,216 QSFPDD26 26
Ethernet104 249,250,251,252,253,254,255,256 QSFPDD27 27
Ethernet108 241,242,243,244,245,246,247,248 QSFPDD28 28
Ethernet112 25,26,27,28,29,30,31,32 QSFPDD29 29
Ethernet116 17,18,19,20,21,22,23,24 QSFPDD30 30
Ethernet120 41,42,43,44,45,46,47,48 QSFPDD31 31
Ethernet124 33,34,35,36,37,38,39,40 QSFPDD32 32
Ethernet125 257 SFP1 33
Ethernet126 258 SFP2 34
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/platform/td3-questone_2-48x25G_8x100G.config.bcm
1 change: 1 addition & 0 deletions device/celestica/x86_64-cel_silverstone-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONSOLE_SPEED=115200
12 changes: 12 additions & 0 deletions device/celestica/x86_64-cel_silverstone-r0/led_proc_init.soc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#Enable all ports
sleep 6
port all en=1
#sleep 6
#linkscan 250000; port xe,ce linkscan=on

#Load LED
#m0 load 0 0x0 /usr/share/sonic/platform/linkscan_led_fw.bin
#m0 load 0 0x3800 /usr/share/sonic/platform/custom_led.bin
#led auto on; led start


Loading

0 comments on commit e484a55

Please sign in to comment.