gpoulios opened a new pull request, #16482:
URL: https://github.com/apache/nuttx/pull/16482

   ## Summary
   
   This PR fixes a couple of issues with the i.MX93 ethernet MAC driver 
preventing transmission in (at least) the EVK board. Prior configuration would 
allow receiving packets, but the interface would remain dead silent, despite 
the driver's instructions.
   
   Users may have experienced this issue as ICMP timeout, ARP timeout or host 
unreachable errors, depending on configuration and usage.
   
   ## Impact
   
   - **Non-i.MX9 users**:
     - no impact
   - **Users of i.MX93 EVK**:
     - this should fix networking. Plus some impact-less tidying up of the 
board.h file.
   - **Users of out-of-tree i.MX9-based boards**:
     - `MUX_ENET1_TXC` is configured explicitly, though I doubt it will impact 
you negatively. If your board's networking TX has been working without it so 
far, most likely it is configured by default. If your board's networking TX has 
not been working so far, there is a good chance this will fix the issue (or at 
least part of it). Please note that you need to define `MUX_ENET1_TXC` 
accordingly in your board.h (see imx93-evk for reference).
     - **Boards with the RTL8211F PHY**:
       - RGMII TX and RX internal delay will be both disabled in MIICR1 and 
MIICR2 registers by default. This might impact your networking, depending on 
any custom configurations made. The PHY's defaults are TXDLY: disabled, RXDLY: 
enabled, while this PR disables them both by default. Setting 
`CONFIG_IMX9_ENET1_RGMII_ID=y` enables both. Please note that 
`CONFIG_IMX9_ENET1_RGMII_ID=y` is required for the EVK to work, so it might be 
a good idea for your board too.
     - **Boards with other PHYs**:
       - No configuration to the internal delay is made.
   
   ## Testing
   
   Tested on the i.MX93-EVK board using 'tcpblaster'.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to