Skip to content

Instantly share code, notes, and snippets.

@pklaus
Created March 17, 2012 14:00
Show Gist options
  • Save pklaus/2059480 to your computer and use it in GitHub Desktop.
Save pklaus/2059480 to your computer and use it in GitHub Desktop.
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.2.9 (openwrt@OpenWRTBuild) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Mar 13 20:33:19 MST 2012
[ 0.000000] MyLoader: sysp=3c4e4ab2, boardp=f767d9d2, parts=9ba4c377
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802e4c80, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 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: board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29180k/32768k available (2171k kernel code, 3588k reserved, 409k data, 196k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:48
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is TP-LINK TL-MR3020
[ 0.330000] bio: create slab <bio-0> at 0
[ 0.340000] Switching to clocksource MIPS
[ 0.350000] NET: Registered protocol family 2
[ 0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.350000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.360000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.370000] TCP reno registered
[ 0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.380000] NET: Registered protocol family 1
[ 0.390000] PCI: CLS 0 bytes, default 32
[ 0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.410000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.420000] msgmni has been set to 56
[ 0.430000] io scheduler noop registered
[ 0.430000] io scheduler deadline registered (default)
[ 0.430000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.440000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.450000] console [ttyATH0] enabled, bootconsole disabled
[ 0.460000] m25p80 spi0.0: found s25sl032a, expected m25p80
[ 0.470000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[ 0.470000] 5 tp-link partitions found on MTD device spi0.0
[ 0.480000] Creating 5 MTD partitions on "spi0.0":
[ 0.480000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.490000] 0x000000020000-0x0000001049bc : "kernel"
[ 0.490000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.500000] 0x0000001049bc-0x0000003f0000 : "rootfs"
[ 0.510000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.520000] mtd: partition "rootfs" set to be root filesystem
[ 0.530000] mtd: partition "rootfs_data" created automatically, ofs=270000, len=180000
[ 0.530000] 0x000000270000-0x0000003f0000 : "rootfs_data"
[ 0.540000] 0x0000003f0000-0x000000400000 : "art"
[ 0.550000] 0x000000020000-0x0000003f0000 : "firmware"
[ 0.800000] ag71xx_mdio: probed
[ 0.800000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.410000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.410000] TCP westwood registered
[ 1.420000] NET: Registered protocol family 17
[ 1.420000] Bridge firewalling registered
[ 1.420000] 8021q: 802.1Q VLAN Support v1.8
[ 1.450000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.450000] Freeing unused kernel memory: 196k freed
[ 5.430000] Registered led device: tp-link:green:3g
[ 5.430000] Registered led device: tp-link:green:wlan
[ 5.440000] Registered led device: tp-link:green:lan
[ 5.440000] Registered led device: tp-link:green:wps
[ 8.890000] JFFS2 notice: (406) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 11 of xref (0 dead, 4 orphan) found.
[ 9.980000] Compat-wireless backport release: compat-wireless-2012-02-27-1-r30919
[ 9.980000] Backport based on wireless-testing.git master-2012-02-27
[ 10.010000] cfg80211: Calling CRDA to update world regulatory domain
[ 10.420000] usbcore: registered new interface driver usbfs
[ 10.430000] usbcore: registered new interface driver hub
[ 10.440000] usbcore: registered new device driver usb
[ 10.450000] cfg80211: World regulatory domain updated:
[ 10.460000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.460000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.470000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.480000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.490000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.490000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.430000] ath: EEPROM regdomain: 0x0
[ 11.430000] ath: EEPROM indicates default country code should be used
[ 11.430000] ath: doing EEPROM country->regdmn map search
[ 11.430000] ath: country maps to regdmn code: 0x3a
[ 11.430000] ath: Country alpha2 being used: US
[ 11.430000] ath: Regpair used: 0x3a
[ 11.430000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 11.430000] Registered led device: ath9k-phy0
[ 11.430000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 11.440000] cfg80211: Calling CRDA for country: US
[ 11.600000] PPP generic driver version 2.4.2
[ 11.750000] cfg80211: Regulatory domain changed to country: US
[ 11.750000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 11.760000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 11.770000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 11.780000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.780000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.790000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.800000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 11.830000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.950000] NET: Registered protocol family 24
[ 12.080000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 12.090000] ath79-ehci ar933x-ehci: Atheros built-in EHCI controller
[ 12.090000] ath79-ehci ar933x-ehci: new USB bus registered, assigned bus number 1
[ 12.130000] ath79-ehci ar933x-ehci: irq 3, io mem 0x1b000000
[ 12.150000] ath79-ehci ar933x-ehci: USB 2.0 started, EHCI 1.00
[ 12.150000] hub 1-0:1.0: USB hub found
[ 12.150000] hub 1-0:1.0: 1 port detected
[ 12.180000] nf_conntrack version 0.5.0 (459 buckets, 1836 max)
[ 12.380000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 15.130000] device wlan0 entered promiscuous mode
[ 16.550000] device eth0 entered promiscuous mode
[ 17.960000] device wlan0 left promiscuous mode
[ 17.960000] br-lan: port 1(wlan0) entering disabled state
[ 18.340000] device wlan0 entered promiscuous mode
[ 18.340000] br-lan: port 1(wlan0) entering forwarding state
root@OpenWrt:~# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.02
S: Manufacturer=Linux 3.2.9 ehci_hcd
S: Product=Atheros built-in EHCI controller
S: SerialNumber=ar933x-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
root@OpenWrt:~# cat /proc/cpuinfo
system type : Atheros AR9330 rev 1
machine : TP-LINK TL-MR3020
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 265.42
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ff8]
ASEs implemented : mips16
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:~# cat /proc/diskstats
31 0 mtdblock0 0 0 0 0 0 0 0 0 0 0 0
31 1 mtdblock1 0 0 0 0 0 0 0 0 0 0 0
31 2 mtdblock2 31 1360 2782 6310 0 0 0 0 0 6310 6310
31 3 mtdblock3 1 3 32 40 0 0 0 0 0 40 40
31 4 mtdblock4 0 0 0 0 0 0 0 0 0 0 0
31 5 mtdblock5 1 3 32 50 0 0 0 0 0 50 50
root@OpenWrt:~# cat /proc/interrupts
CPU0
2: 1263013 MIPS ath9k
3: 0 MIPS ehci_hcd:usb1
4: 0 MIPS eth0
7: 1074438 MIPS timer
11: 39 MISC ar933x-uart
ERR: 0
root@OpenWrt:~# cat /proc/meminfo
MemTotal: 29376 kB
MemFree: 13944 kB
Buffers: 1392 kB
Cached: 4616 kB
SwapCached: 0 kB
Active: 3744 kB
Inactive: 3464 kB
Active(anon): 1240 kB
Inactive(anon): 52 kB
Active(file): 2504 kB
Inactive(file): 3412 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 1216 kB
Mapped: 1280 kB
Shmem: 92 kB
Slab: 5320 kB
SReclaimable: 1016 kB
SUnreclaim: 4304 kB
KernelStack: 304 kB
PageTables: 212 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 14688 kB
Committed_AS: 4140 kB
VmallocTotal: 1048372 kB
VmallocUsed: 576 kB
VmallocChunk: 1041636 kB
root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00010000 "u-boot"
mtd1: 000e49bc 00010000 "kernel"
mtd2: 002eb644 00010000 "rootfs"
mtd3: 00180000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 003d0000 00010000 "firmware"
root@OpenWrt:~# cat /proc/version
Linux version 3.2.9 (openwrt@OpenWRTBuild) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Mar 13 20:33:19 MST 2012
root@OpenWrt:~# uname -a
Linux OpenWrt 3.2.9 #1 Tue Mar 13 20:33:19 MST 2012 mips GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment