[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] Ping from u-boot not working



Yes, I tried setting the env-variables "netmask" and "gatewayip" also. It still doesnt work
I also tried pinging the gateway's  ip-addr but even that is not reachable and is giving the "host is not alive" error.
After giving the ping commad  for the first time I can see the following message also on the u-boot prompt :
eth0: Xilinx XPS LocalLink Tri-Mode Ether MAC #0 at 0x81C00000.
1000BASE-T/FD
This means that u-boot is able to detect the temac interface.
Another interesting point that I noticed sometime back was that the mac-addr of the interface after the system boots up was different than the ethaddr env-variable in u-boot. I tried using the post-boot mac-addr in my System settings in make menuconfig but the u-boot ethaddr doesnt change. Also u-boot docs say that once the ethaddr env-variable is set, you cannot change it.Can the different ethaddr be a potential problem? 
 
Thanks,
-Mayuri

 


From: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael Allwright
Sent: Monday, October 26, 2009 2:11 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] Ping from u-boot not working

did you set the netmask addr? "255.255.255.0" (by default) - this is critical to the function of any network interface...


Kulkarni, Mayuri wrote:
Hi,
I have a Xilinx FPGA with Microblaze  as the CPU. I am using Petalinux-v0.rc4 and the default u-boot that came with it. I have configured the temac from make menuconfig and am able to connect to the external world trough it after the kernel comes up. But at the u-boot stage when I try to ping an ip-addr, I always get an error " Ping failed : host ip-addr not available"..  The same host can be pinged from the board after the system comes up..
 
I have already checked that the env-variables "ethaddr" and "ipaddr" are set. Am I missing something here? Is there any configuration the u-boot requires for it to detect the temac configs and in turn for the ping/tftp to work correctly?
 
Thanks,
-Mayuri