Skip to contentSkip to conversation

Problem using tftp whith ColdFire 5282

U-Boot-Users Javier Ruiz de Munain 2 participants 2 messages Sep 3, 2004

lore
Share & tools
lore
#0 lore raw

Hello.

I ported the U-BOOT for the ColdFire MCF5282. I have written the routines that are needed to initialise the processor, and it works properly. The platform what I working with, is the AVNET platform.
The code can be easily ported to the M5282EVB platform, by doing fews modifications.

U-BOOT starts properly, and I write:

-> setenv ethaddr xx:xx:xx:xx:xx:xx (AVNET MAC address)
-> setenv ipaddr yy.yy.yy.yy (the AVNET IP address)
-> setenv serverip zz.zz.zz.zz (server IP address)

the problem is when I write:

-> tftp 10000 /tftpboot/image.bin

and the answer is:

        TX timeout
         fec.c[124] eth_send: cycles: 100    status: 8c00  retry cnt: 0

        TX timeout
         fec.c[124] eth_send: cycles: 100    status: ac00  retry cnt: 0

         TX timeout
         fec.c[124] eth_send: cycles: 100    status: 8c00  retry cnt: 0

                        .

                        .

                        .

until I press CTRL+C, to escape. Does anybody know how to solve this problem? When i do "ping yy.yy.yy.yy", it does not wok!!!
I think the driver contained on /u-boot-1.1.1/cpu/mcf52x2/fec.c, works properly, but I would like tho know if it should initialise the PHY or not.

Thanks

#1 lore raw

Hello,

I think it could be caused by your timer. Check if your timer functions work properly.

Regards,

Josef

Quoted 54 lines · Javier Ruiz de Munain

Hello.

I ported the U-BOOT for the ColdFire MCF5282. I have written the routines that are needed to initialise the processor, and it works properly. The platform what I working with, is the AVNET platform.
The code can be easily ported to the M5282EVB platform, by doing fews modifications.

U-BOOT starts properly, and I write:

-> setenv ethaddr xx:xx:xx:xx:xx:xx (AVNET MAC address)
-> setenv ipaddr yy.yy.yy.yy (the AVNET IP
address) -> setenv serverip zz.zz.zz.zz (server IP
address)

the problem is when I write:

-> tftp 10000 /tftpboot/image.bin

and the answer is:

        TX timeout
         fec.c[124] eth_send: cycles: 100    status: 8c00  retry cnt: 0

        TX timeout
         fec.c[124] eth_send: cycles: 100    status: ac00  retry cnt: 0

         TX timeout
         fec.c[124] eth_send: cycles: 100    status: 8c00  retry cnt: 0

                        .

                        .

                        .

until I press CTRL+C, to escape. Does anybody know how to solve this problem? When i do "ping yy.yy.yy.yy", it does not wok!!!
I think the driver contained on /u-boot-1.1.1/cpu/mcf52x2/fec.c, works properly, but I would like tho know if it should initialise the PHY or not.

Thanks

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Signature · 12 lines
--------------------------------------------------------------------------
Josef Baumgartner
Research & Development

EVI Audio GmbH
Hirschberger Ring 45
D-94315 Straubing
Tel.: +49 (9421) 706 -289
HomeOffice: +49 (8561) 910 814
eMail: josef.baumgartner at telex.de
--------------------------------------------------------------------------
????????