11-17-2016, 01:15 PM
(11-10-2016, 04:21 AM)androsch Wrote:(10-29-2016, 07:09 AM)longsleep Wrote: I just released a new Kernel build line "pine64gmac" which has a possible fix for the Ethernet Gigabit issue which happens on some boards. The fix is based on a patch provided by tllim (thanks!).
For now consider this a test release and you can switch to the pine64gmac Kernel line easily with
Code:bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh) latest gmac
You can switch back to the normal Kernel line with
(assume the Network still works with the gmac Kernel ).Code:bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh) latest default
To see what changed:
https://github.com/longsleep/linux-pine6...gmactxonly
If feedback is good, this fix will go into the default Kernel. So let me know how it goes.
To check if the fix is applied on boot:
Code:root@pine64:~# dmesg|grep 'init ephy'
[ 16.070919] init ephy for pine64
Sorry, bad news, board still doesn't work in GbE even with the new kernel. Its better than before, getting at least some throughput (about 10mbits) but thats still much worse than FastEthernet (94mbits) and ways too slow for GbE.
Androsch - Have you swapped out your power supply with something different, and capable of supplying higher current?
I've got 5 pine64's (2Gb + GbE) and all of them work great at GbE speeds - the only times they had networking issues was when I was using inferior power supplies. The ones I was originally using were rated for 5V2A and yet when I replaced them with a higher-quality supply, my networking issues went away.