Wandboard Quad D1 - No ethernet / PHY

Discussion of your EDM baseboard, your add-on boards or other peripherals for your wandboard.

Wandboard Quad D1 - No ethernet / PHY

Postby stevep » Tue Jul 25, 2017 3:31 pm

We just ordered a shipment of Wandboard Quad C1 boards, but received D1 boards instead. These boards do not power up the Ethernet port. I compared with and without the OS loading (Ubuntu 14.4) and all of my C1 boards immediately light up the Ethernet LED upon power up. None of the D1 boards do. In looking at dmesg, I see a difference:

C1 Board:
fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

D1 Board:
fec 2188000.ethernet eth0: no PHY, assuming direct connection to switch
libphy: PHY fixed-0:00 not found
fec 2188000.ethernet eth0: could not attach to PHY

I also found this article, which might explain it:
https://reviews.freebsd.org/D10442

Does anyone know how I can get around this, without any major work? I am using a prebuilt Ubuntu image with my software already installed and time is critical.
stevep
 
Posts: 1
Joined: Tue Jul 25, 2017 2:53 pm

Re: Wandboard Quad D1 - No ethernet / PHY

Postby Tapani » Thu Aug 03, 2017 9:34 am

The D1 boards need a gpio to be pulled high to power up the PHY as far as I remember.

EDIT: seems like it is GPIO_18 (GPIO7_IO13) that controls the power to the PHY.
Tapani
 
Posts: 712
Joined: Tue Aug 27, 2013 8:32 am

Re: Wandboard Quad D1 - No ethernet / PHY

Postby deltamike » Sat Oct 21, 2017 2:48 am

I just took delivery of a WB-IMX6Q-BW (Wandboard Quad) from Technexion. The ethernet/PHY does not power up. I get the same kernel message in dmesg as Tapani describes below, for the "D1 board":

fec 2188000.ethernet eth0: no PHY, assuming direct connection to switch
libphy: PHY fixed-0:00 not found
fec 2188000.ethernet eth0: could not attach to PHY

I've tried two ArchLinux system images, a newer one from ArchLinux and and the 2015 image on the Wandboard website. What was the fix? Do I need to write a script to pull GPIO_18 high during boot?

Actually, a better question would be: Is there some Linux distribution for this board that boots up with eth0 functional? Ubuntu 16.04? I'm not committed to using any particular one.

Thanks,
Dan
deltamike
 
Posts: 2
Joined: Sat Oct 21, 2017 1:54 am

Re: Wandboard Quad D1 - No ethernet / PHY

Postby deltamike » Sat Oct 21, 2017 2:30 pm

Replying to myself: The Ubuntu 16.04 distro on wandboard.org references rev. D1 (which meant nothing to me at the time!) and boots just fine so far. It powers the ethernet port. It also includes a start up guide sourced by Technexion.

Thanks,
Dan
deltamike
 
Posts: 2
Joined: Sat Oct 21, 2017 1:54 am


Return to Hardware and peripherals

Who is online

Users browsing this forum: Majestic-12 [Bot] and 24 guests

cron