User Tools

Site Tools


toh:asus:rt-n12d1

Asus RT-N12 D1

D1 hardware revision of ASUS RT-N12; a 300Mbps wireless router with two detachable 5dBi antennas.

RT-N12 D1

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

Supported Versions

Hardware Highlights

Keep the articles modular

Please include only model specific information, omit bla,bla and put everything generic into separate articles
generic.overview if you have no time to write certain stuff link to this
basic.config should lead the way, do not explain this again
DO NOT provide a complete howto here! Instead groom the general HowTos.

Installation

Flash Layout

Please check out the article Flash.Layout. It contains an example and a couple of explanations.

ASUS RT-N12 D1 OEM firmware Flash Layout
Layer0 sflash: MX25L6406E 8192KiB
Layer1 mtd0 pmon 128KiB mtd1 linux 8000KiB mtd3 nvram 64KiB
Layer2 1007KiB :?: mtd2 rootfs 4817KiB :?: 1664KiB mtd4 jffs2 512KiB
mountpoint none :?: / :?: :?: none
filesystem none :?: :?: :?: JFFS2 none

OEM easy installation

FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device!

This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

OEM installation using the TFTP method

Specific values you need

Bootloader tftp server IPv4 address FILL-IN FIXME
Bootloader MAC address (special) FILL-IN FIXME
Firmware tftp image Latest OpenWrt release FIXME
TFTP Transfer Window FILL-IN seconds FIXME
TFTP Window Start approximately FILL-IN seconds after power on FIXME
TFTP Client Required IP Address FILL-IN FIXME

Upgrading OpenWrt

generic.sysupgrade

If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

LuCI Web Upgrade Process

Terminal Upgrade Process

  • Login as root via SSH on 192.168.1.1
  • Use the following commands to upgrade.

cd /tmp/
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

  • If sysupgrade does not support this router, use the following commands.

cd /tmp/
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

FIXME

Basic configuration

→ To connect to the newly flashed router it is required that the LAN cable be in LAN Port label "1"
This is the Yellow port closest to the Blue WAN port, no other LAN ports were able to see 192.168.1.1.


Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

FIXME

Specific Configuration

Interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan0 (eth0.0) LAN ports (1 to 4) None
vlan1 (eth0.1) WAN port DHCP
wl0 WiFi Disabled

Switch Ports (for VLANs)

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) 4
LAN 1 3
LAN 2 2
LAN 3 1
LAN 4 0

Failsafe mode

Hardware

Info

General
Brand Asus
Model RT-N12
Versions D1
Device Type WiFi Router
Availability Available
Comments - general Flash chip: Macronix MX25L6406E, RAM chip: EtronTech EM63A165TS
OpenWrt Support
Supported Since Revision https://dev.openwrt.org/ticket/14236
Supported Since Release 15.05
Supported Current Release 15.05
Unsupported
Hardware
Instruction set MIPS32
Sub Instruction Set MIPS32 74K series
Bootloader CFE
Target brcm47xx
System-On-Chip Broadcom BCM5357C0
CPU MHz 300
Flash MB 8
RAM MB 32
Network
Ethernet 100M ports 5
Ethernet Gbit ports -
Switch Broadcom BCM5357C0
Modem No
VLAN Yes
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz -
WLAN Hardware
Detachable Antennas 2
Comments - WLAN
Interfaces
USB ports -
SATA ports -
Serial Yes
JTAG
Comments - USB & SATA ports
Misc
LED count 3
Button count 2
Power supply
Links
Forum Topic URL https://forum.openwrt.org/viewtopic.php?id=52004
WikiDevi URL https://wikidevi.com/wiki/ASUS_RT-N12_rev_D1
OEM device homepage URL http://www.asus.com/Networking/RTN12_D1/
Firmware OEM Stock URL http://dlcdnet.asus.com/pub/ASUS/wireless/RT-N12_D1/FW_RT_N12D1_30043786975.zip
Firmware OpenWrt Install URL https://downloads.openwrt.org/chaos_calmer/15.05/brcm47xx/mips74k/openwrt-15.05-brcm47xx-mips74k-asus-rt-n12-d1-squashfs.trx
Firmware OpenWrt Upgrade URL https://downloads.openwrt.org/chaos_calmer/15.05/brcm47xx/mips74k/openwrt-15.05-brcm47xx-mips74k-asus-rt-n12-d1-squashfs.trx
Edit the underlying data View/Edit data

Photos

RT-N12 D1

Front:

**Photo of front of the casing**

Back:

**Photo of back of the casing**

