There was a problem with the DHCP server. It was not configured properly.
And it the bootcmd I need to use dhcpd instead of dhcp. Now its working
fine!

On Tue, Mar 17, 2009 at 10:22 PM, Venkatachala Upadhya <
[email protected]> wrote:

>  Hi,
>
>
>
> What I notice here is that the board acquires a DHCP address 10.206.153.237
> and your tftp server IP address is 129.219.110.130, both are in different
> network. So you will never ever able to down load the u-Image to your board.
> You needs to get help from your network administrator to set this right or
> you have to do it yourself.
>
>
>
> Mkimage binary is not in the path. Set your path to include the directory
> name, where you have the binary mkimage.
>
>
>
>
>
> 1.      Since you have specified the tftp root as /var/lib/tftpboot, you
> have to specify only the file name for environment variable bootfile (u-boot
> environment variable)
>
> 2.      TFTP server address is ip address of the machine, where you have
> installed the TFTP server with tftp configuration mentioned  in
> /etc/xinetd.d/tftp.
>
> 3.      Uimage is not built as you do not have the path for mkimage.
>
>
>
> Hope this helps.
>
>
>
> With best regards,
>
> Venkatachala Upadhya| Extn: 65395|
> --
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of 
> *Abhishek
> Botadra
> *Sent:* 18 March, 2009 5:20 AM
> *To:* [email protected]
> *Subject:* Problem in booting via TFTP using NFS File System in DM 6467
>
>
>
> I am using TMS320DM6467 DVEVM v1.40. I have problem in booting via TFTP
> using NFS File System.
>
> Here are my environment variables:
>
> bootdelay=3
> baudrate=115200
> stdin=serial
> stdout=serial
> stderr=serial
> ethaddr=00:0e:99:02:b3:a9
> bootcmd=dhcp;bootm
> serverip=10.206.153.230
> rootpath=/home/<useracct>/work/workdir/filesys
>
> nfshost=10.206.153.230
> bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
> nfsroot=10.206.153.230:/home/<useracct>/work/workdir/filesys,nolock
> mem=120M davincihd_capture.channel0_numbuffers=4
> bootfile=uImage
>
> Here is what gets displayed:
>
> BOOTP broadcast 1
> *** Unhandled DHCP Option in OFFER/ACK: 44
> *** Unhandled DHCP Option in OFFER/ACK: 46
> *** Unhandled DHCP Option in OFFER/ACK: 44
> *** Unhandled DHCP Option in OFFER/ACK: 46
> DHCP client bound to address 10.206.153.237
> TFTP from server 129.219.110.130; our IP address is 10.206.153.237; sending
> through gateway 10.206.152.1
> Filename 'uImage'.
> Load address: 0x80700000
> Loading: T T
>
> And then it tries, exceeds the limit, tries again and this thing goes for
> ever.
>
>
> I have copied my uImage in /var/lib/tftpboot.
>
> And here is the /etc/xinetd.d/tftp file:
>
> service tftp
> {
>         disable = no
>         socket_type             = dgram
>         protocol                = udp
>         wait                    = yes
>         user                    = root
>         server                  = /usr/sbin/in.tftpd
>         server_args             = -s /var/lib/tftpboot
>         per_source              = 11
>         cps                     = 100 2
>         flags                   = IPv4
> }
>
> I have few things to make clear:
>
> (1) What should I specify as the bootfile?
> - It should be just 'uImage' or the complete path where the image is
> stored, i.e. /var/lib/tftpboot/uImage
>
> (2) What will be the TFTP server's IP address?
> - I specify it as my host PC IP address. Also, when I give the boot command
> it says TFTP from server 129.219.110.130, I don't know from where it gets
> this IP address.
>
> (3) When I am compiling the kernel using make ARCH=arm
> CROSS_COMPILE=arm_v5t_le- uImage I am getting the following output:
>
> CHK     include/linux/version.h
>   SPLIT   include/linux/autoconf.h -> include/config/*
>   SYMLINK include/asm-arm/arch -> include/asm-arm/arch-davinci
> make[1]: `arch/arm/kernel/asm-offsets.s' is up to date.
> make[1]: `include/asm-arm/mach-types.h' is up to date.
>   CHK     include/linux/compile.h
>   CHK     usr/initramfs_list
>   Kernel: arch/arm/boot/Image is ready
>   Kernel: arch/arm/boot/zImage is ready
>   UIMAGE  arch/arm/boot/uImage
> "mkimage" command not found - U-Boot images will not be built
>   Image arch/arm/boot/uImage is ready
>
> So, it creates uImage but says U-Boot images won't be built. Is this is a
> problem?
>
> Also, I am making sure that TFTP and NFS services are enabled in my PC.
> I am following the 'Getting started guide' provided with the DM 6467 EVM.
>
>
> Any help would be greatly appreciated.
>
>
>
> Thanks,
>
> Abhishek
>
>
> --
> Abhishek
>
> ------------------------------
> http://www.mindtree.com/email/disclaimer.html
>



-- 
Abhishek
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to