This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

U-boot AM3358 Ethernet Port ping Problem

Other Parts Discussed in Thread: AM3358

Dear Ti ..I am using AM3358 Processor with latest u-boot version  u-boot-2014.07-g7e537bf    

In this version I am trying to ping Ethernet Port 0 and Ethernet port 1 and notice that only one port 0 is pinging and second port is not working in u -boot. we have tried some required changes still it is not working and because of that port 0 is stop pinging.

For working proper what should  i want to do please suggest any patch and or any changes as soon as possible

Thanks And Regards,

GAUTAM

  • Only the port 0 is supported in u-boot. You can ping out to a another device from port 0.
  •  

    Dear ...

    We have AM3358 Sitara Startware Kit and in that U-boot  only one port0 is pinging ,What are the

    required changes or have any patch should provided by TI so we can add it in u-boot code ,

    How i can ping port 1 in U-boot from port0.

  • I see the email that indicated a new post but I don't see the post here in the thread.

    U-Boot is a stateless command interpreter from a driver perspective. All drivers that are invoked by the command will completely re-initialize the interface each time the command is used. Ping for example will initialize only one cpsw port and send an ICMP packet and then poll for a response. U-Boot typically uses one Ethernet port since it is intended to be used to bring in code for booting.

    U-Boot also does not run an ICMP server to respond to pings.

    Why do you want to ping the other port?
  • Dear Sir,

    Thanks for your prompt reply. I have below doubt.
    If we are using TI AM335x Board for production, how the production people able test the hardware peripheral by using hardware test code in u-boot.

    Regards,
  • U-Boot is intended to boot the processor, that said lot of things can be done with U-Boot scripting that can be done. A big drawback for using U-Boot for board checkout is that some custom boards may have several peripherals that need to enabled that go beyond what U-Boot can be configured to do. Which is as in the case presented here the custom board has two ethernet interfaces on it and U-Boot would use only one during the booting process. 

    This link below contains the board diagnostic source code used to check out the am335x evm-sk, this code could be used but will require significant modifications that are not supported by TI.

    http://processors.wiki.ti.com/index.php/AM335x_Starter_Kit_Diagnostics