IMMAP M5282 correct?
Hello
I am having problems trying to use the net features on a new board configuration.
Is it possible that the include/asm-m68k/immap_5282.h file is wrong? It seems to not coincide with Motorola documentation about its FEC registers.
Thanks
Quoted 6 lines
I am having problems trying to use the net features on a new board configuration.
Is it possible that theinclude/asm-m68k/immap_5282.hfile is wrong? It seems to not coincide with Motorola documentation about its FEC registers.
Well. I don?t know if this is the way to do it. Being a newbie, I must be missing something because as I see it, it is imposible that it worked before.
After I rebuild the immap file, the board started transmision but not received nothing. It was necessary to write the packet length on the FEC Receive Control Register ( just as it was necesary to do to make dBUG work - my first step with this new board :-) After it, the TFTP works very fine (curiosly, far finer then dBUG tftp :-)
Can you see what I am doing awrong?
Thank you
PD: This is the immap_5282.file that get the thing to work:
/* Fast ethernet controller registers
*/
typedef struct fec {
uint res1; /* reserved 1000*/
uint fec_ievent; /* interrupt event register 1004*/
uint fec_imask; /* interrupt mask register 1008*/
uint res2; /* reserved 100c*/
uint fec_r_des_active; /* Rx ring updated flag 1010*/
uint fec_x_des_active; /* Tx ring updated flag 1014*/
uint res3[3]; /* reserved 1018*/
uint fec_ecntrl; /* ethernet control register 1024*/
uint res4[6]; /* reserved 1028*/
uint fec_mii_data; /* MII data register 1040*/
uint fec_mii_speed; /* MII speed control register
1044*/
uint res5[7]; /* reserved 1048*/
uint fec_mibc; /* MIB Control/Status register 1064*/
uint res6[7]; /* reserved 1068*/
uint fec_r_cntrl; /* Rx control register 1084*/
uint res7[15]; /* reserved 1088*/
uint fec_x_cntrl; /* Tx control register 10C4*/
uint res8[7]; /* reserved 10C8*/
uint fec_addr_low; /* lower 32 bits of station address
10E4*/
uint fec_addr_high; /* upper 16 bits of station address +
type field 10E8*/
uint fec_opd; /* opcode + pause duration 10EC*/
uint res9[10]; /* reserved 10F0*/
uint fec_ihash_table_high; /* upper 32-bits of individual hash table 1118*/
uint fec_ihash_table_low; /* lower 32-bits of individual hash
table 111C*/
uint fec_ghash_table_high; /* upper 32-bits of group hash
table 1120*/
uint fec_ghash_table_low; /* lower 32-bits of group hash
table 1124*/
uint res10[7]; /* reserved 1128*/
uint fec_tfwr; /* Transmit FIFO watermark 1144*/
uint res11; /* reserved 1148*/
uint fec_r_bound; /* FIFO Receive Bound Register = end of
RAM (read-only) ??? 114C*/
uint fec_r_fstart; /* FIFO Receive FIfo Start Registers =
Rx FIFO start address ??? 1150*/
uint res12[11]; /* reserved 1154*/
uint fec_r_des_start; /* beginning of Rx descriptor ring 1180*/
uint fec_x_des_start; /* beginning of Tx descriptor ring 1184*/
uint fec_r_buff_size; /* Rx buffer size 118C*/} fec_t;
Quoted 1 line
Hi,
I created the mcf52x2 port using the older patches for u-boot 0.4.0. I'm working with the Motorola MCF5272C3 evaluation board. The parts for the 5272 are working very well!
For the mcf5282 I only integrated the old code to be able to compile it with the new u-boot version. The code was not tested and still needs some work for a stable release. I don't have any 5282 hardware so I couldn't do the work.
I know there are a few people around working at the 5282 port but I don't know the status of their work.
Regards,
Josef Baumgartner
Quoted 20 lines · nafiton smith
Hello
I am having problems trying to use the net features on a new board configuration.
Is it possible that theinclude/asm-m68k/immap_5282.hfile is wrong? It seems to not coincide with Motorola documentation about its FEC registers.Thanks
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Signature · 11 lines
------------------------------------------------------------------------------- Josef Baumgartner Entwicklung EVI Audio GmbH Hirschberger Ring 45 94315 Straubing Tel.: +49 (9421) 706 -289 eMail: josef.baumgartner at telex.de ------------------------------------------------------------------------------- ????????
Josef,
I've stopped my work after getting stuck with the ethernet not working properly, and having to return the M5282EVB board I barrowed from Arrow. I will continue with the work once I receive one of the new M5282LITE boards.
On another subject. I thinking about trying Mandrake 10.0 with the 2.6 kernel. Will that cause problem with any of the build tools?
Stuart
Quoted 40 lines · Josef Baumgartner
Hi,
I created the mcf52x2 port using the older patches for u-boot 0.4.0. I'm working with the Motorola MCF5272C3 evaluation board. The parts for the 5272 are working very well!
For the mcf5282 I only integrated the old code to be able to compile it with the new u-boot version. The code was not tested and still needs some work for a stable release. I don't have any 5282 hardware so I couldn't do the work.
I know there are a few people around working at the 5282 port but I don't know the status of their work.
Regards,
Josef Baumgartner
Quoted 21 lines · nafiton smith
Hello
I am having problems trying to use the net features on a new board configuration.
Is it possible that theinclude/asm-m68k/immap_5282.hfile is wrong? It seems to not coincide with Motorola documentation about its FEC registers.Thanks
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Hi Stuart,
Quoted 8 lines · Stuart Wood
Josef,
I've stopped my work after getting stuck with the ethernet not working properly, and having to return the M5282EVB board I barrowed from Arrow. I will continue with the work once I receive one of the new M5282LITE boards.
On another subject. I thinking about trying Mandrake 10.0 with the 2.6 kernel. Will that cause problem with any of the build tools?
Sorry, I don't have any experience with Mandrake 10.0 and the kernel 2.6.
Quoted 3 lines
Stuart
Josef
????????