User Tools

Site Tools


toh:asus:dsl-n12u

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:asus:dsl-n12u [2013/07/12 20:41]
toh:asus:dsl-n12u [2015/12/31 09:37] (current)
tmomas [Info]
Line 1: Line 1:
 +====== Asus DSL-N12U ======
  
 +The device is ADSL wireless N router with 
 +  * 2 not-detachable antenna
 +  * 4 Port 100/10 Switch
 +  * 1 Port ADSL Wan Interface
 +  * 1 Port USB for printer sharing
 +  * 16 MB Flash
 +  * 32 MB SDRAM
 +
 +====== Hardware ======
 +===== Info =====
 +| **Architecture:​** ​    | MIPS                    |
 +| **Vendor:​** ​          | Asus                    |
 +| **Bootloader:​** ​      | U-Boot ​                 |
 +| **System-On-Chip:​** ​  | RT3052F ​                |
 +| **CPU Speed:​** ​       | 320 Mhz                 |
 +| **Flash-Chip:​** ​      | M25P128 ​                |
 +| **Flash size:​** ​      | 16 MiB                  |
 +| **RAM:​** ​             | 32 MiB                  |
 +| **RAM-Chip:​** ​        | W9825G6EH ​              |
 +| **Wireless:​** ​        | RT2860? ​                |
 +| **Ethernet:​** ​        | Switch in CPU           |
 +| **ADSL:​** ​            | TC3086 + TC3162LEM ​     |
 +| **USB:​** ​             | 1x2.0                   |
 +| **Serial:​** ​          | [[#​Serial|Yes]] ​        |
 +| **JTAG:​** ​            | N/A                     |
 +
 +===== Serial =====
 +
 +| **Default speed:** 57600 | 
 +
 +**Pinout**\\
 +{{:​media:​asus:​dsl-n12u-uart-pinout.jpg?​400|}}
 +
 +===== Bootlogs =====
 +==== OEM bootlog ====
 +<WRAP bootlog>
 +<​nowiki>​U-Boot 1.1.3 (Mar 31 2011 - 16:03:06)
 +
 +Board: Ralink APSoC DRAM:  32 MB
 +relocate_code Pointer at: 81630000
 +spi_wait_nsec:​ 3e 
 +spi deice id: 20 20 18 0 0 (20180000)
 +find flash: M25P128
 +Using default environment
 +
 +============================================ ​
 +Ralink UBoot Version: 3.5 (03/​31/​2011)
 +-------------------------------------------- ​
 +ASIC 3052F (DSL-N12U) (Port5<​->​None)
 +DRAM component: 256 Mbits SDR
 +DRAM bus: 16 bit
 +Total memory: 32 MBytes
 +Flash component: SPI Flash
 +Date:Mar 31 2011  Time:​16:​03:​06
 +============================================ ​
 +icache: sets:256, ways:4, linesz:32 ,​total:​32768
 +dcache: sets:128, ways:4, linesz:32 ,​total:​16384 ​
 +
 + ##### The CPU freq = 384 MHZ #### 
 +
 +SDRAM bus set to 16 bit 
 + SDRAM size =32 Mbytes
 +
 +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.
 +   6: Factory block init. Require factory tool to program again.
 +   9: Load Boot Loader code then write to Flash via TFTP. 
 + ​0 ​
 +   
 +3: System Boot system code via Flash.
 +
 +Do bootm
 +## Booting image at bf0c0000 ...
 +raspi_read: from:c0000 len:​40 ​
 +   Image Name:   
 +   ​Created: ​     2012-12-04 ​  ​4:​52:​42 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    3989219 Bytes =  3.8 MB
 +   Load Address: 80000000
 +   Entry Point: ​ 80345000
 +raspi_read: from:c0040 len:​3cdee3 ​
 +   ​Verifying Checksum ... OK
 +   ​Uncompressing Kernel Image ... OK
 +No initrd
 +## Transferring control to Linux (at address 80345000) ...
 +## Giving linux memsize in MB, 32
 +
 +Starting kernel ...
 +
 +
 +LINUX started...
 +
 + THIS IS ASIC
 +Linux version 2.6.21 (asus@localhost) (gcc version 3.4.2) #1872 Tue Dec 4 12:52:16 CST 2012
 +
 + The CPU feqenuce set to 384 MHz
 +CPU revision is: 0001964c
 +Determined physical RAM map:
 + ​memory:​ 02000000 @ 00000000 (usable)
 +Initrd not found or empty - disabling initrd
 +Built 1 zonelists. ​ Total pages: 8128
 +Kernel command line: console=ttyS1,​57600n8 root=/​dev/​ram0
 +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 = 1080005c, status = 1100ff00
 +PID hash table entries: 128 (order: 7, 512 bytes)
 +calculating r4koff... 00177000(1536000)
 +CPU frequency 384.00 MHz
 +Using 192.000 MHz high precision timer.
 +Console: colour dummy device 80x25
 +Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
 +Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
 +Memory: 25756k/​32768k available (2810k kernel code, 7012k reserved, 533k data, 2896k init, 0k highmem)
 +Mount-cache hash table entries: 512
 +NET: Registered protocol family 16
 +SCSI subsystem initialized
 +usbcore: registered new interface driver usbfs
 +usbcore: registered new interface driver hub
 +usbcore: registered new device driver usb
 +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: 1024 (order: 1, 8192 bytes)
 +TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 +TCP: Hash tables configured (established 1024 bind 1024)
 +TCP reno registered
 +detected lzma initramfs
 +detected lzma initramfs
 +initramfs: LZMA lc=3,​lp=0,​pb=2,​dictSize=1048576,​origSize=11023872
 +LZMA initramfs by Ming-Ching Tiew <​mctiew@yahoo.com>​.........................................................................................r
 +squashfs: LZMA suppport for slax.org by jro
 +fuse init (API version 7.8)
 +io scheduler noop registered (default)
 +Ralink gpio driver initialized
 +spidrv_major = 217
 +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
 +RAMDISK driver initialized:​ 16 RAM disks of 16384K size 1024 blocksize
 +loop: loaded (max 8 devices)
 +PPP generic driver version 2.4.2
 +PPP Deflate Compression module registered
 +PPP BSD Compression module registered
 +PPP MPPE Compression module registered
 +NET: Registered protocol family 24
 +PPPoL2TP kernel driver, V0.18.3
 +PPTP driver version 0.8.5
 +block2mtd: version $Revision: 1.1.1.1 $
 +spi_wait_nsec:​ 5f 
 +deice id : 20 20 18 0 0 (20180000)
 +M25P128(20 20180000) (16384 Kbytes)
 +mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00040000 (256K) .numeraseregions = 0
 +Creating 5 MTD partitions on "​raspi":​
 +0x00000000-0x01000000 : "​ALL"​
 +0x00000000-0x00040000 : "​Bootloader"​
 +0x00040000-0x00080000 : "​Config"​
 +0x00080000-0x000c0000 : "​Factory"​
 +0x000c0000-0x00800000 : "​Kernel"​
 +Initializing USB Mass Storage driver...
 +usbcore: registered new interface driver usb-storage
 +USB Mass Storage support registered.
 +nf_conntrack version 0.5.0 (16384 buckets, 8192 max)
 +ipt_time loading
 +ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
 +arp_tables: (C) 2002 David S. Miller
 +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  64 rx/tx descriptors allocated, mtu = 1500!
 +NAPI enable, weight = 0, Tx Ring = 64, Rx Ring = 64
 +GDMA1_MAC_ADRH -- : 0x0000000c
 +GDMA1_MAC_ADRL -- : 0x43305277
 +PROC INIT OK!
 +Freeing unused kernel memory: 2896k freed
 +devpts: called with bogus options
 +Algorithmics/​MIPS FPU Emulator v1.5
 +nvram_linux:​ no version for "​struct_module"​ found: kernel tainted.
 +spi deice id: 20 20 18 0 0 (20180000)
 +find flash: M25P128
 +Loader version is 0
 +Checking RST BTN..
 +[ra setdir]: 880
 +RST BTN check done..
 +dump trx header..
 +1+0 records in
 +1+0 records out
 +rt2860v2_ap:​ module license '​unspecified'​ taints kernel.
 +dwc_otg: version 2.72a 24-JUN-2008
 +DWC_otg: Core Release: 2.66a
 +DWC_otg: Periodic Transfer Interrupt Enhancement - disabled
 +DWC_otg: Multiprocessor Interrupt Enhancement - disabled
 +DWC_otg: Using DMA mode
 +DWC_otg: Device using Buffer DMA mode
 +dwc_otg lm0: DWC OTG Controller
 +dwc_otg lm0: new USB bus registered, assigned bus number 1
 +dwc_otg lm0: irq 18, io mem 0x00000000
 +DWC_otg: Init: Port Power? op_state=1
 +DWC_otg: Init: Power Port (0)
 +[K] generic probe:0, 0, 0
 +usb usb1: configuration #1 chosen from 1 choice
 +hub 1-0:1.0: USB hub found
 +hub 1-0:1.0: 1 port detected
 +usb 1-1: new high speed USB device using dwc_otg and address 2
 +[K] generic probe:0, 1, 0
 +usb 1-1: configuration #1 chosen from 1 choice
 +[K] storage probe
 +scsi0 : SCSI emulation for USB Mass Storage devices
 +[k] send rc sd event
 +usbcore: registered new interface driver usblp
 +drivers/​usb/​class/​usblp.c:​ v0.13: USB Printer Device Class driver
 +*** value_str 
 +[rc Chk sw_mode/ex] [1][1]
 +*** value_str 
 + set pppoe if as ppp0
 +--- Router mode ---
 +rmmod: nf_nat_rtsp:​ No such file or directory
 +rmmod: nf_conntrack_rtsp:​ No such file or directory
 +waitpid: No child processes
 +
 +
 +BSSID number: 1
 +
 +--- init_switch_mode ---
 +Open pseudo device failed
 +Open pseudo device failed
 +[ra setdir]: 880
 +sw_mode= 1
 +gen ralink config
 +[rc chk] wpa nvram:​wl_wpa_mode
 +[rc] main_loop: state= 2
 +
 +chk ver:0710
 +[rc] START
 +vconfig...
 +GDMA1_MAC_ADRH -- : 0x0000f46d
 +GDMA1_MAC_ADRL -- : 0x04f211d0
 +waitpid
 +phy_tx_ring = 0x01721000, tx_ring = 0xa1721000
 +
 +phy_rx_ring = 0x00000000, rx_ring = 0x00000000
 +: No child proceRT305x_ESW:​ Link Status Changed
 +sses
 +CDMA_CSG_CFG = 81000007
 +GDMA1_FWD_CFG = 710000
 +[K] rtmp nv init: read from:80000
 +[RtmpFlashRead] from:​(80000)
 +[RtmpFlashRead] b:(200)
 +[RtmpFlashRead] p:​(c02a7cd4)
 +[ra flash conf 3]
 +0x1300 = 00064380
 +eth2.2: Setting MAC address to  f4 6d 04 f2 11 d0.
 +VLAN (eth2.2): ​ Underlying device (eth2) has same MAC, not checking promiscious mode.
 +waitpid: No child processes
 +dsl_config_num=2
 +wanport=0, stbport=0
 +waitpid: No child processes
 +waitpid: No child processes
 +waitpid: No child processes
 +eth2.2.2: dev_set_promiscuity(master,​ 1)
 +eth2.2: dev_set_promiscuity(master,​ 1)
 +device eth2 entered promiscuous mode
 +device eth2.2 entered promiscuous mode
 +device eth2.2.2 entered promiscuous mode
 +br1: port 1(eth2.2.2) entering learning state
 +eth2.1: dev_set_promiscuity(master,​ 1)
 +device eth2.1 entered promiscuous mode
 +device ra0 entered promiscuous mode
 +[rc] not repeater mode [192.168.2.1][192.168.2.1]
 +## [rc] set lbr0: port 2(ra0) entering listening state
 +an_if as 192.168br0: port 1(eth2.1) entering listening state
 +.2.1/​255.255.255.0
 +waitpid: No child processes
 +tp_init uses obsolete (PF_INET,​SOCK_PACKET)
 +
 +set default filter settings
 +waitpid: No child processes
 +start services...
 +[rc] start services
 +starting...br0:​ port 2(ra0) entering learning state
 +br0: port 1(eth2.1) entering learning state
 +
 +info, udhcp server (v0.9.8-asus) started
 +killall: dnsmasq: no process killed
 +waitpid: No child processes
 +U2EC starting ..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
 +
 +***** g_wl_interface = ra0 ******
 +
 +--- START: Wait to start wanduck ---
 +
 +Delay run wanduck 3 seconds
 +scsi 0:0:0:0: Direct-Access ​    ​Generic- SD/​MMC ​          1.00 PQ: 0 ANSI: 0 CCS
 +SCSI device sda: 3842048 512-byte hdwr sectors (1967 MB)
 +sda: Write Protect is off
 +sda: assuming drive cache: write through
 +SCSI device sda: 3842048 512-byte hdwr sectors (1967 MB)
 +sda: Write Protect is off
 +sda: assuming drive cache: write through
 + sda: sda1
 +sd 0:0:0:0: Attached scsi removable disk sda
 +sd 0:0:0:0: Attached scsi generic sg0 type 0
 +FAT: utf8 is not a recommended IO charset for FAT filesystems,​ filesystem will be case sensitive!
 +resume stp forwarding delay and hello time
 +init br1
 +eth2.2.1: Cannot assign requested address
 +Plugin rp-pppoe.so loaded.
 +RP-PPPoE plugin version 3.10p compiled against pppd 2.4.5
 +start_wan
 +Set: phy[0].reg[0] = 3100
 +Set: phy[1].reg[0] = 3100
 +Set: phy[2].reg[0] = 3100
 +Set: phy[3].reg[0] = 3100
 +failover_monitor exit
 +Stop 3G Failover
 +Open pseudo device failed
 +Open pseudo device failed
 +[ra setdir]: 880
 +upnp will be delayed 10 secs
 +killall: telnetd: no process killed
 +time.nist.gov:​ Unknown host
 +Password for '​admin'​ changed
 +
 +
 +BusyBox v1.12.1 (2012-12-04 04:43:38 GMT) built-in shell (ash)
 +Enter '​help'​ for a list of built-in commands.
 +
 +# Radio Off
 +
 +# Enable direct rule
 +
 +# br1: port 1(eth2.2.2) entering forwarding state
 +
 +
 +[wd] Delay run upnp
 +
 +# killall: upnpd: no process killed</​nowiki>​
 +</​WRAP>​\\
 +
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​ramips rt3052 FastEthernet MIPS MIPS32 24KEc 16flash 32ram}}