U-Boot on S32G3 ping works only in one direction

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

U-Boot on S32G3 ping works only in one direction

跳至解决方案
108 次查看
yeshasyesodharan
Contributor I

I am working on an S32G3 board and able to ping from u-boot to the PC connected. 
However, it doesn't work the other way around.

Using pfe2 device
host 192.168.19.5 is alive
=> ping 192.168.19.5
Using pfe2 device
host 192.168.19.5 is alive
=> ping 192.168.19.5
Using pfe2 device
host 192.168.19.5 is alive
=> ping 192.168.19.5
Using pfe2 device
host 192.168.19.5 is alive
=> ping 192.168.19.5
Using pfe2 device
host 192.168.19.5 is alive
=> ping 192.168.19.5
Using pfe2 device
host 192.168.19.5 is alive
=> ping 192.168.19.5
Using pfe2 device
host 192.168.19.5 is alive


From the PC when I try to ping there is no response. 
The icmp packet was sent on the correct interface as observed using Wireshark. 

BSP-S32 

0 项奖励
1 解答
78 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @yeshasyesodharan 

Thanks for the questions

It is correct for the results, u-boot only starts the network driver when it needs to use it (i.e. to send a ping). After it has finished the network driver is stopped. then Any traffic on the network will be ignored, as a result, no ICMP reply would be sent to the PC. 

 

Best Regards

Chenyin

在原帖中查看解决方案

0 项奖励
2 回复数
70 次查看
yeshasyesodharan
Contributor I

@chenyin_h 
Thanks for your response. Yes I also observed that u-boot responded to the ping requests received while u-boot was trying to ping the pc. It makes sense now. 

0 项奖励
79 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @yeshasyesodharan 

Thanks for the questions

It is correct for the results, u-boot only starts the network driver when it needs to use it (i.e. to send a ping). After it has finished the network driver is stopped. then Any traffic on the network will be ignored, as a result, no ICMP reply would be sent to the PC. 

 

Best Regards

Chenyin

0 项奖励