I am in no way an expert of looking up whats needed
for DD-WRT, I've only used it on a router where it
was installed from before I got it, so thats all my knowledge ;)
tipsy and dotbody on the middle of the page
discusses this chip that it might be a problem of the router..
anyway, it's up to you guru's if it works though I guess ;)
and also looking at the download you find that you
can download the whole linux dist for this router..
so, just a thought.. if there is linux already on it,
it should basically be able to run dd-wrt right?
just because its linux, however I do understand if
commands and such might not be the same as on other
routers so a special version must be written..
Joined: 25 Aug 2009 Posts: 8 Location: Moscow, Russia
Posted: Fri Sep 11, 2009 17:49 Post subject:
Sash wrote:
can u give us a serial log_
Code:
U-Boot 1.1.3 (Jun 20 2008 - 00:44:14)
Board: RT2880 DRAM: 32 MB
twe0 set to <NULL>
toe0 set to <NULL>
vender : MX_MANUFACT
flash id=000022a8
MX_ID_LV320CB, Size = 00400000 bytes
flash_protect ON: from 0xBC400000 to 0xBC42A467
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBC430000 to 0xBC43FFFF
protect on 10
Flash: 4 MB
*** Warning - bad CRC, using default environment
============================================
ASIC -VerB/C (MAC to GigaMAC Mode)
DRAM COMPONENT=128Mbits
DRAM BUS=32BIT
Total memory = 32Mbytes
Date:Jun 20 2008 Time:00:44:14
============================================
D-CACHE set to 4 way
I-CACHE set to 4 way
##### The CPU freq = 280 MHZ ####
SDRAM bus set to 32 bit
SDRAM size =32 Mbytes
SW CPU port setting = {0x0, 0xee61}
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.
5: Load ucos code to SDRAM via TFTP.
You choosed 3
0
3: System Boot system code via Flash.
## Booting image at bc450000 ...
Image Name: Linux Kernel Image
Created: 2009-05-25 7:04:07 UTC
System Control Status = 0x02A10084
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2734115 Bytes = 2.6 MB
Load Address: 8a000000
Entry Point: 88240040
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 88240040) ...
## Giving linux memsize in MB, 32
Starting kernel ...
THIS IS ASIC
ramsize = 32 MBytes
rambase not set, set to default (0x08000000)
MEMORY DESCRIPTOR dump:
[0,88499360]: base<08000000> size<02000000> type<Free RAM memory>
The CPU feqenuce set to 280 MHz
CPU revision is: 0001906c
icache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0
dcache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0
i waysize = 4096, d waysize = 4096, i sets= 256, d sets=256
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
[setup_scache]:1032
Linux version 2.4.30 (david.lin@RH001.u-media.com) (gcc version 3.3.6) #1588 Mon
May 25 15:03:06 CST 2009
Determined physical RAM map:
memory: 02000000 @ 08000000 (usable)
Initial ramdisk at: 0x88278000 (1912832 bytes)
On node 0 totalpages: 40960
zone(0): 40960 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
cause = 70808008, status = 1000d900
calculating r4koff... 00155cc0(1400000)
CPU frequency 140.00 MHz
Using 140.000 MHz high precision timer.
Calibrating delay loop... 279.34 BogoMIPS
Memory: 26280k/32768k available (2288k kernel code, 6488k reserved, 1996k data,
88k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Ralink gpio driver initialized
spidrv_major = 217
i2cdrv_major = 218
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x300500 (irq = 9) is a 16550A
ttyS01 at 0x300c00 (irq = 8) is a 16550A
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RA2880 Ethernet Driver Initilization. v1.01 256 rx/tx descriptors allocated!
NAPI enable, weight = 0, Tx Ring = 256, Rx Ring = 256Netlink init ok!
PROC INIT OK!
PPP generic driver version 2.4.2
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
physmap flash device: 4000000 at bf000000
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
Region0: SectorSize=0x2000 SectorNum=8
Region1: SectorSize=0x10000 SectorNum=63
cfi_cmdset_0002: Using word write method.
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Using physmap partition definition
Creating 4 MTD partitions on "RT2880 SOC Physically mapped flash":
0x00000000-0x00030000 : "Bootloader"
mtd: Giving out device 0 to Bootloader
0x00030000-0x00040000 : "Config "
mtd: Giving out device 1 to Config
0x00040000-0x00050000 : "Factory"
mtd: Giving out device 2 to Factory
0x00050000-0x00400000 : "Kernel"
mtd: Giving out device 3 to Kernel
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
Linux IP multicast router 0.06 plus PIM-SM
ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0
ipsec_aes_init(alg_type=14 alg_id=9 name=aes_mac): ret=0
ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0
ipsec_null_init(alg_type=15 alg_id=11 name=null): ret=0
ip_conntrack version 2.1 (1280 buckets, 10240 max) - 316 bytes per conntrack
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
ip_tables: (C) 2000-2002 Netfilter core team, Type=Linux
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Load RT2880 Timer Module(Wdg/Soft)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1868k freed
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 88k freed
console started
trying to start /sbin/init
Algorithmics/MIPS FPU Emulator v1.5
init started: BusyBox v1.8.2 (2009-05-25 14:58:45 CST)
starting pid 10, tty '': '/etc_ro/rcS'
mount: mounting none on /proc/bus/usb failed: No such file or directory
Welcome to
_______ _______ ___ __ ____ _ _ ___
| ___ \| __ || | |__|| \ | || | / /
| |___| || |__| || |__ __ | \| || |/ /
| _ /| _ || || || |\ || \
|__| \__\|__| |__||______||__||_| \____||_|\___\
=System Architecture Department=
config file size in "getfile()" = 1456
Create a message queue in goahead for interprocess communication!!
Jan 1 00:00:03 crond[30]: crond 1.8.2 started, log level 8
Start System Deamon
initInternet: start internet.sh
internet.sh
0
insmod: bridge.o: module not found
insmod: mii.o: module not found
insmod: raeth.o: module not found
interface apcli0 does not exist!
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
rmmod: rt2860v2_ap
rmmod: rt2860v2_sta
2860 version : 1.8.0.0 (May 25 2009)
BusyBox v1.8.2 (2009-05-25 14:58:45 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# insmod: 8021q.o: module not found
ifconfig: ioctl 0x8913 failed: No such device
bridge br0 doesn't exist; can't delete it
##### restore RTL8366SR vlan partition #####
vlan on
device ra0 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
device eth2 entered promiscuous mode
device eth2.1 entered promiscuous mode
udhcpc (v1.8.2) started
br0: port 2(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
***** g_wl_interface = ra0 ******
igmpproxy, Version 0.1 beta2, Build 090525
Copyright 2005 by Johnny Egeland <johnny@rlo.org>
Distributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt
ERRO: There must be at least 2 Vif's where one is upstream.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
route: ioctl 0x890c failed: No such process
Adding muticast routing
Start UPnP: upnpd
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
br0: topology change detected, propagating
check: eth2.2 br0
DHCP Server start initial
<<< nat_en = 1 ; wanMode = DHCP >>>
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: No chain/target/match by that name
DHCP Server start initial
killall rt2860apd 1>/dev/null 2>&1
ntp.sh
ddns.sh
route delete 239.255.255.250 1>/dev/null 2>&1
killall wscd 1>/dev/null 2>&1
killall -9 wscd 1>/dev/null 2>&1
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
route add -host 239.255.255.250 dev br0 1>/dev/null 2>&1
wscd -m 1 -a 192.168.10.1 -i ra0 &
iwpriv ra0 set WscConfMode=7
WSC RFICtype=2402 ...
Commit crc = 97e24b5c
setup-wizard.sh
getBoardID
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
i2ccmd rtl reset
There is not any static route be set up!
webs: Listening for HTTP requests at address 192.168.10.1
goahead: local script rc.local
Start Zebra & RIPd
Limit Ping of Death
Start RFW daemon
bind policy ipv4
send_event: Sent firewall reload message to goahead!
gpio r
0x7b87 = 00 7b 87 = 0000 0000 0111 1011 1000 0111
goahead: Get message from send_event, the message is firewall_reload
goahead: start firewall_init()
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_block 1>/dev/null 2>&1
iptables -F macipport_block 1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F INPUT_SPort
iptables: No chain/target/match by that name
iptables -F FORWARD_SPort
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_SPort
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_SPort
iptables: No chain/target/match by that name
iptables -F INPUT_MPort
iptables: No chain/target/match by that name
iptables -F FORWARD_MPort
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_MPort
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_MPort
iptables: No chain/target/match by that name
iptables -F INPUT_AC
iptables: No chain/target/match by that name
iptables -F FORWARD_AC
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_AC
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_AC
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_ICMP
iptables: No chain/target/match by that name
iptables -t nat -N PREROUTING_ICMP
iptables -t nat -D PREROUTING -j PREROUTING_ICMP
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_ICMP
iptables -t nat -N PREROUTING_DMZ
iptables -t nat -D PREROUTING -j PREROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_DMZ
iptables -t nat -N POSTROUTING_DMZ
iptables -t nat -D POSTROUTING -j POSTROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_DMZ
iptables -D FORWARD -j FORWARD_UPnP
iptables: No chain/target/match by that name
iptables -I FORWARD -j FORWARD_UPnP
iptables -t nat -D PREROUTING -j PREROUTING_UPnP
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_UPnP
iptables -N INPUT_SPort
iptables -D INPUT -j INPUT_SPort
iptables: No chain/target/match by that name
iptables -I INPUT -j INPUT_SPort
iptables -N FORWARD_SPort
iptables -D FORWARD -j FORWARD_SPort
iptables: No chain/target/match by that name
iptables -I FORWARD -j FORWARD_SPort
iptables -N INPUT_MPort
iptables -D INPUT -j INPUT_MPort
iptables: No chain/target/match by that name
iptables -I INPUT -j INPUT_MPort
iptables -N FORWARD_MPort
iptables -D FORWARD -j FORWARD_MPort
iptables: No chain/target/match by that name
iptables -I FORWARD -j FORWARD_MPort
iptables -t nat -N PREROUTING_SPort
iptables -t nat -D PREROUTING -j PREROUTING_SPort
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_SPort
iptables -t nat -N POSTROUTING_SPort
iptables -t nat -D POSTROUTING -j POSTROUTING_SPort
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_SPort
iptables -t nat -N PREROUTING_MPort
iptables -t nat -D PREROUTING -j PREROUTING_MPort
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_MPort
iptables -t nat -N POSTROUTING_MPort
iptables -t nat -D POSTROUTING -j POSTROUTING_MPort
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_MPort
iptables -t nat -N PREROUTING_AC
iptables -t nat -D PREROUTING -j PREROUTING_AC
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_AC
iptables -t nat -N PREROUTING_Remote
iptables -t nat -D PREROUTING -j PREROUTING_Remote
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_Remote
iptables -t nat -N POSTROUTING_Remote
iptables -t nat -D POSTROUTING -j POSTROUTING_Remote
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_Remote
Can't get wan ip address!!
iptables -F INPUT_SPort
iptables -F FORWARD_SPort
iptables -t nat -F PREROUTING_SPort
iptables -t nat -F POSTROUTING_SPort
iptables -F INPUT_MPort
iptables -F FORWARD_MPort
iptables -t nat -F PREROUTING_MPort
iptables -t nat -F POSTROUTING_MPort
iptables -F INPUT_AC
iptables: No chain/target/match by that name
iptables -F FORWARD_AC
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_AC
iptables -t nat -F POSTROUTING_AC
iptables: No chain/target/match by that name
kill `ps |grep 'crond'|grep -v 'grep'|awk '{print $1}'`
crond
getIfLive: device ppp0 not found
iptables -A INPUT -j DROP -p tcp --sport 0
iptables -A INPUT -j DROP -p udp --sport 0
iptables -A INPUT -j DROP -p tcp --dport 0
iptables -A INPUT -j DROP -p udp --dport 0
iptables -A INPUT -j DROP -p tcp --sport 1
iptables -A INPUT -j DROP -p udp --sport 1
iptables -A INPUT -j DROP -p tcp --dport 1
iptables -A INPUT -j DROP -p udp --dport 1
iptables -t nat -F PREROUTING_ICMP
iptables -I PREROUTING_ICMP -t nat -i eth2.2 -s 0.0.0.0/0 -p icmp --icmp-type ec
ho-request -j DROP
Joined: 25 Aug 2009 Posts: 8 Location: Moscow, Russia
Posted: Sat Sep 12, 2009 12:55 Post subject:
I did load webflash.bin into SDRAM and got this:
Code:
U-Boot 1.1.3 (Jun 20 2008 - 00:44:14)
Board: RT2880 DRAM: 32 MB
twe0 set to <NULL>
toe0 set to <NULL>
vender : MX_MANUFACT
flash id=000022a8
MX_ID_LV320CB, Size = 00400000 bytes
flash_protect ON: from 0xBC400000 to 0xBC42A467
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBC430000 to 0xBC43FFFF
protect on 10
Flash: 4 MB
*** Warning - bad CRC, using default environment
============================================
ASIC -VerB/C (MAC to GigaMAC Mode)
DRAM COMPONENT=128Mbits
DRAM BUS=32BIT
Total memory = 32Mbytes
Date:Jun 20 2008 Time:00:44:14
============================================
D-CACHE set to 4 way
I-CACHE set to 4 way
##### The CPU freq = 280 MHZ ####
SDRAM bus set to 32 bit
SDRAM size =32 Mbytes
SW CPU port setting = {0x0, 0xee61}
1
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.
5: Load ucos code to SDRAM via TFTP.
ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'webfl'.
TIMEOUT_COUNT=1,Load address: 0x8a800000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:06:29:15:fa:87)
Got it
T(...) #
first block received
################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################################################
done
Bytes transferred = 3648471 (37abd7 hex)
STOP_RT2880_ETH
NetBootFileXferSize= 0037abd7
File: env_flash.c, Func: saveenv, Line: 300
Protect off BC430000 ... BC43FFFF
b_end =BC7FFFFF
Un-Protecting sectors 10..10 in bank 1
Un-Protected 1 sectors
Erasing Flash...
b_end =BC7FFFFF
Erase Flash from 0xbc430000 to 0xbc43ffff in Bank # 1
b_end =BC7FFFFF
Protecting sectors 10..10 in bank 1
Protected 1 sectors
Automatic boot of image at addr 0x8A800000 ...
## Booting image at 8a800000 ...
Bad Magic Number,7772676E