From b36b84fc5a15b3b0968aabfb5e54d2889fafcc47 Mon Sep 17 00:00:00 2001 From: Polly Hsu Date: Sun, 24 Mar 2019 03:28:24 +0800 Subject: [PATCH] [device/accton]: Update Accton-AS7326-54X (#2482) --- .../Accton-AS7326-56X/port_config.ini | 108 ++--- .../td3-as7326-48x25G+8x100G.config.bcm | 440 ++++++++++++++++++ .../installer.conf | 2 +- .../led_proc_init.soc | 79 ---- 4 files changed, 496 insertions(+), 133 deletions(-) mode change 100644 => 100755 device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/port_config.ini create mode 100755 device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/td3-as7326-48x25G+8x100G.config.bcm mode change 100644 => 100755 device/accton/x86_64-accton_as7326_56x-r0/installer.conf delete mode 100755 device/accton/x86_64-accton_as7326_56x-r0/led_proc_init.soc diff --git a/device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/port_config.ini b/device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/port_config.ini old mode 100644 new mode 100755 index 2c4d0c023772..ab1381129880 --- a/device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/port_config.ini +++ b/device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/port_config.ini @@ -1,55 +1,57 @@ # name lanes alias index -Ethernet0 41 twentyfiveGigE1 0 -Ethernet1 42 twentyfiveGigE2 1 -Ethernet2 43 twentyfiveGigE3 2 -Ethernet3 44 twentyfiveGigE4 3 -Ethernet4 49 twentyfiveGigE5 4 -Ethernet5 50 twentyfiveGigE6 5 -Ethernet6 51 twentyfiveGigE7 6 -Ethernet7 52 twentyfiveGigE8 7 -Ethernet8 53 twentyfiveGigE9 8 -Ethernet9 54 twentyfiveGigE10 9 -Ethernet10 55 twentyfiveGigE11 10 -Ethernet11 56 twentyfiveGigE12 11 -Ethernet12 65 twentyfiveGigE13 12 -Ethernet13 66 twentyfiveGigE14 13 -Ethernet14 67 twentyfiveGigE15 14 -Ethernet15 68 twentyfiveGigE16 15 -Ethernet16 33 twentyfiveGigE17 16 -Ethernet17 34 twentyfiveGigE18 17 -Ethernet18 35 twentyfiveGigE19 18 +Ethernet0 3 twentyfiveGigE1 0 +Ethernet1 2 twentyfiveGigE2 1 +Ethernet2 4 twentyfiveGigE3 2 +Ethernet3 8 twentyfiveGigE4 3 +Ethernet4 7 twentyfiveGigE5 4 +Ethernet5 1 twentyfiveGigE6 5 +Ethernet6 5 twentyfiveGigE7 6 +Ethernet7 16 twentyfiveGigE8 7 +Ethernet8 6 twentyfiveGigE9 8 +Ethernet9 14 twentyfiveGigE10 9 +Ethernet10 13 twentyfiveGigE11 10 +Ethernet11 15 twentyfiveGigE12 11 +Ethernet12 23 twentyfiveGigE13 12 +Ethernet13 22 twentyfiveGigE14 13 +Ethernet14 24 twentyfiveGigE15 14 +Ethernet15 32 twentyfiveGigE16 15 +Ethernet16 31 twentyfiveGigE17 16 +Ethernet17 21 twentyfiveGigE18 17 +Ethernet18 29 twentyfiveGigE19 18 Ethernet19 36 twentyfiveGigE20 19 -Ethernet20 37 twentyfiveGigE21 20 -Ethernet21 38 twentyfiveGigE22 21 -Ethernet22 39 twentyfiveGigE23 22 -Ethernet23 40 twentyfiveGigE24 23 -Ethernet24 69 twentyfiveGigE25 24 -Ethernet25 70 twentyfiveGigE26 25 -Ethernet26 71 twentyfiveGigE27 26 -Ethernet27 72 twentyfiveGigE28 27 -Ethernet28 81 twentyfiveGigE29 28 -Ethernet29 82 twentyfiveGigE30 29 -Ethernet30 83 twentyfiveGigE31 30 -Ethernet31 84 twentyfiveGigE32 31 -Ethernet32 85 twentyfiveGigE33 32 -Ethernet33 86 twentyfiveGigE34 33 -Ethernet34 87 twentyfiveGigE35 34 -Ethernet35 88 twentyfiveGigE36 35 -Ethernet36 97 twentyfiveGigE37 36 -Ethernet37 98 twentyfiveGigE38 37 -Ethernet38 99 twentyfiveGigE39 38 -Ethernet39 100 twentyfiveGigE40 39 -Ethernet40 101 twentyfiveGigE41 40 -Ethernet41 102 twentyfiveGigE42 41 -Ethernet42 103 twentyfiveGigE43 42 -Ethernet43 104 twentyfiveGigE44 43 -Ethernet44 105 twentyfiveGigE45 44 -Ethernet45 106 twentyfiveGigE46 45 -Ethernet46 107 twentyfiveGigE47 46 -Ethernet47 108 twentyfiveGigE48 47 -Ethernet48 5,6,7,8 hundredGigE49 48 -Ethernet52 1,2,3,4 hundredGigE50 52 -Ethernet56 109,110,111,112 hundredGigE51 56 -Ethernet60 21,22,23,24 hundredGigE52 60 -Ethernet64 9,10,11,12 hundredGigE53 64 -Ethernet68 117,118,119,120 hundredGigE54 68 +Ethernet20 30 twentyfiveGigE21 20 +Ethernet21 34 twentyfiveGigE22 21 +Ethernet22 33 twentyfiveGigE23 22 +Ethernet23 35 twentyfiveGigE24 23 +Ethernet24 43 twentyfiveGigE25 24 +Ethernet25 42 twentyfiveGigE26 25 +Ethernet26 44 twentyfiveGigE27 26 +Ethernet27 52 twentyfiveGigE28 27 +Ethernet28 51 twentyfiveGigE29 28 +Ethernet29 41 twentyfiveGigE30 29 +Ethernet30 49 twentyfiveGigE31 30 +Ethernet31 60 twentyfiveGigE32 31 +Ethernet32 50 twentyfiveGigE33 32 +Ethernet33 58 twentyfiveGigE34 33 +Ethernet34 57 twentyfiveGigE35 34 +Ethernet35 59 twentyfiveGigE36 35 +Ethernet36 62 twentyfiveGigE37 36 +Ethernet37 63 twentyfiveGigE38 37 +Ethernet38 64 twentyfiveGigE39 38 +Ethernet39 65 twentyfiveGigE40 39 +Ethernet40 66 twentyfiveGigE41 40 +Ethernet41 61 twentyfiveGigE42 41 +Ethernet42 68 twentyfiveGigE43 42 +Ethernet43 69 twentyfiveGigE44 43 +Ethernet44 67 twentyfiveGigE45 44 +Ethernet45 71 twentyfiveGigE46 45 +Ethernet46 72 twentyfiveGigE47 46 +Ethernet47 70 twentyfiveGigE48 47 +Ethernet48 77,78,79,80 hundredGigE49 48 +Ethernet52 85,86,87,88 hundredGigE50 52 +Ethernet56 93,94,95,96 hundredGigE51 56 +Ethernet60 97,98,99,100 hundredGigE52 60 +Ethernet64 105,106,107,108 hundredGigE53 64 +Ethernet68 113,114,115,116 hundredGigE54 68 +Ethernet72 121,122,123,124 hundredGigE55 72 +Ethernet76 125,126,127,128 hundredGigE56 76 diff --git a/device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/td3-as7326-48x25G+8x100G.config.bcm b/device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/td3-as7326-48x25G+8x100G.config.bcm new file mode 100755 index 000000000000..39c93ffc77a3 --- /dev/null +++ b/device/accton/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/td3-as7326-48x25G+8x100G.config.bcm @@ -0,0 +1,440 @@ +#polarity/lanemap is using TH2 style. +core_clock_frequency=1525 +dpp_clock_ratio=2:3 + +oversubscribe_mode=1 +pbmp_xport_xe=0x7F878787F878787FDFE1E1E1FE1E1E1FE + +parity_enable=0 +mem_cache_enable=0 + +l2_mem_entries=32768 +l3_mem_entries=16384 +fpem_mem_entries=16384 +l2xmsg_mode=1 + +# Platform specfic +bcm_num_cos=8 +bcm_stat_interval=2000000 +cdma_timeout_usec=3000000 +ipv6_lpm_128b_enable=0x1 +l3_max_ecmp_mode=1 +l3_alpm_enable=2 +lpm_scaling_enable=0 +max_vp_lags=0 +miim_intr_enable=0 +module_64ports=1 +schan_intr_enable=0 +stable_size=0x5500000 +tdma_timeout_usec=3000000 +skip_L2_USER_ENTRY=0 +bcm_tunnel_term_compatible_mode=1 + +dport_map_port_1=6 +dport_map_port_2=2 +dport_map_port_3=1 +dport_map_port_4=3 +portmap_1=1:25 +portmap_2=2:25 +portmap_3=3:25 +portmap_4=4:25 +phy_chain_rx_lane_map_physical{1.0}=0x1230 +phy_chain_rx_lane_map_physical{2.0}=0x1230 +phy_chain_rx_lane_map_physical{3.0}=0x1230 +phy_chain_rx_lane_map_physical{4.0}=0x1230 +phy_chain_tx_lane_map_physical{1.0}=0x3210 +phy_chain_tx_lane_map_physical{2.0}=0x3210 +phy_chain_tx_lane_map_physical{3.0}=0x3210 +phy_chain_tx_lane_map_physical{4.0}=0x3210 +phy_chain_rx_polarity_flip_physical{1.0}=0x0 +phy_chain_rx_polarity_flip_physical{2.0}=0x0 +phy_chain_rx_polarity_flip_physical{3.0}=0x0 +phy_chain_rx_polarity_flip_physical{4.0}=0x0 +phy_chain_tx_polarity_flip_physical{1.0}=0x1 +phy_chain_tx_polarity_flip_physical{2.0}=0x0 +phy_chain_tx_polarity_flip_physical{3.0}=0x0 +phy_chain_tx_polarity_flip_physical{4.0}=0x0 + +dport_map_port_5=7 +dport_map_port_6=9 +dport_map_port_7=5 +dport_map_port_8=4 +portmap_5=5:25 +portmap_6=6:25 +portmap_7=7:25 +portmap_8=8:25 +phy_chain_rx_lane_map_physical{5.0}=0x3210 +phy_chain_rx_lane_map_physical{6.0}=0x3210 +phy_chain_rx_lane_map_physical{7.0}=0x3210 +phy_chain_rx_lane_map_physical{8.0}=0x3210 +phy_chain_tx_lane_map_physical{5.0}=0x3210 +phy_chain_tx_lane_map_physical{6.0}=0x3210 +phy_chain_tx_lane_map_physical{7.0}=0x3210 +phy_chain_tx_lane_map_physical{8.0}=0x3210 +phy_chain_rx_polarity_flip_physical{5.0}=0x0 +phy_chain_rx_polarity_flip_physical{6.0}=0x0 +phy_chain_rx_polarity_flip_physical{7.0}=0x1 +phy_chain_rx_polarity_flip_physical{8.0}=0x0 +phy_chain_tx_polarity_flip_physical{5.0}=0x1 +phy_chain_tx_polarity_flip_physical{6.0}=0x0 +phy_chain_tx_polarity_flip_physical{7.0}=0x1 +phy_chain_tx_polarity_flip_physical{8.0}=0x1 + +dport_map_port_13=11 +dport_map_port_14=10 +dport_map_port_15=12 +dport_map_port_16=8 +portmap_13=13:25 +portmap_14=14:25 +portmap_15=15:25 +portmap_16=16:25 +phy_chain_rx_lane_map_physical{13.0}=0x3012 +phy_chain_rx_lane_map_physical{14.0}=0x3012 +phy_chain_rx_lane_map_physical{15.0}=0x3012 +phy_chain_rx_lane_map_physical{16.0}=0x3012 +phy_chain_tx_lane_map_physical{13.0}=0x3210 +phy_chain_tx_lane_map_physical{14.0}=0x3210 +phy_chain_tx_lane_map_physical{15.0}=0x3210 +phy_chain_tx_lane_map_physical{16.0}=0x3210 +phy_chain_rx_polarity_flip_physical{13.0}=0x1 +phy_chain_rx_polarity_flip_physical{14.0}=0x1 +phy_chain_rx_polarity_flip_physical{15.0}=0x1 +phy_chain_rx_polarity_flip_physical{16.0}=0x1 +phy_chain_tx_polarity_flip_physical{13.0}=0x0 +phy_chain_tx_polarity_flip_physical{14.0}=0x0 +phy_chain_tx_polarity_flip_physical{15.0}=0x0 +phy_chain_tx_polarity_flip_physical{16.0}=0x1 + +dport_map_port_21=18 +dport_map_port_22=14 +dport_map_port_23=13 +dport_map_port_24=15 +portmap_21=21:25 +portmap_22=22:25 +portmap_23=23:25 +portmap_24=24:25 +phy_chain_rx_lane_map_physical{21.0}=0x1230 +phy_chain_rx_lane_map_physical{22.0}=0x1230 +phy_chain_rx_lane_map_physical{23.0}=0x1230 +phy_chain_rx_lane_map_physical{24.0}=0x1230 +phy_chain_tx_lane_map_physical{21.0}=0x3210 +phy_chain_tx_lane_map_physical{22.0}=0x3210 +phy_chain_tx_lane_map_physical{23.0}=0x3210 +phy_chain_tx_lane_map_physical{24.0}=0x3210 +phy_chain_rx_polarity_flip_physical{21.0}=0x0 +phy_chain_rx_polarity_flip_physical{22.0}=0x0 +phy_chain_rx_polarity_flip_physical{23.0}=0x0 +phy_chain_rx_polarity_flip_physical{24.0}=0x0 +phy_chain_tx_polarity_flip_physical{21.0}=0x0 +phy_chain_tx_polarity_flip_physical{22.0}=0x1 +phy_chain_tx_polarity_flip_physical{23.0}=0x1 +phy_chain_tx_polarity_flip_physical{24.0}=0x1 + +dport_map_port_29=19 +dport_map_port_30=21 +dport_map_port_31=17 +dport_map_port_32=16 +portmap_29=29:25 +portmap_30=30:25 +portmap_31=31:25 +portmap_32=32:25 +phy_chain_rx_lane_map_physical{29.0}=0x3210 +phy_chain_rx_lane_map_physical{30.0}=0x3210 +phy_chain_rx_lane_map_physical{31.0}=0x3210 +phy_chain_rx_lane_map_physical{32.0}=0x3210 +phy_chain_tx_lane_map_physical{29.0}=0x3210 +phy_chain_tx_lane_map_physical{30.0}=0x3210 +phy_chain_tx_lane_map_physical{31.0}=0x3210 +phy_chain_tx_lane_map_physical{32.0}=0x3210 +phy_chain_rx_polarity_flip_physical{29.0}=0x1 +phy_chain_rx_polarity_flip_physical{30.0}=0x0 +phy_chain_rx_polarity_flip_physical{31.0}=0x1 +phy_chain_rx_polarity_flip_physical{32.0}=0x0 +phy_chain_tx_polarity_flip_physical{29.0}=0x1 +phy_chain_tx_polarity_flip_physical{30.0}=0x1 +phy_chain_tx_polarity_flip_physical{31.0}=0x0 +phy_chain_tx_polarity_flip_physical{32.0}=0x0 + +dport_map_port_33=23 +dport_map_port_34=22 +dport_map_port_35=24 +dport_map_port_36=20 +portmap_33=33:25 +portmap_34=34:25 +portmap_35=35:25 +portmap_36=36:25 +phy_chain_rx_lane_map_physical{33.0}=0x3012 +phy_chain_rx_lane_map_physical{34.0}=0x3012 +phy_chain_rx_lane_map_physical{35.0}=0x3012 +phy_chain_rx_lane_map_physical{36.0}=0x3012 +phy_chain_tx_lane_map_physical{33.0}=0x3210 +phy_chain_tx_lane_map_physical{34.0}=0x3210 +phy_chain_tx_lane_map_physical{35.0}=0x3210 +phy_chain_tx_lane_map_physical{36.0}=0x3210 +phy_chain_rx_polarity_flip_physical{33.0}=0x1 +phy_chain_rx_polarity_flip_physical{34.0}=0x1 +phy_chain_rx_polarity_flip_physical{35.0}=0x1 +phy_chain_rx_polarity_flip_physical{36.0}=0x1 +phy_chain_tx_polarity_flip_physical{33.0}=0x0 +phy_chain_tx_polarity_flip_physical{34.0}=0x0 +phy_chain_tx_polarity_flip_physical{35.0}=0x0 +phy_chain_tx_polarity_flip_physical{36.0}=0x1 + +dport_map_port_41=30 +dport_map_port_42=26 +dport_map_port_43=25 +dport_map_port_44=27 +portmap_41=41:25 +portmap_42=42:25 +portmap_43=43:25 +portmap_44=44:25 +phy_chain_rx_lane_map_physical{41.0}=0x1230 +phy_chain_rx_lane_map_physical{42.0}=0x1230 +phy_chain_rx_lane_map_physical{43.0}=0x1230 +phy_chain_rx_lane_map_physical{44.0}=0x1230 +phy_chain_tx_lane_map_physical{41.0}=0x3210 +phy_chain_tx_lane_map_physical{42.0}=0x3210 +phy_chain_tx_lane_map_physical{43.0}=0x3210 +phy_chain_tx_lane_map_physical{44.0}=0x3210 +phy_chain_rx_polarity_flip_physical{41.0}=0x1 +phy_chain_rx_polarity_flip_physical{42.0}=0x0 +phy_chain_rx_polarity_flip_physical{43.0}=0x0 +phy_chain_rx_polarity_flip_physical{44.0}=0x0 +phy_chain_tx_polarity_flip_physical{41.0}=0x0 +phy_chain_tx_polarity_flip_physical{42.0}=0x1 +phy_chain_tx_polarity_flip_physical{43.0}=0x1 +phy_chain_tx_polarity_flip_physical{44.0}=0x1 + +dport_map_port_49=31 +dport_map_port_50=33 +dport_map_port_51=29 +dport_map_port_52=28 +portmap_49=49:25 +portmap_50=50:25 +portmap_51=51:25 +portmap_52=52:25 +phy_chain_rx_lane_map_physical{49.0}=0x3210 +phy_chain_rx_lane_map_physical{50.0}=0x3210 +phy_chain_rx_lane_map_physical{51.0}=0x3210 +phy_chain_rx_lane_map_physical{52.0}=0x3210 +phy_chain_tx_lane_map_physical{49.0}=0x3210 +phy_chain_tx_lane_map_physical{50.0}=0x3210 +phy_chain_tx_lane_map_physical{51.0}=0x3210 +phy_chain_tx_lane_map_physical{52.0}=0x3210 +phy_chain_rx_polarity_flip_physical{49.0}=0x0 +phy_chain_rx_polarity_flip_physical{50.0}=0x0 +phy_chain_rx_polarity_flip_physical{51.0}=0x1 +phy_chain_rx_polarity_flip_physical{52.0}=0x1 +phy_chain_tx_polarity_flip_physical{49.0}=0x1 +phy_chain_tx_polarity_flip_physical{50.0}=0x1 +phy_chain_tx_polarity_flip_physical{51.0}=0x0 +phy_chain_tx_polarity_flip_physical{52.0}=0x0 + +dport_map_port_57=35 +dport_map_port_58=34 +dport_map_port_59=36 +dport_map_port_60=32 +portmap_57=57:25 +portmap_58=58:25 +portmap_59=59:25 +portmap_60=60:25 +phy_chain_rx_lane_map_physical{57.0}=0x3012 +phy_chain_rx_lane_map_physical{58.0}=0x3012 +phy_chain_rx_lane_map_physical{59.0}=0x3012 +phy_chain_rx_lane_map_physical{60.0}=0x3012 +phy_chain_tx_lane_map_physical{57.0}=0x3210 +phy_chain_tx_lane_map_physical{58.0}=0x3210 +phy_chain_tx_lane_map_physical{59.0}=0x3210 +phy_chain_tx_lane_map_physical{60.0}=0x3210 +phy_chain_rx_polarity_flip_physical{57.0}=0x1 +phy_chain_rx_polarity_flip_physical{58.0}=0x1 +phy_chain_rx_polarity_flip_physical{59.0}=0x1 +phy_chain_rx_polarity_flip_physical{60.0}=0x0 +phy_chain_tx_polarity_flip_physical{57.0}=0x0 +phy_chain_tx_polarity_flip_physical{58.0}=0x0 +phy_chain_tx_polarity_flip_physical{59.0}=0x0 +phy_chain_tx_polarity_flip_physical{60.0}=0x1 + +dport_map_port_61=42 +dport_map_port_62=37 +dport_map_port_63=38 +dport_map_port_64=39 +portmap_61=61:25 +portmap_62=62:25 +portmap_63=63:25 +portmap_64=64:25 +phy_chain_rx_lane_map_physical{61.0}=0x2310 +phy_chain_rx_lane_map_physical{62.0}=0x2310 +phy_chain_rx_lane_map_physical{63.0}=0x2310 +phy_chain_rx_lane_map_physical{64.0}=0x2310 +phy_chain_tx_lane_map_physical{61.0}=0x3210 +phy_chain_tx_lane_map_physical{62.0}=0x3210 +phy_chain_tx_lane_map_physical{63.0}=0x3210 +phy_chain_tx_lane_map_physical{64.0}=0x3210 +phy_chain_rx_polarity_flip_physical{61.0}=0x0 +phy_chain_rx_polarity_flip_physical{62.0}=0x0 +phy_chain_rx_polarity_flip_physical{63.0}=0x1 +phy_chain_rx_polarity_flip_physical{64.0}=0x0 +phy_chain_tx_polarity_flip_physical{61.0}=0x0 +phy_chain_tx_polarity_flip_physical{62.0}=0x0 +phy_chain_tx_polarity_flip_physical{63.0}=0x0 +phy_chain_tx_polarity_flip_physical{64.0}=0x1 + +dport_map_port_67=40 +dport_map_port_68=41 +dport_map_port_69=45 +dport_map_port_70=43 +portmap_67=65:25 +portmap_68=66:25 +portmap_69=67:25 +portmap_70=68:25 +phy_chain_rx_lane_map_physical{65.0}=0x3210 +phy_chain_rx_lane_map_physical{66.0}=0x3210 +phy_chain_rx_lane_map_physical{67.0}=0x3210 +phy_chain_rx_lane_map_physical{68.0}=0x3210 +phy_chain_tx_lane_map_physical{65.0}=0x3210 +phy_chain_tx_lane_map_physical{66.0}=0x3210 +phy_chain_tx_lane_map_physical{67.0}=0x3210 +phy_chain_tx_lane_map_physical{68.0}=0x3210 +phy_chain_rx_polarity_flip_physical{65.0}=0x0 +phy_chain_rx_polarity_flip_physical{66.0}=0x0 +phy_chain_rx_polarity_flip_physical{67.0}=0x0 +phy_chain_rx_polarity_flip_physical{68.0}=0x1 +phy_chain_tx_polarity_flip_physical{65.0}=0x0 +phy_chain_tx_polarity_flip_physical{66.0}=0x0 +phy_chain_tx_polarity_flip_physical{67.0}=0x1 +phy_chain_tx_polarity_flip_physical{68.0}=0x1 + +dport_map_port_71=44 +dport_map_port_72=48 +dport_map_port_73=46 +dport_map_port_74=47 +portmap_71=69:25 +portmap_72=70:25 +portmap_73=71:25 +portmap_74=72:25 +phy_chain_rx_lane_map_physical{69.0}=0x1230 +phy_chain_rx_lane_map_physical{70.0}=0x1230 +phy_chain_rx_lane_map_physical{71.0}=0x1230 +phy_chain_rx_lane_map_physical{72.0}=0x1230 +phy_chain_tx_lane_map_physical{69.0}=0x3210 +phy_chain_tx_lane_map_physical{70.0}=0x3210 +phy_chain_tx_lane_map_physical{71.0}=0x3210 +phy_chain_tx_lane_map_physical{72.0}=0x3210 +phy_chain_rx_polarity_flip_physical{69.0}=0x1 +phy_chain_rx_polarity_flip_physical{70.0}=0x1 +phy_chain_rx_polarity_flip_physical{71.0}=0x1 +phy_chain_rx_polarity_flip_physical{72.0}=0x1 +phy_chain_tx_polarity_flip_physical{69.0}=0x1 +phy_chain_tx_polarity_flip_physical{70.0}=0x0 +phy_chain_tx_polarity_flip_physical{71.0}=0x0 +phy_chain_tx_polarity_flip_physical{72.0}=0x0 + +dport_map_port_79=49 +portmap_79=77:100 +phy_chain_rx_lane_map_physical{77.0}=0x2130 +phy_chain_tx_lane_map_physical{77.0}=0x3120 +phy_chain_rx_polarity_flip_physical{77.0}=0x0 +phy_chain_rx_polarity_flip_physical{78.0}=0x0 +phy_chain_rx_polarity_flip_physical{79.0}=0x1 +phy_chain_rx_polarity_flip_physical{80.0}=0x1 +phy_chain_tx_polarity_flip_physical{77.0}=0x0 +phy_chain_tx_polarity_flip_physical{78.0}=0x1 +phy_chain_tx_polarity_flip_physical{79.0}=0x1 +phy_chain_tx_polarity_flip_physical{80.0}=0x1 + +dport_map_port_87=53 +portmap_87=85:100 +phy_chain_rx_lane_map_physical{85.0}=0x1203 +phy_chain_tx_lane_map_physical{85.0}=0x2031 +phy_chain_rx_polarity_flip_physical{85.0}=0x0 +phy_chain_rx_polarity_flip_physical{86.0}=0x0 +phy_chain_rx_polarity_flip_physical{87.0}=0x1 +phy_chain_rx_polarity_flip_physical{88.0}=0x1 +phy_chain_tx_polarity_flip_physical{85.0}=0x0 +phy_chain_tx_polarity_flip_physical{86.0}=0x0 +phy_chain_tx_polarity_flip_physical{87.0}=0x1 +phy_chain_tx_polarity_flip_physical{88.0}=0x1 + +dport_map_port_95=57 +portmap_95=93:100 +phy_chain_rx_lane_map_physical{93.0}=0x2130 +phy_chain_tx_lane_map_physical{93.0}=0x3210 +phy_chain_rx_polarity_flip_physical{93.0}=0x0 +phy_chain_rx_polarity_flip_physical{94.0}=0x0 +phy_chain_rx_polarity_flip_physical{95.0}=0x1 +phy_chain_rx_polarity_flip_physical{96.0}=0x1 +phy_chain_tx_polarity_flip_physical{93.0}=0x1 +phy_chain_tx_polarity_flip_physical{94.0}=0x0 +phy_chain_tx_polarity_flip_physical{95.0}=0x0 +phy_chain_tx_polarity_flip_physical{96.0}=0x1 + +dport_map_port_99=61 +portmap_99=97:100 +phy_chain_rx_lane_map_physical{97.0}=0x1203 +phy_chain_tx_lane_map_physical{97.0}=0x2031 +phy_chain_rx_polarity_flip_physical{97.0}=0x1 +phy_chain_rx_polarity_flip_physical{98.0}=0x1 +phy_chain_rx_polarity_flip_physical{99.0}=0x0 +phy_chain_rx_polarity_flip_physical{100.0}=0x0 +phy_chain_tx_polarity_flip_physical{97.0}=0x0 +phy_chain_tx_polarity_flip_physical{98.0}=0x0 +phy_chain_tx_polarity_flip_physical{99.0}=0x1 +phy_chain_tx_polarity_flip_physical{100.0}=0x1 + +dport_map_port_107=65 +portmap_107=105:100 +phy_chain_rx_lane_map_physical{105.0}=0x2130 +phy_chain_tx_lane_map_physical{105.0}=0x3120 +phy_chain_rx_polarity_flip_physical{105.0}=0x0 +phy_chain_rx_polarity_flip_physical{106.0}=0x0 +phy_chain_rx_polarity_flip_physical{107.0}=0x1 +phy_chain_rx_polarity_flip_physical{108.0}=0x1 +phy_chain_tx_polarity_flip_physical{105.0}=0x0 +phy_chain_tx_polarity_flip_physical{106.0}=0x1 +phy_chain_tx_polarity_flip_physical{107.0}=0x1 +phy_chain_tx_polarity_flip_physical{108.0}=0x1 + +dport_map_port_115=69 +portmap_115=113:100 +phy_chain_rx_lane_map_physical{113.0}=0x1203 +phy_chain_tx_lane_map_physical{113.0}=0x2031 +phy_chain_rx_polarity_flip_physical{113.0}=0x0 +phy_chain_rx_polarity_flip_physical{114.0}=0x0 +phy_chain_rx_polarity_flip_physical{115.0}=0x1 +phy_chain_rx_polarity_flip_physical{116.0}=0x1 +phy_chain_tx_polarity_flip_physical{113.0}=0x0 +phy_chain_tx_polarity_flip_physical{114.0}=0x0 +phy_chain_tx_polarity_flip_physical{115.0}=0x1 +phy_chain_tx_polarity_flip_physical{116.0}=0x1 + +dport_map_port_123=73 +portmap_123=121:100 +phy_chain_rx_lane_map_physical{121.0}=0x2130 +phy_chain_tx_lane_map_physical{121.0}=0x3210 +phy_chain_rx_polarity_flip_physical{121.0}=0x0 +phy_chain_rx_polarity_flip_physical{122.0}=0x1 +phy_chain_rx_polarity_flip_physical{123.0}=0x0 +phy_chain_rx_polarity_flip_physical{124.0}=0x0 +phy_chain_tx_polarity_flip_physical{121.0}=0x1 +phy_chain_tx_polarity_flip_physical{122.0}=0x1 +phy_chain_tx_polarity_flip_physical{123.0}=0x1 +phy_chain_tx_polarity_flip_physical{124.0}=0x0 + +dport_map_port_127=77 +portmap_127=125:100 +phy_chain_rx_lane_map_physical{125.0}=0x1203 +phy_chain_tx_lane_map_physical{125.0}=0x2031 +phy_chain_rx_polarity_flip_physical{125.0}=0x0 +phy_chain_rx_polarity_flip_physical{126.0}=0x0 +phy_chain_rx_polarity_flip_physical{127.0}=0x1 +phy_chain_rx_polarity_flip_physical{128.0}=0x1 +phy_chain_tx_polarity_flip_physical{125.0}=0x1 +phy_chain_tx_polarity_flip_physical{126.0}=0x1 +phy_chain_tx_polarity_flip_physical{127.0}=0x0 +phy_chain_tx_polarity_flip_physical{128.0}=0x0 + +#dport_map_port_130=82 +#dport_map_port_66=81 +#portmap_130=128:10:m +#portmap_66=129:10:m diff --git a/device/accton/x86_64-accton_as7326_56x-r0/installer.conf b/device/accton/x86_64-accton_as7326_56x-r0/installer.conf old mode 100644 new mode 100755 index 9fa12f888545..1a5c9c96921c --- a/device/accton/x86_64-accton_as7326_56x-r0/installer.conf +++ b/device/accton/x86_64-accton_as7326_56x-r0/installer.conf @@ -1,2 +1,2 @@ CONSOLE_SPEED=115200 -ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="tg3.short_preamble=1 tg3.bcm5718s_reset=1" +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="pcie_aspm=off tg3.short_preamble=1 tg3.bcm5718s_reset=1" diff --git a/device/accton/x86_64-accton_as7326_56x-r0/led_proc_init.soc b/device/accton/x86_64-accton_as7326_56x-r0/led_proc_init.soc deleted file mode 100755 index d96b2d00c583..000000000000 --- a/device/accton/x86_64-accton_as7326_56x-r0/led_proc_init.soc +++ /dev/null @@ -1,79 +0,0 @@ -# accton_as7326_56x 48x25G+8x100G SDK port LED macro init SOC -s CMIC_LEDUP0_DATA_RAM 0 -s CMIC_LEDUP1_DATA_RAM 0 - -m CMIC_LEDUP0_PORT_ORDER_REMAP_0_3 REMAP_PORT_0=63 REMAP_PORT_1=63 REMAP_PORT_2=63 REMAP_PORT_3=63 -m CMIC_LEDUP0_PORT_ORDER_REMAP_4_7 REMAP_PORT_4=63 REMAP_PORT_5=63 REMAP_PORT_6=63 REMAP_PORT_7=63 -m CMIC_LEDUP0_PORT_ORDER_REMAP_8_11 REMAP_PORT_8=27 REMAP_PORT_9=26 REMAP_PORT_10=25 REMAP_PORT_11=24 -m CMIC_LEDUP0_PORT_ORDER_REMAP_12_15 REMAP_PORT_12=63 REMAP_PORT_13=63 REMAP_PORT_14=63 REMAP_PORT_15=63 -m CMIC_LEDUP0_PORT_ORDER_REMAP_16_19 REMAP_PORT_16=63 REMAP_PORT_17=63 REMAP_PORT_18=63 REMAP_PORT_19=63 -m CMIC_LEDUP0_PORT_ORDER_REMAP_20_23 REMAP_PORT_20=31 REMAP_PORT_21=30 REMAP_PORT_22=29 REMAP_PORT_23=28 -m CMIC_LEDUP0_PORT_ORDER_REMAP_24_27 REMAP_PORT_24=15 REMAP_PORT_25=14 REMAP_PORT_26=13 REMAP_PORT_27=12 -m CMIC_LEDUP0_PORT_ORDER_REMAP_28_31 REMAP_PORT_28=19 REMAP_PORT_29=18 REMAP_PORT_30=17 REMAP_PORT_31=16 -m CMIC_LEDUP0_PORT_ORDER_REMAP_32_35 REMAP_PORT_32=63 REMAP_PORT_33=63 REMAP_PORT_34=63 REMAP_PORT_35=63 -m CMIC_LEDUP0_PORT_ORDER_REMAP_36_39 REMAP_PORT_36=63 REMAP_PORT_37=63 REMAP_PORT_38=63 REMAP_PORT_39=63 -m CMIC_LEDUP0_PORT_ORDER_REMAP_40_43 REMAP_PORT_40=35 REMAP_PORT_41=34 REMAP_PORT_42=33 REMAP_PORT_43=32 -m CMIC_LEDUP0_PORT_ORDER_REMAP_44_47 REMAP_PORT_44=63 REMAP_PORT_45=63 REMAP_PORT_46=63 REMAP_PORT_47=63 -m CMIC_LEDUP0_PORT_ORDER_REMAP_48_51 REMAP_PORT_48=23 REMAP_PORT_49=22 REMAP_PORT_50=21 REMAP_PORT_51=20 -m CMIC_LEDUP0_PORT_ORDER_REMAP_52_55 REMAP_PORT_52=11 REMAP_PORT_53=10 REMAP_PORT_54=9 REMAP_PORT_55=8 -m CMIC_LEDUP0_PORT_ORDER_REMAP_56_59 REMAP_PORT_56=7 REMAP_PORT_57=6 REMAP_PORT_58=5 REMAP_PORT_59=4 -m CMIC_LEDUP0_PORT_ORDER_REMAP_60_63 REMAP_PORT_60=3 REMAP_PORT_61=2 REMAP_PORT_62=1 REMAP_PORT_63=0 - -m CMIC_LEDUP1_PORT_ORDER_REMAP_0_3 REMAP_PORT_0=19 REMAP_PORT_1=18 REMAP_PORT_2=17 REMAP_PORT_3=16 -m CMIC_LEDUP1_PORT_ORDER_REMAP_4_7 REMAP_PORT_4=23 REMAP_PORT_5=22 REMAP_PORT_6=21 REMAP_PORT_7=20 -m CMIC_LEDUP1_PORT_ORDER_REMAP_8_11 REMAP_PORT_8=3 REMAP_PORT_9=2 REMAP_PORT_10=1 REMAP_PORT_11=0 -m CMIC_LEDUP1_PORT_ORDER_REMAP_12_15 REMAP_PORT_12=63 REMAP_PORT_13=63 REMAP_PORT_14=63 REMAP_PORT_15=63 -m CMIC_LEDUP1_PORT_ORDER_REMAP_16_19 REMAP_PORT_16=7 REMAP_PORT_17=6 REMAP_PORT_18=5 REMAP_PORT_19=4 -m CMIC_LEDUP1_PORT_ORDER_REMAP_20_23 REMAP_PORT_20=11 REMAP_PORT_21=10 REMAP_PORT_22=9 REMAP_PORT_23=8 -m CMIC_LEDUP1_PORT_ORDER_REMAP_24_27 REMAP_PORT_24=63 REMAP_PORT_25=63 REMAP_PORT_26=63 REMAP_PORT_27=63 -m CMIC_LEDUP1_PORT_ORDER_REMAP_28_31 REMAP_PORT_28=63 REMAP_PORT_29=63 REMAP_PORT_30=63 REMAP_PORT_31=63 -m CMIC_LEDUP1_PORT_ORDER_REMAP_32_35 REMAP_PORT_32=15 REMAP_PORT_33=14 REMAP_PORT_34=13 REMAP_PORT_35=12 -m CMIC_LEDUP1_PORT_ORDER_REMAP_36_39 REMAP_PORT_36=27 REMAP_PORT_37=26 REMAP_PORT_38=25 REMAP_PORT_39=24 -m CMIC_LEDUP1_PORT_ORDER_REMAP_40_43 REMAP_PORT_40=63 REMAP_PORT_41=63 REMAP_PORT_42=63 REMAP_PORT_43=63 -m CMIC_LEDUP1_PORT_ORDER_REMAP_44_47 REMAP_PORT_44=63 REMAP_PORT_45=63 REMAP_PORT_46=63 REMAP_PORT_47=63 -m CMIC_LEDUP1_PORT_ORDER_REMAP_48_51 REMAP_PORT_48=31 REMAP_PORT_49=30 REMAP_PORT_50=29 REMAP_PORT_51=28 -m CMIC_LEDUP1_PORT_ORDER_REMAP_52_55 REMAP_PORT_52=35 REMAP_PORT_53=34 REMAP_PORT_54=33 REMAP_PORT_55=32 -m CMIC_LEDUP1_PORT_ORDER_REMAP_56_59 REMAP_PORT_56=63 REMAP_PORT_57=63 REMAP_PORT_58=63 REMAP_PORT_59=63 -m CMIC_LEDUP1_PORT_ORDER_REMAP_60_63 REMAP_PORT_60=63 REMAP_PORT_61=63 REMAP_PORT_62=63 REMAP_PORT_63=63 - -led 0 stop -led 0 prog \ - 02 FD 42 80 02 FF 42 00 02 FE 42 00 02 FA 42 7E \ - 02 FB 42 24 06 F9 D2 00 74 1E 02 F9 42 03 67 AC \ - 67 C3 67 52 86 FE 67 C3 67 52 86 FE 67 C3 67 52 \ - 86 FE 67 C3 67 52 86 FE 06 FB D6 FE 74 1E 86 FC \ - 3E FA 06 FE 88 4A 03 71 4C 67 84 57 67 84 57 67 \ - 98 57 06 FE 88 80 4A 00 27 97 75 4F 90 4A 00 27 \ - 4A 01 27 B7 97 71 69 77 42 06 F9 D6 FC 74 7C 02 \ - F9 4A 07 37 4E 07 02 FC 42 00 4E 07 06 F9 0A 07 \ - 71 4F 77 42 16 FF 06 FD 17 4D DA 07 74 95 12 FF \ - 52 00 86 FD 57 86 FF 57 16 FF 06 FD 07 4D DA 07 \ - 74 A9 12 FF 52 00 86 FD 57 86 FF 57 06 FE C2 FC \ - 98 98 12 F4 50 C2 FC 98 98 F2 F0 14 06 F4 C2 03 \ - 88 77 D1 06 FE C2 FC 98 98 F2 E0 14 06 FE C2 03 \ - 88 18 71 E2 80 18 71 DD 67 98 67 98 57 67 98 67 \ - 84 57 80 18 71 EB 67 84 67 98 57 67 84 67 84 57 \ - 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -led 0 start -led auto on - -led 1 stop -led 1 prog \ - 02 FD 42 80 02 FF 42 00 02 FE 42 00 02 FA 42 7E \ - 02 FB 42 24 06 F9 D2 00 74 1E 02 F9 42 03 67 AC \ - 67 C3 67 52 86 FE 67 C3 67 52 86 FE 67 C3 67 52 \ - 86 FE 67 C3 67 52 86 FE 06 FB D6 FE 74 1E 86 FC \ - 3E FA 06 FE 88 4A 03 71 4C 67 84 57 67 84 57 67 \ - 98 57 06 FE 88 80 4A 00 27 97 75 4F 90 4A 00 27 \ - 4A 01 27 B7 97 71 69 77 42 06 F9 D6 FC 74 7C 02 \ - F9 4A 07 37 4E 07 02 FC 42 00 4E 07 06 F9 0A 07 \ - 71 4F 77 42 16 FF 06 FD 17 4D DA 07 74 95 12 FF \ - 52 00 86 FD 57 86 FF 57 16 FF 06 FD 07 4D DA 07 \ - 74 A9 12 FF 52 00 86 FD 57 86 FF 57 06 FE C2 FC \ - 98 98 12 F4 50 C2 FC 98 98 F2 F0 14 06 F4 C2 03 \ - 88 77 D1 06 FE C2 FC 98 98 F2 E0 14 06 FE C2 03 \ - 88 18 71 E2 80 18 71 DD 67 98 67 98 57 67 98 67 \ - 84 57 80 18 71 EB 67 84 67 98 57 67 84 67 84 57 \ - 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -led 1 start -led auto on