New Asus RT-G32 (H/W B1) with Ralink hardware

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


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sun Apr 11, 2010 5:36    Post subject: Reply with quote
The MAX232 will probably work, you have to take the VCC from the 3.3V pin of the serial port in the router to make sure that it doesn't give out higher voltages on the router side than 3.3V.
It may be though that the 3.3V is too low for giving RS-232 levels that your computer can accept, you'll have to test.

You can use the Hyperterm program that is included in WinXP (also in Vista?) or putty. You can find both of them on the net in case you don't have them.

_________________
Kernel panic: Aiee, killing interrupt handler!
Sponsor
mcc253
DD-WRT Novice


Joined: 03 Apr 2010
Posts: 14

PostPosted: Tue Apr 13, 2010 9:44    Post subject: Reply with quote
Hi again,

This night I've tried to make a serial log with max232 interface circuit but I only received in Putty strange characters.
I guess I will have to buy CA-42 Nokia interface cable...


Last edited by mcc253 on Tue Apr 13, 2010 17:21; edited 1 time in total
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Tue Apr 13, 2010 9:49    Post subject: Reply with quote
Baudrate?

I think Ralink is using 57600,8,N,1 instead of 115200,8,N,1 used by many other routers.
No hardware handshake and no software XON/XOFF handshake.

You'll have to try both baudrates..

_________________
Kernel panic: Aiee, killing interrupt handler!
mcc253
DD-WRT Novice


Joined: 03 Apr 2010
Posts: 14

PostPosted: Tue Apr 13, 2010 10:44    Post subject: Reply with quote
Grr...I've put 9600,8,N,1.

It works! Smile With 57600,8,N,1. Thank you!

Here it is the log. If something more is needed and if I can help, just ask:)


-----------------------------------------------------


U-Boot 1.1.3 (Nov 12 2009 - 00:08:59)


Board: Ralink APSoC DRAM: 16 MB

relocate_code Pointer at: 80fb4000

spi_wait_nsec: 3e

spi deice id: c2 20 16 c2 20 (2016c220)

find flash: mx25l3205d

raspi_read: from:30000 len:1000

*** Warning - bad CRC, using default environment


============================================

Ralink UBoot Version: 3.3

--------------------------------------------

ASIC 3052_MP2 (Port5<->None)

DRAM component: 128 Mbits SDR

DRAM bus: 16 bit

Total memory: 16 MBytes

Flash component: SPI Flash

Date:Nov 12 2009 Time:00:08:59

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384


##### The CPU freq = 320 MHZ ####


SDRAM bus set to 16 bit

SDRAM size =16 Mbytes

GPIO 10 not detect


Please choose the operation:

1: Load system code to SDRAM via TFTP.

2: Load system code then write to Flash via TFTP.

3: Boot system code via Flash (default).

4: Entr boot command line interface.

9: Load Boot Loader code then write to Flash via TFTP.



You choosed 3


 0



3: System Boot system code via Flash.

## Booting image at bf050000 ...

raspi_read: from:50000 len:40

Image Name: Linux Kernel Image

Created: 2010-01-06 11:08:51 UTC

Image Type: MIPS Linux Kernel Image (lzma compressed)

Data Size: 2936012 Bytes = 2.8 MB

Load Address: 80000000

Entry Point: 802e0000

raspi_read: from:50040 len:2ccccc

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 802e0000) ...

## Giving linux memsize in MB, 16


Starting kernel ...



LINUX started...

THIS IS ASIC
Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #115 Mon Jan 4 11:49:43 EST 2010

