Project

General

Profile

DHCP is erratic in uboot

Added by Anonymous almost 12 years ago

We are having problem getting DHCP to work consistently on are board that uses the
the Mity AM3359 module (and our KSZ9021RL Phy). Port 0 failing is normal but when
port 1 finishes autoneg, I see the DHCP requests go out on the line and I see the
server responding with a DHCP Offer. But Uboot does not seem to pick up the
address. Is there a way to tell uboot to only use port1, or are there any other
suggestions to resolve this issue with our card?

Thanks,
John Conover

U-Boot# dhcp
failed to read bmcr on phy id 0
Auto negotitation failed
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
link up on port 1, speed 100, full duplex
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Retry count exceeded; starting again
failed to read bmcr on phy id 0
Auto negotitation failed


Replies (3)

RE: DHCP is erratic in uboot - Added by Tim Iskander almost 12 years ago

John
There is quite a long discussion on the TI e2e site about this very subject. I suspect some of it will be pertinent to your situation.... specifically the parts about the recv phy timings.
http://e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/791/t/182794.aspx?pi71465=2

cheers
/Tim

RE: DHCP is erratic in uboot - Added by Anonymous almost 12 years ago

Thanks Tim,

I've been beating my head against a wall for a bit so hopefully there will be something good
there.

John C.

RE: DHCP is erratic in uboot - Added by Anonymous almost 12 years ago

Just to let you know that if you set the phy register 9 (1000Base-T Control) to 0x0000 (turn off advertisement
for 1000 full/half duplex), then DHCP will work in uboot. I'm still looking into DHCP at gig settings.

John C.

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)