possible workaround for BeagleBone Ethernet PHY problems

I wonder if the ethernet problems (link is down) has been resolved?

W dniu piątek, 13 stycznia 2012 13:18:04 UTC+1 użytkownik Gerald napisał:

We have a software workaround, depending on your kernel version (uname
-r)... Otherwise if your designing your own hardware, make sure you
tie a gpio line the phy's reset line..

On the bbb design, the phy reset is tied to the processor reset...

Regards,

GPIO line as a reset only works it you configure all the lines on the MII as inputs before you pulse the GPIO line…

Gerald

I don’t have my design hardware, I’ve bought many bbb boards and some of them with ethernet issues after many hours working without any problems link becomes down. Does the kernel with -bone60 or greater suffix is the SW workaround? Is the power management of the LAN chip couse the problem?

below log from kernel when problems occur:

Dec 6 14:22:17 beaglebone kernel: [709664.393005] libphy: 4a101000.mdio:00 - Link is Down
Dec 6 14:22:20 beaglebone kernel: [709666.620148] net eth0: initializing cpsw version 1.12 (0)
Dec 6 14:22:20 beaglebone kernel: [709666.622540] net eth0: phy 4a101000.mdio:00 not found on slave 0
Dec 6 14:22:20 beaglebone kernel: [709666.628940] libphy: PHY 4a101000.mdio:01 not found
Dec 6 14:22:20 beaglebone kernel: [709666.634052] net eth0: phy 4a101000.mdio:01 not found on slave 1
Dec 6 14:22:20 beaglebone kernel: [709666.644534] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

and when no problems - at boot time:

Jan 1 01:00:13 beaglebone kernel: [ 6.183325] net eth0: initializing cpsw version 1.12 (0)
Jan 1 01:00:13 beaglebone kernel: [ 6.187580] net eth0: phy found : id is : 0x7c0f1
Jan 1 01:00:13 beaglebone kernel: [ 6.187608] libphy: PHY 4a101000.mdio:01 not found
Jan 1 01:00:13 beaglebone kernel: [ 6.192679] net eth0: phy 4a101000.mdio:01 not found on slave 1
Jan 1 01:00:13 beaglebone kernel: [ 6.224917] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 1 01:00:13 beaglebone kernel: [ 6.580019] omap_rng 48310000.rng: base address of priv is -97452032
Jan 1 01:00:13 beaglebone kernel: [ 6.614128] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
Jan 1 01:00:13 beaglebone kernel: [ 10.333416] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
Jan 1 01:00:13 beaglebone kernel: [ 10.333488] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Today I’ll check current kernel version of the board with ethernet issues.

Regards

Grzegorz

W dniu poniedziałek, 12 grudnia 2016 23:03:09 UTC+1 użytkownik RobertCNelson napisał:

current kernel version: Linux beaglebone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44:55 UTC 2015 armv7l GNU/Linux
so it’s above bone60 and problem exsist

You should switch to kernel 4.4. Robert Nelson said that the ethernet is working better. I have a modified hardware so I can’t tell.

Micka,

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --bone-kernel --lts-4_4

Generated error while upgrading:

E: Unable to locate package ti-sgx-es8-modules-4.4.38-bone14
E: Couldn’t find any package by regex ‘ti-sgx-es8-modules-4.4.38-bone14’

There is no ti-sgx-es8-modules-4.4.38-bone14 for kernel 4.4.38-bone14 ?

Regards
Grzegorz

Sorry about that, looks like my cron job got stuck.. Fixed and now
re-sync'ed out..

Regards,