Re: [U-Boot] TFTP Issue

I use
tftpboot <load_address> <image>
Can you please let me know what are the other options and their syntax for loading a image?
-----Original Message----- From: sywang [mailto:sywang@dongniannetworks.com] Sent: Friday, December 17, 2010 11:51 AM To: T K, Sunil Kumar; u-boot@lists.denx.de Subject: RE: [U-Boot] TFTP Issue
Do you have bootp or DHCP server?
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of T K, Sunil Kumar Sent: 2010年12月17日 14:14 To: 'u-boot@lists.denx.de' Subject: [U-Boot] TFTP Issue
Hi All,
When I start for TFTP I see below shown messages on my screen though I had set serverip properly. Can anyone please comment on the issue.
=====================================
Retry count exceeded; starting again BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5
=====================================
Thanks in advance!
Best Regards, Sunil

Dear "T K, Sunil Kumar",
In message 674D2C24C8992F46817BBBF3ECAE914F4EBF8714A5@blr-sms-exch01.digi.com you wrote:
Can you please let me know what are the other options and their syntax for loading a image?
Try "halp", and/or read the manual.
And pleast stop top posting / full quoting. For help please see http://www.netmeister.org/news/learn2quote.html
Best regards,
Wolfgang Denk

Hi All,
Can you please provide pointers to resolve this issue?
======================================================
CCWMX51 # nfs 0x94000000 10.80.1.126:u-boot.bin
Using FEC0 device
File transfer via NFS from server 10.80.1.126; our IP address is 192.168.42.30
Filename 'u-boot.bin/-u-boot.bin'.
Load address: 0x94000000
Loading: ## Warning: gatewayip needed but not set
## Warning: gatewayip needed but not set
## Warning: gatewayip needed but not set
## Warning: gatewayip needed but not set
==========================================================
Even after setting the gatewayip I could see the error messages as shown below:
======================================================
CCWMX51 # nfs 0x94000000 10.80.1.126:u-boot.bin
Using FEC0 device
File transfer via NFS from server 10.80.1.126; our IP address is 192.168.42.30;
sending through gateway 10.80.1.1
Filename 'u-boot.bin/-u-boot.bin'.
Load address: 0x94000000
Loading: *
ARP Retry count exceeded; starting again
Using FEC0 device
File transfer via NFS from server 10.80.1.126; our IP address is 192.168.42.30;
sending through gateway 10.80.1.1
Filename 'u-boot.bin/-u-boot.bin'.
Load address: 0x94000000
Loading: *
ARP Retry count exceeded; starting again
======================================================
Regards,
Sunil

Dear "T K, Sunil Kumar",
In message 674D2C24C8992F46817BBBF3ECAE914F4EBF8714A7@blr-sms-exch01.digi.com you wrote:
## Warning: gatewayip needed but not set
OK, this is a pretty clear message.
Even after setting the gatewayip I could see the error messages as shown be= low:
...
CCWMX51 # nfs 0x94000000 10.80.1.126:u-boot.bin
...
File transfer via NFS from server 10.80.1.126; our IP address is 192.168.42.30; sending through gateway 10.80.1.1
If you IP address is 192.168.42.30, then the gateway should have an IP address in _your_ network, i. e. something starting 192.168.xx.xx
Best regards,
Wolfgang Denk

If you IP address is 192.168.42.30, then the gateway should have an IP address in _your_ network, i. e. something starting 192.168.xx.xx
--> Yes. I agree with you. Whatever gateway IP I have mentioned it is of server's gateway IP (In this case server is my PC. So I have given my PC gateway IP.) But earlier it was " gatewayip=0.0.0.0" and was working fine also. Can't we go ahead without gatewayip?
Regards, Sunil ============================================================================================ -----Original Message----- From: Wolfgang Denk [mailto:wd@denx.de] Sent: Friday, December 17, 2010 3:49 PM To: T K, Sunil Kumar Cc: 'sywang'; 'u-boot@lists.denx.de' Subject: Re: [U-Boot] TFTP Issue
Dear "T K, Sunil Kumar",
In message 674D2C24C8992F46817BBBF3ECAE914F4EBF8714A7@blr-sms-exch01.digi.com you wrote:
## Warning: gatewayip needed but not set
OK, this is a pretty clear message.
Even after setting the gatewayip I could see the error messages as shown be= low:
...
CCWMX51 # nfs 0x94000000 10.80.1.126:u-boot.bin
...
File transfer via NFS from server 10.80.1.126; our IP address is 192.168.42.30; sending through gateway 10.80.1.1
If you IP address is 192.168.42.30, then the gateway should have an IP address in _your_ network, i. e. something starting 192.168.xx.xx
Best regards,
Wolfgang Denk

