Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KSZ8895 not working with Linux v5.10 from NXP's IMX BSP #82

Open
pedwo opened this issue Dec 23, 2021 · 3 comments
Open

KSZ8895 not working with Linux v5.10 from NXP's IMX BSP #82

pedwo opened this issue Dec 23, 2021 · 3 comments

Comments

@pedwo
Copy link

pedwo commented Dec 23, 2021

When integrating the Microchip v5.10 switch driver with NXP's BSP v5.10 kernel lf-5.10.72-2.2.0, the switch doesn't work. It probes ok, the interfaces come up, but ping doesn't work.
Note that everything is ok with the Microchip v5.4 driver on NXP's BSP v5.4 kernel rel_imx_5.4.70_2.3.0.
Since the NXP BSP is used by a lot of people, it would be great if you can check this.

@Bartel-C8
Copy link

Same problem as I found out here?

#63 (comment)

Try to remove spi-cpha from the DTS for the KSZ

@triha2work
Copy link
Collaborator

Probably not as the SPI access is stable throughout the kernels. A major difference between 5.4 and 5.10 is the phylink API was changed again. The phylink code was verified on the KSZ9897 driver and then ported to other switch drivers. The exact KSZ8895 driver was not verified with the 5.10 kernel, so there may be some incompatibilities. For network communication issues please check the MIB counters of the MAC and the switch and make sure the link is reported correctly.

@mkphsnbng
Copy link

mkphsnbng commented Mar 9, 2023

@triha2work @Bartel-C8

I am facing similar issue,
i took 5.10 KSZ8863(https://github.com/Microchip-Ethernet/EVB-KSZ9477/tree/master/KSZ/linux-drivers/ksz8863/linux-5.10/drivers/net/ethernet/micrel) and used in 5.10 kernel which comes with SDK 8.2.0.24 and observed that ping is not happening below is the link,
#91
i am find that few logs related to phy is not showing while booting..
I raised a query in the same gilt blog below is the link please have a look, Also may i know what are the changes it may require in dts/driver/defconfig?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants