* [U-Boot] tftp not working
@ 2009-02-16 6:24 Afzal Nadirshah
2009-02-16 6:42 ` Wolfgang Denk
2009-02-16 8:24 ` Stefan Roese
0 siblings, 2 replies; 9+ messages in thread
From: Afzal Nadirshah @ 2009-02-16 6:24 UTC (permalink / raw)
To: u-boot
Hi All,
I have compiled u-boot-nand.bin for the canyonlands board.I flashed this image onto the nand flash and
did a boot from NAND.I interrupted the u-boot and tried to do a tftp. But i get this error : No ethernet found.
Could someone tell me where to enable ethernet in the u-boot source code?
Regards,
Afzal Nadirshah
http://www.mindtree.com/email/disclaimer.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 6:24 [U-Boot] tftp not working Afzal Nadirshah
@ 2009-02-16 6:42 ` Wolfgang Denk
2009-02-16 8:32 ` Afzal Nadirshah
2009-02-16 8:24 ` Stefan Roese
1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Denk @ 2009-02-16 6:42 UTC (permalink / raw)
To: u-boot
Dear Afzal Nadirshah,
In message <174230991E95D743B0C91DF471EF44E8434329C609@MTW02MSG02.mindtree.com> you wrote:
>
> I have compiled u-boot-nand.bin for the canyonlands board.I flashed this image onto the nand flash and
> did a boot from NAND.I interrupted the u-boot and tried to do a tftp. But i get this error : No ethernet found.
> Could someone tell me where to enable ethernet in the u-boot source code?
You probably forgot to set a MAC address (ethaddr environment
variable). Set one, then "saveenv", then "reset", then try again.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Data is a lot like humans: It is born. Matures. Gets married to
other data, divorced. Gets old. One thing that it doesn't do is die.
It has to be killed." - Arthur Miller
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 6:24 [U-Boot] tftp not working Afzal Nadirshah
2009-02-16 6:42 ` Wolfgang Denk
@ 2009-02-16 8:24 ` Stefan Roese
1 sibling, 0 replies; 9+ messages in thread
From: Stefan Roese @ 2009-02-16 8:24 UTC (permalink / raw)
To: u-boot
On Monday 16 February 2009, Afzal Nadirshah wrote:
> I have compiled u-boot-nand.bin for the canyonlands board.I
> flashed this image onto the nand flash and did a boot from NAND.I
> interrupted the u-boot and tried to do a tftp. But i get this error : No
> ethernet found. Could someone tell me where to enable ethernet in the
> u-boot source code?
You don't need to enable it in the source. You just have to set one (or more)
MAC address(es). Without MAC addresses the 4xx-ethernet driver just doesn't
initialize the interfaces. So just set "ethaddr" to a sane value and do
a "saveenv" and reboot. This should be all thats needed.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 6:42 ` Wolfgang Denk
@ 2009-02-16 8:32 ` Afzal Nadirshah
2009-02-16 8:42 ` Stefan Roese
0 siblings, 1 reply; 9+ messages in thread
From: Afzal Nadirshah @ 2009-02-16 8:32 UTC (permalink / raw)
To: u-boot
Hi,
I tried the same. But it still gives the same error.
________________________________________
From: Wolfgang Denk [wd at denx.de]
Sent: Monday, February 16, 2009 12:12 PM
To: Afzal Nadirshah
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] tftp not working
Dear Afzal Nadirshah,
In message <174230991E95D743B0C91DF471EF44E8434329C609@MTW02MSG02.mindtree.com> you wrote:
>
> I have compiled u-boot-nand.bin for the canyonlands board.I flashed this image onto the nand flash and
> did a boot from NAND.I interrupted the u-boot and tried to do a tftp. But i get this error : No ethernet found.
> Could someone tell me where to enable ethernet in the u-boot source code?
You probably forgot to set a MAC address (ethaddr environment
variable). Set one, then "saveenv", then "reset", then try again.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Data is a lot like humans: It is born. Matures. Gets married to
other data, divorced. Gets old. One thing that it doesn't do is die.
It has to be killed." - Arthur Miller
http://www.mindtree.com/email/disclaimer.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 8:32 ` Afzal Nadirshah
@ 2009-02-16 8:42 ` Stefan Roese
2009-02-16 8:52 ` Afzal Nadirshah
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Roese @ 2009-02-16 8:42 UTC (permalink / raw)
To: u-boot
On Monday 16 February 2009, Afzal Nadirshah wrote:
> I tried the same. But it still gives the same error.
Please send the complete bootlog and the output of "printenv".
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 8:42 ` Stefan Roese
@ 2009-02-16 8:52 ` Afzal Nadirshah
2009-02-16 9:15 ` Stefan Roese
0 siblings, 1 reply; 9+ messages in thread
From: Afzal Nadirshah @ 2009-02-16 8:52 UTC (permalink / raw)
To: u-boot
Hi,
I did as suggested by you. I also set the serverip as well as ipaddr. Now when i do a tftp 100000 u-boot-nand.bin,
i get the following :
=> tftp 100000 u-boot-nand.bin
Waiting for PHY auto negotiation to complete...... TIMEOUT !
done
ENET Speed is 10 Mbps - HALF duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 172.22.68.33; our IP address is 172.22.68.36
Filename 'u-boot-nand.bin'.
Load address: 0x100000
Loading: *
It hangs at this point
Regards,
Afzal Nadirshah
________________________________________
From: Stefan Roese [sr at denx.de]
Sent: Monday, February 16, 2009 2:12 PM
To: u-boot at lists.denx.de
Cc: Afzal Nadirshah; Wolfgang Denk
Subject: Re: [U-Boot] tftp not working
On Monday 16 February 2009, Afzal Nadirshah wrote:
> I tried the same. But it still gives the same error.
Please send the complete bootlog and the output of "printenv".
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
http://www.mindtree.com/email/disclaimer.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 8:52 ` Afzal Nadirshah
@ 2009-02-16 9:15 ` Stefan Roese
2009-02-16 9:21 ` Afzal Nadirshah
2009-02-17 12:24 ` Afzal Nadirshah
0 siblings, 2 replies; 9+ messages in thread
From: Stefan Roese @ 2009-02-16 9:15 UTC (permalink / raw)
To: u-boot
On Monday 16 February 2009, Afzal Nadirshah wrote:
> I did as suggested by you. I also set the serverip as well as ipaddr. Now
> when i do a tftp 100000 u-boot-nand.bin, i get the following :
>
> => tftp 100000 u-boot-nand.bin
> Waiting for PHY auto negotiation to complete...... TIMEOUT !
!!!
> done
> ENET Speed is 10 Mbps - HALF duplex connection (EMAC0)
> Using ppc_4xx_eth0 device
> TFTP from server 172.22.68.33; our IP address is 172.22.68.36
> Filename 'u-boot-nand.bin'.
> Load address: 0x100000
> Loading: *
>
> It hangs at this point
Your board doesn't have a correct ethernet link. Is this really the original
Canyonlands board? Is the correct ethernet port connected?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 9:15 ` Stefan Roese
@ 2009-02-16 9:21 ` Afzal Nadirshah
2009-02-17 12:24 ` Afzal Nadirshah
1 sibling, 0 replies; 9+ messages in thread
From: Afzal Nadirshah @ 2009-02-16 9:21 UTC (permalink / raw)
To: u-boot
Hi,
I connected to the other ethernet port on the board. I got the following :
=> tftp 100000 u-boot-nand.bin
Waiting for PHY auto negotiation to complete.. done
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 172.22.68.33; our IP address is 172.22.68.36
Filename 'u-boot-nand.bin'.
Load address: 0x100000
Loading: *
This also hangs at the same point.
But when i do a boot from NOR, the u-boot in the NOR flash does not give any problems.I am able to do a tftp file download properly.
________________________________________
From: Stefan Roese [sr at denx.de]
Sent: Monday, February 16, 2009 2:45 PM
To: Afzal Nadirshah
Cc: u-boot at lists.denx.de; Wolfgang Denk
Subject: Re: [U-Boot] tftp not working
On Monday 16 February 2009, Afzal Nadirshah wrote:
> I did as suggested by you. I also set the serverip as well as ipaddr. Now
> when i do a tftp 100000 u-boot-nand.bin, i get the following :
>
> => tftp 100000 u-boot-nand.bin
> Waiting for PHY auto negotiation to complete...... TIMEOUT !
!!!
> done
> ENET Speed is 10 Mbps - HALF duplex connection (EMAC0)
> Using ppc_4xx_eth0 device
> TFTP from server 172.22.68.33; our IP address is 172.22.68.36
> Filename 'u-boot-nand.bin'.
> Load address: 0x100000
> Loading: *
>
> It hangs at this point
Your board doesn't have a correct ethernet link. Is this really the original
Canyonlands board? Is the correct ethernet port connected?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
http://www.mindtree.com/email/disclaimer.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] tftp not working
2009-02-16 9:15 ` Stefan Roese
2009-02-16 9:21 ` Afzal Nadirshah
@ 2009-02-17 12:24 ` Afzal Nadirshah
1 sibling, 0 replies; 9+ messages in thread
From: Afzal Nadirshah @ 2009-02-17 12:24 UTC (permalink / raw)
To: u-boot
Hi All,
The issue has been resolved.
I built the u-boot-nand.bin image from the u-boot cource code obtained from the AMCC site.
With this image tftp is working fine,once i set the ethaddr,serverip and ipaddr.
Initially i was working with the latest u-boot source code from the denx site.I found out that there was some differences between these two versions.For example the lates u-boot source code does not contain the file /drivers/net/4xx_enet.c while the one from AMCC site contains the same.
Thanks.
Regards,
Afzal Nadirshah
________________________________________
From: Stefan Roese [sr at denx.de]
Sent: Monday, February 16, 2009 2:45 PM
To: Afzal Nadirshah
Cc: u-boot at lists.denx.de; Wolfgang Denk
Subject: Re: [U-Boot] tftp not working
On Monday 16 February 2009, Afzal Nadirshah wrote:
> I did as suggested by you. I also set the serverip as well as ipaddr. Now
> when i do a tftp 100000 u-boot-nand.bin, i get the following :
>
> => tftp 100000 u-boot-nand.bin
> Waiting for PHY auto negotiation to complete...... TIMEOUT !
!!!
> done
> ENET Speed is 10 Mbps - HALF duplex connection (EMAC0)
> Using ppc_4xx_eth0 device
> TFTP from server 172.22.68.33; our IP address is 172.22.68.36
> Filename 'u-boot-nand.bin'.
> Load address: 0x100000
> Loading: *
>
> It hangs at this point
Your board doesn't have a correct ethernet link. Is this really the original
Canyonlands board? Is the correct ethernet port connected?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
http://www.mindtree.com/email/disclaimer.html
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-02-17 12:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 6:24 [U-Boot] tftp not working Afzal Nadirshah
2009-02-16 6:42 ` Wolfgang Denk
2009-02-16 8:32 ` Afzal Nadirshah
2009-02-16 8:42 ` Stefan Roese
2009-02-16 8:52 ` Afzal Nadirshah
2009-02-16 9:15 ` Stefan Roese
2009-02-16 9:21 ` Afzal Nadirshah
2009-02-17 12:24 ` Afzal Nadirshah
2009-02-16 8:24 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox