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.

How to configure DHCP server for Davinci board on Windows XP

Hello friends,

I am a newbie on Davinci board.

I am trying to boot Davinci 6446 EVM with Windows XP Professional as host.
Booting from flash using board's Hard Drive's File System as mentioned in A.5.1 of Getting started guide.
Aborted the automatic boot sequence.


I don't know how to configure DHCP Server for running demos in the EVM.

I have used Tiny DHCP Server v1.4.
http://www.softcab.com/dhcp-server/index.php

Message coming from Windows XP: Limited or no connectivity.
I have connected lan cable from host to board.
Both yellow and green lights are stable on the board.


What I have done so far:

Davinci EVM#: setenv bootcmd bootm 0x2050000
Davinci EVM#: setenv bootargs mem=100M console=ttyS0,115200n8 root = /dev/hda1 rw noinitrd ip=dhcp
Davinci EVM#: saveenv
Davinci EVM#: boot

After executing these commands following message came at the end.

Sending DHCP requests......timed out!  //two times
Kernel Panic : Not syncing : VFS: unable to mount fs on unknown block(2,0)

Screenshot for this message:

http://img228.yfrog.com/i/kenelpanic.png/

I have also tried out:

Davinci EVM#: setenv ethaddr = 00:0E:99:02:02:29
Davinci EVM#: setenv serverip = 192.168.100.1
Davinci EVM#: setenv ipaddr 192.168.100.10
Davinci EVM#: saveenv
Davinci EVM#: boot

Tiny DHCP Server is updated with the above configurations.
Server IP is my host computer IP
Same message is coming.


How do one knows the Mac address and IP address of the Davinci Board.

Can anybody help me out.

  • Im use DM6437

    see release.txt,

    By default, the demo is configured to use DHCP to obtain its IP address.You can assign a static IP address by modifying app_main.c and changing "dhcp" to 'static' in the configuration section.

    in app_main.c file

     status = APP_SYSTEM_configSet(
          "ndk.priority",                      13,
          "ndk.ipAddrMethod",                  "static",
          "ndk.staticIpAddr",                  "192.168.1.100",
          "ndk.subnetMask",                    "255.255.254.0",
          "ndk.gateway",                       "192.168.1.1",
          "ndk.domainName",                    "dm6437evm.net",
          "ndk.dnsServer",                     "192.168.1.1",
          "ndk.dnsName",                       LOCAL_dnsName,
          "ndk.ipDiscoveryPort",               44000,

  • Mac address is just back side of board ,and ip  can be  get using static ip .....in main_app.c