Opening the case

Note: This will void your warranty!

  • To open the cover remove four screw under the rubber pads
  • There are also two plastic latches: one in the middle of the front and one on the back

Main PCB

**Photo of PCB**

Serial

port.serial general information about the serial port, serial port cable, etc.

FIXME The values in this section needs to be confirmed

Serial console should be the header mount point labelled J4 (connector lacks, it has to be soldered on the board).

How to connect to the Serial Port of this specific device:

**Photo of PCB with markings**

The pins assignment should be:

Pin Signal
1 TxD
2 RxD
3 GND
4 VCC

The settings are: 16550 :?: bauds, :?: bits, :?: parity, :?: stop bit

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:

Photo of PCB with markings FIXME

Debricking

Bootlogs

OEM bootlog

Jan 1 01:00:07 syslogd started: BusyBox v1.17.4 Jan 1 01:00:07 kernel: klogd started: BusyBox v1.17.4 (2015-07-01 16:49:54 CST) Jan 1 01:00:07 kernel: start_kernel Jan 1 01:00:07 kernel: Linux version 2.6.22.19 (root@asus) (gcc version 4.2.4) #1 Wed Jul 1 16:53:03 CST 2015 Jan 1 01:00:07 kernel: CPU revision is: 00019749 Jan 1 01:00:07 kernel: Found an ST compatible serial flash with 128 64KB blocks; total size 8MB Jan 1 01:00:07 kernel: Determined physical RAM map: Jan 1 01:00:07 kernel: memory: 02000000 @ 00000000 (usable) Jan 1 01:00:07 kernel: Built 1 zonelists. Total pages: 8128 Jan 1 01:00:07 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200 Jan 1 01:00:07 kernel: Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. Jan 1 01:00:07 kernel: Primary data cache 32kB, 4-way, linesize 32 bytes. Jan 1 01:00:07 kernel: PID hash table entries: 128 (order: 7, 512 bytes) Jan 1 01:00:07 kernel: CPU: BCM53572 rev 1 pkg 8 at 300 MHz Jan 1 01:00:07 kernel: Using 150.000 MHz high precision timer. Jan 1 01:00:07 kernel: Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Jan 1 01:00:07 kernel: Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Jan 1 01:00:07 kernel: Mount-cache hash table entries: 512 Jan 1 01:00:07 kernel: PCI: no core Jan 1 01:00:07 kernel: PCI: no core Jan 1 01:00:07 kernel: PCI: Fixing up bus 0 Jan 1 01:00:07 kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes) Jan 1 01:00:07 kernel: TCP established hash table entries: 1024 (order: 1, 8192 bytes) Jan 1 01:00:07 kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes) Jan 1 01:00:07 kernel: pflash: found no supported devices Jan 1 01:00:07 kernel: Creating 5 MTD partitions on "sflash": Jan 1 01:00:07 kernel: 0x00000000-0x00020000 : "pmon" Jan 1 01:00:07 kernel: 0x00020000-0x007f0000 : "linux" Jan 1 01:00:07 kernel: 0x0011bbc4-0x005d0000 : "rootfs" Jan 1 01:00:07 kernel: 0x007f0000-0x00800000 : "nvram" Jan 1 01:00:07 kernel: 0x00770000-0x007f0000 : "jffs2" Jan 1 01:00:07 kernel: dev_nvram_init: _nvram_init Jan 1 01:00:07 kernel: _nvram_init: allocat header: 2151579648, size= 32768 Jan 1 01:00:07 kernel: u32 classifier Jan 1 01:00:07 kernel: OLD policer on Jan 1 01:00:07 kernel: Netfilter messages via NETLINK v0.30. Jan 1 01:00:07 kernel: nf_conntrack version 0.5.0 (512 buckets, 4096 max) Jan 1 01:00:07 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team Jan 1 01:00:07 kernel: net/ipv4/netfilter/tomato_ct.c [Jul 1 2015 16:52:24] Jan 1 01:00:07 kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team Jan 1 01:00:07 kernel: VFS: Mounted root (squashfs filesystem) readonly. Jan 1 01:00:07 kernel: Warning: unable to open an initial console. Jan 1 01:00:07 kernel: Algorithmics/MIPS FPU Emulator v1.5 Jan 1 01:00:07 kernel: ctf: module license 'Proprietary' taints kernel. Jan 1 01:00:07 kernel: et_module_init: passivemode set to 0x0 Jan 1 01:00:07 kernel: eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.110.27.20012 Jan 1 01:00:07 kernel: wl_module_init: passivemode set to 0x0 Jan 1 01:00:07 kernel: eth1: Broadcom BCM4347 802.11 Wireless Controller 5.110.27.20012 Jan 1 01:00:09 WAN Connection: Detected that the WAN Connection Type was PPPoE. But the PPPoE Setting was not complete. Jan 1 01:00:09 dnsmasq[234]: warning: interface ppp1* does not currently exist Jan 1 01:00:09 RT-N12D1: start httpd Jan 1 01:00:10 hour monitor: daemon is starting Jan 1 01:00:11 miniupnpd[257]: version 1.9 started Jan 1 01:00:11 miniupnpd[257]: HTTP listening on port 43093 Jan 1 01:00:11 miniupnpd[257]: Listening for NAT-PMP/PCP traffic on port 5351 Jan 1 01:00:11 miniupnpd[257]: chain VUPNP not found Jan 1 01:00:13 start_nat_rules: apply the nat_rules(/tmp/nat_rules_eth0_eth0)! Jan 1 01:00:14 kernel: nf_conntrack_rtsp v0.6.21 loading Jan 1 01:00:14 kernel: nf_nat_rtsp v0.6.21 loading Jan 1 01:00:14 wan: finish adding multi routes Jan 1 01:00:14 miniupnpd[257]: shutting down MiniUPnPd Jan 1 01:00:14 miniupnpd[339]: version 1.9 started Jan 1 01:00:14 miniupnpd[339]: HTTP listening on port 37857 Jan 1 01:00:14 miniupnpd[339]: Listening for NAT-PMP/PCP traffic on port 5351 Jan 1 01:00:14 ntp: start NTP update Nov 1 20:11:31 rc_service: ntp 235:notify_rc restart_upnp Nov 1 20:11:31 miniupnpd[339]: shutting down MiniUPnPd Nov 1 20:11:31 miniupnpd[348]: version 1.9 started Nov 1 20:11:31 miniupnpd[348]: HTTP listening on port 47535 Nov 1 20:11:31 miniupnpd[348]: Listening for NAT-PMP/PCP traffic on port 5351 Nov 1 20:11:35 WAN Connection: WAN was restored. Nov 1 20:11:35 ntp: start NTP update Nov 1 20:11:56 watchdog: restart httpd Nov 1 20:11:56 rc_service: watchdog 240:notify_rc start_httpd Nov 1 20:11:56 RT-N12D1: start httpd


