Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Ethernet connectivity on Toradex Verdin i.MX 8M Plus Dahlia Board
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Toradex Verdin i.MX 8M Plus Dahlia BSP, Ethernet, io-pkt
  • SDP: 7.1.0
  • Target: AArch64
________________________________________________________________________

Issue
________________________________________________________________________

There is currently a known issue with Ethernet when booting via SD card using the Toradex Verdin i.MX 8M Plus Dahlia BSP (7.1 BuildID 7 - August 17, 2023). You will see that the driver is loaded, however, it is unable to get an IP address assigned to the interface via dhcp, neither does statically setting an IP address on the interface work.

________________________________________________________________________

Recommendation
________________________________________________________________________

There was an issue with the KSZ9131 PHY initialization when booting via the SD card. It was observed that when u-boot loads the ifs via tftp, the dwc0 interface is able to get an IP address assigned and works as expected. u-boot initializes the network device on the board when tftp is run or a dhcp command is run on the u-boot prompt.

Please use this workaround if you require Ethernet connectivity. Below are the steps that have been verified on the target when booting via tftp (using default gateway 192.168.10.1):

1. On u-boot command prompt:

----------
Verdin iMX8MP TEZI # setenv serverip 192.168.10.120
Verdin iMX8MP TEZI # setenv ipaddr 192.168.10.140
Verdin iMX8MP TEZI # ping 192.168.10.120
Using ethernet@30bf0000 device
host 192.168.10.120 is alive
Verdin iMX8MP TEZI # tftp 0x40800000 ifs-imx8mp-verdin.bin
Using ethernet@30bf0000 device
TFTP from server 192.168.10.120; our IP address is 192.168.10.140
Filename 'ifs-imx8mp-verdin.bin'.
Load address: 0x40800000
Loading: ########################################################
...
7.2 MiB/s
done
Bytes transferred = 10139444 (9ab734 hex)
Verdin iMX8MP TEZI # go 0x40800000
## Starting application at 0x40800000 ...
board_smp_num_cpu: 4 cores
board_smp_num_cpu: 4 cores
board_smp_num_cpu: 4 cores
board_smp_num_cpu: 4 cores
...
----------

Below is the uboot KSZ9131 phy init code for reference:
https://git.toradex.com/cgit/u-boot-toradex.git/tree/board/toradex/verdin-imx8mp/verdin-imx8mp.c?h=toradex_imx_v2020.04_5.4.24_2.1.0#n124

If you require an official patch, please contact your QNX rep to discuss options. The reference number for the issue is J2956364.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.