Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: at91sam9260 MABC stops all TX
PostPosted: Tue Jul 29, 2008 10:27 pm 
Offline

Joined: Tue Jul 29, 2008 9:58 pm
Posts: 3
We have created a board that is based off of the AT91SAM9260-ek. We are running the 2.6.24 kernel with patches from Maxim (http://maxim.org.za/at91_26.html). On a few of our boards we see that after a period of a few hours eth0, powered by the MACB chipset, has a TX error and all transmissions stop.

Code:
eth0      Link encap:Ethernet  HWaddr 00:A0:D8:FC:23:F8
          inet addr:192.168.1.20  Bcast:192.168.1.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13960804 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1515450 errors:1 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:1002315100 (955.8 Mb)  TX bytes:255570849 (243.7 Mb)
          Interrupt:21 Base address:0x4000


When we ping the board internally, the packets transfer fine. When we ping the board from another computer the RX bytes increase but there is no change in TX and no response is received. If we do an ifdown/ifup eth0 is reset and we can communicate fine.

Has anyone else seen this problem using the 2.6.24 kernel? I can post more stats/info from the board if need be.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 30, 2008 10:34 pm 
Offline

Joined: Thu Jun 26, 2008 5:25 pm
Posts: 20
This may not be the same problem but we have discovered a problem in macb after 2.6.22. Changes were made and now it doesn't work on the 9260 development board. We reversed the changes by doing a diff on the 24 and 22 macb files and after that all works.

We have raised this with the macb maintainers.

The problem exists in our own built kernel and the pre built binaries on Angstom and on linux4sam built via buildroot.

_________________
Dirk Vermaak
Design Engineer
Diarre Audio Systems


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 9:12 pm 
Offline

Joined: Tue Jul 29, 2008 9:58 pm
Posts: 3
dirkvermaak,

When you say the drivers didn't work, in what capacity? We have dozens of boards with the 9260 and the MACB running 2.6.24 and they work just fine. There are a few that we have seen that have caused the issue I described which we are still unable to find a cause. I'll try the diff of the two versions and see if that resolves our issue. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 11:27 pm 
Offline

Joined: Tue Jul 29, 2008 9:58 pm
Posts: 3
I tried to diff the changes from 2.6.22 to 2.6.24 and there seems to be more than just changes to macb.h/macb.c. Would you possibly be able to post the patch you use for 2.6.24 that has a working macb?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: