imx6ul: fec: stuck on ifup after ifdown

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 5 11:17:59 EDT 2020


Hi Stefano,

On Mon, Oct 05, 2020 at 02:43:15PM +0200, Manni Stefano wrote:
> Hi,
> 
> on a custom board based on a i.MX6UL using barebox v2020.08.1 'ifup eth0'
> invoked after 'ifdown eth0' stucks forever.
> 
> Have you ever experienced something similar?

I can confirm the same happens here on an i.MX6q board on current
master. I don't know what's happening here. The last thing I see is that
fec_tx_task_enable() is entered. Strange enough the same works on i.MX53
whereas on i.MX8M I get "ERROR: eth0: transmission timeout" on the
second ifup.

This is really strange. It seems fec_tx_task_enable() brings down the
whole SoC, but on the other hand the FEC works properly in a chainloaded
barebox, which should - from the view of the ethernet controller - be
the same as a repeated ifup/ifdown sequence.

I have no idea what is going wrong here.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list