diff --git a/.gitmodules b/.gitmodules index 7419536b2650..6584f079bcf5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -34,7 +34,7 @@ url = https://github.com/p4lang/ptf.git [submodule "src/sonic-utilities"] path = src/sonic-utilities - url = https://github.com/project-arlo/sonic-utilities.git + url = https://github.com/Azure/sonic-utilities [submodule "platform/broadcom/sonic-platform-modules-arista"] path = platform/broadcom/sonic-platform-modules-arista url = https://github.com/aristanetworks/sonic @@ -68,7 +68,7 @@ url = https://github.com/Mellanox/SAI-Implementation [submodule "src/sonic-mgmt-framework"] path = src/sonic-mgmt-framework - url = https://github.com/project-arlo/sonic-mgmt-framework.git + url = https://github.com/Azure/sonic-mgmt-framework [submodule "src/telemetry"] - path = src/telemetry - url = https://github.com/project-arlo/sonic-telemetry.git + path = src/sonic-telemetry + url = https://github.com/Azure/sonic-telemetry diff --git a/Makefile.work b/Makefile.work index a0cfb7f7f6ba..389f3f7c831f 100644 --- a/Makefile.work +++ b/Makefile.work @@ -100,7 +100,6 @@ endif DOCKER_RUN := docker run --rm=true --privileged \ -v $(DOCKER_BUILDER_MOUNT) \ -w $(DOCKER_BUILDER_WORKDIR) \ - --tmpfs /fsroot:exec,dev \ -e "http_proxy=$(http_proxy)" \ -e "https_proxy=$(https_proxy)" \ -i$(if $(TERM),t,) diff --git a/build_debian.sh b/build_debian.sh index 8f929d63fbb8..9ff6fa019dfb 100755 --- a/build_debian.sh +++ b/build_debian.sh @@ -35,7 +35,7 @@ DOCKER_VERSION=5:18.09.8~3-0~debian-stretch LINUX_KERNEL_VERSION=4.9.0-9-2 ## Working directory to prepare the file system -FILESYSTEM_ROOT=/fsroot +FILESYSTEM_ROOT=./fsroot PLATFORM_DIR=platform ## Hostname for the linux image HOSTNAME=sonic @@ -58,8 +58,9 @@ DEFAULT_USERINFO="Default admin user,,," ## Prepare the file system directory if [[ -d $FILESYSTEM_ROOT ]]; then - sudo chown $(id -nu):$(id -ng) $FILESYSTEM_ROOT || die "Failed to own chroot directory" + sudo rm -rf $FILESYSTEM_ROOT || die "Failed to clean chroot directory" fi +mkdir -p $FILESYSTEM_ROOT mkdir -p $FILESYSTEM_ROOT/$PLATFORM_DIR mkdir -p $FILESYSTEM_ROOT/$PLATFORM_DIR/x86_64-grub touch $FILESYSTEM_ROOT/$PLATFORM_DIR/firsttime @@ -460,7 +461,8 @@ fi ## Organization specific extensions such as Configuration & Scripts for features like AAA, ZTP... if [ "${enable_organization_extensions}" = "y" ]; then - if [ -x files/build_templates/organization_extensions.sh ]; then + if [ -f files/build_templates/organization_extensions.sh ]; then + sudo chmod 755 files/build_templates/organization_extensions.sh ./files/build_templates/organization_extensions.sh -f $FILESYSTEM_ROOT -h $HOSTNAME fi fi @@ -526,19 +528,16 @@ fi sudo mkdir $FILESYSTEM_ROOT/host ## Compress most file system into squashfs file -rm -f $ONIE_INSTALLER_PAYLOAD $FILESYSTEM_SQUASHFS +sudo rm -f $ONIE_INSTALLER_PAYLOAD $FILESYSTEM_SQUASHFS ## Output the file system total size for diag purpose ## Note: -x to skip directories on different file systems, such as /proc sudo du -hsx $FILESYSTEM_ROOT sudo mkdir -p $FILESYSTEM_ROOT/var/lib/docker -sudo mksquashfs $FILESYSTEM_ROOT /tmp/$FILESYSTEM_SQUASHFS -e boot -e var/lib/docker -e $PLATFORM_DIR -cp /tmp/$FILESYSTEM_SQUASHFS $FILESYSTEM_SQUASHFS +sudo mksquashfs $FILESYSTEM_ROOT $FILESYSTEM_SQUASHFS -e boot -e var/lib/docker -e $PLATFORM_DIR ## Compress docker files -pushd $FILESYSTEM_ROOT && sudo tar czf /tmp/$FILESYSTEM_DOCKERFS -C ${DOCKERFS_PATH}var/lib/docker .; popd -cp /tmp/$FILESYSTEM_DOCKERFS $FILESYSTEM_DOCKERFS +pushd $FILESYSTEM_ROOT && sudo tar czf $OLDPWD/$FILESYSTEM_DOCKERFS -C ${DOCKERFS_PATH}var/lib/docker .; popd ## Compress together with /boot, /var/lib/docker and $PLATFORM_DIR as an installer payload zip file -pushd $FILESYSTEM_ROOT && sudo zip /tmp/$ONIE_INSTALLER_PAYLOAD -r boot/ $PLATFORM_DIR/; popd -sudo zip -g /tmp/$ONIE_INSTALLER_PAYLOAD $FILESYSTEM_SQUASHFS $FILESYSTEM_DOCKERFS -cp /tmp/$ONIE_INSTALLER_PAYLOAD $ONIE_INSTALLER_PAYLOAD +pushd $FILESYSTEM_ROOT && sudo zip $OLDPWD/$ONIE_INSTALLER_PAYLOAD -r boot/ $PLATFORM_DIR/; popd +sudo zip -g $ONIE_INSTALLER_PAYLOAD $FILESYSTEM_SQUASHFS $FILESYSTEM_DOCKERFS diff --git a/device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-10G/td3-s5232f-96x10G-8x100G.config.bcm b/device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-10G/td3-s5232f-96x10G-8x100G.config.bcm deleted file mode 100644 index cd7dfd2fea5f..000000000000 --- a/device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-10G/td3-s5232f-96x10G-8x100G.config.bcm +++ /dev/null @@ -1,618 +0,0 @@ -os=unix - -core_clock_frequency=1525 -dpp_clock_ratio=2:3 - -parity_enable=1 -parity_correction=1 -tdma_intr_enable=1 -schan_intr_enable=0 -tdma_intr_enable=1 -miim_intr_enable=1 -stat_if_parity_enable=1 - -port_flex_enable=1 -port_flex_enable_66=0 -port_flex_enable_130=0 -phy_an_c73=3 -phy_an_c73_66=0 -phy_an_c73_130=0 - -module_64ports=0 -table_dma_enable=1 -tdma_timeout_usec=5000000 -mmu_lossless=0 -pdma_descriptor_prefetch_enable=1 -pktdma_poll_mode_channel_bitmap=1 - -l2xmsg_mode=1 -l2xmsg_hostbuf_size=8192 -ipv6_lpm_128b_enable=1 -max_vp_lags=0 - -l3_alpm_enable=2 -l2_mem_entries=32768 -l3_mem_entries=16384 -l3_max_ecmp_mode=1 - -bcm_tunnel_term_compatible_mode=1 -ifp_inports_support_enable=1 -mmu_init_config="MSFT-TD3-Tier1" - -stable_size=0x5500000 - -oversubscribe_mode=1 -pbmp_oversubscribe=0x6fffffffffffffffdfffffffffffffffe -pbmp_xport_xe=0x6fffffffffffffffdfffffffffffffffe - - -portmap_1.0=1:10:1 -portmap_2.0=2:10:1 -portmap_3.0=3:10:1 -portmap_4.0=4:10:1 -portmap_5.0=5:10:1 -portmap_6.0=6:10:1 -portmap_7.0=7:10:1 -portmap_8.0=8:10:1 -portmap_9.0=9:10:1 -portmap_10.0=10:10:1 -portmap_11.0=11:10:1 -portmap_12.0=12:10:1 -portmap_13.0=13:10:1 -portmap_14.0=14:10:1 -portmap_15.0=15:10:1 -portmap_16.0=16:10:1 -portmap_17.0=17:10:1 -portmap_18.0=18:10:1 -portmap_19.0=19:10:1 -portmap_20.0=20:10:1 -portmap_21.0=21:10:1 -portmap_22.0=22:10:1 -portmap_23.0=23:10:1 -portmap_24.0=24:10:1 -portmap_25.0=25:10:1 -portmap_26.0=26:10:1 -portmap_27.0=27:10:1 -portmap_28.0=28:10:1 -portmap_29.0=29:10:1 -portmap_30.0=30:10:1 -portmap_31.0=31:10:1 -portmap_32.0=32:10:1 -portmap_33.0=33:10:1 -portmap_34.0=34:10:1 -portmap_35.0=35:10:1 -portmap_36.0=36:10:1 -portmap_37.0=37:10:1 -portmap_38.0=38:10:1 -portmap_39.0=39:10:1 -portmap_40.0=40:10:1 -portmap_41.0=41:10:1 -portmap_42.0=42:10:1 -portmap_43.0=43:10:1 -portmap_44.0=44:10:1 -portmap_45.0=45:10:1 -portmap_46.0=46:10:1 -portmap_47.0=47:10:1 -portmap_48.0=48:10:1 -portmap_49.0=49:10:1 -portmap_50.0=50:10:1 -portmap_51.0=51:10:1 -portmap_52.0=52:10:1 -portmap_53.0=53:10:1 -portmap_54.0=54:10:1 -portmap_55.0=55:10:1 -portmap_56.0=56:10:1 -portmap_57.0=57:10:1 -portmap_58.0=58:10:1 -portmap_59.0=59:10:1 -portmap_60.0=60:10:1 -portmap_61.0=61:10:1 -portmap_62.0=62:10:1 -portmap_63.0=63:10:1 -portmap_64.0=64:10:1 - -portmap_67.0=65:10:1 -portmap_68.0=66:10:1 -portmap_69.0=67:10:1 -portmap_70.0=68:10:1 -portmap_71.0=69:10:1 -portmap_72.0=70:10:1 -portmap_73.0=71:10:1 -portmap_74.0=72:10:1 -portmap_75.0=73:10:1 -portmap_76.0=74:10:1 -portmap_77.0=75:10:1 -portmap_78.0=76:10:1 -portmap_79.0=77:10:1 -portmap_80.0=78:10:1 -portmap_81.0=79:10:1 -portmap_82.0=80:10:1 -portmap_83.0=81:10:1 -portmap_84.0=82:10:1 -portmap_85.0=83:10:1 -portmap_86.0=84:10:1 -portmap_87.0=85:10:1 -portmap_88.0=86:10:1 -portmap_89.0=87:10:1 -portmap_90.0=88:10:1 -portmap_91.0=89:10:1 -portmap_92.0=90:10:1 -portmap_93.0=91:10:1 -portmap_94.0=92:10:1 -portmap_95.0=93:10:1 -portmap_96.0=94:10:1 -portmap_97.0=95:10:1 -portmap_98.0=96:10:1 -portmap_99.0=97:100 -portmap_103.0=101:100 -portmap_107.0=105:100 -portmap_111.0=109:100 -portmap_115.0=113:100 -portmap_119.0=117:100 -portmap_123.0=121:100 -portmap_127.0=125:100 -portmap_130.0=128:10:m -portmap_66.0=129:10:m -phy_chain_tx_lane_map_physical{1.0}=0x0132 -phy_chain_rx_lane_map_physical{1.0}=0x3210 -phy_chain_tx_lane_map_physical{5.0}=0x2301 -phy_chain_rx_lane_map_physical{5.0}=0x2031 -phy_chain_tx_lane_map_physical{9.0}=0x0132 -phy_chain_rx_lane_map_physical{9.0}=0x3210 -phy_chain_tx_lane_map_physical{13.0}=0x3201 -phy_chain_rx_lane_map_physical{13.0}=0x2031 -phy_chain_tx_lane_map_physical{17.0}=0x0123 -phy_chain_rx_lane_map_physical{17.0}=0x3210 -phy_chain_tx_lane_map_physical{21.0}=0x2301 -phy_chain_rx_lane_map_physical{21.0}=0x2031 -phy_chain_tx_lane_map_physical{25.0}=0x0123 -phy_chain_rx_lane_map_physical{25.0}=0x3210 -phy_chain_tx_lane_map_physical{29.0}=0x3201 -phy_chain_rx_lane_map_physical{29.0}=0x2031 -phy_chain_tx_lane_map_physical{33.0}=0x0213 -phy_chain_rx_lane_map_physical{33.0}=0x1302 -phy_chain_tx_lane_map_physical{37.0}=0x1302 -phy_chain_rx_lane_map_physical{37.0}=0x2031 -phy_chain_tx_lane_map_physical{41.0}=0x0231 -phy_chain_rx_lane_map_physical{41.0}=0x3120 -phy_chain_tx_lane_map_physical{45.0}=0x1302 -phy_chain_rx_lane_map_physical{45.0}=0x2031 -phy_chain_tx_lane_map_physical{49.0}=0x2103 -phy_chain_rx_lane_map_physical{49.0}=0x3120 -phy_chain_tx_lane_map_physical{53.0}=0x2301 -phy_chain_rx_lane_map_physical{53.0}=0x2031 -phy_chain_tx_lane_map_physical{57.0}=0x0123 -phy_chain_rx_lane_map_physical{57.0}=0x2301 -phy_chain_tx_lane_map_physical{61.0}=0x3210 -phy_chain_rx_lane_map_physical{61.0}=0x1032 -phy_chain_tx_lane_map_physical{65.0}=0x3210 -phy_chain_rx_lane_map_physical{65.0}=0x1023 -phy_chain_tx_lane_map_physical{69.0}=0x0123 -phy_chain_rx_lane_map_physical{69.0}=0x1302 -phy_chain_tx_lane_map_physical{73.0}=0x2301 -phy_chain_rx_lane_map_physical{73.0}=0x1032 -phy_chain_tx_lane_map_physical{77.0}=0x2013 -phy_chain_rx_lane_map_physical{77.0}=0x3120 -phy_chain_tx_lane_map_physical{81.0}=0x1302 -phy_chain_rx_lane_map_physical{81.0}=0x2031 -phy_chain_tx_lane_map_physical{85.0}=0x0123 -phy_chain_rx_lane_map_physical{85.0}=0x2130 -phy_chain_tx_lane_map_physical{89.0}=0x2301 -phy_chain_rx_lane_map_physical{89.0}=0x2031 -phy_chain_tx_lane_map_physical{93.0}=0x0312 -phy_chain_rx_lane_map_physical{93.0}=0x2310 -phy_chain_tx_lane_map_physical{97.0}=0x2301 -phy_chain_rx_lane_map_physical{97.0}=0x1032 -phy_chain_tx_lane_map_physical{101.0}=0x0123 -phy_chain_rx_lane_map_physical{101.0}=0x3210 -phy_chain_tx_lane_map_physical{105.0}=0x2301 -phy_chain_rx_lane_map_physical{105.0}=0x1032 -phy_chain_tx_lane_map_physical{109.0}=0x0123 -phy_chain_rx_lane_map_physical{109.0}=0x3210 -phy_chain_tx_lane_map_physical{113.0}=0x2301 -phy_chain_rx_lane_map_physical{113.0}=0x2031 -phy_chain_tx_lane_map_physical{117.0}=0x0123 -phy_chain_rx_lane_map_physical{117.0}=0x3210 -phy_chain_tx_lane_map_physical{121.0}=0x2301 -phy_chain_rx_lane_map_physical{121.0}=0x1032 -phy_chain_tx_lane_map_physical{125.0}=0x0123 -phy_chain_rx_lane_map_physical{125.0}=0x3210 -phy_chain_tx_lane_map_physical{129.0}=0x3210 -phy_chain_rx_lane_map_physical{129.0}=0x0231 -phy_chain_tx_lane_map_physical{128.0}=0x3210 -phy_chain_rx_lane_map_physical{128.0}=0x0231 -phy_chain_tx_polarity_flip_physical{1.0}=0x0 -phy_chain_rx_polarity_flip_physical{1.0}=0x0 -phy_chain_tx_polarity_flip_physical{2.0}=0x0 -phy_chain_rx_polarity_flip_physical{2.0}=0x1 -phy_chain_tx_polarity_flip_physical{3.0}=0x0 -phy_chain_rx_polarity_flip_physical{3.0}=0x0 -phy_chain_tx_polarity_flip_physical{4.0}=0x1 -phy_chain_rx_polarity_flip_physical{4.0}=0x1 -phy_chain_tx_polarity_flip_physical{5.0}=0x0 -phy_chain_rx_polarity_flip_physical{5.0}=0x0 -phy_chain_tx_polarity_flip_physical{6.0}=0x1 -phy_chain_rx_polarity_flip_physical{6.0}=0x1 -phy_chain_tx_polarity_flip_physical{7.0}=0x0 -phy_chain_rx_polarity_flip_physical{7.0}=0x1 -phy_chain_tx_polarity_flip_physical{8.0}=0x1 -phy_chain_rx_polarity_flip_physical{8.0}=0x1 -phy_chain_tx_polarity_flip_physical{9.0}=0x0 -phy_chain_rx_polarity_flip_physical{9.0}=0x0 -phy_chain_tx_polarity_flip_physical{10.0}=0x0 -phy_chain_rx_polarity_flip_physical{10.0}=0x1 -phy_chain_tx_polarity_flip_physical{11.0}=0x0 -phy_chain_rx_polarity_flip_physical{11.0}=0x0 -phy_chain_tx_polarity_flip_physical{12.0}=0x1 -phy_chain_rx_polarity_flip_physical{12.0}=0x1 -phy_chain_tx_polarity_flip_physical{13.0}=0x0 -phy_chain_rx_polarity_flip_physical{13.0}=0x0 -phy_chain_tx_polarity_flip_physical{14.0}=0x1 -phy_chain_rx_polarity_flip_physical{14.0}=0x1 -phy_chain_tx_polarity_flip_physical{15.0}=0x0 -phy_chain_rx_polarity_flip_physical{15.0}=0x1 -phy_chain_tx_polarity_flip_physical{16.0}=0x0 -phy_chain_rx_polarity_flip_physical{16.0}=0x1 -phy_chain_tx_polarity_flip_physical{17.0}=0x0 -phy_chain_rx_polarity_flip_physical{17.0}=0x0 -phy_chain_tx_polarity_flip_physical{18.0}=0x1 -phy_chain_rx_polarity_flip_physical{18.0}=0x1 -phy_chain_tx_polarity_flip_physical{19.0}=0x0 -phy_chain_rx_polarity_flip_physical{19.0}=0x0 -phy_chain_tx_polarity_flip_physical{20.0}=0x1 -phy_chain_rx_polarity_flip_physical{20.0}=0x1 -phy_chain_tx_polarity_flip_physical{21.0}=0x0 -phy_chain_rx_polarity_flip_physical{21.0}=0x0 -phy_chain_tx_polarity_flip_physical{22.0}=0x1 -phy_chain_rx_polarity_flip_physical{22.0}=0x1 -phy_chain_tx_polarity_flip_physical{23.0}=0x0 -phy_chain_rx_polarity_flip_physical{23.0}=0x1 -phy_chain_tx_polarity_flip_physical{24.0}=0x1 -phy_chain_rx_polarity_flip_physical{24.0}=0x1 -phy_chain_tx_polarity_flip_physical{25.0}=0x0 -phy_chain_rx_polarity_flip_physical{25.0}=0x1 -phy_chain_tx_polarity_flip_physical{26.0}=0x1 -phy_chain_rx_polarity_flip_physical{26.0}=0x0 -phy_chain_tx_polarity_flip_physical{27.0}=0x0 -phy_chain_rx_polarity_flip_physical{27.0}=0x1 -phy_chain_tx_polarity_flip_physical{28.0}=0x1 -phy_chain_rx_polarity_flip_physical{28.0}=0x0 -phy_chain_tx_polarity_flip_physical{29.0}=0x1 -phy_chain_rx_polarity_flip_physical{29.0}=0x1 -phy_chain_tx_polarity_flip_physical{30.0}=0x1 -phy_chain_rx_polarity_flip_physical{30.0}=0x0 -phy_chain_tx_polarity_flip_physical{31.0}=0x0 -phy_chain_rx_polarity_flip_physical{31.0}=0x0 -phy_chain_tx_polarity_flip_physical{32.0}=0x0 -phy_chain_rx_polarity_flip_physical{32.0}=0x0 -phy_chain_tx_polarity_flip_physical{33.0}=0x1 -phy_chain_rx_polarity_flip_physical{33.0}=0x1 -phy_chain_tx_polarity_flip_physical{34.0}=0x0 -phy_chain_rx_polarity_flip_physical{34.0}=0x0 -phy_chain_tx_polarity_flip_physical{35.0}=0x0 -phy_chain_rx_polarity_flip_physical{35.0}=0x0 -phy_chain_tx_polarity_flip_physical{36.0}=0x1 -phy_chain_rx_polarity_flip_physical{36.0}=0x0 -phy_chain_tx_polarity_flip_physical{37.0}=0x1 -phy_chain_rx_polarity_flip_physical{37.0}=0x1 -phy_chain_tx_polarity_flip_physical{38.0}=0x1 -phy_chain_rx_polarity_flip_physical{38.0}=0x0 -phy_chain_tx_polarity_flip_physical{39.0}=0x1 -phy_chain_rx_polarity_flip_physical{39.0}=0x0 -phy_chain_tx_polarity_flip_physical{40.0}=0x0 -phy_chain_rx_polarity_flip_physical{40.0}=0x1 -phy_chain_tx_polarity_flip_physical{41.0}=0x1 -phy_chain_rx_polarity_flip_physical{41.0}=0x1 -phy_chain_tx_polarity_flip_physical{42.0}=0x0 -phy_chain_rx_polarity_flip_physical{42.0}=0x1 -phy_chain_tx_polarity_flip_physical{43.0}=0x1 -phy_chain_rx_polarity_flip_physical{43.0}=0x0 -phy_chain_tx_polarity_flip_physical{44.0}=0x1 -phy_chain_rx_polarity_flip_physical{44.0}=0x1 -phy_chain_tx_polarity_flip_physical{45.0}=0x1 -phy_chain_rx_polarity_flip_physical{45.0}=0x0 -phy_chain_tx_polarity_flip_physical{46.0}=0x1 -phy_chain_rx_polarity_flip_physical{46.0}=0x0 -phy_chain_tx_polarity_flip_physical{47.0}=0x1 -phy_chain_rx_polarity_flip_physical{47.0}=0x1 -phy_chain_tx_polarity_flip_physical{48.0}=0x0 -phy_chain_rx_polarity_flip_physical{48.0}=0x1 -phy_chain_tx_polarity_flip_physical{49.0}=0x1 -phy_chain_rx_polarity_flip_physical{49.0}=0x0 -phy_chain_tx_polarity_flip_physical{50.0}=0x1 -phy_chain_rx_polarity_flip_physical{50.0}=0x0 -phy_chain_tx_polarity_flip_physical{51.0}=0x0 -phy_chain_rx_polarity_flip_physical{51.0}=0x1 -phy_chain_tx_polarity_flip_physical{52.0}=0x1 -phy_chain_rx_polarity_flip_physical{52.0}=0x1 -phy_chain_tx_polarity_flip_physical{53.0}=0x0 -phy_chain_rx_polarity_flip_physical{53.0}=0x0 -phy_chain_tx_polarity_flip_physical{54.0}=0x1 -phy_chain_rx_polarity_flip_physical{54.0}=0x1 -phy_chain_tx_polarity_flip_physical{55.0}=0x0 -phy_chain_rx_polarity_flip_physical{55.0}=0x1 -phy_chain_tx_polarity_flip_physical{56.0}=0x1 -phy_chain_rx_polarity_flip_physical{56.0}=0x1 -phy_chain_tx_polarity_flip_physical{57.0}=0x1 -phy_chain_rx_polarity_flip_physical{57.0}=0x0 -phy_chain_tx_polarity_flip_physical{58.0}=0x1 -phy_chain_rx_polarity_flip_physical{58.0}=0x1 -phy_chain_tx_polarity_flip_physical{59.0}=0x0 -phy_chain_rx_polarity_flip_physical{59.0}=0x0 -phy_chain_tx_polarity_flip_physical{60.0}=0x1 -phy_chain_rx_polarity_flip_physical{60.0}=0x1 -phy_chain_tx_polarity_flip_physical{61.0}=0x0 -phy_chain_rx_polarity_flip_physical{61.0}=0x1 -phy_chain_tx_polarity_flip_physical{62.0}=0x1 -phy_chain_rx_polarity_flip_physical{62.0}=0x0 -phy_chain_tx_polarity_flip_physical{63.0}=0x0 -phy_chain_rx_polarity_flip_physical{63.0}=0x1 -phy_chain_tx_polarity_flip_physical{64.0}=0x0 -phy_chain_rx_polarity_flip_physical{64.0}=0x0 -phy_chain_tx_polarity_flip_physical{65.0}=0x1 -phy_chain_rx_polarity_flip_physical{65.0}=0x0 -phy_chain_tx_polarity_flip_physical{66.0}=0x0 -phy_chain_rx_polarity_flip_physical{66.0}=0x0 -phy_chain_tx_polarity_flip_physical{67.0}=0x1 -phy_chain_rx_polarity_flip_physical{67.0}=0x1 -phy_chain_tx_polarity_flip_physical{68.0}=0x0 -phy_chain_rx_polarity_flip_physical{68.0}=0x0 -phy_chain_tx_polarity_flip_physical{69.0}=0x1 -phy_chain_rx_polarity_flip_physical{69.0}=0x1 -phy_chain_tx_polarity_flip_physical{70.0}=0x0 -phy_chain_rx_polarity_flip_physical{70.0}=0x0 -phy_chain_tx_polarity_flip_physical{71.0}=0x1 -phy_chain_rx_polarity_flip_physical{71.0}=0x0 -phy_chain_tx_polarity_flip_physical{72.0}=0x0 -phy_chain_rx_polarity_flip_physical{72.0}=0x0 -phy_chain_tx_polarity_flip_physical{73.0}=0x0 -phy_chain_rx_polarity_flip_physical{73.0}=0x1 -phy_chain_tx_polarity_flip_physical{74.0}=0x1 -phy_chain_rx_polarity_flip_physical{74.0}=0x0 -phy_chain_tx_polarity_flip_physical{75.0}=0x0 -phy_chain_rx_polarity_flip_physical{75.0}=0x1 -phy_chain_tx_polarity_flip_physical{76.0}=0x1 -phy_chain_rx_polarity_flip_physical{76.0}=0x0 -phy_chain_tx_polarity_flip_physical{77.0}=0x0 -phy_chain_rx_polarity_flip_physical{77.0}=0x0 -phy_chain_tx_polarity_flip_physical{78.0}=0x0 -phy_chain_rx_polarity_flip_physical{78.0}=0x0 -phy_chain_tx_polarity_flip_physical{79.0}=0x1 -phy_chain_rx_polarity_flip_physical{79.0}=0x1 -phy_chain_tx_polarity_flip_physical{80.0}=0x1 -phy_chain_rx_polarity_flip_physical{80.0}=0x1 -phy_chain_tx_polarity_flip_physical{81.0}=0x0 -phy_chain_rx_polarity_flip_physical{81.0}=0x0 -phy_chain_tx_polarity_flip_physical{82.0}=0x0 -phy_chain_rx_polarity_flip_physical{82.0}=0x0 -phy_chain_tx_polarity_flip_physical{83.0}=0x1 -phy_chain_rx_polarity_flip_physical{83.0}=0x1 -phy_chain_tx_polarity_flip_physical{84.0}=0x1 -phy_chain_rx_polarity_flip_physical{84.0}=0x0 -phy_chain_tx_polarity_flip_physical{85.0}=0x1 -phy_chain_rx_polarity_flip_physical{85.0}=0x1 -phy_chain_tx_polarity_flip_physical{86.0}=0x0 -phy_chain_rx_polarity_flip_physical{86.0}=0x1 -phy_chain_tx_polarity_flip_physical{87.0}=0x1 -phy_chain_rx_polarity_flip_physical{87.0}=0x0 -phy_chain_tx_polarity_flip_physical{88.0}=0x0 -phy_chain_rx_polarity_flip_physical{88.0}=0x0 -phy_chain_tx_polarity_flip_physical{89.0}=0x1 -phy_chain_rx_polarity_flip_physical{89.0}=0x0 -phy_chain_tx_polarity_flip_physical{90.0}=0x0 -phy_chain_rx_polarity_flip_physical{90.0}=0x0 -phy_chain_tx_polarity_flip_physical{91.0}=0x1 -phy_chain_rx_polarity_flip_physical{91.0}=0x1 -phy_chain_tx_polarity_flip_physical{92.0}=0x0 -phy_chain_rx_polarity_flip_physical{92.0}=0x1 -phy_chain_tx_polarity_flip_physical{93.0}=0x1 -phy_chain_rx_polarity_flip_physical{93.0}=0x1 -phy_chain_tx_polarity_flip_physical{94.0}=0x1 -phy_chain_rx_polarity_flip_physical{94.0}=0x1 -phy_chain_tx_polarity_flip_physical{95.0}=0x0 -phy_chain_rx_polarity_flip_physical{95.0}=0x0 -phy_chain_tx_polarity_flip_physical{96.0}=0x0 -phy_chain_rx_polarity_flip_physical{96.0}=0x1 -phy_chain_tx_polarity_flip_physical{97.0}=0x1 -phy_chain_rx_polarity_flip_physical{97.0}=0x1 -phy_chain_tx_polarity_flip_physical{98.0}=0x0 -phy_chain_rx_polarity_flip_physical{98.0}=0x0 -phy_chain_tx_polarity_flip_physical{99.0}=0x1 -phy_chain_rx_polarity_flip_physical{99.0}=0x1 -phy_chain_tx_polarity_flip_physical{100.0}=0x0 -phy_chain_rx_polarity_flip_physical{100.0}=0x0 -phy_chain_tx_polarity_flip_physical{101.0}=0x1 -phy_chain_rx_polarity_flip_physical{101.0}=0x0 -phy_chain_tx_polarity_flip_physical{102.0}=0x0 -phy_chain_rx_polarity_flip_physical{102.0}=0x1 -phy_chain_tx_polarity_flip_physical{103.0}=0x1 -phy_chain_rx_polarity_flip_physical{103.0}=0x0 -phy_chain_tx_polarity_flip_physical{104.0}=0x0 -phy_chain_rx_polarity_flip_physical{104.0}=0x0 -phy_chain_tx_polarity_flip_physical{105.0}=0x1 -phy_chain_rx_polarity_flip_physical{105.0}=0x0 -phy_chain_tx_polarity_flip_physical{106.0}=0x0 -phy_chain_rx_polarity_flip_physical{106.0}=0x1 -phy_chain_tx_polarity_flip_physical{107.0}=0x1 -phy_chain_rx_polarity_flip_physical{107.0}=0x0 -phy_chain_tx_polarity_flip_physical{108.0}=0x0 -phy_chain_rx_polarity_flip_physical{108.0}=0x1 -phy_chain_tx_polarity_flip_physical{109.0}=0x1 -phy_chain_rx_polarity_flip_physical{109.0}=0x1 -phy_chain_tx_polarity_flip_physical{110.0}=0x0 -phy_chain_rx_polarity_flip_physical{110.0}=0x0 -phy_chain_tx_polarity_flip_physical{111.0}=0x1 -phy_chain_rx_polarity_flip_physical{111.0}=0x1 -phy_chain_tx_polarity_flip_physical{112.0}=0x0 -phy_chain_rx_polarity_flip_physical{112.0}=0x0 -phy_chain_tx_polarity_flip_physical{113.0}=0x1 -phy_chain_rx_polarity_flip_physical{113.0}=0x1 -phy_chain_tx_polarity_flip_physical{114.0}=0x0 -phy_chain_rx_polarity_flip_physical{114.0}=0x0 -phy_chain_tx_polarity_flip_physical{115.0}=0x1 -phy_chain_rx_polarity_flip_physical{115.0}=0x0 -phy_chain_tx_polarity_flip_physical{116.0}=0x0 -phy_chain_rx_polarity_flip_physical{116.0}=0x0 -phy_chain_tx_polarity_flip_physical{117.0}=0x1 -phy_chain_rx_polarity_flip_physical{117.0}=0x1 -phy_chain_tx_polarity_flip_physical{118.0}=0x0 -phy_chain_rx_polarity_flip_physical{118.0}=0x0 -phy_chain_tx_polarity_flip_physical{119.0}=0x1 -phy_chain_rx_polarity_flip_physical{119.0}=0x1 -phy_chain_tx_polarity_flip_physical{120.0}=0x0 -phy_chain_rx_polarity_flip_physical{120.0}=0x0 -phy_chain_tx_polarity_flip_physical{121.0}=0x1 -phy_chain_rx_polarity_flip_physical{121.0}=0x0 -phy_chain_tx_polarity_flip_physical{122.0}=0x0 -phy_chain_rx_polarity_flip_physical{122.0}=0x1 -phy_chain_tx_polarity_flip_physical{123.0}=0x1 -phy_chain_rx_polarity_flip_physical{123.0}=0x0 -phy_chain_tx_polarity_flip_physical{124.0}=0x0 -phy_chain_rx_polarity_flip_physical{124.0}=0x1 -phy_chain_tx_polarity_flip_physical{125.0}=0x1 -phy_chain_rx_polarity_flip_physical{125.0}=0x1 -phy_chain_tx_polarity_flip_physical{126.0}=0x0 -phy_chain_rx_polarity_flip_physical{126.0}=0x0 -phy_chain_tx_polarity_flip_physical{127.0}=0x1 -phy_chain_rx_polarity_flip_physical{127.0}=0x1 -phy_chain_tx_polarity_flip_physical{128.0}=0x0 -phy_chain_rx_polarity_flip_physical{128.0}=0x0 -phy_chain_tx_polarity_flip_physical{129.0}=0x1 -phy_chain_rx_polarity_flip_physical{129.0}=0x0 -phy_chain_tx_polarity_flip_physical{130.0}=0x0 -phy_chain_rx_polarity_flip_physical{130.0}=0x0 -phy_chain_tx_polarity_flip_physical{131.0}=0x1 -phy_chain_rx_polarity_flip_physical{131.0}=0x1 -phy_chain_tx_polarity_flip_physical{132.0}=0x0 -phy_chain_rx_polarity_flip_physical{132.0}=0x1 -dport_map_enable=1 -dport_map_port_1=1 -dport_map_port_2=2 -dport_map_port_3=3 -dport_map_port_4=4 -dport_map_port_5=5 -dport_map_port_6=6 -dport_map_port_7=7 -dport_map_port_8=8 -dport_map_port_9=9 -dport_map_port_10=10 -dport_map_port_11=11 -dport_map_port_12=12 -dport_map_port_13=13 -dport_map_port_14=14 -dport_map_port_15=15 -dport_map_port_16=16 -dport_map_port_17=17 -dport_map_port_18=18 -dport_map_port_19=19 -dport_map_port_20=20 -dport_map_port_21=21 -dport_map_port_22=22 -dport_map_port_23=23 -dport_map_port_24=24 -dport_map_port_25=25 -dport_map_port_26=26 -dport_map_port_27=27 -dport_map_port_28=28 -dport_map_port_29=29 -dport_map_port_30=30 -dport_map_port_31=31 -dport_map_port_32=32 -dport_map_port_33=33 -dport_map_port_34=34 -dport_map_port_35=35 -dport_map_port_36=36 -dport_map_port_37=37 -dport_map_port_38=38 -dport_map_port_39=39 -dport_map_port_40=40 -dport_map_port_41=41 -dport_map_port_42=42 -dport_map_port_43=43 -dport_map_port_44=44 -dport_map_port_45=45 -dport_map_port_46=46 -dport_map_port_47=47 -dport_map_port_48=48 -dport_map_port_49=49 -dport_map_port_50=50 -dport_map_port_51=51 -dport_map_port_52=52 -dport_map_port_53=53 -dport_map_port_54=54 -dport_map_port_55=55 -dport_map_port_56=56 -dport_map_port_57=57 -dport_map_port_58=58 -dport_map_port_59=59 -dport_map_port_60=60 -dport_map_port_61=61 -dport_map_port_62=62 -dport_map_port_63=63 -dport_map_port_64=64 -dport_map_port_67=65 -dport_map_port_68=66 -dport_map_port_69=67 -dport_map_port_70=68 -dport_map_port_71=69 -dport_map_port_72=70 -dport_map_port_73=71 -dport_map_port_74=72 -dport_map_port_75=73 -dport_map_port_76=74 -dport_map_port_77=75 -dport_map_port_78=76 -dport_map_port_79=77 -dport_map_port_80=78 -dport_map_port_81=79 -dport_map_port_82=80 -dport_map_port_83=81 -dport_map_port_84=82 -dport_map_port_85=83 -dport_map_port_86=84 -dport_map_port_87=85 -dport_map_port_88=86 -dport_map_port_89=87 -dport_map_port_90=88 -dport_map_port_91=89 -dport_map_port_92=90 -dport_map_port_93=91 -dport_map_port_94=92 -dport_map_port_95=93 -dport_map_port_96=94 -dport_map_port_97=95 -dport_map_port_98=96 -dport_map_port_99=97 -dport_map_port_100=98 -dport_map_port_101=99 -dport_map_port_102=100 -dport_map_port_103=101 -dport_map_port_104=102 -dport_map_port_105=103 -dport_map_port_106=104 -dport_map_port_107=105 -dport_map_port_108=106 -dport_map_port_109=107 -dport_map_port_110=108 -dport_map_port_111=109 -dport_map_port_112=110 -dport_map_port_113=111 -dport_map_port_114=112 -dport_map_port_115=113 -dport_map_port_116=114 -dport_map_port_117=115 -dport_map_port_118=116 -dport_map_port_119=117 -dport_map_port_120=118 -dport_map_port_121=119 -dport_map_port_122=120 -dport_map_port_123=121 -dport_map_port_124=122 -dport_map_port_125=123 -dport_map_port_126=124 -dport_map_port_127=125 -dport_map_port_129=126 -dport_map_port_66=127 -dport_map_port_130=128 - - diff --git a/device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-25G/td3-s5232f-96x25G-8x100G.config.bcm b/device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-25G/td3-s5232f-96x25G-8x100G.config.bcm deleted file mode 100644 index f76764e2756d..000000000000 --- a/device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-25G/td3-s5232f-96x25G-8x100G.config.bcm +++ /dev/null @@ -1,618 +0,0 @@ -os=unix - -core_clock_frequency=1525 -dpp_clock_ratio=2:3 - -parity_enable=1 -parity_correction=1 -tdma_intr_enable=1 -schan_intr_enable=0 -tdma_intr_enable=1 -miim_intr_enable=1 -stat_if_parity_enable=1 - -port_flex_enable=1 -port_flex_enable_66=0 -port_flex_enable_130=0 -phy_an_c73=3 -phy_an_c73_66=0 -phy_an_c73_130=0 - -module_64ports=0 -table_dma_enable=1 -tdma_timeout_usec=5000000 -mmu_lossless=0 -pdma_descriptor_prefetch_enable=1 -pktdma_poll_mode_channel_bitmap=1 - -l2xmsg_mode=1 -l2xmsg_hostbuf_size=8192 -ipv6_lpm_128b_enable=1 -max_vp_lags=0 - -l3_alpm_enable=2 -l2_mem_entries=32768 -l3_mem_entries=16384 -l3_max_ecmp_mode=1 - -bcm_tunnel_term_compatible_mode=1 -ifp_inports_support_enable=1 -mmu_init_config="MSFT-TD3-Tier1" - -stable_size=0x5500000 - -oversubscribe_mode=1 -pbmp_oversubscribe=0x6fffffffffffffffdfffffffffffffffe -pbmp_xport_xe=0x6fffffffffffffffdfffffffffffffffe - - -portmap_1.0=1:25:1 -portmap_2.0=2:25:1 -portmap_3.0=3:25:1 -portmap_4.0=4:25:1 -portmap_5.0=5:25:1 -portmap_6.0=6:25:1 -portmap_7.0=7:25:1 -portmap_8.0=8:25:1 -portmap_9.0=9:25:1 -portmap_10.0=10:25:1 -portmap_11.0=11:25:1 -portmap_12.0=12:25:1 -portmap_13.0=13:25:1 -portmap_14.0=14:25:1 -portmap_15.0=15:25:1 -portmap_16.0=16:25:1 -portmap_17.0=17:25:1 -portmap_18.0=18:25:1 -portmap_19.0=19:25:1 -portmap_20.0=20:25:1 -portmap_21.0=21:25:1 -portmap_22.0=22:25:1 -portmap_23.0=23:25:1 -portmap_24.0=24:25:1 -portmap_25.0=25:25:1 -portmap_26.0=26:25:1 -portmap_27.0=27:25:1 -portmap_28.0=28:25:1 -portmap_29.0=29:25:1 -portmap_30.0=30:25:1 -portmap_31.0=31:25:1 -portmap_32.0=32:25:1 -portmap_33.0=33:25:1 -portmap_34.0=34:25:1 -portmap_35.0=35:25:1 -portmap_36.0=36:25:1 -portmap_37.0=37:25:1 -portmap_38.0=38:25:1 -portmap_39.0=39:25:1 -portmap_40.0=40:25:1 -portmap_41.0=41:25:1 -portmap_42.0=42:25:1 -portmap_43.0=43:25:1 -portmap_44.0=44:25:1 -portmap_45.0=45:25:1 -portmap_46.0=46:25:1 -portmap_47.0=47:25:1 -portmap_48.0=48:25:1 -portmap_49.0=49:25:1 -portmap_50.0=50:25:1 -portmap_51.0=51:25:1 -portmap_52.0=52:25:1 -portmap_53.0=53:25:1 -portmap_54.0=54:25:1 -portmap_55.0=55:25:1 -portmap_56.0=56:25:1 -portmap_57.0=57:25:1 -portmap_58.0=58:25:1 -portmap_59.0=59:25:1 -portmap_60.0=60:25:1 -portmap_61.0=61:25:1 -portmap_62.0=62:25:1 -portmap_63.0=63:25:1 -portmap_64.0=64:25:1 - -portmap_67.0=65:25:1 -portmap_68.0=66:25:1 -portmap_69.0=67:25:1 -portmap_70.0=68:25:1 -portmap_71.0=69:25:1 -portmap_72.0=70:25:1 -portmap_73.0=71:25:1 -portmap_74.0=72:25:1 -portmap_75.0=73:25:1 -portmap_76.0=74:25:1 -portmap_77.0=75:25:1 -portmap_78.0=76:25:1 -portmap_79.0=77:25:1 -portmap_80.0=78:25:1 -portmap_81.0=79:25:1 -portmap_82.0=80:25:1 -portmap_83.0=81:25:1 -portmap_84.0=82:25:1 -portmap_85.0=83:25:1 -portmap_86.0=84:25:1 -portmap_87.0=85:25:1 -portmap_88.0=86:25:1 -portmap_89.0=87:25:1 -portmap_90.0=88:25:1 -portmap_91.0=89:25:1 -portmap_92.0=90:25:1 -portmap_93.0=91:25:1 -portmap_94.0=92:25:1 -portmap_95.0=93:25:1 -portmap_96.0=94:25:1 -portmap_97.0=95:25:1 -portmap_98.0=96:25:1 -portmap_99.0=97:100 -portmap_103.0=101:100 -portmap_107.0=105:100 -portmap_111.0=109:100 -portmap_115.0=113:100 -portmap_119.0=117:100 -portmap_123.0=121:100 -portmap_127.0=125:100 -portmap_130.0=128:10:m -portmap_66.0=129:10:m -phy_chain_tx_lane_map_physical{1.0}=0x0132 -phy_chain_rx_lane_map_physical{1.0}=0x3210 -phy_chain_tx_lane_map_physical{5.0}=0x2301 -phy_chain_rx_lane_map_physical{5.0}=0x2031 -phy_chain_tx_lane_map_physical{9.0}=0x0132 -phy_chain_rx_lane_map_physical{9.0}=0x3210 -phy_chain_tx_lane_map_physical{13.0}=0x3201 -phy_chain_rx_lane_map_physical{13.0}=0x2031 -phy_chain_tx_lane_map_physical{17.0}=0x0123 -phy_chain_rx_lane_map_physical{17.0}=0x3210 -phy_chain_tx_lane_map_physical{21.0}=0x2301 -phy_chain_rx_lane_map_physical{21.0}=0x2031 -phy_chain_tx_lane_map_physical{25.0}=0x0123 -phy_chain_rx_lane_map_physical{25.0}=0x3210 -phy_chain_tx_lane_map_physical{29.0}=0x3201 -phy_chain_rx_lane_map_physical{29.0}=0x2031 -phy_chain_tx_lane_map_physical{33.0}=0x0213 -phy_chain_rx_lane_map_physical{33.0}=0x1302 -phy_chain_tx_lane_map_physical{37.0}=0x1302 -phy_chain_rx_lane_map_physical{37.0}=0x2031 -phy_chain_tx_lane_map_physical{41.0}=0x0231 -phy_chain_rx_lane_map_physical{41.0}=0x3120 -phy_chain_tx_lane_map_physical{45.0}=0x1302 -phy_chain_rx_lane_map_physical{45.0}=0x2031 -phy_chain_tx_lane_map_physical{49.0}=0x2103 -phy_chain_rx_lane_map_physical{49.0}=0x3120 -phy_chain_tx_lane_map_physical{53.0}=0x2301 -phy_chain_rx_lane_map_physical{53.0}=0x2031 -phy_chain_tx_lane_map_physical{57.0}=0x0123 -phy_chain_rx_lane_map_physical{57.0}=0x2301 -phy_chain_tx_lane_map_physical{61.0}=0x3210 -phy_chain_rx_lane_map_physical{61.0}=0x1032 -phy_chain_tx_lane_map_physical{65.0}=0x3210 -phy_chain_rx_lane_map_physical{65.0}=0x1023 -phy_chain_tx_lane_map_physical{69.0}=0x0123 -phy_chain_rx_lane_map_physical{69.0}=0x1302 -phy_chain_tx_lane_map_physical{73.0}=0x2301 -phy_chain_rx_lane_map_physical{73.0}=0x1032 -phy_chain_tx_lane_map_physical{77.0}=0x2013 -phy_chain_rx_lane_map_physical{77.0}=0x3120 -phy_chain_tx_lane_map_physical{81.0}=0x1302 -phy_chain_rx_lane_map_physical{81.0}=0x2031 -phy_chain_tx_lane_map_physical{85.0}=0x0123 -phy_chain_rx_lane_map_physical{85.0}=0x2130 -phy_chain_tx_lane_map_physical{89.0}=0x2301 -phy_chain_rx_lane_map_physical{89.0}=0x2031 -phy_chain_tx_lane_map_physical{93.0}=0x0312 -phy_chain_rx_lane_map_physical{93.0}=0x2310 -phy_chain_tx_lane_map_physical{97.0}=0x2301 -phy_chain_rx_lane_map_physical{97.0}=0x1032 -phy_chain_tx_lane_map_physical{101.0}=0x0123 -phy_chain_rx_lane_map_physical{101.0}=0x3210 -phy_chain_tx_lane_map_physical{105.0}=0x2301 -phy_chain_rx_lane_map_physical{105.0}=0x1032 -phy_chain_tx_lane_map_physical{109.0}=0x0123 -phy_chain_rx_lane_map_physical{109.0}=0x3210 -phy_chain_tx_lane_map_physical{113.0}=0x2301 -phy_chain_rx_lane_map_physical{113.0}=0x2031 -phy_chain_tx_lane_map_physical{117.0}=0x0123 -phy_chain_rx_lane_map_physical{117.0}=0x3210 -phy_chain_tx_lane_map_physical{121.0}=0x2301 -phy_chain_rx_lane_map_physical{121.0}=0x1032 -phy_chain_tx_lane_map_physical{125.0}=0x0123 -phy_chain_rx_lane_map_physical{125.0}=0x3210 -phy_chain_tx_lane_map_physical{129.0}=0x3210 -phy_chain_rx_lane_map_physical{129.0}=0x0231 -phy_chain_tx_lane_map_physical{128.0}=0x3210 -phy_chain_rx_lane_map_physical{128.0}=0x0231 -phy_chain_tx_polarity_flip_physical{1.0}=0x0 -phy_chain_rx_polarity_flip_physical{1.0}=0x0 -phy_chain_tx_polarity_flip_physical{2.0}=0x0 -phy_chain_rx_polarity_flip_physical{2.0}=0x1 -phy_chain_tx_polarity_flip_physical{3.0}=0x0 -phy_chain_rx_polarity_flip_physical{3.0}=0x0 -phy_chain_tx_polarity_flip_physical{4.0}=0x1 -phy_chain_rx_polarity_flip_physical{4.0}=0x1 -phy_chain_tx_polarity_flip_physical{5.0}=0x0 -phy_chain_rx_polarity_flip_physical{5.0}=0x0 -phy_chain_tx_polarity_flip_physical{6.0}=0x1 -phy_chain_rx_polarity_flip_physical{6.0}=0x1 -phy_chain_tx_polarity_flip_physical{7.0}=0x0 -phy_chain_rx_polarity_flip_physical{7.0}=0x1 -phy_chain_tx_polarity_flip_physical{8.0}=0x1 -phy_chain_rx_polarity_flip_physical{8.0}=0x1 -phy_chain_tx_polarity_flip_physical{9.0}=0x0 -phy_chain_rx_polarity_flip_physical{9.0}=0x0 -phy_chain_tx_polarity_flip_physical{10.0}=0x0 -phy_chain_rx_polarity_flip_physical{10.0}=0x1 -phy_chain_tx_polarity_flip_physical{11.0}=0x0 -phy_chain_rx_polarity_flip_physical{11.0}=0x0 -phy_chain_tx_polarity_flip_physical{12.0}=0x1 -phy_chain_rx_polarity_flip_physical{12.0}=0x1 -phy_chain_tx_polarity_flip_physical{13.0}=0x0 -phy_chain_rx_polarity_flip_physical{13.0}=0x0 -phy_chain_tx_polarity_flip_physical{14.0}=0x1 -phy_chain_rx_polarity_flip_physical{14.0}=0x1 -phy_chain_tx_polarity_flip_physical{15.0}=0x0 -phy_chain_rx_polarity_flip_physical{15.0}=0x1 -phy_chain_tx_polarity_flip_physical{16.0}=0x0 -phy_chain_rx_polarity_flip_physical{16.0}=0x1 -phy_chain_tx_polarity_flip_physical{17.0}=0x0 -phy_chain_rx_polarity_flip_physical{17.0}=0x0 -phy_chain_tx_polarity_flip_physical{18.0}=0x1 -phy_chain_rx_polarity_flip_physical{18.0}=0x1 -phy_chain_tx_polarity_flip_physical{19.0}=0x0 -phy_chain_rx_polarity_flip_physical{19.0}=0x0 -phy_chain_tx_polarity_flip_physical{20.0}=0x1 -phy_chain_rx_polarity_flip_physical{20.0}=0x1 -phy_chain_tx_polarity_flip_physical{21.0}=0x0 -phy_chain_rx_polarity_flip_physical{21.0}=0x0 -phy_chain_tx_polarity_flip_physical{22.0}=0x1 -phy_chain_rx_polarity_flip_physical{22.0}=0x1 -phy_chain_tx_polarity_flip_physical{23.0}=0x0 -phy_chain_rx_polarity_flip_physical{23.0}=0x1 -phy_chain_tx_polarity_flip_physical{24.0}=0x1 -phy_chain_rx_polarity_flip_physical{24.0}=0x1 -phy_chain_tx_polarity_flip_physical{25.0}=0x0 -phy_chain_rx_polarity_flip_physical{25.0}=0x1 -phy_chain_tx_polarity_flip_physical{26.0}=0x1 -phy_chain_rx_polarity_flip_physical{26.0}=0x0 -phy_chain_tx_polarity_flip_physical{27.0}=0x0 -phy_chain_rx_polarity_flip_physical{27.0}=0x1 -phy_chain_tx_polarity_flip_physical{28.0}=0x1 -phy_chain_rx_polarity_flip_physical{28.0}=0x0 -phy_chain_tx_polarity_flip_physical{29.0}=0x1 -phy_chain_rx_polarity_flip_physical{29.0}=0x1 -phy_chain_tx_polarity_flip_physical{30.0}=0x1 -phy_chain_rx_polarity_flip_physical{30.0}=0x0 -phy_chain_tx_polarity_flip_physical{31.0}=0x0 -phy_chain_rx_polarity_flip_physical{31.0}=0x0 -phy_chain_tx_polarity_flip_physical{32.0}=0x0 -phy_chain_rx_polarity_flip_physical{32.0}=0x0 -phy_chain_tx_polarity_flip_physical{33.0}=0x1 -phy_chain_rx_polarity_flip_physical{33.0}=0x1 -phy_chain_tx_polarity_flip_physical{34.0}=0x0 -phy_chain_rx_polarity_flip_physical{34.0}=0x0 -phy_chain_tx_polarity_flip_physical{35.0}=0x0 -phy_chain_rx_polarity_flip_physical{35.0}=0x0 -phy_chain_tx_polarity_flip_physical{36.0}=0x1 -phy_chain_rx_polarity_flip_physical{36.0}=0x0 -phy_chain_tx_polarity_flip_physical{37.0}=0x1 -phy_chain_rx_polarity_flip_physical{37.0}=0x1 -phy_chain_tx_polarity_flip_physical{38.0}=0x1 -phy_chain_rx_polarity_flip_physical{38.0}=0x0 -phy_chain_tx_polarity_flip_physical{39.0}=0x1 -phy_chain_rx_polarity_flip_physical{39.0}=0x0 -phy_chain_tx_polarity_flip_physical{40.0}=0x0 -phy_chain_rx_polarity_flip_physical{40.0}=0x1 -phy_chain_tx_polarity_flip_physical{41.0}=0x1 -phy_chain_rx_polarity_flip_physical{41.0}=0x1 -phy_chain_tx_polarity_flip_physical{42.0}=0x0 -phy_chain_rx_polarity_flip_physical{42.0}=0x1 -phy_chain_tx_polarity_flip_physical{43.0}=0x1 -phy_chain_rx_polarity_flip_physical{43.0}=0x0 -phy_chain_tx_polarity_flip_physical{44.0}=0x1 -phy_chain_rx_polarity_flip_physical{44.0}=0x1 -phy_chain_tx_polarity_flip_physical{45.0}=0x1 -phy_chain_rx_polarity_flip_physical{45.0}=0x0 -phy_chain_tx_polarity_flip_physical{46.0}=0x1 -phy_chain_rx_polarity_flip_physical{46.0}=0x0 -phy_chain_tx_polarity_flip_physical{47.0}=0x1 -phy_chain_rx_polarity_flip_physical{47.0}=0x1 -phy_chain_tx_polarity_flip_physical{48.0}=0x0 -phy_chain_rx_polarity_flip_physical{48.0}=0x1 -phy_chain_tx_polarity_flip_physical{49.0}=0x1 -phy_chain_rx_polarity_flip_physical{49.0}=0x0 -phy_chain_tx_polarity_flip_physical{50.0}=0x1 -phy_chain_rx_polarity_flip_physical{50.0}=0x0 -phy_chain_tx_polarity_flip_physical{51.0}=0x0 -phy_chain_rx_polarity_flip_physical{51.0}=0x1 -phy_chain_tx_polarity_flip_physical{52.0}=0x1 -phy_chain_rx_polarity_flip_physical{52.0}=0x1 -phy_chain_tx_polarity_flip_physical{53.0}=0x0 -phy_chain_rx_polarity_flip_physical{53.0}=0x0 -phy_chain_tx_polarity_flip_physical{54.0}=0x1 -phy_chain_rx_polarity_flip_physical{54.0}=0x1 -phy_chain_tx_polarity_flip_physical{55.0}=0x0 -phy_chain_rx_polarity_flip_physical{55.0}=0x1 -phy_chain_tx_polarity_flip_physical{56.0}=0x1 -phy_chain_rx_polarity_flip_physical{56.0}=0x1 -phy_chain_tx_polarity_flip_physical{57.0}=0x1 -phy_chain_rx_polarity_flip_physical{57.0}=0x0 -phy_chain_tx_polarity_flip_physical{58.0}=0x1 -phy_chain_rx_polarity_flip_physical{58.0}=0x1 -phy_chain_tx_polarity_flip_physical{59.0}=0x0 -phy_chain_rx_polarity_flip_physical{59.0}=0x0 -phy_chain_tx_polarity_flip_physical{60.0}=0x1 -phy_chain_rx_polarity_flip_physical{60.0}=0x1 -phy_chain_tx_polarity_flip_physical{61.0}=0x0 -phy_chain_rx_polarity_flip_physical{61.0}=0x1 -phy_chain_tx_polarity_flip_physical{62.0}=0x1 -phy_chain_rx_polarity_flip_physical{62.0}=0x0 -phy_chain_tx_polarity_flip_physical{63.0}=0x0 -phy_chain_rx_polarity_flip_physical{63.0}=0x1 -phy_chain_tx_polarity_flip_physical{64.0}=0x0 -phy_chain_rx_polarity_flip_physical{64.0}=0x0 -phy_chain_tx_polarity_flip_physical{65.0}=0x1 -phy_chain_rx_polarity_flip_physical{65.0}=0x0 -phy_chain_tx_polarity_flip_physical{66.0}=0x0 -phy_chain_rx_polarity_flip_physical{66.0}=0x0 -phy_chain_tx_polarity_flip_physical{67.0}=0x1 -phy_chain_rx_polarity_flip_physical{67.0}=0x1 -phy_chain_tx_polarity_flip_physical{68.0}=0x0 -phy_chain_rx_polarity_flip_physical{68.0}=0x0 -phy_chain_tx_polarity_flip_physical{69.0}=0x1 -phy_chain_rx_polarity_flip_physical{69.0}=0x1 -phy_chain_tx_polarity_flip_physical{70.0}=0x0 -phy_chain_rx_polarity_flip_physical{70.0}=0x0 -phy_chain_tx_polarity_flip_physical{71.0}=0x1 -phy_chain_rx_polarity_flip_physical{71.0}=0x0 -phy_chain_tx_polarity_flip_physical{72.0}=0x0 -phy_chain_rx_polarity_flip_physical{72.0}=0x0 -phy_chain_tx_polarity_flip_physical{73.0}=0x0 -phy_chain_rx_polarity_flip_physical{73.0}=0x1 -phy_chain_tx_polarity_flip_physical{74.0}=0x1 -phy_chain_rx_polarity_flip_physical{74.0}=0x0 -phy_chain_tx_polarity_flip_physical{75.0}=0x0 -phy_chain_rx_polarity_flip_physical{75.0}=0x1 -phy_chain_tx_polarity_flip_physical{76.0}=0x1 -phy_chain_rx_polarity_flip_physical{76.0}=0x0 -phy_chain_tx_polarity_flip_physical{77.0}=0x0 -phy_chain_rx_polarity_flip_physical{77.0}=0x0 -phy_chain_tx_polarity_flip_physical{78.0}=0x0 -phy_chain_rx_polarity_flip_physical{78.0}=0x0 -phy_chain_tx_polarity_flip_physical{79.0}=0x1 -phy_chain_rx_polarity_flip_physical{79.0}=0x1 -phy_chain_tx_polarity_flip_physical{80.0}=0x1 -phy_chain_rx_polarity_flip_physical{80.0}=0x1 -phy_chain_tx_polarity_flip_physical{81.0}=0x0 -phy_chain_rx_polarity_flip_physical{81.0}=0x0 -phy_chain_tx_polarity_flip_physical{82.0}=0x0 -phy_chain_rx_polarity_flip_physical{82.0}=0x0 -phy_chain_tx_polarity_flip_physical{83.0}=0x1 -phy_chain_rx_polarity_flip_physical{83.0}=0x1 -phy_chain_tx_polarity_flip_physical{84.0}=0x1 -phy_chain_rx_polarity_flip_physical{84.0}=0x0 -phy_chain_tx_polarity_flip_physical{85.0}=0x1 -phy_chain_rx_polarity_flip_physical{85.0}=0x1 -phy_chain_tx_polarity_flip_physical{86.0}=0x0 -phy_chain_rx_polarity_flip_physical{86.0}=0x1 -phy_chain_tx_polarity_flip_physical{87.0}=0x1 -phy_chain_rx_polarity_flip_physical{87.0}=0x0 -phy_chain_tx_polarity_flip_physical{88.0}=0x0 -phy_chain_rx_polarity_flip_physical{88.0}=0x0 -phy_chain_tx_polarity_flip_physical{89.0}=0x1 -phy_chain_rx_polarity_flip_physical{89.0}=0x0 -phy_chain_tx_polarity_flip_physical{90.0}=0x0 -phy_chain_rx_polarity_flip_physical{90.0}=0x0 -phy_chain_tx_polarity_flip_physical{91.0}=0x1 -phy_chain_rx_polarity_flip_physical{91.0}=0x1 -phy_chain_tx_polarity_flip_physical{92.0}=0x0 -phy_chain_rx_polarity_flip_physical{92.0}=0x1 -phy_chain_tx_polarity_flip_physical{93.0}=0x1 -phy_chain_rx_polarity_flip_physical{93.0}=0x1 -phy_chain_tx_polarity_flip_physical{94.0}=0x1 -phy_chain_rx_polarity_flip_physical{94.0}=0x1 -phy_chain_tx_polarity_flip_physical{95.0}=0x0 -phy_chain_rx_polarity_flip_physical{95.0}=0x0 -phy_chain_tx_polarity_flip_physical{96.0}=0x0 -phy_chain_rx_polarity_flip_physical{96.0}=0x1 -phy_chain_tx_polarity_flip_physical{97.0}=0x1 -phy_chain_rx_polarity_flip_physical{97.0}=0x1 -phy_chain_tx_polarity_flip_physical{98.0}=0x0 -phy_chain_rx_polarity_flip_physical{98.0}=0x0 -phy_chain_tx_polarity_flip_physical{99.0}=0x1 -phy_chain_rx_polarity_flip_physical{99.0}=0x1 -phy_chain_tx_polarity_flip_physical{100.0}=0x0 -phy_chain_rx_polarity_flip_physical{100.0}=0x0 -phy_chain_tx_polarity_flip_physical{101.0}=0x1 -phy_chain_rx_polarity_flip_physical{101.0}=0x0 -phy_chain_tx_polarity_flip_physical{102.0}=0x0 -phy_chain_rx_polarity_flip_physical{102.0}=0x1 -phy_chain_tx_polarity_flip_physical{103.0}=0x1 -phy_chain_rx_polarity_flip_physical{103.0}=0x0 -phy_chain_tx_polarity_flip_physical{104.0}=0x0 -phy_chain_rx_polarity_flip_physical{104.0}=0x0 -phy_chain_tx_polarity_flip_physical{105.0}=0x1 -phy_chain_rx_polarity_flip_physical{105.0}=0x0 -phy_chain_tx_polarity_flip_physical{106.0}=0x0 -phy_chain_rx_polarity_flip_physical{106.0}=0x1 -phy_chain_tx_polarity_flip_physical{107.0}=0x1 -phy_chain_rx_polarity_flip_physical{107.0}=0x0 -phy_chain_tx_polarity_flip_physical{108.0}=0x0 -phy_chain_rx_polarity_flip_physical{108.0}=0x1 -phy_chain_tx_polarity_flip_physical{109.0}=0x1 -phy_chain_rx_polarity_flip_physical{109.0}=0x1 -phy_chain_tx_polarity_flip_physical{110.0}=0x0 -phy_chain_rx_polarity_flip_physical{110.0}=0x0 -phy_chain_tx_polarity_flip_physical{111.0}=0x1 -phy_chain_rx_polarity_flip_physical{111.0}=0x1 -phy_chain_tx_polarity_flip_physical{112.0}=0x0 -phy_chain_rx_polarity_flip_physical{112.0}=0x0 -phy_chain_tx_polarity_flip_physical{113.0}=0x1 -phy_chain_rx_polarity_flip_physical{113.0}=0x1 -phy_chain_tx_polarity_flip_physical{114.0}=0x0 -phy_chain_rx_polarity_flip_physical{114.0}=0x0 -phy_chain_tx_polarity_flip_physical{115.0}=0x1 -phy_chain_rx_polarity_flip_physical{115.0}=0x0 -phy_chain_tx_polarity_flip_physical{116.0}=0x0 -phy_chain_rx_polarity_flip_physical{116.0}=0x0 -phy_chain_tx_polarity_flip_physical{117.0}=0x1 -phy_chain_rx_polarity_flip_physical{117.0}=0x1 -phy_chain_tx_polarity_flip_physical{118.0}=0x0 -phy_chain_rx_polarity_flip_physical{118.0}=0x0 -phy_chain_tx_polarity_flip_physical{119.0}=0x1 -phy_chain_rx_polarity_flip_physical{119.0}=0x1 -phy_chain_tx_polarity_flip_physical{120.0}=0x0 -phy_chain_rx_polarity_flip_physical{120.0}=0x0 -phy_chain_tx_polarity_flip_physical{121.0}=0x1 -phy_chain_rx_polarity_flip_physical{121.0}=0x0 -phy_chain_tx_polarity_flip_physical{122.0}=0x0 -phy_chain_rx_polarity_flip_physical{122.0}=0x1 -phy_chain_tx_polarity_flip_physical{123.0}=0x1 -phy_chain_rx_polarity_flip_physical{123.0}=0x0 -phy_chain_tx_polarity_flip_physical{124.0}=0x0 -phy_chain_rx_polarity_flip_physical{124.0}=0x1 -phy_chain_tx_polarity_flip_physical{125.0}=0x1 -phy_chain_rx_polarity_flip_physical{125.0}=0x1 -phy_chain_tx_polarity_flip_physical{126.0}=0x0 -phy_chain_rx_polarity_flip_physical{126.0}=0x0 -phy_chain_tx_polarity_flip_physical{127.0}=0x1 -phy_chain_rx_polarity_flip_physical{127.0}=0x1 -phy_chain_tx_polarity_flip_physical{128.0}=0x0 -phy_chain_rx_polarity_flip_physical{128.0}=0x0 -phy_chain_tx_polarity_flip_physical{129.0}=0x1 -phy_chain_rx_polarity_flip_physical{129.0}=0x0 -phy_chain_tx_polarity_flip_physical{130.0}=0x0 -phy_chain_rx_polarity_flip_physical{130.0}=0x0 -phy_chain_tx_polarity_flip_physical{131.0}=0x1 -phy_chain_rx_polarity_flip_physical{131.0}=0x1 -phy_chain_tx_polarity_flip_physical{132.0}=0x0 -phy_chain_rx_polarity_flip_physical{132.0}=0x1 -dport_map_enable=1 -dport_map_port_1=1 -dport_map_port_2=2 -dport_map_port_3=3 -dport_map_port_4=4 -dport_map_port_5=5 -dport_map_port_6=6 -dport_map_port_7=7 -dport_map_port_8=8 -dport_map_port_9=9 -dport_map_port_10=10 -dport_map_port_11=11 -dport_map_port_12=12 -dport_map_port_13=13 -dport_map_port_14=14 -dport_map_port_15=15 -dport_map_port_16=16 -dport_map_port_17=17 -dport_map_port_18=18 -dport_map_port_19=19 -dport_map_port_20=20 -dport_map_port_21=21 -dport_map_port_22=22 -dport_map_port_23=23 -dport_map_port_24=24 -dport_map_port_25=25 -dport_map_port_26=26 -dport_map_port_27=27 -dport_map_port_28=28 -dport_map_port_29=29 -dport_map_port_30=30 -dport_map_port_31=31 -dport_map_port_32=32 -dport_map_port_33=33 -dport_map_port_34=34 -dport_map_port_35=35 -dport_map_port_36=36 -dport_map_port_37=37 -dport_map_port_38=38 -dport_map_port_39=39 -dport_map_port_40=40 -dport_map_port_41=41 -dport_map_port_42=42 -dport_map_port_43=43 -dport_map_port_44=44 -dport_map_port_45=45 -dport_map_port_46=46 -dport_map_port_47=47 -dport_map_port_48=48 -dport_map_port_49=49 -dport_map_port_50=50 -dport_map_port_51=51 -dport_map_port_52=52 -dport_map_port_53=53 -dport_map_port_54=54 -dport_map_port_55=55 -dport_map_port_56=56 -dport_map_port_57=57 -dport_map_port_58=58 -dport_map_port_59=59 -dport_map_port_60=60 -dport_map_port_61=61 -dport_map_port_62=62 -dport_map_port_63=63 -dport_map_port_64=64 -dport_map_port_67=65 -dport_map_port_68=66 -dport_map_port_69=67 -dport_map_port_70=68 -dport_map_port_71=69 -dport_map_port_72=70 -dport_map_port_73=71 -dport_map_port_74=72 -dport_map_port_75=73 -dport_map_port_76=74 -dport_map_port_77=75 -dport_map_port_78=76 -dport_map_port_79=77 -dport_map_port_80=78 -dport_map_port_81=79 -dport_map_port_82=80 -dport_map_port_83=81 -dport_map_port_84=82 -dport_map_port_85=83 -dport_map_port_86=84 -dport_map_port_87=85 -dport_map_port_88=86 -dport_map_port_89=87 -dport_map_port_90=88 -dport_map_port_91=89 -dport_map_port_92=90 -dport_map_port_93=91 -dport_map_port_94=92 -dport_map_port_95=93 -dport_map_port_96=94 -dport_map_port_97=95 -dport_map_port_98=96 -dport_map_port_99=97 -dport_map_port_100=98 -dport_map_port_101=99 -dport_map_port_102=100 -dport_map_port_103=101 -dport_map_port_104=102 -dport_map_port_105=103 -dport_map_port_106=104 -dport_map_port_107=105 -dport_map_port_108=106 -dport_map_port_109=107 -dport_map_port_110=108 -dport_map_port_111=109 -dport_map_port_112=110 -dport_map_port_113=111 -dport_map_port_114=112 -dport_map_port_115=113 -dport_map_port_116=114 -dport_map_port_117=115 -dport_map_port_118=116 -dport_map_port_119=117 -dport_map_port_120=118 -dport_map_port_121=119 -dport_map_port_122=120 -dport_map_port_123=121 -dport_map_port_124=122 -dport_map_port_125=123 -dport_map_port_126=124 -dport_map_port_127=125 -dport_map_port_129=126 -dport_map_port_66=127 -dport_map_port_130=128 - - diff --git a/platform/broadcom/sonic-platform-modules-dell/s5232f/modules/dell_s5232f_fpga_ocores.c b/platform/broadcom/sonic-platform-modules-dell/s5232f/modules/dell_s5232f_fpga_ocores.c index 5aa441a3d574..f66f5f18a708 100644 --- a/platform/broadcom/sonic-platform-modules-dell/s5232f/modules/dell_s5232f_fpga_ocores.c +++ b/platform/broadcom/sonic-platform-modules-dell/s5232f/modules/dell_s5232f_fpga_ocores.c @@ -653,20 +653,15 @@ static void fpgai2c_process(struct fpgalogic_i2c *i2c) } } - switch (i2c->state) { - case STATE_READ: + if (i2c->state == STATE_READ) { PRINT("fpgai2c_poll STATE_READ i2c->pos=%d msg->len-1 = 0x%x set FPGAI2C_REG_CMD = 0x%x\n",i2c->pos, msg->len-1, i2c->pos == (msg->len-1) ? FPGAI2C_REG_CMD_READ_NACK : FPGAI2C_REG_CMD_READ_ACK); fpgai2c_reg_set(i2c, FPGAI2C_REG_CMD, i2c->pos == (msg->len-1) ? FPGAI2C_REG_CMD_READ_NACK : FPGAI2C_REG_CMD_READ_ACK); - break; - case STATE_WRITE: + } else { PRINT("fpgai2c_process set FPGAI2C_REG_DATA(0x%x)\n",FPGAI2C_REG_DATA); fpgai2c_reg_set(i2c, FPGAI2C_REG_DATA, msg->buf[i2c->pos++]); fpgai2c_reg_set(i2c, FPGAI2C_REG_CMD, FPGAI2C_REG_CMD_WRITE); - break; - default: - printk("Unexpected state, %s:%u state=%d\n", __FILE__, __LINE__, i2c->state); } } diff --git a/platform/broadcom/sonic-platform-modules-dell/z9264f/modules/dell_z9264f_fpga_ocores.c b/platform/broadcom/sonic-platform-modules-dell/z9264f/modules/dell_z9264f_fpga_ocores.c index 05877ec3c96d..d3a4a51ead72 100644 --- a/platform/broadcom/sonic-platform-modules-dell/z9264f/modules/dell_z9264f_fpga_ocores.c +++ b/platform/broadcom/sonic-platform-modules-dell/z9264f/modules/dell_z9264f_fpga_ocores.c @@ -654,20 +654,15 @@ static void fpgai2c_process(struct fpgalogic_i2c *i2c) } } - switch (i2c->state) { - case STATE_READ: + if (i2c->state == STATE_READ) { PRINT("fpgai2c_poll STATE_READ i2c->pos=%d msg->len-1 = 0x%x set FPGAI2C_REG_CMD = 0x%x\n",i2c->pos, msg->len-1, i2c->pos == (msg->len-1) ? FPGAI2C_REG_CMD_READ_NACK : FPGAI2C_REG_CMD_READ_ACK); fpgai2c_reg_set(i2c, FPGAI2C_REG_CMD, i2c->pos == (msg->len-1) ? FPGAI2C_REG_CMD_READ_NACK : FPGAI2C_REG_CMD_READ_ACK); - break; - case STATE_WRITE: + } else { PRINT("fpgai2c_process set FPGAI2C_REG_DATA(0x%x)\n",FPGAI2C_REG_DATA); fpgai2c_reg_set(i2c, FPGAI2C_REG_DATA, msg->buf[i2c->pos++]); fpgai2c_reg_set(i2c, FPGAI2C_REG_CMD, FPGAI2C_REG_CMD_WRITE); - break; - default: - printk("Unexpected state, %s:%u state=%d\n", __FILE__, __LINE__, i2c->state); } } diff --git a/rules/telemetry.mk b/rules/telemetry.mk index b635f21a7017..5391d29dd4cc 100644 --- a/rules/telemetry.mk +++ b/rules/telemetry.mk @@ -1,7 +1,7 @@ # SONiC telemetry package SONIC_TELEMETRY = sonic-telemetry_0.1_$(CONFIGURED_ARCH).deb -$(SONIC_TELEMETRY)_SRC_PATH = $(SRC_PATH)/telemetry -$(SONIC_TELEMETRY)_DEPENDS = $(LIBYANG_DEV) $(LIBYANG) +$(SONIC_TELEMETRY)_SRC_PATH = $(SRC_PATH)/sonic-telemetry +$(SONIC_TELEMETRY)_DEPENDS = $(LIBYANG_DEV) $(LIBYANG) $(SONIC_MGMT_FRAMEWORK) $(SONIC_TELEMETRY)_RDEPENDS = $(LIBYANG) SONIC_DPKG_DEBS += $(SONIC_TELEMETRY) diff --git a/src/telemetry b/src/telemetry deleted file mode 160000 index f0903870acc6..000000000000 --- a/src/telemetry +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f0903870acc62b4432db24bf4232d5e5d4a8893c diff --git a/src/telemetry/Makefile b/src/telemetry/Makefile new file mode 100644 index 000000000000..91a822d4f93c --- /dev/null +++ b/src/telemetry/Makefile @@ -0,0 +1,20 @@ +export GOPATH=/tmp/go + +INSTALL := /usr/bin/install + +all: sonic-telemetry + +sonic-telemetry: + /usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/telemetry + /usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/dialout/dialout_client_cli + +install: + $(INSTALL) -D ${GOPATH}/bin/telemetry $(DESTDIR)/usr/sbin/telemetry + $(INSTALL) -D ${GOPATH}/bin/dialout_client_cli $(DESTDIR)/usr/sbin/dialout_client_cli + +deinstall: + rm $(DESTDIR)/usr/sbin/telemetry + rm $(DESTDIR)/usr/sbin/dialout_client_cli + +clean: + rm -fr ${GOPATH} diff --git a/src/telemetry/debian/changelog b/src/telemetry/debian/changelog new file mode 100644 index 000000000000..77dab629040e --- /dev/null +++ b/src/telemetry/debian/changelog @@ -0,0 +1,5 @@ +sonic-telemetry (0.1) UNRELEASED; urgency=medium + + * Initial release. + + -- Jipan Yang Sat, 24 Mar 2018 12:48:22 -0700 diff --git a/src/telemetry/debian/compat b/src/telemetry/debian/compat new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/src/telemetry/debian/compat @@ -0,0 +1 @@ +9 diff --git a/src/telemetry/debian/control b/src/telemetry/debian/control new file mode 100644 index 000000000000..f1b6a7c07282 --- /dev/null +++ b/src/telemetry/debian/control @@ -0,0 +1,17 @@ +Source: sonic-telemetry +Section: devel +Priority: optional +Maintainer: Jipan Yang +Build-Depends: debhelper (>= 8.0.0), + dh-systemd +Standards-Version: 3.9.3 +Homepage: https://github.com/Azure/sonic-telemetry +XS-Go-Import-Path: github.com/Azure/sonic-telemetry + +Package: sonic-telemetry +Architecture: any +Built-Using: ${misc:Built-Using} +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: SONiC telemetry + sonic-telemetry \ No newline at end of file diff --git a/src/telemetry/debian/rules b/src/telemetry/debian/rules new file mode 100755 index 000000000000..3995a26d7fcd --- /dev/null +++ b/src/telemetry/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ --with systemd diff --git a/src/telemetry/debian/telemetry.init.d b/src/telemetry/debian/telemetry.init.d new file mode 100644 index 000000000000..2fea32e17c49 --- /dev/null +++ b/src/telemetry/debian/telemetry.init.d @@ -0,0 +1,14 @@ +#!/bin/bash +# +### BEGIN INIT INFO +# Provides: sonic-telemetry +# Required-Start: $local_fs $network $remote_fs $syslog +# Required-Stop: $local_fs $network $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: start and stop the telemetry +# Description: sonic-telemetry is an implementation of sonic telemetry daemon in Go +### END INIT INFO +# + +exit 0