[U-Boot-Users] FEC in mcf52x2

I was trying to do an tftp transfer from u-boot-1.1.2 on an mcf5282. The fec driver in there does not seem to be functioning. Is this driver functional on the mcf5272c3?
Also keep in mind I had to put in sdram init and other initialization like pin assignment register settings, because this is executing from the end of sdram.
The FEC appears to not be running since the transmitter never becomes ready:
-> tftp 10000 image.bin Eth Addrs: 00:09:91:1f:b3:44 TFTP from server 10.32.48.37; our IP address is 10.32.48.199 Filename 'image.bin'. Load address: 0x10000 Loading: TX timeout fec.c[124] eth_send: cycles: 100 status: 8c00 retry cnt: 0 T TX timeout fec.c[124] eth_send: cycles: 100 status: ac00 retry cnt: 0

On Apr 4, 2005 7:06 PM, wroberts1@cox.net wroberts1@cox.net wrote:
I was trying to do an tftp transfer from u-boot-1.1.2 on an mcf5282. The fec driver in there does not seem to be functioning. Is this driver functional on the mcf5272c3?
The FEC structure in immap_5282.h is wrong. Try this:
typedef struct fec { uint res1; uint fec_ievent; uint fec_imask; uint res2; uint fec_r_des_active; uint fec_x_des_active; uint res3[3]; uint fec_ecntrl; uint res4[6]; uint fec_mii_data; uint fec_mii_speed;
uint res5[7]; uint fec_mibc; uint res6[7]; uint fec_r_cntrl; uint res7[15]; uint fec_x_cntrl; uint res8[7]; uint fec_addr_low; uint fec_addr_high; uint fec_opd; uint res9[10]; uint fec_ihash_table_high; uint fec_ihash_table_low;
uint fec_ghash_table_high; uint fec_ghash_table_low; uint res10[7]; uint fec_tfwr; uint res11; uint fec_r_bound; uint fec_r_fstart; uint res12[11]; uint fec_r_des_start; uint fec_x_des_start; uint fec_r_buff_size; } fec_t;

In message a04f56da050405091976426543@mail.gmail.com you wrote:
The FEC structure in immap_5282.h is wrong. Try this:
Please submit a proper patch.
Best regards,
Wolfgang Denk
participants (3)
-
Wolfgang Denk
-
wroberts1@cox.net
-
Zachary Landau