[U-Boot] reg. Ethernet operation

Hi experts,
I just wanted to do some testing on ethernet driver in Uboot. I have a small program that will send a binary file through ethernet. But I don't have any clue on how to receive those packets in U-boot. I mean what are the API's to be used. It will be helpful if you could tell me how to do that in U-boot.
Another thing is My target board is connected to eth1 of my host and i am able to ping the host from target saying it's alive. But i am not able to ping the target from the host. Does it mean, the target is restricted to send icmp responses back to host?
Best Regards, Murali
This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message. You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender. Pace plc is registered in England and Wales (Company no. 1672847) and our Registered Office is at Victoria Road, Saltaire, West Yorkshire, BD18 3LF, UK. Tel +44 (0) 1274 532000 Fax +44 (0) 1274 532010. http://www.pace.com Save where otherwise agreed in writing between you and Pace (i) all orders for goods and/or services placed by you are made pursuant to Pace's standard terms and conditions of sale which may have been provided to you, or in any event are available at http://www.pace.com/uktcsale.pdf (ii) all orders for goods and/or services placed by Pace are subject to Pace's standard terms and conditions of purchase which may have been provided to you, or in any event are available at http://www.pace.com/uktcpurch.pdf. All other inconsistent terms in any other documentation including without limitation any purchase order, reschedule instruction, order acknowledgement, delivery note or invoice are hereby excluded.
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

Dear "Muralitharan Perumal",
In message 49F5B80B.2090306@pace.com you wrote:
I just wanted to do some testing on ethernet driver in Uboot. I have a
You may want to look into the Ethenret related POST code in U-Boot.
small program that will send a binary file through ethernet. But I don't have any clue on how to receive those packets in U-boot. I mean what are the API's to be used. It will be helpful if you could tell me how to do that in U-boot.
Why don't you just perform a TFTP and/or NFS file transfer? You can then check the file integrity for example using some checksumming - if you transfer a mkimage created image, this even comes for free.
Another thing is My target board is connected to eth1 of my host and i am able to ping the host from target saying it's alive. But i am not able to ping the target from the host. Does it mean, the target is restricted to send icmp responses back to host?
Please read the doc. U-Boot does not reply to OCMP packets.
This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message. You must not disclose, forward or copy this E-mail o
Please omit this crap when posting to a public mailing list.
Best regards,
Wolfgang Denk
participants (2)
-
Muralitharan Perumal
-
Wolfgang Denk