SC20 customized board eth0 RX packet zero

Hello,

We have customized board with Wiznet w5500 SPI based Ethernet chip.

Seems driver is up, can see the eth0 node. But RX packets are null.

msm8909:/ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 36:ee:3b:72:c2:3d
inet addr:192.168.1.199 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::34ee:3bff:fe72:c23d/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:110 errors:110 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:31272

Appreciate feedback.

Thanks ,
Zahir

please tell me your android version.

Thanks for your quick response.
Android version : 7.1.2

can you check your irq.
maybe system have not recive the interrupts.

Getting interrup

cat /proc/interrupts
425: 200001 0 msm_tlmm_irq eth0

We have assign GPIO 58 for this purpose (Interrupt).

Going to check how got translated & more on this.

Interrupt now should be ok. But same interrupt been disabled by kernel.

[ 76.793773] irq 425: nobody cared (try booting with the “irqpoll” option)
[ 76.799974] handlers:
[ 76.801782] [] irq_default_primary_handler threaded [] w5100_interrupt
[ 76.810025] Disabling IRQ #425

Any idea about this issue?

Please make sure Interrupt trigger mode is right.

Thanks issue got resolved, issue with interrupt only.
H/w team added pull up & triggering edge was corrected.

Regards,