DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de, Sohaib Mohamed <sohaib.amhmd@gmail.com>
Subject: Re: [DistroKit] [PATCH 1/2] v7a: kernel: enable new TI CPSW switchdev driver
Date: Sat, 8 Jan 2022 09:01:08 +0100	[thread overview]
Message-ID: <c8e584bc-0b55-c3d1-1114-3e177a551112@pengutronix.de> (raw)
In-Reply-To: <20220108075723.432333-2-a.fatoum@pengutronix.de>

On 08.01.22 08:57, Ahmad Fatoum wrote:
> The kernel now has two CPSW drivers and the device tree has two device
> tree nodes, where one or the other may be enabled. The upstream device
> tree was switched to new switchdev-based CPSW in v5.15-rc1.
> 
> Update our kernelconfig to enable the appropriate driver to get
> networking working again on the Beaglebone Black.
> 
> Fixes: 6ec9f5202c28 ("platform-v7a: kernel: version bump v5.14 -> v5.15")


Reported-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>



Forgot to include before send. Thanks for the report.

> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> P.S.: Beaglebone tests should probably include testing Ethernet link
> ---
>  configs/platform-v7a/kernelconfig | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
> index b7b1793467f0..dea31bfe298c 100644
> --- a/configs/platform-v7a/kernelconfig
> +++ b/configs/platform-v7a/kernelconfig
> @@ -1086,7 +1086,7 @@ CONFIG_DNS_RESOLVER=y
>  # CONFIG_MPLS is not set
>  # CONFIG_NET_NSH is not set
>  # CONFIG_HSR is not set
> -# CONFIG_NET_SWITCHDEV is not set
> +CONFIG_NET_SWITCHDEV=y
>  # CONFIG_NET_L3_MASTER_DEV is not set
>  # CONFIG_QRTR is not set
>  # CONFIG_NET_NCSI is not set
> @@ -1131,6 +1131,7 @@ CONFIG_DST_CACHE=y
>  CONFIG_GRO_CELLS=y
>  CONFIG_NET_SELFTESTS=y
>  CONFIG_NET_SOCK_MSG=y
> +CONFIG_NET_DEVLINK=y
>  CONFIG_PAGE_POOL=y
>  # CONFIG_FAILOVER is not set
>  CONFIG_ETHTOOL_NETLINK=y
> @@ -1479,6 +1480,7 @@ CONFIG_FEC=y
>  # CONFIG_FSL_PQ_MDIO is not set
>  # CONFIG_FSL_XGMAC_MDIO is not set
>  # CONFIG_GIANFAR is not set
> +# CONFIG_FSL_DPAA2_SWITCH is not set
>  # CONFIG_FSL_ENETC_IERB is not set
>  CONFIG_NET_VENDOR_GOOGLE=y
>  # CONFIG_NET_VENDOR_HISILICON is not set
> @@ -1519,8 +1521,9 @@ CONFIG_DWMAC_IMX8=y
>  # CONFIG_NET_VENDOR_SYNOPSYS is not set
>  CONFIG_NET_VENDOR_TI=y
>  CONFIG_TI_DAVINCI_MDIO=y
> -CONFIG_TI_CPSW_PHY_SEL=y
> -CONFIG_TI_CPSW=y
> +# CONFIG_TI_CPSW_PHY_SEL is not set
> +# CONFIG_TI_CPSW is not set
> +CONFIG_TI_CPSW_SWITCHDEV=y
>  CONFIG_TI_CPTS=y
>  # CONFIG_NET_VENDOR_VIA is not set
>  # CONFIG_NET_VENDOR_WIZNET is not set
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de


  reply	other threads:[~2022-01-08  8:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08  7:57 [DistroKit] [PATCH 0/2] v7a: fix beaglebone networking Ahmad Fatoum
2022-01-08  7:57 ` [DistroKit] [PATCH 1/2] v7a: kernel: enable new TI CPSW switchdev driver Ahmad Fatoum
2022-01-08  8:01   ` Ahmad Fatoum [this message]
2022-01-08  7:57 ` [DistroKit] [PATCH 2/2] v7a: barebox: cherry-pick CPSW/Linux reboot fixes from master Ahmad Fatoum
2022-01-08  9:37 ` [DistroKit] [PATCH 0/2] v7a: fix beaglebone networking Robert Schwebel
2022-01-09  5:45 ` Sohaib Mohamed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c8e584bc-0b55-c3d1-1114-3e177a551112@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=sohaib.amhmd@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox