Spectre660 wrote:This appears to be exactly the same as the original dtb which is on the Ubuntu MATE Live USB .
So maybe the issue is with the actual .configs used to compile the kernels.
Yes, these are the ones supplied with the original fsl-sdk-1.7 kernel based on 3.8. It worked on quite a few later kernels too. Something has changed in the kernel source, I'm not sure what.
I am investigating.
Regards
Darren
Remember that the original patches have not been applied since kernel 4.4 so this may be when the problem originated.
@Marcus
I cross compiling an X5000 4.9.25 kernel using the original patches before the 4.x branch if you want to give it a try.
Disclaimer :Totally untested as I don't have an X5000. https://drive.google.com/open?id=0BxoZd ... EdkeFdkUm8
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
* Get the 4.9.25 sources from kernel.org
* Apply the patch from your archive (some chunks failed though...)
* Build with my own kernel config (but enable CONFIG_CYRUS)
* Use my own DTB
Not really any improvement though. fsl_mac appears in dmesg like before, but fsl_dpa is gone, so I don't get any actual interfaces for ifconfig.
Perhaps the .configuration from one of of Daz's kernels were the Ethernet works may be the best starting point.
Also knowing if his kernel was compiled from a main line branch or a special Freescale branch might shed some light .
My patches were taken from a patched 3.18 kernel source archive.
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
I got some time do dig more into this, so I tried building kernel version 4.4.0 and 4.5.0, and booting them with the device tree present in the upstreams kernel sources for the respective version.
None of them gave me working gigabit ethernet; although the dmesg for 4.5.0 looked rather promising, no devices manifested in ifconfig.
So if there indeed exists a kernel build with working fsl ethernet, it would be very informative to learn
* Which kernel version sources were used
* Which patches to kernel code and/or DTS files were applied
* What configuration was used
to produce it. There's so many things that could be fiddled with that it seems impossible to progress without some kind of baseline...
marcus wrote:I got some time do dig more into this, so I tried building kernel version 4.4.0 and 4.5.0, and booting them with the device tree present in the upstreams kernel sources for the respective version.
None of them gave me working gigabit ethernet; although the dmesg for 4.5.0 looked rather promising, no devices manifested in ifconfig.
So if there indeed exists a kernel build with working fsl ethernet, it would be very informative to learn
* Which kernel version sources were used
* Which patches to kernel code and/or DTS files were applied
* What configuration was used
to produce it. There's so many things that could be fiddled with that it seems impossible to progress without some kind of baseline...
There are a couple of new posts on the subject of enabling the on-board Ethernet ports on the X5000/20 (p5020) under the
thread for testing the Linux 4.15-rc5(6) kernel here: Re: Kernel 4.15
So hopefully we can get some answers to the above questions.