Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
| toh:asus:dsl-n12u [2015/12/31 08:36] – links fixed tmomas | toh:asus:dsl-n12u [2015/12/31 08:37] – [Info] tmomas | ||
|---|---|---|---|
| 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: | ||
| + | | **Vendor: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed: | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size: | ||
| + | | **RAM: | ||
| + | | **RAM-Chip: | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **ADSL: | ||
| + | | **USB: | ||
| + | | **Serial: | ||
| + | | **JTAG: | ||
| + | |||
| + | ===== Serial ===== | ||
| + | |||
| + | | **Default speed:** 57600 | | ||
| + | |||
| + | **Pinout**\\ | ||
| + | {{: | ||
| + | |||
| + | ===== Bootlogs ===== | ||
| + | ==== OEM bootlog ==== | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | |||
| + | Board: Ralink APSoC DRAM: 32 MB | ||
| + | relocate_code Pointer at: 81630000 | ||
| + | spi_wait_nsec: | ||
| + | spi deice id: 20 20 18 0 0 (20180000) | ||
| + | find flash: M25P128 | ||
| + | Using default environment | ||
| + | |||
| + | ============================================ | ||
| + | Ralink UBoot Version: 3.5 (03/ | ||
| + | -------------------------------------------- | ||
| + | ASIC 3052F (DSL-N12U) (Port5< | ||
| + | DRAM component: 256 Mbits SDR | ||
| + | DRAM bus: 16 bit | ||
| + | Total memory: 32 MBytes | ||
| + | Flash component: SPI Flash | ||
| + | Date:Mar 31 2011 Time: | ||
| + | ============================================ | ||
| + | icache: sets:256, ways:4, linesz:32 , | ||
| + | dcache: sets:128, ways:4, linesz:32 , | ||
| + | |||
| + | ##### 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. | ||
| + | | ||
| + | |||
| + | 3: System Boot system code via Flash. | ||
| + | |||
| + | Do bootm | ||
| + | ## Booting image at bf0c0000 ... | ||
| + | raspi_read: from:c0000 len: | ||
| + | Image Name: | ||
| + | | ||
| + | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
| + | Data Size: 3989219 Bytes = 3.8 MB | ||
| + | Load Address: 80000000 | ||
| + | Entry Point: | ||
| + | raspi_read: from:c0040 len: | ||
| + | | ||
| + | | ||
| + | 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: | ||
| + | | ||
| + | Initrd not found or empty - disabling initrd | ||
| + | Built 1 zonelists. | ||
| + | Kernel command line: console=ttyS1, | ||
| + | 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/ | ||
| + | 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, | ||
| + | LZMA initramfs by Ming-Ching Tiew < | ||
| + | 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: | ||
| + | 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: | ||
| + | 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 " | ||
| + | 0x00000000-0x01000000 : " | ||
| + | 0x00000000-0x00040000 : " | ||
| + | 0x00040000-0x00080000 : " | ||
| + | 0x00080000-0x000c0000 : " | ||
| + | 0x000c0000-0x00800000 : " | ||
| + | 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 < | ||
| + | All bugs added by David S. Miller < | ||
| + | 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/ | ||
| + | nvram_linux: | ||
| + | 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: | ||
| + | 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/ | ||
| + | *** value_str | ||
| + | [rc Chk sw_mode/ex] [1][1] | ||
| + | *** value_str | ||
| + | set pppoe if as ppp0 | ||
| + | --- Router mode --- | ||
| + | rmmod: nf_nat_rtsp: | ||
| + | rmmod: nf_conntrack_rtsp: | ||
| + | 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: | ||
| + | [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: | ||
| + | sses | ||
| + | CDMA_CSG_CFG = 81000007 | ||
| + | GDMA1_FWD_CFG = 710000 | ||
| + | [K] rtmp nv init: read from:80000 | ||
| + | [RtmpFlashRead] from: | ||
| + | [RtmpFlashRead] b:(200) | ||
| + | [RtmpFlashRead] p: | ||
| + | [ra flash conf 3] | ||
| + | 0x1300 = 00064380 | ||
| + | eth2.2: Setting MAC address to f4 6d 04 f2 11 d0. | ||
| + | VLAN (eth2.2): | ||
| + | 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, | ||
| + | eth2.2: dev_set_promiscuity(master, | ||
| + | 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, | ||
| + | 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/ | ||
| + | waitpid: No child processes | ||
| + | tp_init uses obsolete (PF_INET, | ||
| + | |||
| + | set default filter settings | ||
| + | waitpid: No child processes | ||
| + | start services... | ||
| + | [rc] start services | ||
| + | starting...br0: | ||
| + | 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 | ||
| + | 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, | ||
| + | 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: | ||
| + | Password for ' | ||
| + | |||
| + | |||
| + | BusyBox v1.12.1 (2012-12-04 04:43:38 GMT) built-in shell (ash) | ||
| + | Enter ' | ||
| + | |||
| + | # Radio Off | ||
| + | |||
| + | # Enable direct rule | ||
| + | |||
| + | # br1: port 1(eth2.2.2) entering forwarding state | ||
| + | |||
| + | # | ||
| + | [wd] Delay run upnp | ||
| + | |||
| + | # killall: upnpd: no process killed</ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||