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

Re: [microblaze-uclinux] ping



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/