ASUS RT-N15

Overview

 * Product page

The ASUS logo, "RT-N15", "REV: 1.10", and "PCB MADE IN TAIWAN"
 * is silkscreened on the board below.

The power adapter included with the device is a
 * UMEC UP0181B-05PA (5V, 2.5A).

ID/OD/Len measurements are approximate.

Wikis

 * On the OpenWrt Wiki
 * On the DD-WRT Wiki
 * On the DD-WRT Wiki

Forums
Asus RT-N15 support on DD-WRT forums

Flashing dd-wrt
NOTE: This device is a WIP. NOTE: Requires K2.6, Do not flash anything else. NOTE: During configuration or flashing a device, the only things that should be hooked to the device is the computer and power.

The device is stitched from windows Firmware update in an official insertion (the version of an insertion 1.0.0.7)

Firmware files can be found here: Where do I download firmware? (asus-rt-n15 folder). Use the factory-to-ddwrt.trx to flash from Factory firmware to dd-wrt.

Threads of interest

 * Support Thread

Upgrading dd-wrt
Firmware files can be found here: Where do I download firmware? (asus-rt-n15 folder). Use the asus-rt-n15-ddwrt-webflash.bin file to upgrade dd-wrt to a newer version.

Reverting dd-wrt
To restore the device to factory firmware, you need to put it in Recovery Mode.
 * 1) Download the factory firmware
 * 2) In dd-wrt, reset to factory defaults, through the GUI or CLI.
 * 3) Disconnect everything from the router, except the power cord.
 * 4) Push and hold the Reset button with the router powered on. Without releasing the Reset button, unplug the router.
 * 5) Wait until the power light starts blinking, then release the Reset button.
 * 6) (Not tested, most likely access a webpage at 192.168.0.1 or 192.168.1.1) We launch program Restoration Firmware, we select a file with an insertion, we stitch.
 * 7) (Not tested) Browse to the factory firmware file. Click the Upload button.
 * 8) (Not tested) Wait at least 5 minutes before touching the power cord.
 * 9) (Not tested) Do a factory reset once the router comes back up successfully.

JTAG
This router does not have JTAG.

Serial Pinouts
J1 [3.3] (RxD) --> to RT2880 (TxD) (GND)

Info derived from
{{SCollapse|boot log U-Boot 1.1.3 (Jun 10 2008 - 13:49:10) Board: RT2880 DRAM: 32 MB twe0 set to  toe0 set to  flash_protect ON: from 0xBC400000 to 0xBC4290D7 protect on 0 protect on 1 protect on 2 flash_protect ON: from 0xBC430000 to 0xBC43FFFF protect on 3
 * Warning - bad CRC, using default environment

=
=============================== ASIC -VerB/C (MAC to MAC Mode) DRAM COMPONENT=128Mbits DRAM BUS=32BIT Total memory = 32Mbytes Date:Jun 10 2008 Time:13:49:10

=
=============================== D-CACHE set to 4 way I-CACHE set to 4 way

SDRAM bus set to 32 bit SDRAM size =32 Mbytes operation> You choosed 3 0 uboot menu
 * 1) The CPU freq = 266 MHZ ####

rt2880_eth_initialize _start init rtl8366s [V2]InitChip 8366s

InitChip 8366s done
 * 1) uboot: set mdio reg value as 3f014a45

eth_register Eth0 (10/100-M) eth_current->name = Eth0 (10/100-M)

Image Name: Created:     2009-10-16   2:03:59 UTC System Control Status = 0x02910084 Image Type:  MIPS Linux Kernel Image (lzma compressed) Data Size:   3176812 Bytes =  3 MB   Load Address: 8a000000 Entry Point: 8a1b0040 Verifying Checksum ... OK
 * 1) Booting image at bc450000 ...

3: System Boot system code via Flash. Image Name: Created:     2009-10-16   2:03:59 UTC System Control Status = 0x02910084 Image Type:  MIPS Linux Kernel Image (lzma compressed) Data Size:   3176812 Bytes =  3 MB   Load Address: 8a000000 Entry Point: 8a1b0040 Verifying Checksum ... OK  Uncompressing Kernel Image ... OK No initrd
 * 1) Booting image at bc450000 ...
 * 1) Transferring control to Linux (at address 8a1b0040) ...
 * 2) Giving linux memsize in MB, 32

Starting kernel ... THIS IS ASIC - VERSION B ramsize = 32 MBytes rambase not set, set to default (0x08000000) MEMORY DESCRIPTOR dump: [0,8a4a61d0]: base size type

The CPU feqenuce set to 266 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]:1059

