User Tools

Site Tools


toh:asus:rt-n56u

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:asus:rt-n56u [2014/08/23 01:00]
lynxis
toh:asus:rt-n56u [2017/03/28 01:42] (current)
aczlan Updated links to point to 15.05.1, updated flashing instructions with how to use the recovery tool to flash sysupgrade images
Line 1: Line 1:
 +====== Asus RT-N56U ======
 +  * there is //​preliminary//​ support since [[https://​dev.openwrt.org/​changeset/​30498/​trunk|R30498]].
 +  * there is more support since [[https://​dev.openwrt.org/​changeset/​31399/​trunk|R31399]]
 +  * full support with the barrier breaker stable release [[https://​dev.openwrt.org/​milestone/​Barrier%20Breaker%2014.07]]
  
 +Wireless network seems to be buged if you want to run both interfaces at the same time, see https://​dev.openwrt.org/​ticket/​17659 . A workaround is:
 +  - Set the country code to a specific country on BOTH the 5 GHz radio AND the 2.4 GHz radio.
 +  - Go to System > Startup, scroll down to Local Startup, add the line "sleep 2 && /​etc/​init.d/​network restart"​ before the line "exit 0", and click Submit.
 +  - Click System > Reboot > Perform reboot.
 +**Note:** latest trunk has this problem fixed. (tested r44618 and up)
 +
 +Note: There appears to be a problem with 5 GHz spontaneously turning off after a day or so if channel set to "​auto"​. Reported workaround is to manually set the channel. https://​dev.openwrt.org/​ticket/​22540
 +===== Supported Versions =====
 +^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
 +| v1   | 2011 | - | 14.07 Barrier Braker | - |
 +| v2   | May 2015 | - | Unsupported | Known as RT-N56U B1; sold as regular RT-N56U, box and device indistinguishable from v1 |
 +
 +===== Hardware Highlights =====
 +^ Version/​Model ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
 +| v1 | Ralink MIPS 74Kc@533MHz | 128MiB | 8MiB | 5 x 1000 | Yes 2 x USB 2.0 | Yes | Yes |
 +| v2 | MediaTek MIPS 1004Kc@880MHz | 128MiB | 16MiB | 5 x 1000 | Yes 2 x USB 2.0 | Yes | Unknown |
 +
 +===== Installation =====
 +OpenWRT 15.05 and later can only be installed via recovery mode. Earlier versions could be installed via the web interface (see: https://​bugs.lede-project.org/​index.php?​do=details&​task_id=462 for details).
 +==== Download ====
 +Either (recommended if you want a stable system) download a stable version of Barrier Beaker [[https://​downloads.openwrt.org/​barrier_breaker/​14.07/​ramips/​rt3883/​openwrt-ramips-rt3883-rt-n56u-squashfs-factory.bin|squashfs-factory.bin]] for the initial flash. Use a "​[[https://​downloads.openwrt.org/​barrier_breaker/​14.07/​ramips/​rt3883/​openwrt-ramips-rt3883-rt-n56u-squashfs-factory.bin|sysupgrade]]"​ file for any future updates if already on openwrt.
 +
 +Chaos Calmer (15.05.1);
 +[[https://​downloads.openwrt.org/​chaos_calmer/​15.05.1/​ramips/​rt3883/​openwrt-15.05.1-ramips-rt3883-rt-n56u-squashfs-sysupgrade.bin|CC sysupgrade.bin]]
 +
 +
 +Or (recommended if you need a system with all the newest features and do not care if the system may break) download latest snapshot of Chaos Calmer. Use a "​[[https://​downloads.openwrt.org/​snapshots/​trunk/​ramips/​rt3883/​openwrt-ramips-rt3883-rt-n56u-squashfs-sysupgrade.bin|sysupgrade]]"​ file for any future updates if already on openwrt.
 +
 +**Warning**:​ Do NOT flash snapshot image of Chaos Calmer for initial flashing as nothing is ON in snapshot image. This means unless you have a serial connected you will not be able to access the router. You can, however, easily update from a stable release to a daily snapshot, but make sure "Keep Settings"​ checkbox is checked.
 +
 +==== Install via WebUI **NOT SUPPORTED ON 15.05** ====
 +  * Log in your routers admin interface
 +  * Administration -> Firmware Upgrade -> Choose **openwrt-ramips-rt3883-rt-n56u-squashfs-factory.bin**.
 +
 +==== Install via TFTP ====
 +  * Unplug router power cord
 +  * keep reset button down
 +  * plug the power cord back 
 +  * release the reset button.
 +  * led blinks slowly when ready for flashing
 +  * Assign your PC 192.168.1.11/​24 on eth0
 +  * tftp 192.168.1.1
 +  * tftp> bin
 +  * tftp> put openwrt-ramips-rt3883-rt-n56u-squashfs-sysupgrade.bin
 +  * wait for the power light to stop flashing and then telnet to 192.168.1.1 or visit 192.168.1.1 with your browser to access the LUCI interface
 +
 +==== Recovery Installation ====
 +Works for BOTH recovery and switching to Open Wrt **RECOMMENDED**
 +
 +  -  Download & Install the asus "​Firmware Restoration"​ from asus website
 +  -  Download the factory image from asus or the sysupgrade image from OpenWrt
 +  -  Enter Recovery Mode
 +    -  Unplug Router
 +    -  Hold Reset Button and Plug in Router
 +    -  Release button when front LED flashes slowly
 +  -  Use the following to set up your TCP/IP settings:IP address: 192.168.1.x Subnet mask: 255.255.255.0
 +  - **Disconnect or disable ALL other network interfaces BEFORE opening the "​Firmware Restoration"​ utility** (when you open it, it looks at all your available interfaces and can error out if it sees an Asus device other than the one you are trying to upgrade. You can re-connect/​re-enable them after it is open.
 +  - Open the "​Firmware Restoration"​ utility
 +  - Select firmware file (*.trx to restore the OEM firmware, or the sysupgrade.bin to switch to OpenWrt) and upload
 +  - After it uploads the file, it will tell you to power the router off and back on
 +  - Wait for the power light to stop flashing and then telnet to 192.168.1.1 or visit 192.168.1.1 with your browser to access the LUCI interface
 +
 +
 +===== Hardware =====
 +==== Info ====
 +| **[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS]] |
 +| **Vendor:​** ​         | [[wp>​Ralink]] ​ |
 +| **[[doc:​techref:​Bootloader]]:​** ​    | U-Boot |
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | RT3662 (MIPS 74Kc V4.12) |
 +| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | MIPS 74Kc @ 500 Mhz |
 +| **Flash-Chip:​** ​     |  |
 +| **Flash size:​** ​     | 8 MB |
 +| **RAM:​** ​            | 128 MiB   |
 +| **Wireless:​** ​       | Ralink RT3662 + RT3092 |
 +| **Ethernet:​** ​       | RealTek RTL8367M Gigabit w/ vlan support [[doc:​techref:​swconfig]] |
 +| **USB:​** ​            | Yes 2 x 2.0     |
 +| **[[doc:​hardware:​port.serial|Serial]]:​** ​         | [[#​Serial|Yes]] 57600 |
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** ​           | [[#​JTAG|Yes]] ​ |
 +
 +==== How to Open ====
 +Remove the two screws first, a Phillips-tip 1.0 screwdriver works great here, then use a plectrum or a similar object to open the case.
 +
 +{{media:​asus:​rt-n56u:​rt-n56u_case_back_screws.png?​0x300|}}
 +{{media:​asus:​rt-n56u:​rt-n56u_pcb_top.png?​0x300|}}
 +{{media:​asus:​rt-n56u:​rt-n56u_pcb_bottom.png?​0x300|}}
 +
 +==== Ethernet Ports ====
 +The ports are numbered starting from the USB socket side, Ports 0,1,2 and 3 are LAN and port 4 is the WAN port.
 +
 +==== Serial ====
 +<​code>​
 +------------------
 +|    XXXX        | GND RX TX 3.3
 +|                |
 +|                |
 +|                |
 +|----------------|
 +</​code>​
 +57600,8,n,1
 +
 +the diagram is when viewing the LED side of the board.
 +
 +===== Bootlogs =====
 +
 +==== OEM bootlog ====
 +<WRAP bootlog>
 +<​nowiki>​
 +U-Boot 1.1.3 (Jan 12 2011 - 11:35:36)
 +
 +Board: Ralink APSoC DRAM:  64 MB
 +relocate_code Pointer at: 837c4000
 +flash_protect ON: from 0xBC000000 to 0xBC02AFAF
 +flash_protect ON: from 0xBC030000 to 0xBC030FFF
 +*** Warning - bad CRC, using default environment
 +
 +============================================ ​
 +Ralink UBoot Version: 3.5.2.0
 +-------------------------------------------- ​
 +ASIC 3883_MP (MAC to VITESSE Mode)
 +DRAM component: 1024 Mbits DDR, width 16
 +DRAM bus: 16 bit
 +Total memory: 128 MBytes
 +Flash component: NOR Flash
 +Date:Jan 12 2011  Time:​11:​35:​36
 +============================================ ​
 +icache: sets:512, ways:4, linesz:32 ,​total:​65536
 +dcache: sets:256, ways:4, linesz:32 ,​total:​32768 ​
 +
 + ##### The CPU freq = 500 MHZ #### 
 + ​estimate memory size =64 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.
 +   7: Load Boot Loader code then write to Flash via Serial. ​
 +   9: Load Boot Loader code then write to Flash via TFTP. 
 + ​0 ​
 +
 +early Realtek giga Mac support...
 +GPIOMODE current: 181c
 +GPIOMODE writing: 181d
 +GPIOMODE current: 181d
 +get reg 0x1300: 6088
 +get reg 0x1300: 6088
 +get reg 0x1300: 6088
 +get reg 0x1300: 6088
 +get reg 0x1300: 6088
 +rtk_switch_init():​ return 0
 +rtk_port_macForceLinkExt1_set():​ return 0
 +org Ext1 txDelay: 0, rxDelay: 0
 +new Ext txDelay: 0, rxDelay: 7
 +rtk_port_rgmiiDelayExt1_set():​ return 0
 +rtk_led_enable_set(LED_GROUP_0...):​ return 0
 +rtk_led_enable_set(LED_GROUP_1...):​ return 0
 +rtk_led_operation_set():​ return 0
 +rtk_led_groupConfig_set(LED_GROUP_0...):​ return 0
 +rtk_led_groupConfig_set(LED_GROUP_1...):​ return 0
 +rtl8367m_switch_init_pre() return 0
 +
 +Bootloader version: 1.0.0.6
 +MAC Address: F4:​6D:​04:​6D:​1E:​03
 +
 +GPIOMODE before: 181d
 +GPIOMODE writing: 181d
 +GPIOMODE restoring: 181d
 +## Checking image at bc050000 ...
 +   Image Name:   ^C
 +   ​Created: ​     2013-10-03 ​  ​5:​07:​35 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    8031003 Bytes =  7.7 MB
 +   Load Address: 80000000
 +   Entry Point: ​ 802ea000
 +   ​Verifying Checksum ... ^V<​DA><​D1><​D1><​E5>​M<​C5>​] enabled
 +Dentry cacheB<​85>​\u0361<​81>​table eNtries: ^Ain loop signal/​state=17
 +start_logger:​
 +start_usb
 +NTFS support included
 +Built_for__asus_n56u_2011-11-22
 +
 +start_lan 1065
 +update_lan_state(lan_,​ 0, 0)
 +start_lan: setting up the bridge br0
 +hotplug net INTERFACE=br0 ACTION=add
 +_ifconfig: name=Raeth v3.0 (eth2 flags=1043 TaskletIFUP addr=(null),​SkbRecycle netmask=(null)^M)
 +
 +
 +phy_tx_ring = 0x07209000, tx_ring = 0xa7209000
 +
 +phy_rx_ring0 = 0x07207000, rx_ring0 = 0xa7207000
 +GMAC1_MAC_ADRH -- : 0x0000f46d
 +GMAC1_MAC_ADRL -- : 0x046d1e03
 +GDMA2_MAC_ADRH -- : 0x0000f46d
 +GDMA2_MAC_ADRL -- : 0x046d1e02
 +eth3: ===> VirtualIF_open
 +CDMA_CSG_CFG = 81000007
 +GDMA1_FWD_CFG = C0710000
 +GDMA2_FWD_CFG = C0710000
 +hotplug net INTERFACE=eth3 ACTION=add
 +start_lan: setting MAC of br0 bridge to F4:​6D:​04:​6D:​1E:​03
 +gen ralink iNIC config
 +gen_raRX DESC a756e000 ​ size = 2048
 +link_config(0x05b7):​ Main BSSID is not multiple of 4s!mac_filter[0] = 0
 +_ifconfig: name=rai0 flags=1043 IFUP addr=(null) netmask=(null)
 +RtmpChipOpsEepromHook::​e2p_type=0,​ inf_Type=5
 +NVM is FLASH mode
 +1. Phy Mode = 9
 +2. Phy Mode = 9
 +3. Phy Mode = 9
 +ESC[mAntCfgInit:​ primary/​secondary ant 0/1
 +ESC[mRTMPSetPhyMode:​ channel is out of range, use first channel=0 ​
 +MCS Set = ff ff 00 00 01
 +SYNC - BBP R4 to 20MHz.l
 +=====================================================
 +Channel 1 : Dirty = 0, False CCA = 261, Busy Time = 8453, Skip Channel = FALSE
 +Channel 2 : Dirty = 0, False CCA = 202, Busy Time = 6397, Skip Channel = FALSE
 +Channel 3 : Dirty = 0, False CCA = 35, Busy Time = 995, Skip Channel = FALSE
 +Channel 4 : Dirty = 0, False CCA = 101, Busy Time = 3212, Skip Channel = FALSE
 +Channel 5 : Dirty = 0, False CCA = 53, Busy Time = 1945, Skip Channel = FALSE
 +Channel 6 : Dirty = 0, False CCA = 159, Busy Time = 5290, Skip Channel = FALSE
 +Channel 7 : Dirty = 0, False CCA = 128, Busy Time = 3854, Skip Channel = FALSE
 +Channel 8 : Dirty = 0, False CCA = 45, Busy Time = 1107, Skip Channel = FALSE
 +Channel 9 : Dirty = 0, False CCA = 0, Busy Time = 1298, Skip Channel = FALSE
 +Channel 10 : Dirty = 0, False CCA = 50, Busy Time = 1101, Skip Channel = FALSE
 +Channel 11 : Dirty = 0, False CCA = 102, Busy Time = 2753, Skip Channel = FALSE
 +=====================================================
 +Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 3 
 +Min Dirty = 0
 +ExChannel = 7 , 0
 +BW        = 40
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +SYNC - BBP R4 to 20MHz.l
 +Main bssid = f4:​6d:​04:​6d:​1e:​02
 +<==== rt28xx_init,​ Status=0
 +0x1300 = 00064380
 +[doSystem] iwpriv rai0 set TxPower=100
 +hotplug net INTERFACE=wdsi3 ACTION=add
 +gen ralink config
 +gen_ralink_config(0x05b7):​ Main RX DESC a72c4000 ​ size = 2048
 +BSSID is not multiple of 4s!mac_<​-- RTMPAllocTxRxRingMemory,​ Status=0
 +filter[0] = 0
 +_ifconfig: name=ra0 flags=1043 IFUP addr=(null) netmask=(null)
 +hotplug net INTERFACE=wdsi0 ACTION=add
 +hotplug net INTERFACE=wdsi1 ACTION=add
 +hotplug net INTERFACE=wdsi2 ACTION=add
 +1. Phy Mode = 8
 +2. Phy Mode = 8
 +3. Phy Mode = 8
 +ESC[mAntCfgInit:​ primary/​secondary ant 0/1
 +ESC[mRTMPSetPhyMode:​ channel is out of range, use first channel=0 ​
 +MCS Set = ff ff ff 00 01
 +SYNC - BBP R4 to 20MHz.l
 + ch36 bssid=70:​62:​b8:​6a:​5e:​fa
 + ch157 bssid=10:​05:​b1:​26:​9c:​54
 +=====================================================
 +Channel 36 : Dirty = 70, False CCA = 0, Busy Time = 1814, Skip Channel = FALSE
 +Channel 40 : Dirty = 32, False CCA = 11, Busy Time = 58, Skip Channel = FALSE
 +Channel 44 : Dirty = 0, False CCA = 1, Busy Time = 1173, Skip Channel = FALSE
 +Channel 48 : Dirty = 0, False CCA = 1, Busy Time = 5, Skip Channel = FALSE
 +Channel 149 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
 +Channel 153 : Dirty = 32, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
 +Channel 157 : Dirty = 70, False CCA = 0, Busy Time = 256, Skip Channel = FALSE
 +Channel 161 : Dirty = 32, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
 +Channel 165 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = TRUE
 +=====================================================
 +Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 44 
 +Min Dirty = 0
 +ExChannel = 0 , 0
 +BW        = 40
 +Main bssid = f4:​6d:​04:​6d:​1e:​03
 +<==== rt28xx_init,​ Status=0
 +0x1300 = 00064380
 +[doSystem] iwpriv ra0 set TxPower=100
 +hotplug net INTERFACE=wds0 ACTION=add
 +hotplug net INTERFACE=wds1 ACTION=add
 +hotplug net INTERFACE=wds2 ACTION=add
 +hotplug net INTERFACE=wds3 ACTION=add
 +_ifconfig: name=br0 flags=1043 IFUP addr=192.168.1.1 netmask=255.255.255.0
 +_ifconfig: name=lo flags=1043 IFUP addr=127.0.0.1 netmask=255.0.0.0
 +route_manip:​ cmd=ADD name=lo addr=127.0.0.0 netmask=255.0.0.0 gateway=0.0.0.0 metric=0
 +update_lan_state(lan_,​ 2, 0)
 +stop_nat_rules:​ apply the redirect_rules!
 +# wanduck: nvram changed: x_Setting=1,​ link_modem=0.
 +# wanduck: Got LAN(-1) information:​
 +start_lan 1436
 +start_services 2907
 +
 +# Enable direct rule
 +start_wsc_pin_enrollee:​ start wsc (0)
 +[doSystem] iwpriv rai0 set WscConfMode=7
 +WPS: PIN
 +[doSystem] iwpriv rai0 set WscMode=1
 +[1 init:​start_dnsmasq +24] begin
 +[1 init:​start_dnsmasq +24] end
 +start_lan_port(0) 1
 +decomp: fname=/​var/​lib/​misc/​rstats-speed.gz
 +[doSystem] iwpriv rai0 set WatchdogPid=299
 +set watchdog pid as: 299
 +[doSystem] iwpriv ra0 set WatchdogPid=299
 +set watchdog pid as: 299
 +TZ watchdog
 +[1 init:​start_upnp +24] config 5
 +start_pptpd:​ getpid= 1
 +decomp: gzip -dc /​var/​lib/​misc/​rstats-speed.gz > /​var/​tmp/​rstats-uncomp != 0
 +load: speed_count = 0
 +load: read source= save_path=
 +load_history:​ fname=/​var/​lib/​misc/​rstats-history.gz
 +decomp: fname=/​var/​lib/​misc/​rstats-history.gz
 +decomp: gzip -dc /​var/​lib/​misc/​rstats-history.gz > /​var/​tmp/​rstats-uncomp != 0
 +decomp: fname=/​var/​lib/​misc/​rstats-history.gz
 +decomp: gzip -dc /​var/​lib/​misc/​rstats-history.gz > /​var/​tmp/​rstats-uncomp != 0
 +load_history:​ load failed
 +sh: can't open '/​opt/​etc/​init.d/​S50aicloud'​
 +start_wan_if(0)GDMA2_MAC_ADRH -- : 0x0000f46d
 +
 +update_wan_staGDMA2_MAC_ADRL -- : 0x046d1e02
 +te(wan0_, 0, 0)^Meth3: ===> VirtualIF_open
 +
 +convert_wan_nvram(wan0_)
 +** wan_ifname: eth3 is NOT UP
 +_ifconfig: name=eth3 flags=1043 IFUP addr=(null) netmask=(null)
 +start_auth::​ done
 +update_wan_state(wan0_,​ 1, 0)
 +start_wan_if():​ End.
 +eval(rtkswitch,​ 41) ret(255)
 +eval(iwpriv,​ rai0, stat) ret(0)
 +eval(iwpriv,​ ra0, stat) ret(0)
 +clean_mode(1) clean_time(2) threshold(0)
 +free_caches:​ Start syncing...
 +free_caches:​ Start cleaning...
 +free_caches:​ waiting 2 second...
 +U2EC starting ...
 +udhcpc_wan::​ deconfig
 +_ifconfig: name=eth3 flags=1043 IFUP addr=0.0.0.0 netmask=(null)
 +wan_down(eth3)
 +wan_down(eth3):​ .
 +stop_auth:: done
 +route_manip:​ cmd=DEL name=eth3 addr=0.0.0.0 netmask=0.0.0.0 gateway=(null) metric=0
 +update_wan_state(wan0_,​ 3, 0)
 +update_wan_state(wan0_,​ 4, 3)
 +udhcpc:: deconfig done
 +free_caches:​ Finish.
 +[1 init:​init_main +27] main loop signal/​state=14
 +udhcpc_wan::​ leasefail
 +dhcpc_wan:: leasefail
 +udhcpc_wan::​ leasefail
 +restart_nas_services(336) is skipped: test 7.
 +clean_mode(1) clean_time(5) threshold(3393)
 +free_caches:​ memfree=106844.
 +free_caches:​ memfree > threshold.
 +read from stream: 4096
 +header crc: E4A373A8
 +org header crc: E4A373A8
 +image len: 350004
 +header crc: E4A373A8
 +org header crc: E4A373A8
 +image len: 350004
 +Verifying Checksum ... OK
 +httpd 293:​notify_rc:​ stop_upgrade
 +## [httpd] do upgrade cgi upgrade_err(0)
 +httpd 293:​notify_rc:​ start_upgrade
 +293 httpd: wait for previous script(59/​60):​ stop_upgrade 293 httpd.
 +[1 init:​init_main +111] main loop signal/​state=16
 +cmd[0]=stop_upgrade
 +[1 init:​handle_notifications +111] running: 1 upgrade
 +293 httpd: wait for previous script(58/​60):​ stop_upgrade 293 httpd.
 +update_wan_state(wan0_,​ 6, 0)
 +[1 init:​stop_dhcp6c +112] begin
 +stop_auth:: done
 +_ifconfig: name=eth3 flags=0000 ​ addr=(null) netmask=(null)
 +eth3: ===> VirtualIF_close
 +update_wan_state(wan0_,​ 4, 0)
 +293 httpd: wait for previous script(57/​60):​ stop_upgrade 293 httpd.
 +<​A7>&​B<​D1><​D1><​C1><​91><​E9>​ wait for previous script(50/​60):​ stop_upgrade 293 httpd.
 +usbcore: deregistering interface driver usb-storage
 +rt3xxx-ohci rt3xxx-ohci:​ remove, state 1
 +usb usb2: USB disconnect, address 1
 +rt3xxx-ohci rt3xxx-ohci:​ USB bus 2 deregistered
 +rt3xxx-ehci rt3xxx-ehci:​ remove, state 1
 +usb usb1: USB disconnect, address 1
 +rt3xxx-ehci rt3xxx-ehci:​ USB bus 1 deregistered
 +[1 init:​stop_dhcp6c +121] begin
 +handle_notifications() end
 +</​nowiki>​
 +</​WRAP>​\\
 +
 +==== OpenWrt bootlog ====
 +<WRAP bootlog>
 +<​nowiki>​
 +U-Boot 1.1.3 (Jan 12 2011 - 11:35:36)
 +
 +Board: Ralink APSoC DRAM:  64 MB
 +relocate_code Pointer at: 837c<​F4>​flash_protect ON: from 0xBC000000 to 0xBC02AFAF
 +flash_protect ON: from 0xBC030000 to 0xBC030FFF
 +============================================ ​
 +Ralink UBoot Version: 3.5.2.0
 +-------------------------------------------- ​
 +ASIC 3883_MP (MAC to VITESSE Mode)
 +DRAM component: 1024 Mbits DDR, width 16
 +DRAM bus: 16 bit
 +Total memory: 128 MBytes
 +Flash component: NOR Flash
 +Date:Jan 12 2011  Time:​11:​35:​36
 +============================================ ​
 +icache: sets:512, ways:4, linesz:32 ,​total:​65536
 +dcache: sets:256, ways:4, linesz:32 ,​total:​32768 ​
 +
 + ##### The CPU freq = 500 MHZ #### 
 + ​estimate memory size =64 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.
 +   7: Load Boot Loader code then write to Flash via Serial. ​
 +   9: Load Boot Loader code then write to Flash via TFTP. 
 +
 +You choosed 3
 +
 +
 +
 +early Realtek giga Mac support...
 +GPIOMODE current: 181c
 +GPIOMODE writi^@^V<​82><​C2><​C5>​300:​ 6088
 +get reg 0x1300: 6088
 +get reg 0x1300: 6088
 +rtk_switch_init():​ return 0
 +rtk_port_macForceLinkExt1_set():​ return 0
 +org Ext1 txDelay: 0, rxDelay: 0
 +new Ext txDelay: 0, rxDelay: 7
 +rtk_port_rgmiiDelayExt1_set():​ return 0
 +rtk_led_enable_set(LED_GROUP_0...):​ return 0
 +rtk_led_enable_set(LED_GROUP_1...):​ return 0
 +rtk_led_operation_set():​ return 0
 +rtk_led_groupConfig_set(LED_GROUP_0...):​ return 0
 +rtk_led_groupConfig_set(LED_GROUP_1...):​ return 0
 +rtl8367m_switch_init_pre() return 0
 +
 +Bootloader version: 1.0.0.6
 +MAC Address: F4:​6D:​04:​6D:​1E:​03
 +
 +GPIOMODE before: 181d
 +GPIOMODE writing: 181d
 +GPIOMODE restoring: 181d
 +## Checking image at bc050000 ...
 +   Image Name:   MIPS OpenWrt Linux-3.18.23
 +   ​Created: ​     2016-03-25 ​  ​6:​43:​07 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    1184712 Bytes =  1.1 MB
 +   Load Address: 80000000
 +   Entry Point: ​ 80000000
 +   ​Verifying Checksum ...    ​
 +3: System Boot system code via Flash.
 +## Booting image at bc050000 ...
 +   Image Name:   MIPS OpenWrt Linux-3.18.23
 +   ​Created: ​     2016-03-25 ​  ​6:​43:​07 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    1184712 Bytes =  1.1 MB
 +   Load Address: 80000000
 +   Entry Point: ​ 80000000
 +   ​Verifying Checksum ... OK
 +   ​Uncompressing Kernel Image ... OK
 +No initrd
 +## Transferring control to Linux (at address 80000000) ...
 +## Giving linux memsize in MB, 64
 +
 +Starting kernel ...
 +
 +[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/​Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 15:02:30 CET 2016
 +[    0.000000] SoC Type: Ralink RT3883 ver:1 eco:5
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
 +[    0.000000] MIPS: machine is Asus RT-N56U
 +[    0.000000] Determined physical RAM map:
 +[    0.000000] ​ memory: 08000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone ranges:
 +[    0.000000] ​  ​Normal ​  [mem 0x00000000-0x07ffffff]
 +[    0.000000] Movable zone start for each node
 +[    0.000000] Early memory node ranges
 +[    0.000000] ​  ​node ​  0: [mem 0x00000000-0x07ffffff]
 +[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
 +[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
 +[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
 +[    0.000000] Kernel command line: console=ttyS0,​57600 rootfstype=squashfs,​jffs2
 +[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
 +[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
 +[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
 +[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
 +[    0.000000] Writing ErrCtl register=00000000
 +[    0.000000] Readback ErrCtl register=00000000
 +[    0.000000] Memory: 126212K/​131072K available (2632K kernel code, 126K rwdata, 540K rodata, 148K init, 190K bss, 4860K reserved)
 +[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0,​ CPUs=1, Nodes=1
 +[    0.000000] NR_IRQS:256
 +[    0.000000] CPU Clock: 500MHz
 +[    0.000000] Calibrating delay loop... 249.44 BogoMIPS (lpj=1247232)
 +[    0.070000] pid_max: default: 32768 minimum: 301
 +[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.090000] pinctrl core: initialized pinctrl subsystem
 +[    0.100000] NET: Registered protocol family 16
 +[    0.110000] rt3883-pci 10140000.pci:​ mode: PCIe
 +[    1.710000] PCI host bridge /​pci@10140000/​host-bridge ranges:
 +[    1.720000] ​ MEM 0x0000000020000000..0x000000002fffffff
 +[    1.730000] ​  IO 0x0000000010160000..0x000000001016ffff
 +[    1.750000] rt2880_gpio 10000600.gpio:​ registering 24 gpios
 +[    1.760000] rt2880_gpio 10000600.gpio:​ registering 24 irq handlers
 +[    1.770000] rt2880_gpio 10000638.gpio:​ registering 16 gpios
 +[    1.780000] PCI host bridge to bus 0000:00
 +[    1.780000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
 +[    1.790000] pci_bus 0000:00: root bus resource [io  0xffffffff]
 +[    1.800000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
 +[    1.810000] pci 0000:​00:​01.0:​ bridge configuration invalid ([bus 00-00]), reconfiguring
 +[    1.820000] pci 0000:​00:​01.0:​ BAR 8: assigned [mem 0x20000000-0x200fffff]
 +[    1.830000] pci 0000:​00:​01.0:​ BAR 1: assigned [mem 0x20100000-0x2010ffff]
 +[    1.840000] pci 0000:​01:​00.0:​ BAR 0: assigned [mem 0x20000000-0x2000ffff]
 +[    1.850000] pci 0000:​00:​01.0:​ PCI bridge to [bus 01]
 +[    1.850000] pci 0000:​00:​01.0: ​  ​bridge window [mem 0x20000000-0x200fffff]
 +[    1.860000] pci 0000:​00:​01.0:​ of_irq_parse_pci() failed with rc=-22
 +[    1.870000] Switched to clocksource MIPS
 +[    1.880000] NET: Registered protocol family 2
 +[    1.880000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
 +[    1.900000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 +[    1.910000] TCP: Hash tables configured (established 1024 bind 1024)
 +[    1.920000] TCP: reno registered
 +[    1.930000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    1.940000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    1.950000] NET: Registered protocol family 1
 +[    1.960000] rt-timer 10000100.timer:​ maximum frequency is 10131Hz
 +[    1.980000] futex hash table entries: 256 (order: -1, 3072 bytes)
 +[    2.010000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    2.020000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    2.040000] msgmni has been set to 246
 +[    2.050000] io scheduler noop registered
 +[    2.060000] io scheduler deadline registered (default)
 +[    2.070000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
 +[    2.090000] console [ttyS0] disabled
 +[    2.090000] 10000c00.uartlite:​ ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
 +[    2.110000] console [ttyS0] enabled
 +[    2.110000] console [ttyS0] enabled
 +[    2.120000] bootconsole [early0] disabled
 +[    2.120000] bootconsole [early0] disabled
 +[    2.140000] 1c000000.nor-flash:​ Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
 +[    2.160000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    2.170000] ​  ​Amd/​Fujitsu Extended Query version 1.1.
 +[    2.180000] number of CFI chips: 1
 +[    2.200000] 4 ofpart partitions found on MTD device 1c000000.nor-flash
 +[    2.210000] Creating 4 MTD partitions on "​1c000000.nor-flash":​
 +[    2.220000] 0x000000000000-0x000000030000 : "​u-boot"​
 +[    2.230000] 0x000000030000-0x000000040000 : "​u-boot-env"​
 +[    2.240000] 0x000000040000-0x000000050000 : "​factory"​
 +[    2.250000] 0x000000050000-0x000000800000 : "​firmware"​
 +[    2.270000] 2 uimage-fw partitions found on MTD device firmware
 +[    2.280000] 0x000000050000-0x000000171408 : "​kernel"​
 +[    2.290000] 0x000000171408-0x000000800000 : "​rootfs"​
 +[    2.300000] mtd: device 5 (rootfs) set to be root filesystem
 +[    2.310000] 1 squashfs-split partitions found on MTD device rootfs
 +[    2.330000] 0x000000650000-0x000000800000 : "​rootfs_data"​
 +[    2.340000] rtl8367 rtl8367: using GPIO pins 1 (SDA) and 2 (SCK)
 +[    2.350000] rtl8367 rtl8367: RTL8367M ver. 0 chip found
 +[    4.300000] libphy: rtl8367: probed
 +[    4.300000] ralink_soc_eth 10100000.ethernet:​ using fixed link parameters
 +[    4.320000] ralink_soc_eth 10100000.ethernet eth0 (uninitialized):​ link up (1000Mbps/​Full duplex)
 +[    4.340000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
 +[    4.350000] rt2880_wdt 10000120.watchdog:​ Initialized
 +[    4.360000] TCP: cubic registered
 +[    4.370000] NET: Registered protocol family 17
 +[    4.380000] bridge: automatic filtering via arp/​ip/​ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
 +[    4.400000] Bridge firewalling registered
 +[    4.410000] 8021q: 802.1Q VLAN Support v1.8
 +[    4.430000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
 +[    4.440000] Freeing unused kernel memory: 148K (8033b000 - 80360000)
 +[    5.430000] init: Console is alive
 +[    5.440000] init: - watchdog -
 +[    6.890000] usbcore: registered new interface driver usbfs
 +[    6.900000] usbcore: registered new interface driver hub
 +[    6.910000] usbcore: registered new device driver usb
 +[    6.970000] SCSI subsystem initialized
 +[    6.980000] ehci_hcd: USB 2.0 '​Enhanced'​ Host Controller (EHCI) Driver
 +[    7.000000] ehci-platform:​ EHCI generic platform driver
 +[    7.210000] phy phy-usbphy.0:​ remote usb device wakeup disabled
 +[    7.220000] phy phy-usbphy.0:​ UTMI 16bit 30MHz
 +[    7.230000] ehci-platform 101c0000.ehci:​ EHCI Host Controller
 +[    7.240000] ehci-platform 101c0000.ehci:​ new USB bus registered, assigned bus number 1
 +[    7.260000] ehci-platform 101c0000.ehci:​ irq 26, io mem 0x101c0000
 +[    7.290000] ehci-platform 101c0000.ehci:​ USB 2.0 started, EHCI 1.00
 +[    7.300000] hub 1-0:1.0: USB hub found
 +[    7.310000] hub 1-0:1.0: 2 ports detected
 +[    7.320000] ohci_hcd: USB 1.1 '​Open'​ Host Controller (OHCI) Driver
 +[    7.330000] ohci-platform:​ OHCI generic platform driver
 +[    7.340000] ohci-platform 101c1000.ohci:​ Generic Platform OHCI controller
 +[    7.360000] ohci-platform 101c1000.ohci:​ new USB bus registered, assigned bus number 2
 +[    7.370000] ohci-platform 101c1000.ohci:​ irq 26, io mem 0x101c1000
 +[    7.440000] hub 2-0:1.0: USB hub found
 +[    7.450000] hub 2-0:1.0: 2 ports detected
 +[    7.460000] usbcore: registered new interface driver usb-storage
 +[    7.500000] init: - preinit -
 +Board is ASUS RT-N56U, replacing uImage header...
 +[    8.190000] ralink_soc_eth 10100000.ethernet eth0: link up (1000Mbps/​Full duplex)
 +[    8.200000] 8021q: adding VLAN 0 to HW filter on device eth0
 +[    8.240000] random: procd urandom read with 12 bits of entropy available
 +Press the [f] key and hit [enter] to enter failsafe mode
 +Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
 +[   ​11.460000] mount_root: loading kmods from internal overlay
 +[   ​11.640000] jffs2: notice: (385) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 +[   ​11.670000] block: attempting to load /​tmp/​jffs_cfg/​upper/​etc/​config/​fstab
 +[   ​11.690000] block: extroot: not configured
 +[   ​11.710000] jffs2: notice: (381) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 +[   ​11.740000] mount_root: loading kmods from internal overlay
 +[   ​11.810000] block: attempting to load /​tmp/​jffs_cfg/​upper/​etc/​config/​fstab
 +[   ​11.820000] block: extroot: not configured
 +[   ​11.830000] mount_root: switching to jffs2 overlay
 +[   ​11.860000] ralink_soc_eth 10100000.ethernet eth0: link down
 +[   ​11.880000] procd: - early -
 +[   ​11.890000] procd: - watchdog -
 +[   ​12.700000] procd: - ubus -
 +[   ​13.730000] procd: - init -
 +Please press Enter to activate this console.
 +[   ​14.970000] NET: Registered protocol family 10
 +[   ​15.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​15.020000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
 +[   ​15.040000] Backport generated by backports.git backports-20150129-0-gdd4a670
 +[   ​15.050000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​15.080000] nf_conntrack version 0.5.0 (1974 buckets, 7896 max)
 +[   ​15.110000] usbcore: registered new interface driver ums-alauda
 +[   ​15.130000] usbcore: registered new interface driver ums-cypress
 +[   ​15.140000] usbcore: registered new interface driver ums-datafab
 +[   ​15.150000] usbcore: registered new interface driver ums-freecom
 +[   ​15.170000] usbcore: registered new interface driver ums-isd200
 +[   ​15.180000] usbcore: registered new interface driver ums-jumpshot
 +[   ​15.200000] usbcore: registered new interface driver ums-karma
 +[   ​15.210000] usbcore: registered new interface driver ums-sddr09
 +[   ​15.230000] usbcore: registered new interface driver ums-sddr55
 +[   ​15.240000] usbcore: registered new interface driver ums-usbat
 +[   ​15.270000] xt_time: kernel timezone is -0000
 +[   ​15.310000] cfg80211: Calling CRDA to update world regulatory domain
 +[   ​15.390000] cfg80211: World regulatory domain updated:
 +[   ​15.400000] cfg80211: ​ DFS Master region: unset
 +[   ​15.400000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp), (dfs_cac_time)
 +[   ​15.420000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​15.440000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
 +[   ​15.460000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​15.470000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
 +[   ​15.490000] cfg80211: ​  ​(5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
 +[   ​15.510000] cfg80211: ​  ​(5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
 +[   ​15.530000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​15.540000] cfg80211: ​  ​(57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
 +[   ​15.590000] PPP generic driver version 2.4.2
 +[   ​15.600000] NET: Registered protocol family 24
 +[   ​15.640000] PCI: Enabling device 0000:​01:​00.0 (0000 -> 0002)
 +[   ​15.650000] rt2800pci 0000:​01:​00.0:​ failed to load eeprom property
 +[   ​15.670000] ieee80211 phy0: rt2x00lib_request_eeprom_file:​ Info - Loading EEPROM data from '​rt2x00pci_1_0.eeprom'​.
 +[   ​15.690000] ieee80211 phy0: rt2x00_set_rt:​ Info - RT chipset 3071, rev 021c detected
 +[   ​15.710000] ieee80211 phy0: rt2x00_set_rf:​ Info - RF chipset 0008 detected
 +[   ​15.730000] ieee80211 phy1: rt2x00_set_rt:​ Info - RT chipset 3883, rev 0400 detected
 +[   ​15.740000] ieee80211 phy1: rt2x00_set_rf:​ Info - RF chipset 3853 detected
 +[   ​25.720000] ralink_soc_eth 10100000.ethernet eth0: link up (1000Mbps/​Full duplex)
 +[   ​25.730000] 8021q: adding VLAN 0 to HW filter on device eth0
 +[   ​25.750000] device eth0.1 entered promiscuous mode
 +[   ​25.760000] device eth0 entered promiscuous mode
 +[   ​25.780000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​25.790000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​27.790000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​79.550000] random: nonblocking pool is initialized
 +</​nowiki>​
 +</​WRAP>​\\
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +
 +{{tag>​ramips rt3662 GigabitEthernet 5Port 2NIC USB 2USB 128RAM 16Flash MIPS MIPS32 802.11abgn_simultan}}