Dear "T K, Sunil Kumar",
please stop top posting / full quoting.
Make sure to read http://www.netmeister.org/news/learn2quote.html
In message 674D2C24C8992F46817BBBF3ECAE914F4EBF8714A9@blr-sms-exch01.digi.com you wrote:
If you IP address is 192.168.42.30, then the gateway should have an IP address in _your_ network, i. e. something starting 192.168.xx.xx
--> Yes. I agree with you. Whatever gateway IP I have mentioned it is of server's gateway IP (In this case server is my PC. So I have given my PC gateway IP.) But earlier it was " gatewayip=0.0.0.0" and was working fine also. Can't we go ahead without gatewayip?
If your server's and your target's IP addresses are in two different networks (as determined by their respective IP addresses and the uset network mask) then you do need a gateway, and it mut have an IP address in the network where your target is (otherwise the target cannot talk to it).
If you put both the server and the target in the same network then no gateway i sneeded. In this case "gatewayip" should be unset.
Best regards,
Wolfgang Denk

Hi,
I downloaded freescale Android2.2 package for my IMX51 board. According to the instructions provided in the manual i loaded u-boot onto my device. But after this activity, its strange to see that my device is not getting started with the newly loaded u-boot of Freescale's Android2.2.
Can you please comment on this issue?
Here are the extracted logs:
===============================================================
CCWMX51 # printenv_dynamic
console=console=ttymxc1,38400
ebootaddr=0x90800000
eimg=eboot-CCXMX51
ip=ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:ccwmx51js:eth0ff
loadaddr=0x90800000
loadaddr_initrd=0x90600000
kimg=uImage-ccwmx51js
npath=/exports/nfsroot-ccwmx51js
linuxloadaddr=0x90800000
loadbootsc=yes
bootscript=ccwmx51js-bootscript
mmc_rpart=/dev/mmcblk0p2
netosloadaddr=CONFIG_NETOS_LOAD_ADDR
rimg=rootfs-ccwmx51js-128.jffs2
rootdelay=10
smtd=
snfs=root=nfs nfsroot=${serverip}:
std_bootarg=
uimg=u-boot-ccwmx51js.bin
usrimg=userfs-ccwmx51js-128.jffs2
wceloadaddr=0x90200000
wimg=wce-CCXMX51
wzimg=wcez-CCXMX51
CCWMX51 # setenv uimg u-boot.bin
CCWMX51 # setenv serverip 10.80.1.126
CCWMX51 # saveenv
Saving Environment to Digi NVRAM...
Writing Parameters to NVRAM
CCWMX51 # update uboot
Partition marked read-only / fixed. Do you want to continue?(y/n)y
autoload was
BOOTP broadcast 1
DHCP client bound to address 10.80.1.116
Using FEC0 device
TFTP from server 10.80.1.126; our IP address is 10.80.1.116
Filename 'u-boot.bin'.
Load address: 0x90800000
Loading: ###########
done
Bytes transferred = 160248 (271f8 hex)
Calculated checksum = 0x8f75b383
Do you really want to overwrite U-Boot flash partition(y/n)y
Erasing: complete
Writing: complete
Verifying: complete
Reboot system so update takes effect
Update successful
CCWMX51 #
====================================================================
Regards, Sunil

Dear "T K, Sunil Kumar",
In message 674D2C24C8992F46817BBBF3ECAE914F4EC0A9F077@blr-sms-exch01.digi.com you wrote:
I downloaded freescale Android2.2 package for my IMX51 board. According to the instructions provided in the manual i loaded u-boot onto my device. But after this activity, its strange to see that my device is not getting started with the newly loaded u-boot of Freescale's Android2.2.
Can you please comment on this issue?
No, I cannot. I have no clue about what might be contained in Freescale's package.
Please contact Freescale technical support when you run into problems using their code.
Thanks.
Best regards,
Wolfgang Denk
participants (2)
-
T K, Sunil Kumar
-
Wolfgang Denk