-
Notifications
You must be signed in to change notification settings - Fork 79
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 Compilation and use #4
Comments
Hey, |
FWIW, I compiled it into our petalinux 2018.3 distribution (Yocto w/linux 4.14). However, while I can see all interfaces with "/sys/bus/spi/devices/spi1.1", I've yet to get it all working. As for the utilities (regs_bin, kszsw, etc), I had to make them apps and add them to my user layer. They seem to work, but as I said, I can't get traffic through the switch yet. Follow these steps to get where I am:
If you get this to work, please let me know as I'm doing the same thing... lol |
What chip(microprocessor) do you use? |
Zynq XC7Z020 and we are using the KSZ9567R. Linux does detect it and work by default without the driver, but to get to the additional features we need the driver working. |
Hi,
I'm running Linux Yocto 4.1.15 using an NXP i.mx6s ARM processor with the KSZ8895.
I've managed to get spi-ksz8895 to compile to a .ko, and i can manually modprobe to mount it.
I've read the README but i'm not clear what i need to do to use the switch driver. Do i have to compile and run the sw_setup to setup the switch, and then ksz_sw_sysfs_8895 to create a /spi0.0/sw interface?
The text was updated successfully, but these errors were encountered: