Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device][platform] Update Inventec platform porting to support stretch #2010

Merged
merged 5 commits into from
Sep 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# name lanes alias
Ethernet0 16 Ethernet0
Ethernet4 15 Ethernet4
Ethernet8 14 Ethernet8
Ethernet12 13 Ethernet12
Ethernet16 24 Ethernet16
Ethernet20 23 Ethernet20
Ethernet24 22 Ethernet24
Ethernet28 21 Ethernet28
Ethernet32 28 Ethernet32
Ethernet36 27 Ethernet36
Ethernet40 26 Ethernet40
Ethernet44 25 Ethernet44
Ethernet48 32 Ethernet48
Ethernet52 31 Ethernet52
Ethernet56 30 Ethernet56
Ethernet60 29 Ethernet60
Ethernet64 48 Ethernet64
Ethernet68 47 Ethernet68
Ethernet72 46 Ethernet72
Ethernet76 45 Ethernet76
Ethernet80 52 Ethernet80
Ethernet84 51 Ethernet84
Ethernet88 50 Ethernet88
Ethernet92 49 Ethernet92
Ethernet96 56 Ethernet96
Ethernet100 55 Ethernet100
Ethernet104 54 Ethernet104
Ethernet108 53 Ethernet108
Ethernet112 60 Ethernet112
Ethernet116 59 Ethernet116
Ethernet120 58 Ethernet120
Ethernet124 57 Ethernet124
Ethernet128 64 Ethernet128
Ethernet132 63 Ethernet132
Ethernet136 62 Ethernet136
Ethernet140 61 Ethernet140
Ethernet144 68 Ethernet144
Ethernet148 67 Ethernet148
Ethernet152 66 Ethernet152
Ethernet156 65 Ethernet156
Ethernet160 72 Ethernet160
Ethernet164 71 Ethernet164
Ethernet168 70 Ethernet168
Ethernet172 69 Ethernet172
Ethernet176 76 Ethernet176
Ethernet180 75 Ethernet180
Ethernet184 74 Ethernet184
Ethernet188 73 Ethernet188
Ethernet192 82 Ethernet192
Ethernet196 84 Ethernet196
Ethernet200 81 Ethernet200
Ethernet204 83 Ethernet204
Ethernet208 78 Ethernet208
Ethernet212 80 Ethernet212
Ethernet216 77 Ethernet216
Ethernet220 79 Ethernet220
Ethernet224 98 Ethernet224
Ethernet228 100 Ethernet228
Ethernet232 97 Ethernet232
Ethernet236 99 Ethernet236
Ethernet240 104 Ethernet240
Ethernet244 102 Ethernet244
Ethernet248 103 Ethernet248
Ethernet252 101 Ethernet252
Ethernet256 108 Ethernet256
Ethernet260 106 Ethernet260
Ethernet264 107 Ethernet264
Ethernet268 105 Ethernet268
Ethernet272 112 Ethernet272
Ethernet276 110 Ethernet276
Ethernet280 111 Ethernet280
Ethernet284 109 Ethernet284

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td2-d6254qs-72x10G.config
SAI_NUM_ECMP_MEMBERS=32
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
os=unix
parity_enable=0
pbmp_xport_xe.0=0x1fffffffffffffffffffffffffffffffe
miim_intr_enable=0
schan_intr_enable=0
bcm_stat_interval=2000000
serdes_firmware_mode_xe=0x2

portmap_1=16:10
portmap_2=15:10
portmap_3=14:10
portmap_4=13:10
portmap_5=24:10
portmap_6=23:10
portmap_7=22:10
portmap_8=21:10
portmap_9=28:10
portmap_10=27:10
portmap_11=26:10
portmap_12=25:10
portmap_13=32:10
portmap_14=31:10
portmap_15=30:10
portmap_16=29:10
portmap_17=48:10
portmap_18=47:10
portmap_19=46:10
portmap_20=45:10
portmap_21=52:10
portmap_22=51:10
portmap_23=50:10
portmap_24=49:10
portmap_25=56:10
portmap_26=55:10
portmap_27=54:10
portmap_28=53:10
portmap_29=60:10
portmap_30=59:10
portmap_31=58:10
portmap_32=57:10
portmap_33=64:10
portmap_34=63:10
portmap_35=62:10
portmap_36=61:10
portmap_37=68:10
portmap_38=67:10
portmap_39=66:10
portmap_40=65:10
portmap_41=72:10
portmap_42=71:10
portmap_43=70:10
portmap_44=69:10
portmap_45=76:10
portmap_46=75:10
portmap_47=74:10
portmap_48=73:10

