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.

DHCP problem with AM335 Ethernet

Other Parts Discussed in Thread: AM3352

My custom board based on the AM3352 has an annoying problem.  By default DHCP over eth0 does not work.  I can make it work by doing two "ifconfig eth0 down && ifconfig eth0 up" commands in a row however.  We use RMII and run Debian 7.0. 

I was reading in one of the PSP SDK notes that there is a problem with the CPSW on some DHCP servers.  Could this be what I am seeing?  I would really like to remove the ifup/down hack I am using.

Thanks,

Sean

  • Hi Sean,

    We only support the TI Sitara AM335x SDK here, so I'm not familiar with the Debian distribution, but please check how your /etc/network/interfaces file looks like. Here is how the "eth0" configuration looks like in SDK v7:

    # Wired or wireless interfaces
    auto eth0
    iface eth0 inet dhcp
            pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null

    Best regards,
    Miroslav