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.

Sending DHCP requests ...... timed out!

 

hi,I have a strange question on DM6467.

When I boot DM6467, it show messages as follow :

 

"Sending DHCP requests ...... timed out!

IP-Config: Retrying forever (NFS root)..."


 I don't know what the problem in it~

my uboot print as follows:

 

"ethaddr=00:0e:99:02:b5:92

ethact=DaVinci EMAC

bootdelay=3

baudrate=115200

autoload=no

nfspath=/home/user/workdir/filesys

rootpath=/home/user/workdir/filesys

nfshost=192.168.3.184

tftp_nfs=tftp 80700000 uImage.bin

bootfile=uImage.bin

dnsip=192.168.3.254

dnsip2=192.168.3.254

filesize=15396C

fileaddr=80700000

netmask=255.255.255.0

ipaddr=192.168.3.215

serverip=192.168.3.184

bootargs=console=ttyS0,115200n8 noinitrd rw mem=120M root=/dev/nfs nfsroot=$(nfshost):$(rootpath) ip=dhcp

bootcmd=dhcp;setenv serverip 192.168.3.184;tftpboot;bootm

stdin=serial

stdout=serial

stderr=serial

ver=U-Boot 2009.08 (Jul 19 2010 - 16:02:04) "

 

 

  • Solved! 

    this is the solution of my qustion:

        1. DM6467“bootargs” doesn’t accept the variable value, you have to type the location in “bootargs” directly.

                Ex.   nfsroot=$(nfshost):$(rootpath) (X)

                        nfsroot=10.100.1.1: /home/user/workdir/filesys (O)

        2. install a new filesys 

  • U-Boot shell variable substitution is a bit tricky. Some versions want {} instead of (). Single quotes around the variable should stop the substitution.

    echo $(nfshost)
    echo ${nfshost}
    echo '${nfshost}'

    Try the above at the U-Boot prompt to see which works.