Hello, sorry for confusion. I found the problem and its mostly unrelated. I seemed to use a broken ethernet-cable which is unable to run at gigabit ethernet speed at all. Replacing the cable made everything work as expected. I even managed to compile and run a 4.2.5 Kernel using your linux-4.2.0-kirkwood-tld-1.patch Unfortunately the stock image was still able to establish the linkby giggls - Debian
bodhi Wrote: > We went through all these tests before here in a > different thread. After a shutdown, booting with > stock uboot always results in an inactive Ethernet > PHY. That was test I just did. The kernel > activated the PHY during start. Which is not the case here for whatever reason. Would I get rid of this problem by flashing a new version fo uboot? If so, is thby giggls - Debian
bodhi Wrote: ------------------------------------------------------- > - After a shutdown, boot up with stock u-boot, the link is INACTIVE. > - Then booted into Debian with kernel 4.2.0-kirkwood-tld-1, the link > brought up ACTIVE with 1Gbs speed. Did you try booting into debian right after completely removing power for 30 seconds or so? It seems to always work here after bootby giggls - Debian
bodhi Wrote: ------------------------------------------------------- > This is bad news! I will have to restest the kernel patch then! and perhaps fire the testers :) I might be able to help out testing patches. Will try to compile and run 4.1.12 anyway. Svenby giggls - Debian
bodhi Wrote: ------------------------------------------------------- > Please try this script by superelchi. Execute this > script after you logged into Debian with serial > console: > http://forum.doozan.com/read.php?2,22241,22784#msg-22784 OK, this seems to work. I tried to put the script into /etc/network/interfaces as a pre-up script, which does not work. However,by giggls - Debian
bodhi Wrote: > Does ifconfig -a show the correct MAC Addr? Yes, it does. Same address as egiga0 uses in stock Kernel: Despite the problem I had this afternoon, for some reason it does kind of work at this moment, (100 Mb/s instead of 1000Mb/s). Looks like to make it work I currently have to boot into the stock kernel first and reboot into debian afterwards... If I remove powerby giggls - Debian
bodhi Wrote: > After this point, it should bring up the link during Debian start up. You don't really need to > trigger it. I needed to do it manually because I removed "auto eth0" from /etc/network/interfaces However this does not change the broken behaviour at all :( I am unable to bring up eth0 either way. Looking at your patch it looks like changes in theby giggls - Debian
Looking at the code it looks like I'm already using the latest kernel. Attached is a complete log of the serial console. I'm using the stock uboot because I'm afarid bricking the device flasing a new uboot. System is loaded from a smal vfat partition and root-fs is located on f2fs. This message looks strange to me: : /ocp@f1000000/ethernet-controller@72000/ethernet0-poby giggls - Debian
Hello, I just tried to install your latest kernel on my NSA310S 4.2.0-kirkwood-tld-1 Unfortunately ethernet does not seem to work. When I try to enable the interface all I get is: mv643xx_eth: Set the PHY back to auto-negotiation mode Ethernet works fine booting the stock image in mtd (Is called egiga0 in this case). ---------------------------------------------- Moderator ediby giggls - Debian