Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:asus:rt-n10plus [2015/05/20 14:28] – [TFTP Firmware Install] jp | toh:asus:rt-n10plus [2019/09/03 19:59] – tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== ASUS RT-N10+ ====== | ||
| + | {{section> | ||
| + | |||
| + | **Note:** The ASUS [[toh: | ||
| + | |||
| + | ===== Supported Versions ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Installation ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| + | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| + | align : l,c,c | ||
| + | filter | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | ==== Building ==== | ||
| + | |||
| + | To build: | ||
| + | * Read and follow the [[docs: | ||
| + | * Choose Ralink RT288x/ | ||
| + | * The generated firmware you want to use for this device is '' | ||
| + | |||
| + | ==== TFTP Firmware Install ==== | ||
| + | |||
| + | Steps: | ||
| + | * Set your computer to a static IP 192.168.1.15. | ||
| + | * Plug your computer into any LAN port | ||
| + | * Turn the device off and wait a few seconds. | ||
| + | * Wait until the WPS light blinks slowly and then let go of the Reset button. | ||
| + | * Send a firmware image using command-line tftp | ||
| + | * eg. from Linux:\\ < | ||
| + | tftp> binary | ||
| + | tftp> connect 192.168.1.1 | ||
| + | tftp> put openwrt-ramips-rt305x-rt-n10-plus-squashfs-sysupgrade.bin | ||
| + | Sent 2490464 bytes in 1.2 seconds | ||
| + | tftp> quit | ||
| + | </ | ||
| + | * or using curl\\ < | ||
| + | $ curl -T openwrt-ramips-rt305x-rt-n10-plus-squashfs-sysupgrade.bin tftp:// | ||
| + | </ | ||
| + | * or using the Microsoft Windows tftp client\\ < | ||
| + | C: | ||
| + | Transfer successful: 3407876 bytes in 2 second(s), 1703938 bytes/s | ||
| + | </ | ||
| + | |||
| + | * Wait a minute or two as the device loads the new firmware. | ||
| + | |||
| + | Now follow [[docs: | ||
| + | |||
| + | ===== Back to original firmware ===== | ||
| + | |||
| + | The TFTP procedure can be used to flash both, OpenWrt images or the ASUS factory firmware on the website. | ||
| + | |||
| + | |||
| + | ===== Hardware ===== | ||
| + | ==== Info ==== | ||
| + | |||
| + | RAM: '' | ||
| + | |||
| + | ==== JTAG ==== | ||
| + | Using the JTAG as gpio pins should be possible by editing target/ | ||
| + | |||
| + | ^ JTAG PIN ^ GPIO ^ | ||
| + | |JTAG_TRST_N | GPIO21 | | ||
| + | |JTAG_TCLK | ||
| + | |JTAG_TMS | ||
| + | |JTAG_TDI | ||
| + | |JTAG_TDO | ||
| + | |||
| + | ==== Serial Port ==== | ||
| + | |||
| + | Serial port already has headers soldered. It is the 4-pin header in the middle of the board. 3.3V, 57600 8N1. Pin 1 is labeled on the board. | ||
| + | |||
| + | ^ Pin 1 ^ Pin 2 ^ Pin 3 ^ Pin 4 ^ | ||
| + | | VCC 3.3V | GND | TX | RX | | ||
| + | |||
| + | ===== Flash Layout ===== | ||
| + | |||
| + | ^ Asus RT-N10+ Flash Layout ^^^^^^^ | ||
| + | ^ Layer 0 | 4096k flash |||||| | ||
| + | ^ Layer 1 | u-boot | ||
| + | ^ Layer 2 | ||| kernel mtd3 832k | rootfs mtd4 2944k || | ||
| + | ^ Layer 3 | |||| | rootfs_data mtd5 1536k | | ||
| + | |||
| + | ===== Notes from the stock firmware ===== | ||
| + | |||
| + | < | ||
| + | # cat /proc/mtd | ||
| + | dev: size | ||
| + | mtd0: 00030000 00010000 " | ||
| + | mtd1: 00010000 00010000 " | ||
| + | mtd2: 00010000 00010000 " | ||
| + | mtd3: 003b0000 00010000 " | ||
| + | # cat / | ||
| + | system type : Ralink SoC | ||
| + | processor | ||
| + | cpu model : MIPS 24K V4.12 | ||
| + | BogoMIPS | ||
| + | wait instruction | ||
| + | microsecond timers | ||
| + | tlb_entries | ||
| + | extra interrupt vector | ||
| + | hardware watchpoint | ||
| + | ASEs implemented | ||
| + | VCED exceptions | ||
| + | VCEI exceptions | ||
| + | # cat meminfo | ||
| + | MemTotal: | ||
| + | MemFree: | ||
| + | Buffers: | ||
| + | Cached: | ||
| + | SwapCached: | ||
| + | Active: | ||
| + | Inactive: | ||
| + | SwapTotal: | ||
| + | SwapFree: | ||
| + | Dirty: | ||
| + | Writeback: | ||
| + | AnonPages: | ||
| + | Mapped: | ||
| + | Slab: 4132 kB | ||
| + | SReclaimable: | ||
| + | SUnreclaim: | ||
| + | PageTables: | ||
| + | NFS_Unstable: | ||
| + | Bounce: | ||
| + | CommitLimit: | ||
| + | Committed_AS: | ||
| + | VmallocTotal: | ||
| + | VmallocUsed: | ||
| + | VmallocChunk: | ||
| + | # cat partitions | ||
| + | major minor # | ||
| + | |||
| + | 31 | ||
| + | 31 | ||
| + | 31 | ||
| + | 31 | ||
| + | # cat version | ||
| + | Linux version 2.6.21 (asus@localhost) (gcc version 3.4.2) #1006 Fri Sep 30 10:40:40 CST 2011 | ||
| + | </ | ||
| + | |||
| + | ==== OEM bootlog ==== | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | |||
| + | Board: Ralink APSoC DRAM: 32 MB | ||
| + | relocate_code Pointer at: 81b7c000 | ||
| + | |||
| + | Set info-> | ||
| + | flash_protect ON: from 0xBF000000 to 0xBF022FBB | ||
| + | protect on 0 | ||
| + | protect on 1 | ||
| + | protect on 2 | ||
| + | flash_protect ON: from 0xBF030000 to 0xBF03FFFF | ||
| + | protect on 3 | ||
| + | *** Warning - bad CRC, using default environment | ||
| + | |||
| + | ============================================ | ||
| + | Ralink UBoot Version: 3.2 | ||
| + | -------------------------------------------- | ||
| + | ASIC 3052_MP2 (Port5< | ||
| + | DRAM COMPONENT: 256Mbits | ||
| + | DRAM BUS: 16BIT | ||
| + | Total memory: 32 MBytes | ||
| + | Date:Jul 26 2010 Time: | ||
| + | ============================================ | ||
| + | icache: sets:128, ways:4, linesz:32 , | ||
| + | dcache: sets:128, ways:4, linesz:32 , | ||
| + | |||
| + | ##### The CPU freq = 320 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. | ||
| + | 9: Load Boot Loader code then write to Flash via TFTP. | ||
| + | | ||
| + | |||
| + | 3: System Boot system code via Flash. | ||
| + | |||
| + | | ||
| + | Eth0 (10/100-M) | ||
| + | | ||
| + | |||
| + | | ||
| + | |||
| + | verify is 1 | ||
| + | ## load addr bf050000 ... | ||
| + | print img header | ||
| + | | ||
| + | | ||
| + | Image Name: | ||
| + | | ||
| + | |||
| + | | ||
| + | Image Type: | ||
| + | Data Size: 0 Bytes = 0 kB | ||
| + | Load Address: 00000000 | ||
| + | Entry Point: | ||
| + | Bad Magic Number , 00000000 | ||
| + | ## Booting image at bf050000 ... | ||
| + | sizeof image_header_t is 64 | ||
| + | print img header | ||
| + | | ||
| + | | ||
| + | Image Name: | ||
| + | | ||
| + | |||
| + | | ||
| + | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
| + | Data Size: 3770814 Bytes = 3.6 MB | ||
| + | Load Address: 80000000 | ||
| + | Entry Point: | ||
| + | | ||
| + | | ||
| + | No initrd | ||
| + | ## Transferring control to Linux (at address 80324000) ... | ||
| + | ## 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) #1006 Fri Sep 30 10:40:40 CST 2011 | ||
| + | |||
| + | The CPU feqenuce set to 320 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 16kB, 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 = 80800050, status = 1100ff00 | ||
| + | PID hash table entries: 128 (order: 7, 512 bytes) | ||
| + | calculating r4koff... 00138800(1280000) | ||
| + | CPU frequency 320.00 MHz | ||
| + | Using 160.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: 26340k/ | ||
| + | Mount-cache hash table entries: 512 | ||
| + | NET: Registered protocol family 16 | ||
| + | Time: MIPS clocksource has been installed. | ||
| + | NET: Registered protocol family 2 | ||
| + | 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) | ||
| + | FLASH_API: MAN_ID=1 DEV_ID=7E1A00 SIZE=4MB | ||
| + | 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.1.1.1 $ 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 | ||
| + | ralink flash device: 0x1000000 at 0x1f000000 | ||
| + | Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank | ||
| + | | ||
| + | number of CFI chips: 1 | ||
| + | cfi_cmdset_0002: | ||
| + | Creating 4 MTD partitions on " | ||
| + | 0x00000000-0x00030000 : " | ||
| + | 0x00030000-0x00040000 : " | ||
| + | 0x00040000-0x00050000 : " | ||
| + | 0x00050000-0x01000000 : " | ||
| + | mtd: partition " | ||
| + | block2mtd: version $Revision: 1.1.1.1 $ | ||
| + | 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 256 rx/tx descriptors allocated, mtu = 1500! | ||
| + | NAPI enable, weight = 0, Tx Ring = 256, Rx Ring = 256 | ||
| + | GDMA1_MAC_ADRH -- : 0x0000001e | ||
| + | GDMA1_MAC_ADRL -- : 0xe3ef9d30 | ||
| + | PROC INIT OK! | ||
| + | Freeing unused kernel memory: 2732k freed | ||
| + | devpts: called with bogus options | ||
| + | mount: mounting none on / | ||
| + | rectory | ||
| + | nvram_linux: | ||
| + | [chk rc] sw_mode val is 1 | ||
| + | [chk rc] sw_mode val is 1 | ||
| + | [rc Chk] [1][] | ||
| + | [chk sw_mode]: 1 | ||
| + | rmmod: nf_nat_rtsp: | ||
| + | rmmod: nf_conntrack_rtsp: | ||
| + | waitpid: No child processes | ||
| + | |||
| + | |||
| + | BSSID number: 1 | ||
| + | |||
| + | gen ralink config | ||
| + | rt2860v2_ap: | ||
| + | insmod: dwc_otg.ko: module not found | ||
| + | insmod: usblp.ko: module not found | ||
| + | |||
| + | chk ver: | ||
| + | 14DAE9858C90 | ||
| + | 14DAE9858C90 | ||
| + | GDMA1_MAC_ADRH -- : 0x000014da | ||
| + | GDMA1_MAC_ADRL -- : 0xe9858c90 | ||
| + | waitpid: No child proce | ||
| + | phy_tx_ring = 0x00361000, tx_ring = 0xa0361000 | ||
| + | |||
| + | phy_rx_ring = 0x00000000, rx_ring = 0x00000000 | ||
| + | sses | ||
| + | RT305x_ESW: Link Status Changed | ||
| + | CDMA_CSG_CFG = 81000007 | ||
| + | GDMA1_FWD_CFG = 710000 | ||
| + | 0x1300 = 00064380 | ||
| + | eth2.2: Setting MAC address to 14 da e9 85 8c 90. | ||
| + | VLAN (eth2.2): | ||
| + | waitpid: No child processes | ||
| + | waitpid: No child processes | ||
| + | STBport is 0 | ||
| + | case WLLLL | ||
| + | eth2.1: dev_set_promiscuity(master, | ||
| + | device eth2 entered promiscuous mode | ||
| + | device eth2.1 entered promiscuous mode | ||
| + | waitpid: No child processes | ||
| + | device ra0 entered promiscuous mode | ||
| + | waitpid: No child proceRT305x_ESW: | ||
| + | sses | ||
| + | sw_mode ex is 1 | ||
| + | [rc] not repeater mode [192.168.1.1][] | ||
| + | ## [rc] set lan_br0: port 2(ra0) entering listening state | ||
| + | if as 192.168.1.br0: | ||
| + | 1/ | ||
| + | |||
| + | set default filter settings | ||
| + | waitpid: No child processes | ||
| + | [rc] start services | ||
| + | [rc] start dhcpd | ||
| + | starting... | ||
| + | info, udhcp server (v0.9.8-asus) started | ||
| + | [1234] start dnsbr0: port 2(ra0) entering learning state | ||
| + | |||
| + | br0: port 1(eth2.1) entering learning state | ||
| + | sh: lpd: not found | ||
| + | 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 | ||
| + | RT305x_ESW: Link Status Changed | ||
| + | u2ec: No such file or directory | ||
| + | |||
| + | ***** g_wl_interface = ra0 ****** | ||
| + | |||
| + | libupnp: using UDP SSDP_PORT = 1900 | ||
| + | upnpd[280]: UPnP SDK Successfully Initialized. | ||
| + | upnpd[280]: Succesfully set the Web Server Root Directory. | ||
| + | --- START: Wait to start wanduck --- | ||
| + | upnpd[280]: IGD root device successfully registered. | ||
| + | resume stp forwarding delay and hello time | ||
| + | waitpid: No child processes | ||
| + | start wan: wan_ifname=eth2.2, | ||
| + | bcmp cur_hwaddr, ifr.sa_data not match | ||
| + | wlconf: No such file or directory | ||
| + | waitpid: No child processes | ||
| + | pass start pppoe relay | ||
| + | info, udhcp client (v0.9.8-asus) started | ||
| + | eth2.2: No such process | ||
| + | killall: telnetd: no process killed | ||
| + | [1234] restart dns | ||
| + | pool.ntp.org: | ||
| + | upnp will be delayed 10 secs | ||
| + | Password for ' | ||
| + | waitpid: No child processes | ||
| + | start wsc | ||
| + | waitpid: No child processes | ||
| + | WPS: PIN | ||
| + | waitpid: No child processes | ||
| + | start detectWan | ||
| + | [rc] start 802.1x | ||
| + | |||
| + | |||
| + | BusyBox v1.12.1 (2011-09-30 10:33:37 CST) built-in shell (ash) | ||
| + | Enter ' | ||
| + | |||
| + | # libupnp: using UDP SSDP_PORT = 1900 | ||
| + | ## wsc upnp dev start ## | ||
| + | ## USE XML TEMPLATE ## | ||
| + | ## create device desc xml:/ | ||
| + | dump all description files: | ||
| + | Starting full scan! | ||
| + | upnpd[280]: Advertisements Sent. Listening for requests ... | ||
| + | |||
| + | # Enable direct rule | ||
| + | socket: Operation now in progress | ||
| + | [wd] chk usb plugin | ||
| + | |||
| + | [k] track_flag=0, | ||
| + | ## rc recv HOTPLUG | ||
| + | track ok:0 | ||
| + | SIGTTIN: do nothing | ||
| + | info, Performing a DHCP renew, under state: 0 | ||
| + | info, Performing a DHCP renew, under state: 0</ | ||
| + | </ | ||
| + | |||
| + | ===== Resources ===== | ||
| + | * Some photos of the RT-N10+ (next to the RT-N10): [[http:// | ||
| + | * Asus downloads for the RT-N10+: [[http:// | ||
| + | * The GPL package includes some stuff from Ralink which might be useful for identifying the firmware. | ||
| + | * Forum note on how to add a ramips board: [[https:// | ||
| + | * Forum first post about this device working: [[https:// | ||
| + | |||
| + | ===== Tags ===== | ||
| + | {{tag> | ||