public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] IMMAP M5282  correct?
@ 2004-04-07 14:26 nafiton smith
  2004-04-07 16:12 ` nafiton
  2004-04-08  6:24 ` Josef Baumgartner
  0 siblings, 2 replies; 5+ messages in thread
From: nafiton smith @ 2004-04-07 14:26 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] IMMAP M5282  correct?
  2004-04-07 14:26 [U-Boot-Users] IMMAP M5282 correct? nafiton smith
@ 2004-04-07 16:12 ` nafiton
  2004-04-08  6:24 ` Josef Baumgartner
  1 sibling, 0 replies; 5+ messages in thread
From: nafiton @ 2004-04-07 16:12 UTC (permalink / raw)
  To: u-boot

> 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.
>
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;

>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] IMMAP M5282  correct?
  2004-04-07 14:26 [U-Boot-Users] IMMAP M5282 correct? nafiton smith
  2004-04-07 16:12 ` nafiton
@ 2004-04-08  6:24 ` Josef Baumgartner
  2004-04-09 20:52   ` Stuart Wood
  1 sibling, 1 reply; 5+ messages in thread
From: Josef Baumgartner @ 2004-04-08  6:24 UTC (permalink / raw)
  To: u-boot

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



On Wednesday 07 April 2004 16:26, nafiton smith wrote:
> 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
>
>
>
> -------------------------------------------------------
> 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

-- 
-------------------------------------------------------------------------------
Josef Baumgartner
Entwicklung

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] IMMAP M5282  correct?
  2004-04-08  6:24 ` Josef Baumgartner
@ 2004-04-09 20:52   ` Stuart Wood
  2004-04-13  7:08     ` Josef Baumgartner
  0 siblings, 1 reply; 5+ messages in thread
From: Stuart Wood @ 2004-04-09 20:52 UTC (permalink / raw)
  To: u-boot

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

On Thursday 08 April 2004 02:24 am, Josef Baumgartner wrote:
> 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
>
> On Wednesday 07 April 2004 16:26, nafiton smith wrote:
> > 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
> >
> >
> >
> > -------------------------------------------------------
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] IMMAP M5282  correct?
  2004-04-09 20:52   ` Stuart Wood
@ 2004-04-13  7:08     ` Josef Baumgartner
  0 siblings, 0 replies; 5+ messages in thread
From: Josef Baumgartner @ 2004-04-13  7:08 UTC (permalink / raw)
  To: u-boot

Hi Stuart,

On Friday 09 April 2004 22:52, Stuart Wood wrote:
> 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.


>
> Stuart
>
Josef

????????

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-13  7:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 14:26 [U-Boot-Users] IMMAP M5282 correct? nafiton smith
2004-04-07 16:12 ` nafiton
2004-04-08  6:24 ` Josef Baumgartner
2004-04-09 20:52   ` Stuart Wood
2004-04-13  7:08     ` Josef Baumgartner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox