Microchip-Ethernet / EVB-KSZ9477

Repository for using Microchip EVB-KSZ9477 board. Product Supported: KSZ9477, KSZ9567, KSZ9897, KSZ9896, KSZ8567, KSZ8565, KSZ9893, KSZ9563, KSZ8563, LAN9646, Phys(KSZ9031/9131, LAN8770
77 stars 78 forks source link

EVB-KSZ9897 linux git #2

Open prabhakarlad opened 7 years ago

prabhakarlad commented 7 years ago

Hi,

We want to access the KSZ9897 using spi interface on X15, We are using the 4.4 kernel. Is there a Linux git repo for KSZ9897, with latest Linux kernel version ?

Is there any documentation on accessing via spi, and merging with latest kernel ?

Cheers, --Prabhakar Lad

prabhakarlad commented 7 years ago

Hi,

I have got the KSZ9897 working with latest kernel 4.14-rc4, now I wanted to test the web page access, Is there any yocto/package to build this server to install in file system ?

When I run the swcfg command I get the following output:

~$ swcfg SwitchCfg get 0x0
No

Following is the dmesg output: [ 637.710166] usb 2-1: new SuperSpeed USB device number 4 using xhci-hcd [ 637.751157] mdio_bus usb-002:004: GPIO lookup for consumer reset [ 637.751243] mdio_bus usb-002:004: using lookup tables for GPIO lookup [ 637.751326] mdio_bus usb-002:004: lookup for GPIO reset failed [ 637.757509] libphy: lan78xx-mdiobus: probed [ 637.879035] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready

ifconfig eth2 eth2 Link encap:Ethernet HWaddr 00:80:0f:78:50:01
UP BROADCAST MULTICAST DYNAMIC MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

~$ ethtool --driver eth2 driver: lan78xx version: 1.0.6 firmware-version: expansion-rom-version: bus-info: usb-xhci-hcd.0.auto-1 supports-statistics: yes supports-test: no supports-eeprom-access: yes supports-register-dump: no supports-priv-flags: no

~$ uname -ra Linux vb4 4.14.0-rc3-dirty #8 SMP PREEMPT Tue Oct 3 16:12:25 BST 2017 armv7l armv7l armv7l GNU/Linux

Cheers, --Prabhakar Lad

wmoors commented 6 years ago

Bump this back to life...

3.18 LTS has reached end of life in 2017 already. Is there any progress/work on migrating to 4.4?

Ravi-Hegde commented 6 years ago

We are working on to port to 4.9. Should be available by end of Nov-18.

wmoors commented 6 years ago

@Ravi-Hegde Excellent news!!

edisonf commented 6 years ago

Hi @Ravi-Hegde ,

I was wondering how are things going with the release for kernel 4.9 you mentioned by the end of Nov-18? We are planing to use the KSZ9893, if there is still work to be done maybe we at RidgeRun can also collaborate with the development.

wmoors commented 5 years ago

@Ravi-Hegde ,

How is the port to 4.9 going? I am very eager to get my hands on it as we are starting a validation of the devboard as a potential target for a product.