To boot via tftp, on OMAP_L137_EVM I set the bootcmd env variable like this: bootcmd=tftp;bootm here a printout of my tftp working environment: bootdelay=3 baudrate=115200 ethaddr=00:0e:99:02:fd:82 filesize=1B8994 fileaddr=C0700000 rootpath=/home/bagside/workdir/filesys bootfile=uImage serverip=192.168.0.198 ipaddr=192.168.0.199 nfshost=192.168.0.198 bootcmd=tftp;bootm bootargs=console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.168.0.198:/home/bagside/workdir/filesys,nolock mem=32M stdin=serial stdout=serial stderr=serial ver=U-Boot 1.3.3 (Apr 23 2009 - 17:32:00) Da: davinci-linux-open-source-bounces+msponchiado=ciellecnc.com@linux.davincidsp .com [mailto:davinci-linux-open-source-bounces+msponchiado=ciellecnc....@linux.da vincidsp.com] Per conto di Aditya Barawkar Inviato: giovedì 3 febbraio 2011 10.12 A: davinci-linux-open-source@linux.davincidsp.com Oggetto: boot through tftp hi, We are using a DM6446 EVM. We have compiled a kernel for the board, in which we enabled various drivers required(through make menuconfig)
Now we want the kernel to be booted via tftp(unlike what is default booting from flash) and the filesys will be nfs as usual. the bootargs for the tftp are as follows...(as given in the texas getting started guide) EVM # setenv bootcmd 'dhcp;bootm' EVM # setenv serverip <tftp server ip address> EVM # setenv bootfile <name of kernel image> EVM # setenv rootpath <root directory to mount> EVM # setenv nfshost <ip address of nfs host> EVM # setenv bootargs video=davincifb:vid0=720x576x16, 2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=$(videostd) console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=120M but when we boot the board we get following error: Unknown command 'dhcp' - try 'help' and the kernel boots from flash as default. TirDavinci_EVM# printenv bootdelay=3 baudrate=115200 ethaddr=ff:ff:ff:ff:ff:ff ipaddr=192.168.0.51 nfshost=10.42.43.1 rootpath=/home/aditya/workdir/filesys serverip=10.42.43.1 bootargs=video=davincifb:vid0= 720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC console=ttyS0,11M bootfile=/var/lib/tftpboot/uImage bootcmd=dhcp;bootm <<<---------------For boot through tftp (refering to section 4.7 , A.4.4 in getting started guide..sprue66d.pdf) stdin=serial stdout=serial stderr=serial Environment size: 526/8188 bytes TirDavinci_EVM# boot Unknown command 'dhcp' - try 'help' <<<---------------dhcp command not recognised by uboot ## Booting image at 02050000 ... Image Name: Linux-2.6.10_mvl401-davinci_evm Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1324188 Bytes = 1.3 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting Davinci linux kernel... Uncompressing Linux....................................................................... ........................... done, booting thee and the orignal kernel is booted... Also we are confused on 1) can we boot the kernel through tftp without copying the image into the memory of target?? or we necessarily have to copy the image into the memory of target and then boot?? 2)we have searched on booting via tftp...and we found that lot of people use following command:: tftp 0x80700000 uImage will this command write the new "uImage" to 0x80700000 on the target? what is the address 0x80700000 pointing to? will my orignal kernel get affected if we write to this address? thanks in advace!
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source