OpenWrt bootlog

[ 0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 14:51:04 CEST 2014 [ 0.000000] CPU revision is: 00019749 (MIPS 74Kc) [ 0.000000] bcm47xx: using bcma bus [ 0.000000] bcma: bus0: Found chip with id 0xD144, rev 0x01 and package 0x08 [ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0) [ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x05, class 0x0) [ 0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28982A09) [ 0.000000] bcma: bus0: Found serial flash [ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128) [ 0.000000] bcma: bus0: Early bus registered [ 0.000000] MIPS: machine is Asus RT-N12D1 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 802e6b80, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: noinitrd console=ttyS0,115200 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 28916k/32768k available (2453k kernel code, 3852k reserved, 597k data, 208k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] Setting up vectored interrupts [ 0.060000] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.070000] NET: Registered protocol family 16 [ 0.100000] bio: create slab <bio-0> at 0 [ 0.110000] Switching to clocksource MIPS [ 0.120000] NET: Registered protocol family 2 [ 0.120000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.120000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.120000] TCP: Hash tables configured (established 512 bind 512) [ 0.120000] TCP: reno registered [ 0.120000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.120000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.120000] NET: Registered protocol family 1 [ 0.120000] PCI: CLS 0 bytes, default 32 [ 0.120000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1C, class 0x0) [ 0.120000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x03, class 0x0) [ 0.120000] bcma: bus0: Core 4 found: SDR/DDR1 Memory Controller (manuf 0x4BF, id 0x835, rev 0x02, class 0x0) [ 0.140000] can not parse nvram name sb/1/boardnum(null) with value e0:3f:49:1e:22:00 got -22 [ 0.200000] can not parse nvram name sb/1/rxpo2g(null) with value 0xff got -34 [ 0.210000] can not parse nvram name sb/1/ag3(null) with value 0xff got -34 [ 0.550000] bcma: bus0: Using SPROM revision 8 provided by platform. [ 0.550000] bcma: bus0: PMU resource config unknown or not needed for device 0xD144 [ 0.550000] bcma: bus0: Workarounds unknown or not needed for device 0xD144 [ 0.550000] bcma: bus0: Initializing MIPS core... [ 0.550000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3 [ 0.550000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4 [ 0.550000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2 [ 0.550000] bcma: bus0: IRQ reconfiguration done [ 0.550000] bcma: core 0x0800, irq : 2(S)* 3 4 5 6 D I [ 0.550000] bcma: core 0x082c, irq : 2(S) 3 4 5 6 D I* [ 0.550000] bcma: core 0x0812, irq : 2(S) 3* 4 5 6 D I [ 0.550000] bcma: core 0x082d, irq : 2(S) 3 4* 5 6 D I [ 0.550000] bcma: core 0x0835, irq : 2(S) 3 4 5 6 D* I [ 0.560000] bcma: bus0: Bus registered [ 0.560000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.560000] msgmni has been set to 56 [ 0.560000] io scheduler noop registered [ 0.560000] io scheduler deadline registered (default) [ 0.560000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.600000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2) is a U6_16550A [ 0.940000] console [ttyS0] enabled [ 1.000000] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash [ 1.010000] Creating 6 MTD partitions on "bcm47xxsflash": [ 1.010000] 0x000000000000-0x000000020000 : "boot" [ 1.020000] 0x000000020000-0x0000007f0000 : "firmware" [ 1.030000] 0x00000002001c-0x00000002090c : "loader" [ 1.040000] 0x00000002090c-0x000000132c00 : "linux" [ 1.050000] mtd: partition "linux" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.060000] 0x000000132c00-0x0000007f0000 : "rootfs" [ 1.070000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.090000] mtd: device 4 (rootfs) set to be root filesystem [ 1.090000] mtd: partition "rootfs_data" created automatically, ofs=0x380000, len=0x470000 [ 1.100000] 0x000000380000-0x0000007f0000 : "rootfs_data" [ 1.110000] 0x0000007f0000-0x000000800000 : "nvram" [ 1.130000] libphy: Fixed MDIO Bus: probed [ 1.140000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds) [ 1.140000] GPIO_WDT: failed to register misc device [ 1.150000] TCP: cubic registered [ 1.150000] NET: Registered protocol family 17 [ 1.160000] Bridge firewalling registered [ 1.160000] 8021q: 802.1Q VLAN Support v1.8 [ 1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.190000] Freeing unused kernel memory: 208K (802fc000 - 80330000) [ 5.020000] pps_core: LinuxPPS API ver. 1 registered [ 5.030000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 5.040000] PTP clock support registered [ 5.060000] bgmac bcma0:1: Found PHY addr: 30 (NOREGS) [ 5.080000] bgmac bcma0:1: Support for Roboswitch not implemented [ 5.090000] libphy: bgmac mii bus: probed [ 5.130000] b53_common: found switch: BCM5325, rev 4 [ 5.140000] bgmac: Broadcom 47xx GBit MAC driver loaded [ 16.570000] NET: Registered protocol family 10 [ 16.600000] nf_conntrack version 0.5.0 (455 buckets, 1820 max) [ 16.620000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 16.640000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 16.650000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 16.670000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 16.760000] xt_time: kernel timezone is -0000 [ 16.820000] cfg80211: Calling CRDA to update world regulatory domain [ 16.830000] cfg80211: World regulatory domain updated: [ 16.830000] cfg80211: DFS Master region: unset [ 16.840000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 16.850000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 16.850000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 16.860000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 16.870000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 16.880000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 16.890000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 16.900000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 16.900000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 17.040000] PPP generic driver version 2.4.2 [ 17.050000] NET: Registered protocol family 24 [ 17.100000] b43-phy0: Broadcom 53572 WLAN found (core revision 28) [ 17.100000] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 17 [ 17.110000] b43-phy0 ERROR: FOUND UNSUPPORTED RADIO (Manuf 0x17F, ID 0x2057, Revision 13, Version 0) [ 17.120000] b43: probe of bcma0:0 failed with error -122 [ 17.130000] Broadcom 43xx driver loaded [ Features: PNL ] [ 17.150000] Broadcom 43xx-legacy driver loaded [ Features: PLD ] [ 29.510000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 29.530000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 34.640000] device eth0.1 entered promiscuous mode [ 34.650000] device eth0 entered promiscuous mode [ 34.670000] br-lan: port 1(eth0.1) entered forwarding state [ 34.670000] br-lan: port 1(eth0.1) entered forwarding state [ 29.530000] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 36.670000] br-lan: port 1(eth0.1) entered forwarding state [ 85.000000] done. [ 85.000000] jffs2: notice: (788) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.


Notes

OEM

admin@RT-N12D1:/tmp/home/root# cat /proc/cpuinfo
system type             : Broadcom BCM53572 chip rev 1 pkg 8
processor               : 0
cpu model               : MIPS 74K V4.9
BogoMIPS                : 149.91
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : yes
ASEs implemented        : mips16 dsp
shadow register sets    : 1
VCED exceptions         : not available
VCEI exceptions         : not available

unaligned_instructions  : 0
dcache hits             : 2147483648
dcache misses           : 0
icache hits             : 2147483648
icache misses           : 0
instructions            : 2147483648

admin@RT-N12D1:/tmp/home/root# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "pmon"
mtd1: 007d0000 00010000 "linux"
mtd2: 004b443c 00010000 "rootfs"
mtd3: 00010000 00010000 "nvram"
mtd4: 00080000 00010000 "jffs2"

admin@RT-N12D1:/tmp/home/root# nvram show | grep clkfreq
size: 22255 bytes (10513 left)
clkfreq=300,150,75

admin@RT-N12D1:/tmp/home/root# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 90 mtd
108 ppp
128 ptm
136 pts
253 nvram
254 gpio

Block devices:
 31 mtdblock
179 mmc

admin@RT-N12D1:/tmp/home/root# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / squashfs ro 0 0
proc /proc proc rw 0 0
tmpfs /tmp tmpfs rw 0 0
devfs /dev tmpfs rw,noatime 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw 0 0

admin@RT-N12D1:/tmp/home/root# cat /proc/modules
sit 11024 0 - Live 0xc007d000
tunnel4 2544 1 sit, Live 0xc0061000
nf_nat_sip 3936 0 - Live 0xc0056000
nf_conntrack_sip 7616 1 nf_nat_sip, Live 0xc00ad000
nf_nat_h323 6624 0 - Live 0xc00aa000
nf_conntrack_h323 39616 1 nf_nat_h323, Live 0xc00b7000
nf_nat_rtsp 4656 0 - Live 0xc00a7000
nf_conntrack_rtsp 5792 1 nf_nat_rtsp, Live 0xc00a4000
nf_nat_ftp 2240 0 - Live 0xc0058000
nf_conntrack_ftp 6976 1 nf_nat_ftp, Live 0xc007a000
ip6t_SKIPLOG 832 1 - Live 0xc009e000
ip6table_mangle 1504 1 - Live 0xc009a000
xt_length 1056 2 - Live 0xc0093000
ip6t_LOG 7168 2 - Live 0xc0081000
ip6table_filter 1312 1 - Live 0xc0078000
nf_nat_pptp 2112 0 - Live 0xc0072000
nf_conntrack_pptp 5008 1 nf_nat_pptp, Live 0xc0075000
nf_nat_proto_gre 1680 1 nf_nat_pptp, Live 0xc0063000
nf_conntrack_proto_gre 3296 1 nf_conntrack_pptp, Live 0xc0054000
wl 2774224 0 - Live 0xc0384000 (P)
igs 17552 1 wl, Live 0xc005b000 (P)
emf 21056 2 wl,igs, Live 0xc0045000 (P)
et 48416 0 - Live 0xc0065000 (P)
ctf 21392 0 - Live 0xc004d000 (P)

admin@RT-N12D1:/tmp/home/root# cat /proc/iomem 
00000000-01ffffff : System RAM
00001000-002658a7 : Kernel code
002658a8-002e20bf : Kernel data
b8000300-b8000307 : serial

admin@RT-N12D1:/tmp/home/root# cat /proc/crypto 
name         : arc4
driver       : arc4-generic
module       : kernel
priority     : 0
refcnt       : 1
type         : cipher
blocksize    : 1
min keysize  : 1
max keysize  : 256

name         : sha1
driver       : sha1-generic
module       : kernel
priority     : 0
refcnt       : 1
type         : digest
blocksize    : 64
digestsize   : 20

admin@RT-N12D1:/tmp/home/root# cat /proc/interrupts
           CPU0       
  3:  482038033            MIPS  eth1
  4: 1714204959            MIPS  eth0
  7:  645270352            MIPS  timer
  8:      94613            IRQ2  serial

ERR:          0

OpenWrt

root@OpenWrt:/# cat /proc/cpuinfo
system type             : Broadcom BCM53572
machine                 : Asus RT-N12D1
processor               : 0
cpu model               : MIPS 74Kc V4.9
BogoMIPS                : 148.88
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp dsp2
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

Tags

toh/asus/rt-n12d1.txt · Last modified: 2016/11/25 16:37 by drben