Hello All,
I am trying to ping from IMX6ul board to a PC through USB 2.0 Lan Connector.
I have set the following configurations.
ipaddr - 192.168.9.3
serverip - 192.168.9.2
gatewayip - 192.168.9.1
netmask - 255.255.255.0
When I do USB start command it is finding 1 ethernet device but with dcache error (Attached image).
Further, when I try to ping from board to PC or PC to board, it is not able to ping. (Attached image)
Does anyone know what might be the issue. If so, Kindly help me in resolving the same.
Thanks in advance. :smileyhappy:
Hi Anshul
for usb ethernet usage one can look on
U-Boot 4.1.15 features - Variscite Wiki
[U-Boot] [PATCH 3/5] Add documentation for USB Host Networking
also u-boot IP stack is limited and uboot may not respond to ping.
[U-Boot] Q on expected u-boot behavior on ping response
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
As per the document, I added the Configuration CONFIG_SYS_DCACHE_OFF which resolved the dcache error.
Also, by default it was trying to ping through FEC0(ethernet). But I wanted to ping through (usb 2.0 ethernet adapter).
I updated "ethact" to the device name of the corresponding USB Ethernet converter that I am using and also set the configurations as per the doc.
It worked.
Thank you :smileyhappy: