public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems
@ 2005-07-27 15:39 geoff cleary
  2005-07-29  9:11 ` Masami Komiya
  0 siblings, 1 reply; 4+ messages in thread
From: geoff cleary @ 2005-07-27 15:39 UTC (permalink / raw)
  To: u-boot

Hi 
I am seeing a problem with network support on the AMD dbau1550 eval board (and our own board based on Au1550). It seems that after one network command, no further packets can be sent. The minimal case that shows the problem is to include the ping command. The first ping will succeed; any other network commands time out. I have successfully loaded large files using tftpboot command and confirmed the image loaded correctly. Trying the command again fails with TX timeout. 
 
Has anyone seen this problem or have any suggestions as to what is going on? 
 
We are building little endian. I have tried Joseph Chiu's buffer 0 patch. 
 
Thanks 
Geoff

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20050727/fe655ede/attachment.htm 

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

* [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems
  2005-07-27 15:39 [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems geoff cleary
@ 2005-07-29  9:11 ` Masami Komiya
  2006-07-22 18:44   ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Masami Komiya @ 2005-07-29  9:11 UTC (permalink / raw)
  To: u-boot

Dear Geoff,

I have the same problem on dbau1500 evaluation board.
The following patch may improve little:-)

Masami Komiya


diff -ur u-boot-050729/cpu/mips/au1x00_eth.c u-boot-050729-test/cpu/mips/au1x00_eth.c
--- u-boot-050729/cpu/mips/au1x00_eth.c 2005-01-10 07:28:58.000000000 +0900
+++ u-boot-050729-test/cpu/mips/au1x00_eth.c    2005-07-29 18:08:39.000000000 +0900
@@ -172,9 +172,6 @@
                 (volatile mac_fifo_t*)(MAC0_RX_DMA_ADDR+MAC_RX_BUFF0_STATUS);
         int i;

-       next_tx = 0;
-       next_rx = 0;
-
         /* We have to enable clocks before releasing reset */
         *macen = MAC_EN_CLOCK_ENABLE;
         udelay(10);
@@ -233,6 +230,9 @@

         eth_register(dev);

+       next_tx = 0;
+       next_rx = 0;
+
         return 1;
  }

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

* [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems
  2005-07-29  9:11 ` Masami Komiya
@ 2006-07-22 18:44   ` Wolfgang Denk
  2006-07-22 23:15     ` Frank
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2006-07-22 18:44 UTC (permalink / raw)
  To: u-boot

Dear Masami,

in message <42E9F2D7.1010708@sonare.it> you wrote:
> 
> I have the same problem on dbau1500 evaluation board.
> The following patch may improve little:-)
...
> diff -ur u-boot-050729/cpu/mips/au1x00_eth.c u-boot-050729-test/cpu/mips/au1x00_eth.c
> --- u-boot-050729/cpu/mips/au1x00_eth.c 2005-01-10 07:28:58.000000000 +0900
> +++ u-boot-050729-test/cpu/mips/au1x00_eth.c    2005-07-29 18:08:39.000000000 +0900
> @@ -172,9 +172,6 @@
>                  (volatile mac_fifo_t*)(MAC0_RX_DMA_ADDR+MAC_RX_BUFF0_STATUS);
>          int i;
> 
> -       next_tx = 0;
> -       next_rx = 0;
> -
>          /* We have to enable clocks before releasing reset */
>          *macen = MAC_EN_CLOCK_ENABLE;
>          udelay(10);
> @@ -233,6 +230,9 @@
> 
>          eth_register(dev);
> 
> +       next_tx = 0;
> +       next_rx = 0;
> +

Do you think this patch (resp. an  equivalent  one  -  the  code  has
changed since) is still required?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Uncontrolled power will turn even saints into savages. And we can all
be counted on to live down to our lowest impulses.
	-- Parmen, "Plato's Stepchildren", stardate 5784.3

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

* [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems
  2006-07-22 18:44   ` Wolfgang Denk
@ 2006-07-22 23:15     ` Frank
  0 siblings, 0 replies; 4+ messages in thread
From: Frank @ 2006-07-22 23:15 UTC (permalink / raw)
  To: u-boot



--- Wolfgang Denk <wd@denx.de> wrote:

> Dear Masami,
> 
> in message <42E9F2D7.1010708@sonare.it> you wrote:
> > 
> > I have the same problem on dbau1500 evaluation board.
> > The following patch may improve little:-)
> ...
> > diff -ur u-boot-050729/cpu/mips/au1x00_eth.c
> u-boot-050729-test/cpu/mips/au1x00_eth.c
> > --- u-boot-050729/cpu/mips/au1x00_eth.c 2005-01-10
> 07:28:58.000000000 +0900
> > +++ u-boot-050729-test/cpu/mips/au1x00_eth.c    2005-07-29

I did a port of uboot from 1.1 to 1.4 and the problem was fixed...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2006-07-22 23:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-27 15:39 [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems geoff cleary
2005-07-29  9:11 ` Masami Komiya
2006-07-22 18:44   ` Wolfgang Denk
2006-07-22 23:15     ` Frank

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