portmap_49=82:10
portmap_50=84:10
portmap_51=81:10
portmap_52=83:10

portmap_53=78:10
portmap_54=80:10
portmap_55=77:10
portmap_56=79:10

portmap_57=98:10
portmap_58=100:10
portmap_59=97:10
portmap_60=99:10

portmap_61=104:10
portmap_62=102:10
portmap_63=103:10
portmap_64=101:10

portmap_65=108:10
portmap_66=106:10
portmap_67=107:10
portmap_68=105:10

portmap_69=112:10
portmap_70=110:10
portmap_71=111:10
portmap_72=109:10

xgxs_rx_lane_map_xe0=0x0123
xgxs_rx_lane_map_xe1=0x0123
xgxs_rx_lane_map_xe2=0x0123
xgxs_rx_lane_map_xe3=0x0123
xgxs_rx_lane_map_xe4=0x0123
xgxs_rx_lane_map_xe5=0x0123
xgxs_rx_lane_map_xe6=0x0123
xgxs_rx_lane_map_xe7=0x0123
xgxs_rx_lane_map_xe8=0x0123
xgxs_rx_lane_map_xe9=0x0123
xgxs_rx_lane_map_xe10=0x0123
xgxs_rx_lane_map_xe11=0x0123
xgxs_rx_lane_map_xe12=0x0123
xgxs_rx_lane_map_xe13=0x0123
xgxs_rx_lane_map_xe14=0x0123
xgxs_rx_lane_map_xe15=0x0123
xgxs_rx_lane_map_xe16=0x0123
xgxs_rx_lane_map_xe17=0x0123
xgxs_rx_lane_map_xe18=0x0123
xgxs_rx_lane_map_xe19=0x0123
xgxs_rx_lane_map_xe20=0x0123
xgxs_rx_lane_map_xe21=0x0123
xgxs_rx_lane_map_xe22=0x0123
xgxs_rx_lane_map_xe23=0x0123
xgxs_rx_lane_map_xe24=0x0123
xgxs_rx_lane_map_xe25=0x0123
xgxs_rx_lane_map_xe26=0x0123
xgxs_rx_lane_map_xe27=0x0123
xgxs_rx_lane_map_xe28=0x0123
xgxs_rx_lane_map_xe29=0x0123
xgxs_rx_lane_map_xe30=0x0123
xgxs_rx_lane_map_xe31=0x0123
xgxs_rx_lane_map_xe32=0x0123
xgxs_rx_lane_map_xe33=0x0123
xgxs_rx_lane_map_xe34=0x0123
xgxs_rx_lane_map_xe35=0x0123
xgxs_rx_lane_map_xe36=0x0123
xgxs_rx_lane_map_xe37=0x0123
xgxs_rx_lane_map_xe38=0x0123
xgxs_rx_lane_map_xe39=0x0123
xgxs_rx_lane_map_xe40=0x0123
xgxs_rx_lane_map_xe41=0x0123
xgxs_rx_lane_map_xe42=0x0123
xgxs_rx_lane_map_xe43=0x0123
xgxs_rx_lane_map_xe44=0x0123
xgxs_rx_lane_map_xe45=0x0123
xgxs_rx_lane_map_xe46=0x0123
xgxs_rx_lane_map_xe47=0x0123
xgxs_rx_lane_map_xe48=0x0123
xgxs_rx_lane_map_xe49=0x0123
xgxs_rx_lane_map_xe50=0x0123
xgxs_rx_lane_map_xe51=0x0123
xgxs_rx_lane_map_xe52=0x0123
xgxs_rx_lane_map_xe53=0x0123
xgxs_rx_lane_map_xe54=0x0123
xgxs_rx_lane_map_xe55=0x0123
xgxs_rx_lane_map_xe56=0x0123
xgxs_rx_lane_map_xe57=0x0123
xgxs_rx_lane_map_xe58=0x0123
xgxs_rx_lane_map_xe59=0x0123
xgxs_rx_lane_map_xe60=0x0123
xgxs_rx_lane_map_xe61=0x0123
xgxs_rx_lane_map_xe62=0x0123
xgxs_rx_lane_map_xe63=0x0123
xgxs_rx_lane_map_xe64=0x0123
xgxs_rx_lane_map_xe65=0x0123
xgxs_rx_lane_map_xe66=0x0123
xgxs_rx_lane_map_xe67=0x0123
xgxs_rx_lane_map_xe68=0x0123
xgxs_rx_lane_map_xe69=0x0123
xgxs_rx_lane_map_xe70=0x0123
xgxs_rx_lane_map_xe71=0x0123

