ASUS RT-N12E C1
Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.
OpenWrt support
The device recognizes itself as Asus RT-N11P B1. Thus you can follow the steps for this device to run OpenWRT. See asus_rt-n11p_b1
Hardware highlights
CPU | Ram | Flash | Network | WLAN | USB | Serial | JTag |
---|---|---|---|---|---|---|---|
MediaTek MT7628 @ 575 MHz | 32 MiB | 8 MiB | 4x 10/100 | bgn | Yes | no |
Hardware
Info
Architecture | MIPS |
---|---|
Vendor | Asus |
Bootloader | U-Boot 1.1.5 |
System-On-Chip | MediaTek 7628 |
CPU/Speed | 575 MHz |
Flash-Chip | W25Q64BV |
Flash size | 8 MiB |
RAM | 32 MiB |
Wireless | MT7628N 2.4GHz 802.11bgn |
Ethernet | MT7628N 10/100 Mbit/s w/ vlan support |
Switch | Mediatek MT7628N |
Serial | Not Populated |
Photos
Insert photo of front of the casing
Insert photo of back of the casing
Insert photo of backside label
Insert photo of PCB
Opening the case
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port
The pins are clearly marked with VCC-RX-TX-GND
Serial connection parameters for ASUS RT-N12E C1 | 57600, 8N1 |
---|
Bootlogs
OEM bootlog
U-Boot 1.1.5 (Mar 25 2016 - 13:59:20)
ASUS PRODUCT bootloader version: 1.0.0.2 Board: Ralink APSoC DRAM: 32 MB ASUS ASUS PRODUCT gpio init : reset pin flash manufacture id: ef, device id 40 17 find flash: W25Q64BV raspi_read: from:40035 len:1 raspi_read: from:40036 len:1 raspi_read: from:30000 len:1000 Maximum malloc length: 1024 KBytes mem_malloc_start/brk/end: 0x81eb3000/81eb5000/81fb4000 * Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5↔None) DRAM component: 256 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 32 MBytes Flash component: SPI Flash Date:Mar 25 2016 Time:13:59:20 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 RESET MT7628 PHY!!!!!! Please choose the operation: 0: Load System code then write to Flash via Serial. 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 3: System Boot System code via Flash. raspi_read: from:4018a len:4 ASUS PRODUCT bootloader version: 1.0.0.2 raspi_read: from:40004 len:6 MAC Address: 18:31:BF:65:BA:6C raspi_read: from:40004 len:6 ## Checking 1st firmware at bc050000 ... raspi_read: from:50000 len:40 Image Name: Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 7651544 Bytes = 7.3 MB Load Address: 80000000 Entry Point: 8000c150 raspi_read: from:50040 len:74c0d8 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Giving linux ramsize: 33554432 (32 MB) Starting kernel ... LINUX started... THIS IS ASIC Linux version 2.6.36 (root@asus) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 Mon May 11 10:00:56 CST 2020 The CPU feqenuce set to 575 MHz CPU revision is: 00019655 (MIPS 24Kc) Software DMA cache coherency Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 → 0x00002000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 → 0x00002000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4 rootfstype=squashfs console=ttyS1,57600n8 root=/dev/mtdblock4 rootfstype=squashfs,noinitrd PID hash table entries: 128 (order: -3, 512 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Primary instruction cache 64kB, VIPT, , 4-waylinesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes Writing ErrCtl register=0007e10e Readback ErrCtl register=0007e10e Memory: 28712k/32768k available (2579k kernel code, 4056k reserved, 743k data, 168k init, 0k highmem) SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 console [ttyS1] enabled Calibrating delay loop... 382.97 BogoMIPS (lpj=765952) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 bio: create slab <bio-0> at 0 Switching to clocksource MIPS 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 UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) © 2001-2006 Red Hat, Inc. msgmni has been set to 56 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered (default) Ralink gpio driver initialized Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A brd: module loaded flash manufacture id: ef, device id 40 17 W25Q64BV(ef 40170000) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 partion 3: ffffffff 7b0000 partion 4: 17f600 680a00 #add mtd partition# Creating 6 MTD partitions on “raspi”: 0x000000000000-0x000000030000 : “Bootloader” 0x000000030000-0x000000040000 : “nvram” 0x000000040000-0x000000050000 : “Factory” 0x000000050000-0x000000800000 : “linux” 0x00000017f600-0x000000800000 : “rootfs” 0x000000000000-0x000000800000 : “ALL” rdm_major = 253 GMAC1_MAC_ADRH -- : 0x0000000c GMAC1_MAC_ADRL -- : 0x43e17629 Ralink APSoC Ethernet Driver Initilization. v3.1 512 rx/tx descriptors allocated, mtu = 1500! GMAC1_MAC_ADRH -- : 0x0000000c GMAC1_MAC_ADRL -- : 0x43e17629 PROC INIT OK! PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 PPTP driver version 0.8.5 IMQ driver loaded successfully. Hooking IMQ before NAT on PREROUTING. Hooking IMQ after NAT on POSTROUTING. u32 classifier nf_conntrack version 0.5.0 (448 buckets, 1792 max) matchsize=264 xt_time: kernel timezone is -0000 GRE over IPv4 demultiplexor driver gre: can't add protocol ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team NET: Registered protocol family 17 L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 802.1Q VLAN Support v1.8 Ben Greear greearb@candelatech.com All bugs added by David S. Miller davem@redhat.com VFS: Mounted root (squashfs filesystem) readonly on device 31:4. Freeing unused kernel memory: 168k freed offset 0x8000 elapse 0ms bled: Unknown symbol irq_to_desc (err 0) 1: set_action 0 Hit ENTER for console... firmware version: 3.0.0.4.380_10931-gfed566f mtd productid: RT-N11P_B1 bootloader version: RT-N11P_B1-01-00-00-02 firmware version: 3.0.0.4 odmpid: RT-N12E current FW productid: RT-N11P_B1 current FW firmver: 3.0.0.4 clean_mode(1) clean_time(2) threshold(0) free_caches: Start syncing... free_caches: Start cleaning... free_caches: waiting 2 second... free_caches: Finish. [1 init:init_nvram +8] init_nvram for model(65) set_basic_ifname_vars: WAN vlan2 LAN vlan1 2G ra0 5G N/A USB (null) AP_LAN vlan1 DW_WAN (null) DW_LAN vlan3 force_dwlan 0, sw_mode 1 wan_ifnames: vlan2 config_swports_bled: open /dev/bled fail. (No such file or directory) config_swports_bled: open /dev/bled fail. (No such file or directory) num_of_mssid_support(0x0093): [mssid] support [3] mssid mt_wifi_7628: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint === pAd = c0509000, size = 1190152 === ←- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x ←- RTMPAllocAdapterBlock, Status=0 RtmpChipOpsHook(492): Not support for HIF_MT yet! mt7628_init()-→ mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) e2.bin mt7628_init(1117)::(2), pChipCap→fw_len(63360) mt_bcn_buf_init(218): Not support for HIF_MT yet! ←-mt7628_init() hotplug net INTERFACE=ra0 ACTION=add start_logger: )ifconfig: name=Raeth v3.1 (eth2 flags=1043 TaskletIFUP addr=(null),SkbRecycle netmask=(null) phy_tx_ring = 0x00a8c000, tx_ring = 0xa0a8c000 phy_rx_ring0 = 0x00a8e000, rx_ring0 = 0xa0a8e000 GMAC1_MAC_ADRH -- : 0x00001831 GMAC1_MAC_ADRL -- : 0xbf65ba6c RT305x_ESW: Link Status Changed hotplug net INTERFACE=vlan1 ACTION=add hotplug net INTERFACE=vlan2 ACTION=add config_switch(0x014a): link down all ports Algorithmics/MIPS FPU Emulator v1.5 config_mt7628_esw_LANWANPartition: LAN/WAN/WANS_LAN portmask 0000000f/00000010/00000000 mt7628_reg_write()..offset= 14, value= 405555 config_mt7628_esw_LANWANPartition: PVIDC0 - 00001001 mt7628_reg_write()..offset= 40, value= 1001 config_mt7628_esw_LANWANPartition: PVIDC1 - 00001001 mt7628_reg_write()..offset= 44, value= 1001 config_mt7628_esw_LANWANPartition: PVIDC2 - 00001002 mt7628_reg_write()..offset= 48, value= 1002 mt7628_reg_write()..offset= 50, value= 2001 config_mt7628_esw_LANWANPartition: VMSC - ff00504f mt7628_reg_write()..offset= 70, value=ff00504f mt7628_reg_write()..offset= 98, value= ff3f [set_Vlan_untag][714] idx = 0, untag_mask = 15 mt7628_reg_write()..offset= 100, value= f [set_Vlan_untag][714] idx = 1, untag_mask = 16 mt7628_reg_write()..offset= 100, value= 80f config_switch(0x0184): ISP Profile/STB: none/0 config_switch(0x037a): link up wan port(s) update_lan_state(lan_, 0, 0) start_lan: setting up the bridge br0 _ifconfig: name=vlan1 flags=1243 IFUP addr=(null) netmask=(null) start_lan: setting MAC of br0 bridge to 18:31:BF:65:BA:6C gen ralink config gen_ralink_conficheck_runtime_para 650: match g(0x03b0): Main TX_BCN DESC a0911000 size = 320 BSSID is not mulRX[0] DESC a0913000 size = 2048 tiple of 4s!warnRX[1] DESC a0916000 size = 1024 ing: 50!!!! Miss some configuration, please check!!!! _ifconfig: name=ra0 flags=1243 IFUP addr=(null) netmask=cfg_mode=9 (null) hotplug cfg_mode=9 net INTERFACE=brwmode_band_equal(): Band Equal! 0 ACTION=add APSDCapable[0]=1 APSDCapable[1]=1 APSDCapable[2]=1 APSDCapable[3]=1 APSDCapable[4]=1 APSDCapable[5]=1 APSDCapable[6]=1 APSDCapable[7]=1 APSDCapable[8]=1 APSDCapable[9]=1 APSDCapable[10]=1 APSDCapable[11]=1 APSDCapable[12]=1 APSDCapable[13]=1 APSDCapable[14]=1 APSDCapable[15]=1 default ApCliAPSDCapable[0]=1 Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) LEDMethod = 1 RTMPReadParametersHook 269: don't change config RTMPSetDefaultChannel() : default channel to 1 load fw image from fw_header_image AndesMTLoadFwMethod1(2174)::pChipCap→fw_len(63360) FW Version:_e2_mp FW Build Date:20150424112224 CmdAddressLenReq:(ret = 0) CmdFwStartReq: override = 1, address = 1048576 CmdStartDLRsp: WiFI FW Download Success MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) efuse_probe: efuse = 10000012 RtmpChipOpsEepromHook::e2p_type=0, inf_Type=4 RtmpEepromGetDefault::e2p_dafault=2 RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 NVM is FLASH mode 1. Phy Mode = 14 Country Region from e2p = ffff tssi_1_target_pwr_g_band = 38 2. Phy Mode = 14 3. Phy Mode = 14 NICInitPwrPinCfg(11): Not support for HIF_MT yet! NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet! mt_mac_init()-→ MtAsicInitMac()-→ mt7628_init_mac_cr()-→ MtAsicSetMacMaxLen(1241): Set the Max RxPktLen=1024! ←-mt_mac_init() WTBL Segment 1 info: MemBaseAddr/FID:0x28000/0 EntrySize/Cnt:32/128 WTBL Segment 2 info: MemBaseAddr/FID:0x40000/0 EntrySize/Cnt:64/128 WTBL Segment 3 info: MemBaseAddr/FID:0x42000/64 EntrySize/Cnt:64/128 WTBL Segment 4 info: MemBaseAddr/FID:0x44000/128 EntrySize/Cnt:32/128 AntCfgInit(2876): Not support for HIF_MT yet! MCS Set = ff ff 00 00 01 MtAsicSetChBusyStat(826): Not support for HIF_MT yet! CmdSlotTimeSet:(ret = 0) Channel 1 : Dirty = 840, False CCA = 0, Busy Time = 10199, Skip Channel = FALSE Channel 2 : Dirty = 544, False CCA = 0, Busy Time = 2257, Skip Channel = FALSE Channel 3 : Dirty = 528, False CCA = 0, Busy Time = 2932, Skip Channel = FALSE Channel 4 : Dirty = 512, False CCA = 0, Busy Time = 2866, Skip Channel = FALSE Channel 5 : Dirty = 496, False CCA = 0, Busy Time = 5252, Skip Channel = FALSE Channel 6 : Dirty = 560, False CCA = 0, Busy Time = 12417, Skip Channel = FALSE Channel 7 : Dirty = 436, False CCA = 0, Busy Time = 18318, Skip Channel = FALSE Channel 8 : Dirty = 440, False CCA = 0, Busy Time = 7592, Skip Channel = FALSE Channel 9 : Dirty = 444, False CCA = 0, Busy Time = 6946, Skip Channel = FALSE Channel 10 : Dirty = 448, False CCA = 0, Busy Time = 23044, Skip Channel = FALSE Channel 11 : Dirty = 630, False CCA = 0, Busy Time = 28741, Skip Channel = FALSE Channel 12 : Dirty = 288, False CCA = 0, Busy Time = 32006, Skip Channel = FALSE Channel 13 : Dirty = 252, False CCA = 0, Busy Time = 33924, Skip Channel = FALSE 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 [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 MtAsicSetRalinkBurstMode(2929): Not support for HIF_MT yet! MtAsicSetPiggyBack(763): Not support for HIF_MT yet! MtAsicSetTxPreamble(2908): Not support for HIF_MT yet! MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 Main bssid = 18:31:bf:65:ba:6c ⇐=== rt28xx_init, Status=0 mt7628_set_ed_cca: TURN ON EDCCA mac 0x10618 = 0xd7e87d10 WiFi Startup Cost (ra0): 6.040s hotplug net INTERFACE=apcli0 ACTION=add [doSystem] iwpriv ra0 set TxPower=100 _ifconfig: name=br0 flags=1243 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) nat_rule: stop_nat_rules 1. stop_nat_rules: apply the redirect_rules! start_lan 2160 start_wsc_pin_enrollee: start wsc (0) [doSystem] iwpriv ra0 set WscConfMode=7 WPS: PIN [doSystem] iwpriv ra0 set WscMode=1 [1 init:start_dnsmasq +22] begin [1 init:stop_dnsmasq +22] begin # wanduck: Got LAN(-1) information: # Enable direct rule [1 init:stop_dnsmasq +22] end [1 init:start_dnsmasq +22] end start_lan_port(0) 1 decomp: fname=/var/lib/misc/rstats-speed.gz decomp: gzip -dc /var/lib/misc/rstats-speed.gz > /var/tmp/rstats-uncomp != 0 [doSystem] iwpriv ra0 set WatchdogPid=179 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 set watchdog pid as: 179 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 TZ watchdog start_wan: start_wan_if(0)! [1 init:start_wan_if +23] unit=0. update_wan_state(wan0_, 0, 0) convert_wan_nvram(wan0_) wan_ifname: vlan2 is NOT UP _ifconfig: name=vlan2 flags=1043 IFUP addr=(null) netmask=(null) update_wan_state(wan0_, 1, 0) start_wan_if(0x0744): ifup:vlan2 _ifconfig: name=vlan2 flags=1043 IFUP addr=(null) netmask=(null) start_wan_if(0x0748): start auth:0 start_auth:: done start_wan_if(0x0752): start udhcpc:vlan2, 0 [1 init:start_udhcpc +24] unit=0. start_wan_if(): End. udhcpc_wan:: deconfig _ifconfig: name=vlan2 flags=1043 IFUP addr=0.0.0.0 netmask=(null) wan_down(vlan2) wan_down(vlan2): . stop_auth:: done route_manip: cmd=DEL name=vlan2 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 clean_mode(1) clean_time(2) threshold(0) free_caches: Start syncing... free_caches: Start cleaning... free_caches: waiting 2 second... free_caches: Finish.
OpenWrt bootlog
COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING