I have updated my DVSDK1.1 to DVSDK2_00_00_22,so I have to boot MV5 Image rather than MV4 Image,is it right?So I fellow DVEVM 2.0 Getting Started Guide (sprue66f.pdf) .I face these problems:
first,I try to boot Image via DHCP and TFTP,then I set the env as below:
DaVinci_EVM v1.0# printenv
bootdelay=3
baudrate=115200
nfshost=192.168.0.25
mem=120M
filesize=1ecc28
fileaddr=80700000
hostname=SoftwareHost
rootpath=/home/kang/workdir/filesys
ethaddr=A0:BB:32:76:FE:01
serveraddr=192.168.0.25
bootfile=uImage-dm6446
bootcmd=dhcp;bootm
bootargs=video=davincifb:vid0=0,2500K:vid1=0,2500K:osd0=720x576x16,2025K davinci
_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal console=ttyS0,11520
0n8 noinitrd rw ip=dhcp root=/dev/hda1 mem=118M
stdin=serial
stdout=serial
stderr=serial
videostd=pal
serverip=192.168.0.25
ipaddr=192.168.0.84
Environment size: 551/8188 bytes
*************************
however,it does not work.It boot MV4 Image ,and we can see DHCP working。
NET: Registered protocol family 1
NET: Registered protocol family 17
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.0.25, my address is 192.168.0.84
root@SoftwareHost:~# uname -a
Linux SoftwareHost 2.6.10_mvl402 #4 Mon Sep 18 17:43:56 CST 2006 armv5tejl GNU/Linux
So,I add another command
DaVinci_EVM v1.0# tftpboot 0x80700000 uImage-dm6446
TFTP from server 192.168.0.25; our IP address is 192.168.0.84
Filename 'uImage-dm6446'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####
done
Bytes transferred = 2018344 (1ecc28 hex)
I think it download Image in Flash,right??
and boot again。。。。
but another problem occur.DHCP can not works;
No soundcards found.
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
rtc_davinci_evm rtc_davinci_evm: setting the system clock to 2004-01-01 12:00:15
(1072958415)
Sending DHCP requests ...... timed out!
IP-Config: Reopening network devices...
Sending DHCP requests ....
next I use static IP。Set the ip=192.168.0.84
and boot again。。。
DaVinci_EVM v1.0# boot
BOOTP broadcast 1
DHCP client bound to address 192.168.0.84
TFTP from server 192.168.0.25; our IP address is 192.168.0.84
Filename 'uImage-dm6446'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####
done
Bytes transferred = 2018344 (1ecc28 hex)
## Booting image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2018280 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
........................................................................ done, b
ooting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (x0029463@aspbuild11) (gcc ve
rsion 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 2007-03-10)) #
1 PREEMPT Wed May 20 01:14:17 IST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
************************************
root@192.168.0.84:/opt/dvevm# uname -a
Linux 192.168.0.84 2.6.18_pro500-davinci_evm-arm_v5t_le #1 PREEMPT Wed May 20 01
:14:17 IST 2009 armv5tejl GNU/Linux
we can see it boot MV5 Image,however,I can not ping my server 192.168.0.25
root@192.168.0.84:/opt/dvevm# ping 192.168.0.25
PING 192.168.0.25 (192.168.0.25) 56(84) bytes of data.
From 192.168.0.84 icmp_seq=1 Destination Host Unreachable
From 192.168.0.84 icmp_seq=2 Destination Host Unreachable
From 192.168.0.84 icmp_seq=3 Destination Host Unreachable
--- 192.168.0.25 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5013ms
, pipe 3
What is wrong???Any advice will be appreciated!!