Wilson, Nic,

 

I’ve seen this as well �C as you mention below - looks like some routers are setting the ‘next-server’ address in the dhcp options they hand out, which uboot picks up and configures serverip.  This can be very useful if some scenarios for automating the boot procedure �C but will make it incorrect for your app in this case.

 

If you want DHCP to work as well, you could also do : -

 

setenv autoload no

 

This will stop dhcp from autoloading the bootfile and allow you to reset the serverip to your desired tftpserver before loading the kernel.

 

Your bootcmd would then become :-

 

setenv bootcmd ‘dhcp;setenv serverip xxx.yyy.xxx.yyy;tftpboot 0x80700000 uImage; ....’

 

~rog

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anderberg, Niclas
Sent: 07 September 2006 16:05
To: wilson; [email protected]
Subject: RE: about boot from tftp server

 

Wilson,

 

Judging from your ip addresses used it looks like you have a local router. I have noticed that u-boot first tries to download the uImage from the gateway = router first before it tries the TFTP server you actually specified in the u-boot environment variable (serverip variable). Some routers (like my linksys wrt54g) use tftp for updating the flash which is why they have tftp server, but their server of course doesn't have your uImage.

 

This could be your problem as I can see the client tries to download the uImage from 192.168.3.1 (which likely is your router). I haven't found a way around this issue other than to specify the ip adress manually (ipaddr variable) followed by the tftpboot command to download the image (and not use the dhcp command at all). This works for me.

 

Regards,

Niclas


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of wilson
Sent: Thursday, September 07, 2006 2:38 PM
To: [email protected]
Subject: about boot from tftp server

Hello:

I follow SPRUE66 page A-12 to run "Booting via TFTP Using NFS File System"

it recoue a issue and as bollow:

BOOTP broadcast 1
DHCP clieant broundto address 192.168.3.101
TFTP from server 192.168.3.1:our IP address is 192.168.3.101
Filename 'tftpboot/uImage'
Load address:0x80700000
Loading...
TFTP error: "File not found" (1)
Starting again

the finename is writed in /etc/dhcp.config.

who can tell my what's going on.

                                                              wilson

___________________________________________________
您的生活即�r通 - �贤ā����贰⑸�活、工作一次搞定!
http://messenger.yahoo.com.tw/

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

Reply via email to