ContributionsMost RecentMost LikesSolutionsSending interrupts from FPGA to HPS Hi, I have upgraded kernel from 3.10 to 4.14 and I am having some troubles with getting the interrupts from the FPGA. I can see, when I do "cat /proc/interrupts" my kernel modules are not getting the interrupts from GIC as they used to from the older kernel but is now receiving from gpio-dwapb (See image 1 and 2). I tried to add the registers in the hps2fpga bridge entry in the device tree but that did not work. the link to my device tree is this; https://0bin.net/paste/8deiVzEvsn8otNyd#wK7Rnp41DDCYwKAqSXG+VBSXF23o+hbTTSrp4oAXtE- And this is the c code of one of my kernel modules which receives interrupts from the fpga. https://0bin.net/paste/4zAv89RPh3U85kdI#zugZa4gRytL+il0Gnoi9-GKUkqRx1sgj/kOCR03o9SH I would be grateful if someone could tell me where the mistake is Kind Regards, Dev Re: No internet access through Ethernet with Linux Kernel 4.14 Hi FJumaah, Thank you for your answer! Here is the output of ifconfig # ifconfig eth0 Link encap:Ethernet HWaddr 22:66:2F:0B:67:3B UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:78 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11408 (11.1 KiB) TX bytes:1710 (1.6 KiB) Interrupt:29 Base address:0x2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 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) If I use the command "ifconfig down" my board instantly reboots! Best Regards, No internet access through Ethernet with Linux Kernel 4.14 Hi, I am upgrading my custom board which is using the Cyclone V socfpga from linux 3.10 to 4.14 and I am having difficulties in getting it connected to the internet. I our emac setup is as explained in this link https://rocketboards.org/foswiki/Projects/CycloneVRGMIIExampleDesign Here is the bootup message log: https://0bin.net/paste/GZOOq7cPgc37X9KG#z0XrAOy3Eiia1Kpz6NmD1K920EHnbV3u1KUsVM8WRT- and our device tree: https://0bin.net/paste/cijoyBcQ0KUfidW8#M9L9pR8MvpyXhqxRuDCqe-QOaQNcHH4kIajcz0v6Gm1 The driver seems to be loaded correctly and the PHY is detected. I would be really grateful if someone could point me in what could be the issue here. I have been struggling with this for months! Thank you and Kind Regards, Deva No internet access through Ethernet with Linux Kernel 4.14 Hi, I am upgrading my custom board which is using the Cyclone V socfpga from linux 3.10 to 4.14 and I am having difficulties in getting it connected to the internet. I am using an emac which we set up as explained in this link https://rocketboards.org/foswiki/Projects/CycloneVRGMIIExampleDesign Here is the bootup message log: https://0bin.net/paste/PkLJgwlBFOuAzQQk#6KbzDd1yCUEqz0u-FX0WKuW7J65rBOXVJJuNdFLD2Qn and our device tree: https://0bin.net/paste/hChzCJ91lCL0GoS9#a9EqMvfcLlYyXpyC1tkHT-sIcGMeikWmI4UCfUryimx The driver seems to be loaded correctly and the PHY is detected. I would be really grateful if someone could point me in what could be the issue here. I have been struggling with this for a while now. Thank you and Kind Regards, Deva