The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 4064
Kernel command line: console=ttyS1,57600n8 root=1f05
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 800060, status = 1100ff00
PID hash table entries: 64 (order: 6, 256 bytes)
calculating r4koff... 00138800(1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13016k/16384k available (2595k kernel code, 3368k reserved, 344k data, 120k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 254
===>Enter clean nat module
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
NET: Registered protocol family 24
block2mtd: version $Revision: 1.1.1.1 $
deice id : c2 20 16 c2 20 (2016c220)
MX25L3205D(c2 2016c220) (4096 Kbytes)
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 7 MTD partitions on "raspi":
0x00000000-0x00400000 : "ALL"
0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
0x00040000-0x00050000 : "Factory"
0x00050000-0x00139d0c : "Kernel"
mtd: partition "Kernel" doesn't end on an erase block -- force read-only
0x00139d0c-0x01000000 : "RootFS"
mtd: partition "RootFS" extends beyond the end of device "raspi" -- size truncated to 0x2c62f4
mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only
0x00050000-0x01000000 : "Kernel_RootFS"
mtd: partition "Kernel_RootFS" extends beyond the end of device "raspi" -- size truncated to 0x3b0000
nf_conntrack version 0.5.0 (768 buckets, 6144 max)
IPv4 over IPv4 tunneling driver
PPTP driver version 0.8.3
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
netfilter PSD loaded - (c) astaro AG
unclean match register
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00 256 rx/tx descriptors allocated, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x000090e6
GDMA1_MAC_ADRL -- : 0xbabef7a6
PROC INIT OK!

phy_id0 = 81808100 ,Port0_Status=Link down
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 120k freed

init started: BusyBox v1.12.1 (2009-12-26 10:56:46 EST)

starting pid 11, tty '': '/etc_ro/rcS'
Algorithmics/MIPS FPU Emulator v1.5
devpts: called with bogus options
m
set nvram pid=17
mount: cannot read /etc/fstab: No such file or directory
192.168.1.1
2.0.0.5
Password for 'admin' changed

phy_tx_ring = 0x00ae1000, tx_ring = 0xa0ae1000

phy_rx_ring = 0x00000000, rx_ring = 0x00000000
RT305x_ESW: Link Status Changed

phy_id0 = 0 ,Port0_Status=Link down
CDMA_CSG_CFG = 81000007
GDMA1_FWD_CFG = 710000
brctl: bridge br0: No such device
eth2.1: dev_set_promiscuity(master, 1)
device eth2 entered promiscuous mode
device eth2.1 entered promiscuous mode
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
/etc_ro/rcS: line 67: FlowCounter: not found
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1002
switch reg write offset=70, value=ffff506f
killall: crond: no process killed

starting pid 166, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2009-12-26 10:56:46 EST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# Commit crc = fc177764
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
Set: phy[0].reg[0] = 3900
rt2860v2_ap: module license 'unspecified' taints kernel.


=== pAd = c0009000, size = 495344 ===

<-- RTMPAllocAdapterBlock, Status=0
cat: can't open '/etc/l2wSchedule.txt': No such file or directory
cat: can't open '/etc/urlSchedule.txt': No such file or directory
killall: crontab: no process killed
RX DESC a04cc000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 0
2. Phy Mode = 0
3. Phy Mode = 0
MCS Set = 00 00 00 00 00
SYNC - BBP R4 to 20MHz.l
Main bssid = 90:e6:ba:be:f7:a6
<==== rt28xx_init, Status=0
0x1300 = 00064380
Terminate the task(RtmpWscTask) with pid(267)!
RX DESC a0f35000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 0
2. Phy Mode = 0
3. Phy Mode = 0
MCS Set = 00 00 00 00 00
SYNC - BBP R4 to 20MHz.l
Main bssid = 90:e6:ba:be:f7:a6
<==== rt28xx_init, Status=0
0x1300 = 00064380
==> Finish wirelss Basic Setting
==> Start Init WPS config
<== End Init WPS config
device ra0 entered promiscuous mode
killall: rt2860apd: no process killed
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1002
switch reg write offset=70, value=ffff506f
killall: udhcpc: no process killed
killall: ntpclient: no process killed
killall: l2tp_dod.sh: no process killed
killall: accel-pptp.sh: no process killed
killall: config-pptp.sh: no process killed
killall: config-l2tp.sh: no process killed
killall: igmpproxy: no process killed
killall: ping: no process killed
eth2.2: Setting MAC address to 90 e6 ba be f7 a6.
VLAN (eth2.2): Underlying device (eth2) has same MAC, not checking promiscious mode.
udhcpc (v1.12.1) started
iptables: No chain/target/match by that name
clean nat conn: clean all of the connection track
killall: udhcpd: no process killed
time.nist.gov: Unknown host
br0: port 2(ra0) entering learning state
br0: port 1(eth2.1) entering learning state
killall: udhcpd: no process killed
rmmod: nf_nat_pptp: No such file or directory
rmmod: nf_conntrack_pptp: No such file or directory
rmmod: nf_nat_proto_gre: No such file or directory
rmmod: nf_conntrack_proto_gre: No such file or directory
iptables: No chain/target/match by that name
clean nat conn: clean all of the connection track
cat: can't open '/etc/l2wSchedule.txt': No such file or directory
killall: crontab: no process killed
killall: crontab: no process killed
webdir=/etc_ro/web
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
config ok
killall: miniupnpd: no process killed
iptables: No chain/target/match by that name
iptables v1.3.5: Couldn't find target `MINIUPNPD'

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Couldn't find target `MINIUPNPD'

Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables v1.3.5: Couldn't find target `MINIUPNPD'

Try `iptables -h' or 'iptables --help' for more information.
Set: phy[3].reg[0] = 3100
iptables v1.3.5: Couldn't find target `MINIUPNPD'

Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
restart ok
Set: phy[0].reg[0] = 3100
br0: topology change detected, propagating
br0: port 2(ra0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth2.1) entering forwarding state
time.nist.gov: Unknown host
mcc253
DD-WRT Novice


Joined: 03 Apr 2010
Posts: 14

PostPosted: Wed Apr 14, 2010 13:31    Post subject: Reply with quote
So, this new RT-G32 B1 have a U-Boot bootloader.

Do you think that it's possible to use some DD WRT flash build with this hardware? Or we need to wait Brainslayer to see this post and maybe make a modified built for this device? :)

Thanks a lot again!


Last edited by mcc253 on Wed Apr 14, 2010 18:24; edited 1 time in total
DoesItMatter
DD-WRT Guru


Joined: 10 May 2008
Posts: 1380
Location: Pacific North West, USA

PostPosted: Wed Apr 14, 2010 14:27    Post subject: Reply with quote
Brainslayer may have to make a modified one with some stuff removed.

MOST of the RaLink based routers had 4MB flash and 32MB ram

So as long as Brainslayer compressed the image, it could expand and have lots of memory.

But with 16MB ram, stuff would have to be taken out so that it would run in 16MB ram.

_________________
Evil or Very Mad Soylent Green Is People ! Evil or Very Mad
Twisted Evil =-=-=-=-=-=-=-=-=-=-= Twisted Evil
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel

TP-Link Archer C7 V3 - OpenWRT Build R16290 5.4 Kernel
Linksys E3000 - FreshTomato Build MIPSR2 2021.2
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Wed Apr 14, 2010 18:05    Post subject: Reply with quote
Yes BS will have to add support for the router in the dd-wrt source tree and make a build for it if possible.
The GPL source says that its nvram has the variable "productid=RT-G32v2" which should be enough in order to identify it and distinguish it from other similar routers.
I couldn't find the gpio definitions in the GPL code though. (which i/o pin for reset and for the different LED's).

I can't do much more now, I don't have an Ralink router and am not one of the developers either.
You have done a good initial investigation which I hope will lead to the router being supported.
Sash has included it in the Supported Device list but as a work-in-progress.

_________________
Kernel panic: Aiee, killing interrupt handler!
majinvegeta
DD-WRT Novice


Joined: 15 Apr 2010
Posts: 8

PostPosted: Fri Apr 16, 2010 16:16    Post subject: Reply with quote
hi all, unforunatly i've this router Sad . But the biggest problem is that i can't flash via webgui. If i enter in webgui and try to flash the firmware with this dd-wrt release http://www.dd-wrt.com/routerdb/de/download/Asus/RT-G32/-/asus-to-dd-wrt.bin/2665 it apparently start to flash rom (i see 1,2,3,4...100% complete) but nothing be do. I restart or reset the router and than see the original firmware too... how it is possible? there is a particular procedure to flash that router via telent or tftp?
any help wolud be apreciated
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Apr 16, 2010 16:41    Post subject: Reply with quote
@majinvegeta

Don't you read the messages in this thread, are you only able to write?

_________________
Kernel panic: Aiee, killing interrupt handler!
majinvegeta
DD-WRT Novice


Joined: 15 Apr 2010
Posts: 8

PostPosted: Fri Apr 16, 2010 18:04    Post subject: Reply with quote
LOM wrote:
@majinvegeta

Don't you read the messages in this thread, are you only able to write?


i've read all the topic, but after i see that are these firmware for this router so i think that someone was able to flash it... if you can help me thanks.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Apr 16, 2010 18:19    Post subject: Reply with quote
majinvegeta wrote:
LOM wrote:
@majinvegeta

Don't you read the messages in this thread, are you only able to write?


i've read all the topic, but after i see that are these firmware for this router so i think that someone was able to flash it... if you can help me thanks.


Sigh.. Confused
Where do you see firmware for this router?
What does this thread, which was started 10 days ago, tell you?

_________________
Kernel panic: Aiee, killing interrupt handler!
majinvegeta
DD-WRT Novice


Joined: 15 Apr 2010
Posts: 8

PostPosted: Fri Apr 16, 2010 18:48    Post subject: Reply with quote
LOM wrote:
majinvegeta wrote:
LOM wrote:
@majinvegeta

Don't you read the messages in this thread, are you only able to write?


i've read all the topic, but after i see that are these firmware for this router so i think that someone was able to flash it... if you can help me thanks.


Sigh.. Confused
Where do you see firmware for this router?
What does this thread, which was started 10 days ago, tell you?


http://www.dd-wrt.com/routerdb/de/download/Asus/RT-G32/-/asus-to-dd-wrt.bin/2665

i was think that is the firmware.
DoesItMatter
DD-WRT Guru


Joined: 10 May 2008
Posts: 1380
Location: Pacific North West, USA

PostPosted: Sat Apr 17, 2010 6:31    Post subject: Reply with quote
majinvegeta

Did you READ the thread...

There are 2 versions of the RT-G32 it seems

Revision A of the router is ATHEROS chipset based

Revision B of the router is RT3052 RaLink based

The RT-G32 firmware that exists is for Revision A

If you have Revison B router, you CANNOT flash this firmware.

_________________
Evil or Very Mad Soylent Green Is People ! Evil or Very Mad
Twisted Evil =-=-=-=-=-=-=-=-=-=-= Twisted Evil
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel

TP-Link Archer C7 V3 - OpenWRT Build R16290 5.4 Kernel
Linksys E3000 - FreshTomato Build MIPSR2 2021.2
majinvegeta
DD-WRT Novice


Joined: 15 Apr 2010
Posts: 8

PostPosted: Sat Apr 17, 2010 11:03    Post subject: Reply with quote
DoesItMatter wrote:
majinvegeta

Did you READ the thread...

There are 2 versions of the RT-G32 it seems

Revision A of the router is ATHEROS chipset based

Revision B of the router is RT3052 RaLink based

The RT-G32 firmware that exists is for Revision A

If you have Revison B router, you CANNOT flash this firmware.


yes i know that there are 2 kind of router whit different chipset but in the download section isn't specified that the fiwrmware is for revision A or B. So i've asked. Anyway many thanks for your help, i've jusy take a d-link dir-300 what do you think abou it?
DoesItMatter
DD-WRT Guru


Joined: 10 May 2008
Posts: 1380
Location: Pacific North West, USA

PostPosted: Sat Apr 17, 2010 11:16    Post subject: Reply with quote
There are also 2 revisions of the DIR-300

The DIR-300 Rev A is Atheros Based

The DIR-300 Rev B is RaLink Based

You have to see which one you have and flash the correct firmware for it.

_________________
Evil or Very Mad Soylent Green Is People ! Evil or Very Mad
Twisted Evil =-=-=-=-=-=-=-=-=-=-= Twisted Evil
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel

TP-Link Archer C7 V3 - OpenWRT Build R16290 5.4 Kernel
Linksys E3000 - FreshTomato Build MIPSR2 2021.2
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 2 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