Skip to content

Commit

Permalink
correct the config.bcm or else SAI can not run well
Browse files Browse the repository at this point in the history
  • Loading branch information
sandylicls committed Mar 25, 2022
1 parent 9da2b1b commit 77bfe8c
Showing 1 changed file with 80 additions and 56 deletions.
Original file line number Diff line number Diff line change
@@ -1,66 +1,85 @@
## 48xGE+4x10G+2xHGd[21]
phy_chain_rx_polarity_flip_physical{29.0}=1
bcm_num_cos=8
stable_size=0x5500000
ifp_inports_support_enable=1
ipv6_lpm_128b_enable=0x1
l2xmsg_mode=1
l2_mem_entries=32768
l3_mem_entries=16384
lpm_scaling_enable=0
l3_alpm_enable=0
riot_enable=0
port_flex_enable=1

#Core clock Frequency
core_clock_frequency=266


#GPORT0
portmap_25.0=2:1
portmap_25=2:1
phy_port_primary_and_offset_25=0x0100
portmap_26.0=1:1
portmap_26=1:1
phy_port_primary_and_offset_26=0x0101
portmap_27.0=4:1
portmap_27=4:1
phy_port_primary_and_offset_27=0x0102
portmap_28.0=3:1
portmap_28=3:1
phy_port_primary_and_offset_28=0x0103
portmap_29.0=6:1
portmap_29=6:1
phy_port_primary_and_offset_29=0x0500
portmap_30.0=5:1
portmap_30=5:1
phy_port_primary_and_offset_30=0x0501
portmap_31.0=8:1
portmap_31=8:1
phy_port_primary_and_offset_31=0x0502
portmap_32.0=7:1
portmap_32=7:1
phy_port_primary_and_offset_32=0x0503

#GPORT1
portmap_33.0=10:1
portmap_33=10:1
phy_port_primary_and_offset_33=0x0900
portmap_34.0=9:1
portmap_34=9:1
phy_port_primary_and_offset_34=0x0901
portmap_35.0=12:1
portmap_35=12:1
phy_port_primary_and_offset_35=0x0902
portmap_36.0=11:1
portmap_36=11:1
phy_port_primary_and_offset_36=0x0903
portmap_37.0=14:1
portmap_37=14:1
phy_port_primary_and_offset_37=0x0d00
portmap_38.0=13:1
portmap_38=13:1
phy_port_primary_and_offset_38=0x0d01
portmap_39.0=16:1
portmap_39=16:1
phy_port_primary_and_offset_39=0x0d02
portmap_40.0=15:1
portmap_40=15:1
phy_port_primary_and_offset_40=0x0d03

#GPORT2
portmap_41.0=18:1
portmap_41=18:1
phy_port_primary_and_offset_41=0x1101
portmap_42.0=17:1
portmap_42=17:1
phy_port_primary_and_offset_42=0x1100
portmap_43.0=20:1
portmap_43=20:1
phy_port_primary_and_offset_43=0x1103
portmap_44.0=19:1
portmap_44=19:1
phy_port_primary_and_offset_44=0x1102
portmap_45.0=22:1
portmap_45=22:1
phy_port_primary_and_offset_45=0x1501
portmap_46.0=21:1
portmap_46=21:1
phy_port_primary_and_offset_46=0x1500
portmap_47.0=24:1
portmap_47=24:1
phy_port_primary_and_offset_47=0x1503
portmap_48.0=23:1
portmap_48=23:1
phy_port_primary_and_offset_48=0x1502

#PM4x10Q0
portmap_1.0=26:1
portmap_2.0=25:1
portmap_3.0=28:1
portmap_4.0=27:1
portmap_5.0=30:1
portmap_6.0=29:1
portmap_7.0=32:1
portmap_8.0=31:1
port_gmii_mode{25}=1
portmap_1=26:1
portmap_2=25:1
portmap_3=28:1
portmap_4=27:1
portmap_5=30:1
portmap_6=29:1
portmap_7=32:1
portmap_8=31:1
phy_port_primary_and_offset_2=0x1900
phy_port_primary_and_offset_1=0x1901
phy_port_primary_and_offset_4=0x1902
Expand All @@ -78,14 +97,14 @@ port_phy_addr_5=0x06
port_phy_addr_8=0x07
port_phy_addr_7=0x08

portmap_9.0=34:1
portmap_10.0=33:1
portmap_11.0=36:1
portmap_12.0=35:1
portmap_13.0=38:1
portmap_14.0=37:1
portmap_15.0=40:1
portmap_16.0=39:1
portmap_9=34:1
portmap_10=33:1
portmap_11=36:1
portmap_12=35:1
portmap_13=38:1
portmap_14=37:1
portmap_15=40:1
portmap_16=39:1

phy_port_primary_and_offset_10=0x2100
phy_port_primary_and_offset_9=0x2101
Expand All @@ -105,14 +124,15 @@ port_phy_addr_16=0x30
port_phy_addr_15=0x31

#PM4x10Q1
portmap_17.0=42:1
portmap_18.0=41:1
portmap_19.0=44:1
portmap_20.0=43:1
portmap_21.0=50:1
portmap_22.0=49:1
portmap_23.0=52:1
portmap_24.0=51:1
port_gmii_mode{41}=1
portmap_17=42:1
portmap_18=41:1
portmap_19=44:1
portmap_20=43:1
portmap_21=50:1
portmap_22=49:1
portmap_23=52:1
portmap_24=51:1

phy_port_primary_and_offset_18=0x2900
phy_port_primary_and_offset_17=0x2901
Expand All @@ -132,14 +152,18 @@ port_phy_addr_24=0x59
port_phy_addr_23=0x5a

#PM4x25
portmap_49.0=60:10
portmap_50.0=58:10
portmap_51.0=59:10
portmap_52.0=57:10
portmap_49=60:10
portmap_50=58:10
portmap_51=59:10
portmap_52=57:10

##PM4x10HG
portmap_53.0=62:10
portmap_54.0=64:10
portmap_55.0=61:10
portmap_56.0=63:10
portmap_53=62:10
portmap_54=64:10
portmap_55=61:10
portmap_56=63:10


pbmp_xport_xe=0x01FFFFFFFFFFFFFE

#

0 comments on commit 77bfe8c

Please sign in to comment.