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.

Linux/AM3354: Board not acquiring IP address

Part Number: AM3354

Tool/software: Linux

Hi,

I am working on a board based on TI Sitara 335x. using Sitara SDK Version 7.00.00, Ubuntu 12.04.5LTS, GNU/Linux 3.12.10-ti2013.12.01 armv71.
Board is having single Ethernet port (eth0), and have connected to the LAN. I have dhcp running on eth0. When I bring the eth0 down and up with commands "ifconfig eth0 down" and "ifconfig eth0 up" using below script, after some iteration eth0 not acquiring an IP address and the board is not reachable. I need to reboot the board to bring it back to normal condition.


#!/bin/bash
for i in `seq 1 100`;
do
 echo "ifconfig eth0 down"
 ifconfig eth0 down
 sleep 2
 echo "ifconfig eth0 up"
 ifconfig eth0 up
 sleep 4
done

  • Hi,

    The SDK 7.0 is now about 5 years and is no longer supported. The CPSW driver has been modified greatly over the course of this time. The only option I can recommend at this point to move to current SDK.

    Best Regards,
    Schuyler
  • Hi Schuyler,

    Actually we are almost end of project delivery, porting to current SDK will call for full testing.
    Is any other alternative is there, any patch file?, to resolve this issue so that we can make use of SDK7.0 itself.

    Regards,

    Manimaran A

  • Hi Schuyler,

    I have downloaded SDK8, instead of porting new SDK will it compatible to use "net driver" alone from SDK8 to SDK7.

    Regards,

    Manimaran A

  • Hi Manimaran,

    I appreciate the situation you in, but there has been a significant amount of work in this driver over the last 4 years. We currently have a test like the one you described and our current SDK does not have this issue that you are seeing.

    I am not sure using the the cpsw.c from SDK8 will help with the situation you are describing. My first recommendation is to clone the TI Linux Tree and use git to identify a patch set. This may not be a trivial task. Are you familiar with git?

    Another suggestion is to download the lastest TI SDK and run it on a TI EVM if you still have one and make sure your test works on the current SDK before going to the trouble of trying this back port.

    Best Regards,
    Schuyler