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 is not working in uboot in am335x.

Other Parts Discussed in Thread: AM3354

Hi,

We are using u-boot-2014.07-g7e537bf in our AM3354 based custom board.

Now in uboot, when we are firing dhcp command at that time

u-boot# dhcp
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Now I guess this error comes because of we used 2nd ethernet interface (eth1) only.

But as per the log its showing it is link is up on port 0. (thats should not be possible for 1st interface as its not used anyway).

Made changes in board file:

static struct cpsw_slave_data cpsw_slaves[] = {
        {
                .slave_reg_ofs  = 0x308,
                .sliver_reg_ofs = 0xdc0,
                .phy_addr       = 1,
        },
        {
                .slave_reg_ofs  = 0x208,
                .sliver_reg_ofs = 0xd80,
                .phy_addr       = 1,
        }
};

Please suggest changes  to make it working.


Thanks.