Ethernet not working on new Beaglebone Enhanced

130 views
Skip to first unread message

gnoriega%s...@gtempaccount.com

unread,
Dec 13, 2017, 7:35:32 PM12/13/17
to BeagleBoard
Hello,

I am currently running Debian 8.2 with kernel 4.1.12-ti-r29 and decided to upgrade to the new Beaglebone Enhanced by SanCloud. Something I've noticed is that the ethernet port doesn't seem to work anymore. When I upgrade to kernel 4.4.91-ti-r133 it will suddenly work without any issues even though it's the same cpsw driver version 1.12 . I installed ethtool and made sure the configs were exactly the same as the working kernel configs. I know it's not an /etc/network/interfaces problem because the exact same configuration works on the new kernel. My question is, where exactly would I look to debug this issue and potentially get the Ethernet communication working on kernel 4.1 again. I've attached my ethtool eth0 output below. Aside from that there aren't any errors listed when I check ethtool -S eth0 (no dropped packets or carrier sense errors etc.). The dmesg output doesn't seem to suggest any problems but no packets can come in or out of eth0. I can't upgrade to the newer kernel because USB seems to be malfunctioning on that kernel like is mentioned in this post https://groups.google.com/forum/#!category-topic/beagleboard/usb/RtSQTavWXQg. Any help would be greatly appreciated.

Cheers,
Gilberto Noriega


Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x00000000 (0)

        Link detected: yes



dmesg output:

[    3.415846] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8035 ethernet
[    3.416738] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:26:09:24
[    9.312291] net eth0: initializing cpsw version 1.12 (0)
[    9.388344] net eth0: phy found : id is : 0x4dd072
[    9.396783] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.564279] net eth0: initializing cpsw version 1.12 (0)
[   13.658525] net eth0: phy found : id is : 0x4dd072
[   13.746118] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.133663] using random self ethernet address
[   14.133695] using random host ethernet address
[   14.133717] using host ethernet address: 60:64:05:26:09:26
[   14.133728] using self ethernet address: 60:64:05:26:09:20
[   17.659040] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

Robert Nelson

unread,
Dec 13, 2017, 8:04:22 PM12/13/17
to Beagle Board
Why can't you use the v4.4.x based kernel? We moved everything from
v4.1.x -> v4.4.x pretty quickly, and now we are just maintaining:
v4.4.x/v4.9.x/v4.14.x..

My enhanced is at work, so i can't test anything till tomorrow..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Mrudula Chougule

unread,
Jul 19, 2018, 6:27:25 AM7/19/18
to BeagleBoard
Hi,

I am also having Ethernet Link Detection problem.

using random self ethernet address
[   24.199377] using random host ethernet address
[   24.496679] usb0: HOST MAC b0:d5:cc:fc:2e:26
[   24.509197] usb0: MAC b0:d5:cc:fc:2e:27
[   24.525698] random: nonblocking pool is initialized
[   24.725587] net eth0: initializing cpsw version 1.12 (0)
[   24.764981] net eth0: phy found : id is : 0x7c0f1
[   24.799076] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   26.146407] tilcdc 4830e000.lcdc: timeout waiting for framedone

I am using u-boot 2018.03, kernel 4.4.27-bone-rt and rootfs 16.04 LTS.

Could you please share the reason why ethernet link is not coming up?

Thanks,
Mrudula
Reply all
Reply to author
Forward
0 new messages