Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: udhcpc---no lease, failing
PostPosted: Tue Jul 29, 2008 1:02 am 
Offline

Joined: Thu Mar 13, 2008 9:12 pm
Posts: 19
Does someone meet this problem? (AT91sam9260ek)

udhcpc---no lease, failing


u-boot, DM9161A PHY Detected , setting as:

bootdelay=3
baudrate=115200
bootargs=mem=64M console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2
ethaddr=00:60:6E:42:BA:80
ethact=macb0
bootcmd=cp.b 0xD0030000 0x22000000 0x2F5730; bootm 0x22000000
ipaddr=192.168.0.101
serverip=192.168.0.100
netmask=255.255.255.0
gatewayip=192.168.0.1
stdin=serial
stdout=serial
stderr=serial


Thanks in advance.

Rumi


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 29, 2008 1:48 am 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 204
Location: USA
Hi there

Either
Rebuild Busybox (or whatever you have installed that is starting up the uDHCP client) without uDHCP.
(You seem to have setup the board for static IP (at least in U-Boot anyway), but the kernel command line does not pass any 'ifconfig' parameters. Not sure why you need to run a DCHP client with static IP.)

Or
Setup a DHCP server in your network that recognizes this client.
Note that your board does not seem have a hostname (in U-Boot anyway. What's in /etc/hostname ?).

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 29, 2008 5:10 pm 
Offline

Joined: Thu Mar 13, 2008 9:12 pm
Posts: 19
Thanks. I figured out the problem!

The MACB driver is broken in Linux 2.6.24, check this link:

http://www.spinics.net/lists/arm/msg14632.html

Linux 2.6.22 DOES NOT HAVE this problem


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 3:27 pm 
Offline

Joined: Wed Feb 14, 2007 11:17 am
Posts: 67
Reconfigure your kernel:
Do *not* use the "PHY Device support and infrastructure" "Drivers for Davicom PHYs"
but use instead :
"Generic Media Independent Interface device support"


Top
 Profile  
 
 Post subject: RE: Reconfigure your kernel:
PostPosted: Thu Jul 31, 2008 3:59 pm 
Offline

Joined: Thu Mar 13, 2008 9:12 pm
Posts: 19
Thanks for your help

Rumi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: