[Solved] OPi PC+, Ethernet: no link, no Ethernet LEDs blink when plug cable.


apristen
 Share

0

Recommended Posts

Hi all.

 

I build Armbian for "orangepipcplus" as described here: https://docs.armbian.com/Developer-Guide_Build-Preparation/

 

After build finished, I've got Armbian_5.24_Orangepipcplus_Ubuntu_xenial_3.4.113.img image, flash it to SD card, and my OPi starts well, thanks!

 

All things that necessary for my work tasks - works fine: USB, USB OTG, WiFi,

but... no Ethernet :-(

 

When I plug Ethernet cable into my PC and OPi - no LED blinks at both sides (but Ethernet on PC 100% works, tested with Raspberry Pi, for example).

 

In console kernel logs I see the following:

[    **] A start job is running for Raise network interfaces (26s / 5min 6s)
And OPi actually waits 5 minutes, but fails with:

[FAILED] Failed to start Raise network interfaces.

 

dmesg for gmac and eth0 is following:

[   11.323860] gmac0: probed
[   11.324213] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)
[   16.780250] ==> rtl8188e_iol_efuse_patch
[   17.062774] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.413458] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.640063] eth0: no IPv6 routers present
[   29.920044] wlan0: no IPv6 routers present

 

ifconfig shows eth0, it's UP, I can set IP address manually, but I suggest problem is NOT in TCP/IP, but deeper...

 

ethtool and mii-tool shows:

root@orangepipcplus:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Link detected: no

 

root@orangepipcplus:~# mii-tool
eth0: no link

 

Could you please advise - what to check next? what settings I should check in kernel config? in u-boot config?

(cable works fine with another board, but with OrangePi I even see NO blinking LEDs on OPi's Ethernet socket, perhaps PHY chip Realtek 8211E is off somehow...)

 

P.S.

I need _any_ Ethernet working, (not exactly 1Gbps) Fast Ethernet 100Mbps - more than enough for my tasks.

 

P.P.S.

Did anyone test USB Ethernet adapter as a temporary solution? which model works fine?

 

Link to post
Share on other sites

Donate and support the project!

Ethernet on Orange Pi PC+ works o.k. at least it should ... If you made it with our tools, you are basically using beta images ... which are sometimes broken. You should start first with the one from download section. Those are tested!

 

I am recreating and will try if it's broken for me too.

 

BTW: Ethernet is up to 100Mbit on this board.

Link to post
Share on other sites

Many thanks for Armbian and fast reply, Igor!

 

I just followed instructions from here: https://docs.armbian.com/Developer-Guide_Build-Preparation/

Build was fully automatic (thanks again!) and after some time I have image with: kernel 3.4.113 and Ubuntu 16.04.1 for "orangepipcplus" (selected from menu)

 

All works fine, except Ethernet.

 

I'll try buld from "download" section and test Ethernet on it, thanks.

 

P.S.

Actually all I need is: Ethernet at least 100 Mbit, USB OTG (device) with g_mass_storage support.

Unfortunately default distribution has no g_mass_storage (usb gadget) support...

Link to post
Share on other sites

UPD:

Perhaps I found problem: I have Orange Pi+, not Orange Pi PC+ (looks similar)

Are they different in Ethernet schematic?

Absolutely. Internal (Fast Ethernet) vs external (GbE) PHY. The data lines are routed differently so it simply can not work. Please try again with image for OPi Plus from download section.
Link to post
Share on other sites

Absolutely. Internal (Fast Ethernet) vs external (GbE) PHY. The data lines are routed differently so it simply can not work. Please try again with image for OPi Plus from download section.

 

Does that image support USB OTG and g_mass_storage?

in this case it solves _all_ my problems a lot! :)

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

0