4 changes: 4 additions & 0 deletions device/inventec/x86_64-inventec_d6254qs-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONSOLE_PORT=0x2f8
CONSOLE_DEV=1
CONSOLE_SPEED=115200
VAR_LOG_SIZE=1024
136 changes: 136 additions & 0 deletions device/inventec/x86_64-inventec_d6254qs-r0/led_proc_init.soc
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
m CMIC_LEDUP0_PORT_ORDER_REMAP_0_3 REMAP_PORT_0=31
m CMIC_LEDUP0_PORT_ORDER_REMAP_0_3 REMAP_PORT_1=30
m CMIC_LEDUP0_PORT_ORDER_REMAP_0_3 REMAP_PORT_2=29
m CMIC_LEDUP0_PORT_ORDER_REMAP_0_3 REMAP_PORT_3=28
m CMIC_LEDUP0_PORT_ORDER_REMAP_4_7 REMAP_PORT_4=27
m CMIC_LEDUP0_PORT_ORDER_REMAP_4_7 REMAP_PORT_5=26
m CMIC_LEDUP0_PORT_ORDER_REMAP_4_7 REMAP_PORT_6=25
m CMIC_LEDUP0_PORT_ORDER_REMAP_4_7 REMAP_PORT_7=24
m CMIC_LEDUP0_PORT_ORDER_REMAP_8_11 REMAP_PORT_8=23
m CMIC_LEDUP0_PORT_ORDER_REMAP_8_11 REMAP_PORT_9=22
m CMIC_LEDUP0_PORT_ORDER_REMAP_8_11 REMAP_PORT_10=21
m CMIC_LEDUP0_PORT_ORDER_REMAP_8_11 REMAP_PORT_11=20
m CMIC_LEDUP0_PORT_ORDER_REMAP_12_15 REMAP_PORT_12=19
m CMIC_LEDUP0_PORT_ORDER_REMAP_12_15 REMAP_PORT_13=18
m CMIC_LEDUP0_PORT_ORDER_REMAP_12_15 REMAP_PORT_14=17
m CMIC_LEDUP0_PORT_ORDER_REMAP_12_15 REMAP_PORT_15=16
m CMIC_LEDUP0_PORT_ORDER_REMAP_16_19 REMAP_PORT_16=15
m CMIC_LEDUP0_PORT_ORDER_REMAP_16_19 REMAP_PORT_17=14
m CMIC_LEDUP0_PORT_ORDER_REMAP_16_19 REMAP_PORT_18=13
m CMIC_LEDUP0_PORT_ORDER_REMAP_16_19 REMAP_PORT_19=12
m CMIC_LEDUP0_PORT_ORDER_REMAP_20_23 REMAP_PORT_20=11
m CMIC_LEDUP0_PORT_ORDER_REMAP_20_23 REMAP_PORT_21=10
m CMIC_LEDUP0_PORT_ORDER_REMAP_20_23 REMAP_PORT_22=9
m CMIC_LEDUP0_PORT_ORDER_REMAP_20_23 REMAP_PORT_23=8
m CMIC_LEDUP0_PORT_ORDER_REMAP_24_27 REMAP_PORT_24=7
m CMIC_LEDUP0_PORT_ORDER_REMAP_24_27 REMAP_PORT_25=6
m CMIC_LEDUP0_PORT_ORDER_REMAP_24_27 REMAP_PORT_26=5
m CMIC_LEDUP0_PORT_ORDER_REMAP_24_27 REMAP_PORT_27=4
m CMIC_LEDUP0_PORT_ORDER_REMAP_28_31 REMAP_PORT_28=3
m CMIC_LEDUP0_PORT_ORDER_REMAP_28_31 REMAP_PORT_29=2
m CMIC_LEDUP0_PORT_ORDER_REMAP_28_31 REMAP_PORT_30=1
m CMIC_LEDUP0_PORT_ORDER_REMAP_28_31 REMAP_PORT_31=0
m CMIC_LEDUP0_PORT_ORDER_REMAP_32_35 REMAP_PORT_32=63
m CMIC_LEDUP0_PORT_ORDER_REMAP_32_35 REMAP_PORT_33=62
m CMIC_LEDUP0_PORT_ORDER_REMAP_32_35 REMAP_PORT_34=61
m CMIC_LEDUP0_PORT_ORDER_REMAP_32_35 REMAP_PORT_35=60
m CMIC_LEDUP0_PORT_ORDER_REMAP_36_39 REMAP_PORT_36=59
m CMIC_LEDUP0_PORT_ORDER_REMAP_36_39 REMAP_PORT_37=58
m CMIC_LEDUP0_PORT_ORDER_REMAP_36_39 REMAP_PORT_38=57
m CMIC_LEDUP0_PORT_ORDER_REMAP_36_39 REMAP_PORT_39=56
m CMIC_LEDUP0_PORT_ORDER_REMAP_40_43 REMAP_PORT_40=55
m CMIC_LEDUP0_PORT_ORDER_REMAP_40_43 REMAP_PORT_41=54
m CMIC_LEDUP0_PORT_ORDER_REMAP_40_43 REMAP_PORT_42=53
m CMIC_LEDUP0_PORT_ORDER_REMAP_40_43 REMAP_PORT_43=52
m CMIC_LEDUP0_PORT_ORDER_REMAP_44_47 REMAP_PORT_44=51
m CMIC_LEDUP0_PORT_ORDER_REMAP_44_47 REMAP_PORT_45=50
m CMIC_LEDUP0_PORT_ORDER_REMAP_44_47 REMAP_PORT_46=49
m CMIC_LEDUP0_PORT_ORDER_REMAP_44_47 REMAP_PORT_47=48
m CMIC_LEDUP0_PORT_ORDER_REMAP_48_51 REMAP_PORT_48=47
m CMIC_LEDUP0_PORT_ORDER_REMAP_48_51 REMAP_PORT_49=46
m CMIC_LEDUP0_PORT_ORDER_REMAP_48_51 REMAP_PORT_50=45
m CMIC_LEDUP0_PORT_ORDER_REMAP_48_51 REMAP_PORT_51=44
m CMIC_LEDUP0_PORT_ORDER_REMAP_52_55 REMAP_PORT_52=43
m CMIC_LEDUP0_PORT_ORDER_REMAP_52_55 REMAP_PORT_53=42
m CMIC_LEDUP0_PORT_ORDER_REMAP_52_55 REMAP_PORT_54=41
m CMIC_LEDUP0_PORT_ORDER_REMAP_52_55 REMAP_PORT_55=40
m CMIC_LEDUP0_PORT_ORDER_REMAP_56_59 REMAP_PORT_56=39
m CMIC_LEDUP0_PORT_ORDER_REMAP_56_59 REMAP_PORT_57=38
m CMIC_LEDUP0_PORT_ORDER_REMAP_56_59 REMAP_PORT_58=37
m CMIC_LEDUP0_PORT_ORDER_REMAP_56_59 REMAP_PORT_59=36
m CMIC_LEDUP0_PORT_ORDER_REMAP_60_63 REMAP_PORT_60=35
m CMIC_LEDUP0_PORT_ORDER_REMAP_60_63 REMAP_PORT_61=34
m CMIC_LEDUP0_PORT_ORDER_REMAP_60_63 REMAP_PORT_62=33
m CMIC_LEDUP0_PORT_ORDER_REMAP_60_63 REMAP_PORT_63=32
m CMIC_LEDUP1_PORT_ORDER_REMAP_0_3 REMAP_PORT_0=3
m CMIC_LEDUP1_PORT_ORDER_REMAP_0_3 REMAP_PORT_1=2
m CMIC_LEDUP1_PORT_ORDER_REMAP_0_3 REMAP_PORT_2=1
m CMIC_LEDUP1_PORT_ORDER_REMAP_0_3 REMAP_PORT_3=0
m CMIC_LEDUP1_PORT_ORDER_REMAP_4_7 REMAP_PORT_4=7
m CMIC_LEDUP1_PORT_ORDER_REMAP_4_7 REMAP_PORT_5=6
m CMIC_LEDUP1_PORT_ORDER_REMAP_4_7 REMAP_PORT_6=5
m CMIC_LEDUP1_PORT_ORDER_REMAP_4_7 REMAP_PORT_7=4
m CMIC_LEDUP1_PORT_ORDER_REMAP_8_11 REMAP_PORT_8=11
m CMIC_LEDUP1_PORT_ORDER_REMAP_8_11 REMAP_PORT_9=10
m CMIC_LEDUP1_PORT_ORDER_REMAP_8_11 REMAP_PORT_10=9
m CMIC_LEDUP1_PORT_ORDER_REMAP_8_11 REMAP_PORT_11=8
m CMIC_LEDUP1_PORT_ORDER_REMAP_12_15 REMAP_PORT_12=15
m CMIC_LEDUP1_PORT_ORDER_REMAP_12_15 REMAP_PORT_13=14
m CMIC_LEDUP1_PORT_ORDER_REMAP_12_15 REMAP_PORT_14=13
m CMIC_LEDUP1_PORT_ORDER_REMAP_12_15 REMAP_PORT_15=12
m CMIC_LEDUP1_PORT_ORDER_REMAP_16_19 REMAP_PORT_16=19
m CMIC_LEDUP1_PORT_ORDER_REMAP_16_19 REMAP_PORT_17=18
m CMIC_LEDUP1_PORT_ORDER_REMAP_16_19 REMAP_PORT_18=17
m CMIC_LEDUP1_PORT_ORDER_REMAP_16_19 REMAP_PORT_19=16
m CMIC_LEDUP1_PORT_ORDER_REMAP_20_23 REMAP_PORT_20=23
m CMIC_LEDUP1_PORT_ORDER_REMAP_20_23 REMAP_PORT_21=22
m CMIC_LEDUP1_PORT_ORDER_REMAP_20_23 REMAP_PORT_22=21
m CMIC_LEDUP1_PORT_ORDER_REMAP_20_23 REMAP_PORT_23=20
m CMIC_LEDUP1_PORT_ORDER_REMAP_24_27 REMAP_PORT_24=27
m CMIC_LEDUP1_PORT_ORDER_REMAP_24_27 REMAP_PORT_25=26
m CMIC_LEDUP1_PORT_ORDER_REMAP_24_27 REMAP_PORT_26=25
m CMIC_LEDUP1_PORT_ORDER_REMAP_24_27 REMAP_PORT_27=24
m CMIC_LEDUP1_PORT_ORDER_REMAP_28_31 REMAP_PORT_28=31
m CMIC_LEDUP1_PORT_ORDER_REMAP_28_31 REMAP_PORT_29=30
m CMIC_LEDUP1_PORT_ORDER_REMAP_28_31 REMAP_PORT_30=29
m CMIC_LEDUP1_PORT_ORDER_REMAP_28_31 REMAP_PORT_31=28
m CMIC_LEDUP1_PORT_ORDER_REMAP_32_35 REMAP_PORT_32=35
m CMIC_LEDUP1_PORT_ORDER_REMAP_32_35 REMAP_PORT_33=34
m CMIC_LEDUP1_PORT_ORDER_REMAP_32_35 REMAP_PORT_34=33
m CMIC_LEDUP1_PORT_ORDER_REMAP_32_35 REMAP_PORT_35=32
m CMIC_LEDUP1_PORT_ORDER_REMAP_36_39 REMAP_PORT_36=39
m CMIC_LEDUP1_PORT_ORDER_REMAP_36_39 REMAP_PORT_37=38
m CMIC_LEDUP1_PORT_ORDER_REMAP_36_39 REMAP_PORT_38=37
m CMIC_LEDUP1_PORT_ORDER_REMAP_36_39 REMAP_PORT_39=36
m CMIC_LEDUP1_PORT_ORDER_REMAP_40_43 REMAP_PORT_40=43
m CMIC_LEDUP1_PORT_ORDER_REMAP_40_43 REMAP_PORT_41=42
m CMIC_LEDUP1_PORT_ORDER_REMAP_40_43 REMAP_PORT_42=41
m CMIC_LEDUP1_PORT_ORDER_REMAP_40_43 REMAP_PORT_43=40
m CMIC_LEDUP1_PORT_ORDER_REMAP_44_47 REMAP_PORT_44=47
m CMIC_LEDUP1_PORT_ORDER_REMAP_44_47 REMAP_PORT_45=46
m CMIC_LEDUP1_PORT_ORDER_REMAP_44_47 REMAP_PORT_46=45
m CMIC_LEDUP1_PORT_ORDER_REMAP_44_47 REMAP_PORT_47=44
m CMIC_LEDUP1_PORT_ORDER_REMAP_48_51 REMAP_PORT_48=51
m CMIC_LEDUP1_PORT_ORDER_REMAP_48_51 REMAP_PORT_49=50
m CMIC_LEDUP1_PORT_ORDER_REMAP_48_51 REMAP_PORT_50=49
m CMIC_LEDUP1_PORT_ORDER_REMAP_48_51 REMAP_PORT_51=48
m CMIC_LEDUP1_PORT_ORDER_REMAP_52_55 REMAP_PORT_52=55
m CMIC_LEDUP1_PORT_ORDER_REMAP_52_55 REMAP_PORT_53=54
m CMIC_LEDUP1_PORT_ORDER_REMAP_52_55 REMAP_PORT_54=53
m CMIC_LEDUP1_PORT_ORDER_REMAP_52_55 REMAP_PORT_55=52
m CMIC_LEDUP1_PORT_ORDER_REMAP_56_59 REMAP_PORT_56=59
m CMIC_LEDUP1_PORT_ORDER_REMAP_56_59 REMAP_PORT_57=58
m CMIC_LEDUP1_PORT_ORDER_REMAP_56_59 REMAP_PORT_58=57
m CMIC_LEDUP1_PORT_ORDER_REMAP_56_59 REMAP_PORT_59=56
m CMIC_LEDUP1_PORT_ORDER_REMAP_60_63 REMAP_PORT_60=63
m CMIC_LEDUP1_PORT_ORDER_REMAP_60_63 REMAP_PORT_61=62
m CMIC_LEDUP1_PORT_ORDER_REMAP_60_63 REMAP_PORT_62=61
m CMIC_LEDUP1_PORT_ORDER_REMAP_60_63 REMAP_PORT_63=60

led 0 stop
led 0 prog 02 00 60 F1 12 00 DA 0F 70 10 67 47 67 42 77 06 02 A0 60 F0 12 00 06 F0 4A 04 27 67 42 4A 03 27 67 42 4A 07 27 67 42 4A 00 27 67 42 DA 80 70 34 86 F0 77 16 12 00 DA 03 70 40 67 4A 67 42 77 36 3E F1 87 86 F1 81 57 17 27 57 07 27 57
led 0 start

led 1 stop
led 1 prog 02 00 60 F1 12 00 DA 0F 70 10 67 47 67 42 77 06 02 A0 60 F0 12 00 06 F0 4A 04 27 67 42 4A 03 27 67 42 4A 07 27 67 42 4A 00 27 67 42 DA 80 70 34 86 F0 77 16 12 00 DA 03 70 40 67 4A 67 42 77 36 3E F1 87 86 F1 81 57 17 27 57 07 27 57
led 1 start
Loading