1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

fpga/mqnic: Enable devlink and DSA on petalinux

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich 2023-09-14 19:17:02 -07:00
parent c2d6942233
commit 70ff3e9383
8 changed files with 84 additions and 2 deletions

View File

@ -4173,6 +4173,7 @@ CONFIG_auto-login=y
#
# user packages
#
CONFIG_iproute2-devlink=y
CONFIG_iperf2=y
CONFIG_iputils-ping=y
CONFIG_kernel-module-mqnic=y

View File

@ -4,6 +4,7 @@
CONFIG_gpio-demo
CONFIG_peekpoke
CONFIG_iproute2-devlink
CONFIG_iputils-ping
CONFIG_iperf2
CONFIG_linuxptp

View File

@ -0,0 +1,37 @@
CONFIG_NET_DSA=m
# CONFIG_NET_DSA_TAG_AR9331 is not set
# CONFIG_NET_DSA_TAG_BRCM is not set
# CONFIG_NET_DSA_TAG_BRCM_PREPEND is not set
# CONFIG_NET_DSA_TAG_GSWIP is not set
# CONFIG_NET_DSA_TAG_DSA is not set
# CONFIG_NET_DSA_TAG_EDSA is not set
# CONFIG_NET_DSA_TAG_MTK is not set
# CONFIG_NET_DSA_TAG_KSZ is not set
# CONFIG_NET_DSA_TAG_RTL4_A is not set
# CONFIG_NET_DSA_TAG_OCELOT is not set
# CONFIG_NET_DSA_TAG_QCA is not set
# CONFIG_NET_DSA_TAG_LAN9303 is not set
# CONFIG_NET_DSA_TAG_SJA1105 is not set
# CONFIG_NET_DSA_TAG_TRAILER is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_DEVLINK=y
# CONFIG_B53 is not set
# CONFIG_NET_DSA_BCM_SF2 is not set
# CONFIG_NET_DSA_LOOP is not set
# CONFIG_NET_DSA_LANTIQ_GSWIP is not set
# CONFIG_NET_DSA_MT7530 is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ9477 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ8795 is not set
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MSCC_SEVILLE is not set
# CONFIG_NET_DSA_AR9331 is not set
# CONFIG_NET_DSA_SJA1105 is not set
# CONFIG_NET_DSA_QCA8K is not set
# CONFIG_NET_DSA_REALTEK_SMI is not set
# CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set
# CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set
# CONFIG_MSCC_OCELOT_SWITCH is not set
# CONFIG_ROCKER is not set

View File

@ -1,4 +1,6 @@
SRC_URI += "file://enable_ptp.cfg"
SRC_URI += "file://enable_ptp.cfg\
file://enable_dsa.cfg\
"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

View File

@ -4173,6 +4173,7 @@ CONFIG_auto-login=y
#
# user packages
#
CONFIG_iproute2-devlink=y
CONFIG_iperf2=y
CONFIG_iputils-ping=y
CONFIG_kernel-module-mqnic=y

View File

@ -4,6 +4,7 @@
CONFIG_gpio-demo
CONFIG_peekpoke
CONFIG_iproute2-devlink
CONFIG_iputils-ping
CONFIG_iperf2
CONFIG_linuxptp

View File

@ -0,0 +1,37 @@
CONFIG_NET_DSA=m
# CONFIG_NET_DSA_TAG_AR9331 is not set
# CONFIG_NET_DSA_TAG_BRCM is not set
# CONFIG_NET_DSA_TAG_BRCM_PREPEND is not set
# CONFIG_NET_DSA_TAG_GSWIP is not set
# CONFIG_NET_DSA_TAG_DSA is not set
# CONFIG_NET_DSA_TAG_EDSA is not set
# CONFIG_NET_DSA_TAG_MTK is not set
# CONFIG_NET_DSA_TAG_KSZ is not set
# CONFIG_NET_DSA_TAG_RTL4_A is not set
# CONFIG_NET_DSA_TAG_OCELOT is not set
# CONFIG_NET_DSA_TAG_QCA is not set
# CONFIG_NET_DSA_TAG_LAN9303 is not set
# CONFIG_NET_DSA_TAG_SJA1105 is not set
# CONFIG_NET_DSA_TAG_TRAILER is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_DEVLINK=y
# CONFIG_B53 is not set
# CONFIG_NET_DSA_BCM_SF2 is not set
# CONFIG_NET_DSA_LOOP is not set
# CONFIG_NET_DSA_LANTIQ_GSWIP is not set
# CONFIG_NET_DSA_MT7530 is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ9477 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ8795 is not set
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MSCC_SEVILLE is not set
# CONFIG_NET_DSA_AR9331 is not set
# CONFIG_NET_DSA_SJA1105 is not set
# CONFIG_NET_DSA_QCA8K is not set
# CONFIG_NET_DSA_REALTEK_SMI is not set
# CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set
# CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set
# CONFIG_MSCC_OCELOT_SWITCH is not set
# CONFIG_ROCKER is not set

View File

@ -1,4 +1,6 @@
SRC_URI += "file://enable_ptp.cfg"
SRC_URI += "file://enable_ptp.cfg\
file://enable_dsa.cfg\
"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"