DIR-300 revb build 18687 breaks LAN

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Goto page Previous  1, 2, 3, 4  Next
Author Message
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7463
Location: Dresden, Germany

PostPosted: Sun Mar 18, 2012 14:49    Post subject: Reply with quote
not at all. the solution was posted a page earlier. the wrong register if you remember. i implemented now the correction for register 0x90 and hope it will work. gimme 5 minutes for a build for you
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Sponsor
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7463
Location: Dresden, Germany

PostPosted: Sun Mar 18, 2012 15:02    Post subject: Reply with quote
and here is it
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
vasek00
DD-WRT Guru


Joined: 06 Nov 2010
Posts: 3312

PostPosted: Sun Mar 18, 2012 15:17    Post subject: Reply with quote
Has checked up on other device rt3052, the situation hasn't changed:

Start_up
Code:

switch reg r 90 > /tmp/var/tmp/r90
sleep 1
switch reg w 90 10007f7f
sleep 1

reboot

Linux version 3.2.12-rc1-svn18767

/tmp/var/tmp# cat r90
switch reg read offset=90, value=f807f7f
/tmp/var/tmp#
/tmp/var/tmp# switch reg r 90
switch reg read offset=90, value=10007f7f
/tmp/var/tmp#
Ric03
DD-WRT User


Joined: 11 Apr 2011
Posts: 83
Location: Milan, Italy

PostPosted: Sun Mar 18, 2012 15:17    Post subject: Reply with quote
BrainSlayer wrote:
and here is it


Arg .. now the r90 register is correct, but the LAN is not still working. I'll dump the content of all the registers of working 16214 and this 18770 and see if there's more differences.
vasek00
DD-WRT Guru


Joined: 06 Nov 2010
Posts: 3312

PostPosted: Sun Mar 18, 2012 15:25    Post subject: Reply with quote
Ric03 wrote:
BrainSlayer wrote:
and here is it


Arg .. now the r90 register is correct, but the LAN is not still working. I'll dump the content of all the registers of working 16214 and this 18770 and see if there's more differences.



Look C8
switch reg r c8
Ric03
DD-WRT User


Joined: 11 Apr 2011
Posts: 83
Location: Milan, Italy

PostPosted: Sun Mar 18, 2012 15:26    Post subject: Reply with quote
vasek00 wrote:
Ric03 wrote:
BrainSlayer wrote:
and here is it


Arg .. now the r90 register is correct, but the LAN is not still working. I'll dump the content of all the registers of working 16214 and this 18770 and see if there's more differences.



Look C8
switch reg r c8


This is C8 for not working:

root@Senao:/tmp# switch reg r c8
switch reg read offset=c8, value=5500328

By the data sheet the C8 is for port5 and port6 ????
vasek00
DD-WRT Guru


Joined: 06 Nov 2010
Posts: 3312

PostPosted: Sun Mar 18, 2012 15:44    Post subject: Reply with quote
Port 5 - inter port. In the worker
Code:
root@My-Fan:/tmp/var/tmp# switch reg r c8
switch reg read offset=c8, value=3f502b28
root@My-Fan:/tmp/var/tmp#

bit 28-24 Port 5 Ext phy base addres (default 11111)
bit 29 Auto polling enable


Last edited by vasek00 on Sun Mar 18, 2012 15:51; edited 2 times in total
Ric03
DD-WRT User


Joined: 11 Apr 2011
Posts: 83
Location: Milan, Italy

PostPosted: Sun Mar 18, 2012 15:46    Post subject: Reply with quote
vasek00 wrote:
Port 5 - inter port. In the worker
Code:
root@My-Fan:/tmp/var/tmp# switch reg r c8
switch reg read offset=c8, value=3f502b28
root@My-Fan:/tmp/var/tmp#


GREAT this one make it WORK.

Now esr9752 seems to work properly:

root@Senao:/tmp# ping xxxx
PING xxxx (xxxx): 56 data bytes
64 bytes from xxxx: seq=3 ttl=64 time=1970.518 ms
64 bytes from xxxx: seq=4 ttl=64 time=960.830 ms
64 bytes from xxxx: seq=5 ttl=64 time=0.796 ms
64 bytes from xxxx: seq=6 ttl=64 time=0.708 ms


.. and yes vasek00 I have to credit you for this: I have completely forgot of the existence of internal port5. Congrats! Very Happy
D2mian
DD-WRT Novice


Joined: 02 Oct 2011
Posts: 11

PostPosted: Sun Mar 18, 2012 17:14    Post subject: Reply with quote
BrainSlayer wrote:
here the dir 600 build



I flash and LAN stil doesn't work Sad

Have you other idea?
Ric03
DD-WRT User


Joined: 11 Apr 2011
Posts: 83
Location: Milan, Italy

PostPosted: Sun Mar 18, 2012 17:52    Post subject: Reply with quote
D2mian wrote:
BrainSlayer wrote:
here the dir 600 build



I flash and LAN stil doesn't work Sad

Have you other idea?


Check the content of register C8 as vasek00 suggested with this command:

switch reg r c8

It should return

root@My-Fan:/tmp/var/tmp# switch reg r c8
switch reg read offset=c8, value=3f502b28
root@My-Fan:/tmp/var/tmp#

if the value is not that one, you may try to set it to that value:

switch reg w c8 3f502b28

and see if it works.
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7463
Location: Dresden, Germany

PostPosted: Sun Mar 18, 2012 19:02    Post subject: Reply with quote
D2mian wrote:
BrainSlayer wrote:
here the dir 600 build



I flash and LAN stil doesn't work Sad

Have you other idea?

nope. no other idea. the bug which was fixed definitly caused the lan problem with the dir300 and dir600 which is now resolved. can you please show me the output of

ls -all /proc/rt3052

_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7463
Location: Dresden, Germany

PostPosted: Sun Mar 18, 2012 19:31    Post subject: Reply with quote
i found the bug. locally reproduced on a dir615 and for our all fortune. its a small bug and easy to fix
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7463
Location: Dresden, Germany

PostPosted: Sun Mar 18, 2012 19:45    Post subject: Reply with quote
here the test builds
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
D2mian
DD-WRT Novice


Joined: 02 Oct 2011
Posts: 11

PostPosted: Sun Mar 18, 2012 19:54    Post subject: Reply with quote
Great job BrainSlayer!
Latest test build 18771 works fine Smile LAN working!

DIR600

Thanks!
Vodalex
DD-WRT Novice


Joined: 04 Oct 2011
Posts: 6

PostPosted: Sun Mar 18, 2012 21:59    Post subject: Reply with quote
BrainSlayer, would you please upload the dir-615 firmware with this lan port problem resolved?
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum