After some of the recent ‘Ethernet fix’ patches have not worked with more recent linux-next kernels, I have found one that – at least at the moment – does fix the ‘hang’ problem – again..
The patch is applied to meson-gxbb-odroidc2.dts, and can be found here: http://archive.arm.linux.org.uk/lurker/message/20161221.113134.3ac4d1e6.en.html
I did have to revert this kasir_offset patch (…-R) to stop the linux-next (December 22) kernel compile from failing: http://archive.arm.linux.org.uk/lurker/message/20161211.005055.ad5e5693.en.html but hopefully this will be fixed in a later version..
With this dts patch, I now have a stable Ethernet connection on the C2 – again..
.......... meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Link is Up - 1000/Full ......... Fedora 25 (Workstation Edition) Kernel 4.9.0-next-20161222-tx on an aarch64 (ttyAML0) ...................... ]# uname -a Linux rgc2 4.9.0-next-20161222-tx #1 SMP Thu Dec 22 00:33:30 EST 2016 aarch64 aarch64 aarch64 GNU/Linux
I should mention that this only gives a headless boot, as USB/Graphics still do not work, on my C2..
Robert Gadsdon. December 22, 2016.