Jump to content

RT-N12/D1

From Together

Board

1.-->GND 2.-->RXD 3.-->TXD 4.-->+3.3V

/proc info

cat /proc/meminfo

root@DD-WRT:/proc# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  26787840 13647872 13139968        0  1306624  4194304
Swap:        0        0        0
MemTotal:        26160 kB
MemFree:         12832 kB
MemShared:           0 kB
Buffers:          1276 kB
Cached:           4096 kB
SwapCached:          0 kB
Active:           1122 kB
Inactive:          541 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        26160 kB
LowFree:         12832 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:            214 kB
Slab:              129 kB
CommitLimit:     13080 kB
Committed_AS:     3264 kB
PageTables:       1343 kB
VmallocTotal:  1015800 kB
VmallocUsed:        20 kB
VmallocChunk:  1015760 kB

cat /proc/devices

root@DD-WRT:/proc# 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
127 gpio
128 ptm
136 pts
229 nvram
254 devfs

Block devices:
 31 mtdblock

cat /proc/vmstat

root@DD-WRT:/proc# cat /proc/vmstat
nr_free_pages 3178
nr_inactive 541
nr_active 1138
nr_anon_pages 338
nr_mapped 258
nr_file_pages 1343
nr_dirty 0
nr_writeback 0
nr_slab_reclaimable 129
nr_slab_unreclaimable 1455
nr_page_table_pages 45
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0

cat /proc/iomem

root@DD-WRT:/proc# cat /proc/iomem
00000000-01ffffff : System RAM
  00001000-00371a13 : Kernel code
  00371a14-004c90bf : Kernel data

cat /proc/cpuinfo

root@DD-WRT:/proc# cat /proc/cpuinfo
system type             : Broadcom BCMD144 chip rev 1
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

dcache hits             : 2147483648
dcache misses           : 4025974527
icache hits             : 2147483648
icache misses           : 2129788862
instructions            : 2147483648

cat /proc/partitions

root@DD-WRT:/proc# cat /proc/partitions
major minor  #blocks  name

  31     0        128 mtdblock0
  31     1       8000 mtdblock1
  31     2       1989 mtdblock2
  31     3         64 mtdblock3
  31     4       4608 mtdblock4

cat /proc/kmsg

<5>Linux version 2.6.24.111 (root@dd-wrt) (gcc version 4.1.2) #9550 Mon Mar 19 00:53:46 CET 2012
<4>CPU revision is: 00019749
<4>Found a 8MB ST compatible serial flash
<4>Determined physical RAM map:
<4> memory: 02000000 @ 00000000 (usable)
<7>Entering add_active_range(0, 0, 8192) 0 entries of 256 used
<4>Zone PFN ranges:
<4>  Normal          0 ->     8192
<4>  HighMem      8192 ->     8192
<4>Movable zone start PFN for each node
<4>early_node_map[1] active PFN ranges
<4>    0:        0 ->     8192
<7>On node 0 totalpages: 8192
<7>  Normal zone: 0 pages used for memmap
<7>  Normal zone: 0 pages reserved
<7>  Normal zone: 8192 pages, LIFO batch:1
<7>  HighMem zone: 0 pages used for memmap
<7>  Movable zone: 0 pages used for memmap
<4>Built 1 zonelists in Zone order.  Total pages: 8192
<5>Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd
<4>Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
<4>Primary data cache 32kB, 4-way, linesize 32 bytes.
<6>Synthesized TLB refill handler (20 instructions).
<6>Synthesized TLB load handler fastpath (32 instructions).
<6>Synthesized TLB store handler fastpath (32 instructions).
<6>Synthesized TLB modify handler fastpath (31 instructions).
<4>PID hash table entries: 256 (order: 8, 1024 bytes)
<4>CPU: BCMd144 rev 1 at 300 MHz
<4>Using 150.000 MHz high precision timer.
<6>console [ttyS0] enabled
<6>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>Memory: 25956k/32768k available (3522k kernel code, 6796k reserved, 1373k data, 188k init, 0k highmem)
<7>Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)
<4>Mount-cache hash table entries: 512
<6>NET: Registered protocol family 16
<6>Generic PHY: Registered new driver
<4>PCI: no core
<4>PCI: no core
<4>PCI: Fixing up bus 0
<6>NET: Registered protocol family 2
<6>Time: MIPS clocksource has been installed.
<6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP established hash table entries: 1024 (order: 1, 8192 bytes)
<6>TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP: Hash tables configured (established 1024 bind 1024)
<6>TCP reno registered
<6>devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
<6>devfs: boot_options: 0x1
<6>squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>io scheduler noop registered
<6>io scheduler deadline registered (default)
<6>HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
<6>N_HDLC line discipline registered.
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
<6>serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a 16550A
<6>PPP generic driver version 2.4.2
<6>PPP Deflate Compression module registered
<6>PPP BSD Compression module registered
<6>MPPE/MPPC encryption/compression module registered
<6>NET: Registered protocol family 24
<6>PPPoL2TP kernel driver, V1.0
<6>tun: Universal TUN/TAP device driver, 1.6
<6>tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<4>et_module_init: passivemode set to 0x0
<7>PCI: Setting latency timer of device 0000:00:02.0 to 64
<4>eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.9
<7>PCI: Setting latency timer of device 0000:00:01.0 to 64
<3>pflash: found no supported devices
<0>bootloader size: 131072
<0>nvram size: 32768
<0>sflash: Filesystem type: squashfs, size=0x1ee540
<0>partition size = 2036736
<5>Creating 5 MTD partitions on "sflash":
<5>0x00000000-0x00020000 : "cfe"
<5>0x00020000-0x007f0000 : "linux"
<5>0x0017ec00-0x00370000 : "rootfs"
<4>mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
<5>0x007f0000-0x00800000 : "nvram"
<5>0x00370000-0x007f0000 : "ddwrt"
<6>Broadcom Watchdog Timer: 0.07 initialized.
<4>u32 classifier
<4>    Actions configured
<4>Netfilter messages via NETLINK v0.30.
<4>nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<4>ctnetlink v0.93: registering with nfnetlink.
<6>IPv4 over IPv4 tunneling driver
<6>GRE over IPv4 tunneling driver
<6>ip_tables: (C) 2000-2006 Netfilter Core Team
<5>ClusterIP Version 0.8 loaded successfully
<6>TCP bic registered
<6>TCP cubic registered
<6>TCP westwood registered
<6>TCP highspeed registered
<6>TCP hybla registered
<6>TCP htcp registered
<6>TCP vegas registered
<6>TCP scalable registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<4>Welcome to PF_RING 3.2.1
<4>(C) 2004-06 L.Deri <deri@ntop.org>
<6>NET: Registered protocol family 27
<4>PF_RING: bucket length    128 bytes
<4>PF_RING: ring slots       4096
<4>PF_RING: sample rate      1 [1=no sampling]
<4>PF_RING: capture TX       No [RX only]
<4>PF_RING: transparent mode Yes
<4>PF_RING initialized correctly.
<4>PF_RING: registered /proc/net/pf_ring/
<6>802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
<6>All bugs added by David S. Miller <davem@redhat.com>
<0>decode 1f02
<4>VFS: Mounted root (squashfs filesystem) readonly.
<6>Mounted devfs on /dev
<6>Freeing unused kernel memory: 188k freed
<3>br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.