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.

Bootig the DVEVM Using NFS + TFTP

Hi all,

I'm using DVEVM that does not contain preloaded demo, and without DVSDK DVDS. I downloaded all the stuff from the web.

I started following a step by step the GSG using Redhat 4 as a host on VMWare workstation.

I installed all the software as GSG states and did every thing from stopping the firewall ,exporting the file system running NFS ,checking TFTP server and setting the appropriate environment variables on the U-boot. The environment variables looks like this

 

bootdelay=3
baudrate=115200
rootpath=/home/joe/workdir/filesys
barg1=console=ttyS0,115200n8
barg2=noinitrd rw ip=dhcp root=/dev/nfs
barg4=mem=120M
ipaddr=dhcp
nfshost=192.168.50.3
barg3=nfsroot=192.168.50.3:/home/joe/workdir/filesys
bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.168.50.3:/home/joe/workdir/filesys mem=120M
serverip=192.168.50.3
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:41:af
videostd=pal
bootcmd=dhcp;bootm
bootfile=uImage

I tried to boot first from flash using NFS file system on host but I received a message

Unkbown command nboot

booting image at 807000000

Bad magic number

So after checking this problem in the previous posts I recognized that the U-boot version differs from DVSDK version or there is a problem in the bootloader on the flash.

After that I decided to boot from TFTP using NFS but I got this message when I boot using the previous environment variables

DaVinci EVM # boot
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

Retry count exceeded; starting again

I thing that the problem is in the place of the uImage. I know that it should be in the /tftpboot directory, but unfortunately, I can't find the desired directory and I don't know where I should create it. Also I can't find a file named uImage.

Actually, I got sick from trying again and again, reading posts and reinstalling files ...

I'll appreciate any help.

  • Hello,

    joe ghanem said:
    DaVinci EVM # boot
    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

    Retry count exceeded; starting again

    This could be happening because you do not have a DHCP server on your network. Do you know the IP address of the DHCP server on your network? If yes, you can use ping command from U-boot to check that the EVM is able to access the server. You may also use packet sniffers like wireshark on the DHCP server to see if the DHCP server is seeing the DHCP request and responding to it.

    Thanks,

    Sekhar

  • hello,

    That was true, I tried several configurations for the dhcp server, but unfortunately it didn't work.

    I wonder what is the best configuration that should be done for DHCP server on red hat 4 host

    thanks,

    joe