eth frame error on imx6ul
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 5 09:57:47 PDT 2024
On 05.08.24 16:38, Stefano Manni wrote:
> Hello Ahmad
>
> On Mon, 2024-08-05 at 15:54 +0200, Ahmad Fatoum wrote:
>>
>> Do you have TFTP or something running while seeing these errors,
>> or when do they pop up?
>
> They pop up unconditionally just after ifup. If I run tcpdump on the
> same LAN I see a lot of multicast/broadcast frames and probably the
> error comes out on the reception of them. Also because I figured out
> from fec_imx.h that 0x00000886 means:
>
> #define FEC_RBD_LAST 0x0800 /**< Receive BD status: Buffer
> is last in frame (useless here!) */
> #define FEC_RBD_BC 0x0080 /**< Receive BD status: The
> received frame is broadcast frame */
> #define FEC_RBD_CR 0x0004 /**< Receive BD status: CRC
> error */
> #define FEC_RBD_OV 0x0002 /**< Receive BD status: Receive
> FIFO overrun */
You can enable CONFIG_CMD_ETHLOG to capture the frames and see if
the frame that triggers the error looks odd in some way.
Cheers,
Ahmad
>
> Best,
> Stefano
>
>
--
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