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

Re: [microblaze-uclinux] ping



Devi:

Welcome to the wonderful and mysterious world of network programming.  
If you are not running Ethereal to monitor the network activity, then  
you absolutely should be. For ping to work it is also necessary that  
ARP be functional also. In fact PING will not work if ARP isn't  
running. I'd start there by confirming that the ARP protocol is  
executed correctly.

Regards,

Cybin

On May 24, 2005, at 4:23 PM, John Williams wrote:

> Hi Devi,
>
> devi wrote:
>
>
>> Instead of Xilinx ethernet driver i am using open_eth.c for the  
>> net driver.
>> When I Ping to remote Id the ping hangs.Can anyone tell me why it  
>> is not pinging.
>>
>
> It is impossible for anyone to answer this question.  There are so  
> many reasons why this might not work.
>
> Note it is unlikely that the driver will work without modification,  
> there will be some customisation necessary for integrating into  
> microblaze.  Depending on how the driver is written, this might be  
> easy or it might be hard.
>
> Things to check:
>
>  - Are your base addresses and IRQs correct?
>  - Is the interrupt handler correctly registered with the OS?
>  - Can you communicate correctly with the ethernet core  
> (init,status etc)
>
> If you haven't already, read the doco on the website about kernel- 
> mode debugging using mb-gdb and the xmd/mdm capabilities.
>
> Put printk() calls through the driver - you need to learn in detail  
> what is happening in there.
>
> You will just have to do the hard work on this one - it's probably  
> no more than 10 or 20 lines of code that must be added/changed/ 
> removed, but it will take you some time to discover which 20 lines  
> they are.
>
> Regards,
>
> John
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze- 
> uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/ 
> microblaze-uclinux/
>
>

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/