Fwd: Micrel KSZ9031RN PHY problem

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 19 00:11:10 PDT 2016

Hi Guillermo,

+Cc Philipp Zabel who ported the patch to barebox

On Mon, Apr 18, 2016 at 04:49:47PM +0200, Guillermo Rodriguez Garcia wrote:
> Hello all,
> I am playing with barebox on an Atmel SAMA5D3 Xplained board. It is
> now working fine for the most part, however after updating to the
> latest sources from git I found a problem that I had not seen before.
> This board has two Ethernet interfaces; eth0 uses a Micrel KSZ9031RN
> PHY, and eth1 uses a Micrel KSZ8081RNB PHY.
> It seems that after release 2016.03.0, eth0 does not work anymore with
> some routers. Specifically I found this problem with a Comtrend
> VG-8050. I have tested other routers and the problem was not present
> there.
> After some research it seems that the problem is caused by this
> commit: http://git.pengutronix.de/?p=barebox.git;a=commit;h=da89ee8f2e04e116410632a185024f58b8262d87
> Before this commit eth0 was working fine. After this commit, the link
> cannot established anymore:
> [...]
> barebox:/# ping
> ping failed: Network is down
> Before diving further into this I thought it could be a good idea to
> ask, in case someone can shed some light here.

I have no idea what the issue is here. We might have to make this option
configurable via devicetree to give boards different options. Since the
patch comes from the Linux Kernel, do you have the same problems under


Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

More information about the barebox mailing list