Linux version 2.4.30 (root@magic_pan) (gcc version 3.3.6) Determined physical RAM map: memory: 02000000 @ 0a000000 (usable) Initial ramdisk at: 0x8a1e6000 (2535424 bytes) On node 0 totalpages: 49152 zone(0): 49152 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 cause = e080817c, status = 10005000 calculating r4koff... 002896a0(2660000) CPU frequency 266.00 MHz Using 133.000 MHz high precision timer. Calibrating delay loop... 265.42 BogoMIPS Memory: 25872k/32768k available (1712k kernel code, 6896k reserved, 2584k data, 100k 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: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX pci.c pcibios_init:833 BAR0 at slot 0 = 8 pci.c pcibios_fixup_resources:654 dev= 0x8a7dec00 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.1 (2006/08/19) Phillip Lougher pty: 256 Unix98 ptys configured Ralink RT2880 gpio driver initialized spidrv_major = 217 i2cdrv_major = 218
 * 1) 2206 2009年 10月 16日 星期五 10:03:46 CST

CONFIG devfs @@ start init rtl8366s asic

InitChip 8366s @@@@ MDIO_CFG reg valeu is 3f014a45

rtl8366s initialized Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI 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

v1.01 256 rx/tx descriptors allocated! dev_raether irq is 3(eth2)
 * 1) [RAETHx 1: module init]## RA2880 Ethernet Driver Initilization.

ether setup [eth2] Netlink init ok! PROC INIT OK! PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPPoL2TP kernel driver, V0.13 (oleg@cs.msu.su) PPTP driver version 0.8.2 FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB physmap flash device: 800000 at 1c400000 Amd/Fujitsu Extended Query Table v1.1 at 0x0040 number of CFI chips: 1 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 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 16384 buckets, 128Kbytes TCP: Hash tables configured (established 16384 bind 32768) Linux IP multicast router 0.06 plus PIM-SM ip_conntrack version 2.1 (16384 buckets, 8192 max) - 324 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team, Type=Restricted Cone 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  All bugs added by David S. Miller  RAMDISK: Compressed image found at block 0 Freeing initrd memory: 2476k freed VFS: Mounted root (squashfs filesystem) readonly. Mounted devfs on /dev Freeing prom memory: 0kb freed Freeing unused kernel memory: 100k freed console started trying to start /sbin/init Algorithmics/MIPS FPU Emulator v1.5

ether setup [] ps2880_major = 244
 * Start convert_asus_values(0). ***

@@ 20080401.1 E0CB4EB17D42 E0CB4EB17D42

(MAC2MAC)MDIO_CFG = 1f01dc01 GDMA1_FWD_CFG = 10000
 * 1) [RAETHx 3]## ei open eth2

phy_tx_ring = 0a272000, tx_ring = aa272000, size: 16 bytes phy_rx_ring = 0a271000, rx_ring = aa271000, size: 16 bytes

ether setup [] ether setup [] ether setup [] ether setup [] 0x1300 = 00064380 set eth2.2 hw addr as(cur) E0:CB:4E:B1:7D:42 e0 cb 4e b1 7d 42. VLAN (eth2.2): Underlying device (eth2) has same MAC, not checking promiscious mode.

ether setup [br0] device ra0 entered promiscuous mode eth2.1: dev_set_promiscuity(master, 1) device eth2 entered promiscuous mode device eth2.1 entered promiscuous mode eth2.1: attempt to add interface with same source address. br0: port 2(eth2.1) entering learning state br0: port 1(ra0) entering learning state 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 bcmp cur_hwaddr, ifr.sa_data not match
 * 1) start wan

rc start service rc start upnp br0/eth2.2 define web_redirect
 * start_infosvr*******

G enable GRENN Ethernet set green ethernet (tv=3) green=2, powersav=1 start wsc WPS: PIN --- START: Wait to start wanduck --- --- START: Wait to start networkmap ---
 * start_wanduck_main ****

BusyBox v1.4.2 (2009-07-06 16:08:14 CST) Built-in shell (ash) Enter 'help' for a list of built-in commands.

/ #
 * 1) Enable direct rule

-p tcp --dport 80 -j DNAT --to-destination 192.168.1.1:18017 }}
 * 1) Enable direct rule /bin/iptables -t nat -A PREROUTING -d ! 192.168.1.1/255.255.255.0
 * clean ip_conntrack 1 time. ****
 * clean ip_conntrack 2 time. ****
 * clean ip_conntrack 3 time. ****

Serial Recovery
See Serial Recovery

Pictures
From ASUS