add CENTEC tsingma SoC platform support#139
Closed
taocy001 wants to merge 1 commit intosonic-net:masterfrom
taocy001:centec_arm64
Closed
add CENTEC tsingma SoC platform support#139taocy001 wants to merge 1 commit intosonic-net:masterfrom taocy001:centec_arm64
taocy001 wants to merge 1 commit intosonic-net:masterfrom
taocy001:centec_arm64
Conversation
Contributor
taocy001
commented
May 25, 2020
- CENTEC patches for tsingma SoC, E530 platform.
- depends on the PR fix kernel compile problem for arm64 #137: fix kernel compile problem for arm64.
lguohan
reviewed
May 27, 2020
| { "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, | ||
| { "mx66l1g45g", INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, | ||
| { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) }, | ||
| + { "mx25u3235f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K) }, |
Contributor
There was a problem hiding this comment.
can you use this patch instead?
lguohan
reviewed
May 27, 2020
| {"m25p64"}, {"m25p128"}, | ||
| {"w25x80"}, {"w25x32"}, {"w25q32"}, {"w25q32dw"}, | ||
| - {"w25q80bl"}, {"w25q128"}, {"w25q256"}, | ||
| + {"w25q80bl"}, {"w25q128"}, {"w25q256"}, {"mx25u3235f"}, |
Contributor
There was a problem hiding this comment.
lguohan
reviewed
May 27, 2020
| CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
| CONFIG_USB_SUPPORT=y | ||
| -CONFIG_USB_COMMON=m | ||
| +CONFIG_USB_COMMON=y |
lguohan
reviewed
May 27, 2020
| +CONFIG_USB_COMMON=y | ||
| CONFIG_USB_ARCH_HAS_HCD=y | ||
| -CONFIG_USB=m | ||
| +CONFIG_USB=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_USB_XHCI_HISTB is not set | ||
| # CONFIG_USB_XHCI_MVEBU is not set | ||
| CONFIG_USB_XHCI_TEGRA=m | ||
| -CONFIG_USB_EHCI_HCD=m |
lguohan
reviewed
May 27, 2020
| +CONFIG_USB_EHCI_HCD=y | ||
| CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
| CONFIG_USB_EHCI_TT_NEWSCHED=y | ||
| -CONFIG_USB_EHCI_PCI=m |
lguohan
reviewed
May 27, 2020
| CONFIG_USB_EHCI_HCD_ORION=m | ||
| CONFIG_USB_EHCI_TEGRA=m | ||
| CONFIG_USB_EHCI_HCD_PLATFORM=m | ||
| +CONFIG_USB_EHCI_CTC=y |
lguohan
reviewed
May 27, 2020
| CONFIG_MMC_ARMMMCI=m | ||
| CONFIG_MMC_QCOM_DML=y | ||
| -CONFIG_MMC_SDHCI=m | ||
| +CONFIG_MMC_SDHCI=y |
lguohan
reviewed
May 27, 2020
| CONFIG_MMC_RICOH_MMC=y | ||
| CONFIG_MMC_SDHCI_ACPI=m | ||
| -CONFIG_MMC_SDHCI_PLTFM=m | ||
| +CONFIG_MMC_SDHCI_PLTFM=y |
lguohan
reviewed
May 27, 2020
| CONFIG_MMC_TOSHIBA_PCI=m | ||
| CONFIG_MMC_BCM2835=m | ||
| # CONFIG_MMC_MTK is not set | ||
| +CONFIG_MMC_SDHCI_CTC5236=y |
lguohan
reviewed
May 27, 2020
| CONFIG_PWM_ROCKCHIP=m | ||
| CONFIG_PWM_SUN4I=m | ||
| CONFIG_PWM_TEGRA=m | ||
| +CONFIG_PWM_CTC=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_EXT2_FS is not set | ||
| # CONFIG_EXT3_FS is not set | ||
| -CONFIG_EXT4_FS=m | ||
| +CONFIG_EXT4_FS=y |
lguohan
reviewed
May 27, 2020
| CONFIG_FUSE_FS=m | ||
| CONFIG_CUSE=m | ||
| -CONFIG_OVERLAY_FS=m | ||
| +CONFIG_OVERLAY_FS=y |
lguohan
reviewed
May 27, 2020
| CONFIG_UBIFS_FS_SECURITY=y | ||
| # CONFIG_CRAMFS is not set | ||
| -CONFIG_SQUASHFS=m | ||
| +CONFIG_SQUASHFS=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_XILINX_WATCHDOG is not set | ||
| # CONFIG_ZIIRAVE_WATCHDOG is not set | ||
| CONFIG_ARM_SP805_WATCHDOG=m | ||
| +CONFIG_ARM_CTC_WATCHDOG=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_GPIO_DWAPB is not set | ||
| CONFIG_GPIO_EXAR=m | ||
| # CONFIG_GPIO_FTGPIO010 is not set | ||
| +CONFIG_GPIO_CTC=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_SPI_XILINX is not set | ||
| CONFIG_SPI_XLP=m | ||
| # CONFIG_SPI_ZYNQMP_GQSPI is not set | ||
| +CONFIG_SPI_CENTEC_QSPI=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_I2C_CBUS_GPIO is not set | ||
| CONFIG_I2C_DESIGNWARE_CORE=m | ||
| CONFIG_I2C_DESIGNWARE_PLATFORM=m | ||
| +CONFIG_I2C_CENTEC=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_I2C_MUX_LTC4306 is not set | ||
| # CONFIG_I2C_MUX_PCA9541 is not set | ||
| -# CONFIG_I2C_MUX_PCA954x is not set | ||
| +CONFIG_I2C_MUX_PCA954x=y |
lguohan
reviewed
May 27, 2020
| -CONFIG_I2C_CHARDEV=m | ||
| -CONFIG_I2C_MUX=m | ||
| +CONFIG_I2C_CHARDEV=y | ||
| +CONFIG_I2C_MUX=y |
lguohan
reviewed
May 27, 2020
| CONFIG_DP83848_PHY=m | ||
| CONFIG_DP83867_PHY=m | ||
| -CONFIG_FIXED_PHY=m | ||
| +CONFIG_FIXED_PHY=y |
lguohan
reviewed
May 27, 2020
| CONFIG_MDIO_XGENE=m | ||
| CONFIG_PHYLINK=m | ||
| -CONFIG_PHYLIB=m | ||
| +CONFIG_PHYLIB=y |
lguohan
reviewed
May 27, 2020
| CONFIG_NET_VENDOR_WIZNET=y | ||
| # CONFIG_WIZNET_W5100 is not set | ||
| # CONFIG_WIZNET_W5300 is not set | ||
| +CONFIG_NET_VENDOR_CENTEC=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_BLK_DEV_DAC960 is not set | ||
| # CONFIG_BLK_DEV_UMEM is not set | ||
| -CONFIG_BLK_DEV_LOOP=m | ||
| +CONFIG_BLK_DEV_LOOP=y |
lguohan
reviewed
May 27, 2020
| CONFIG_OF_IRQ=y | ||
| CONFIG_OF_NET=y | ||
| -CONFIG_OF_MDIO=m | ||
| +CONFIG_OF_MDIO=y |
lguohan
reviewed
May 27, 2020
| CONFIG_MTD_LPDDR=m | ||
| CONFIG_MTD_QINFO_PROBE=m | ||
| -CONFIG_MTD_SPI_NOR=m | ||
| +CONFIG_MTD_SPI_NOR=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set | ||
| # CONFIG_MTD_DATAFLASH_OTP is not set | ||
| -CONFIG_MTD_M25P80=m | ||
| +CONFIG_MTD_M25P80=y |
lguohan
reviewed
May 27, 2020
| -CONFIG_MTD_BLOCK_RO=m | ||
| +CONFIG_MTD_BLKDEVS=y | ||
| +CONFIG_MTD_BLOCK=y | ||
| +CONFIG_MTD_BLOCK_RO=y |
Contributor
There was a problem hiding this comment.
please keep all of them as m
lguohan
reviewed
May 27, 2020
| CONFIG_GNSS_SIRF_SERIAL=m | ||
| CONFIG_GNSS_UBX_SERIAL=m | ||
| -CONFIG_MTD=m | ||
| +CONFIG_MTD=y |
lguohan
reviewed
May 27, 2020
| # CONFIG_MTD_CMDLINE_PARTS is not set | ||
| # CONFIG_MTD_AFS_PARTS is not set | ||
| -CONFIG_MTD_OF_PARTS=m | ||
| +CONFIG_MTD_OF_PARTS=y |
Contributor
|
retest this please |
dal00
pushed a commit
to kamelnetworks/sonic-linux-kernel
that referenced
this pull request
Jul 20, 2025
- description: After installation, a default iptables rule allows an attacker to bypass all others rules protecting the switch management & control-plane. - Mitigation: Accept only ttl-lt 2 for ICMP packets, or possibly dst-port > 1024. Traceroute may be based on ICMP or UDP or TCP. For ICMP: accept all icmp protocol TTL < 2 packets For UDP: accept UDP protocol TTL < 2 and UDP dest port > 1024 packets For TCP: accept TCP protocol TTL < 2 and TCP dest port > 1024 packets For other mismatched packets, default action is drop - work item: 28662516
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.