Code: Select all
root@Gargoyle:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 2624 232 2392 9% /
/dev/root 2560 2560 0 100% /rom
tmpfs 30584 584 30000 2% /tmp
/dev/mtdblock5 2624 232 2392 9% /overlay
overlayfs:/overlay 2624 232 2392 9% /
tmpfs 512 0 512 0% /dev
root@Gargoyle:~#
----------------------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "uboot"
mtd1: 00010000 00010000 "config"
mtd2: 00610000 00010000 "firmware"
mtd3: 00116f19 00010000 "kernel"
mtd4: 004f90e7 00010000 "rootfs"
mtd5: 00290000 00010000 "rootfs_data"
mtd6: 00010000 00010000 "caldata"
mtd7: 00190000 00010000 "unknown"
mtd8: 00010000 00010000 "caldata_copy"
root@Gargoyle:~#
-----------------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:~# free
total used free shared buffers
Mem: 61172 26780 34392 584 2312
-/+ buffers: 24468 36704
Swap: 0 0 0
root@Gargoyle:~#
------------------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:/proc# cat cpuinfo
system type : Atheros AR7161 rev 2
machine : D-Link DIR-825 rev. B1
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 452.19
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
--------------------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:/proc# cat filesystems
nodev sysfs
nodev rootfs
nodev ramfs
nodev bdev
nodev proc
nodev tmpfs
nodev debugfs
nodev sockfs
nodev pipefs
nodev devpts
squashfs
nodev jffs2
nodev overlay
nodev mtd_inodefs
-------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:/proc# cat iomem
00000000-03ffffff : System RAM
00060000-002cfc93 : Kernel code
002cfc94-003767b7 : Kernel data
10000000-16ffffff : mem_base
10000000-16ffffff : PCI memory space
10000000-1000ffff : 0000:00:11.0
10000000-1000ffff : ath9k
10010000-1001ffff : 0000:00:12.0
10010000-1001ffff : ath9k
17010000-170100ff : cfg_base
17010000-170100ff : cfg_base
18020000-180200ff : serial8250.0
18020000-1802001f : serial
18060008-1806000f : ath79-wdt
18060008-1806000f : ath79-wdt
19000000-190001ff : mac_base
19000000-190001ff : mdio_base
1a000000-1a0001ff : mac_base
1b000000-1b000fff : ehci-platform
1c000000-1c000fff : ohci-platform
1f000000-1fffffff : ath79-spi
root@Gargoyle:/proc#
-----------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:/proc# cat meminfo
MemTotal: 61172 kB
MemFree: 34164 kB
MemAvailable: 41984 kB
Buffers: 2312 kB
Cached: 7700 kB
SwapCached: 0 kB
Active: 8600 kB
Inactive: 3244 kB
Active(anon): 2388 kB
Inactive(anon): 28 kB
Active(file): 6212 kB
Inactive(file): 3216 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 1848 kB
Mapped: 1952 kB
Shmem: 584 kB
Slab: 7448 kB
SReclaimable: 1692 kB
SUnreclaim: 5756 kB
KernelStack: 264 kB
PageTables: 244 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 30584 kB
Committed_AS: 5288 kB
VmallocTotal: 1048372 kB
VmallocUsed: 2156 kB
VmallocChunk: 1037672 kB
----------------------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:/proc# cat partitions
major minor #blocks name
31 0 256 mtdblock0
31 1 64 mtdblock1
31 2 6208 mtdblock2
31 3 1115 mtdblock3
31 4 5092 mtdblock4
31 5 2624 mtdblock5
31 6 64 mtdblock6
31 7 1600 mtdblock7
31 8 64 mtdblock8
------------------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:/proc# cat version
Linux version 3.18.29 (eric@Osiris) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49261) ) #1 Thu Jul 7 17:38:59 EDT 2016
----------------------------------------------------------------------------------------------------------------------------------------------------------
root@Gargoyle:/proc# dmesg
[ 0.000000] Linux version 3.18.29 (eric@Osiris) (gcc version 4.8.3 (OpenWrt/L inaro GCC 4.8-2014.04 r49261) ) #1 Thu Jul 7 17:38:59 EDT 2016
[ 0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8035ddf0, node_mem_map 8100000 0
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 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] 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 pag es: 16256
[ 0.000000] Kernel command line: board=DIR-825-B1 console=ttyS0,115200 mtdpa rts=spi0.0:256k(uboot)ro,64k(config)ro,6208k(firmware),64k(caldata)ro,1600k(unkn own)ro,64k@0x7f0000(caldata_copy) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60944K/65536K available (2494K kernel code, 128K rwdata, 532K rodata, 228K init, 188K bss, 4592K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.00 0MHz
[ 0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070000] NET: Registered protocol family 16
[ 0.080000] MIPS: machine is D-Link DIR-825 rev. B1
[ 0.380000] registering PCI controller with io_map_base unset
[ 2.720000] PCI host bridge to bus 0000:00
[ 2.730000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 2.730000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.740000] pci_bus 0000:00: No busn resource found for root bus, will use [b us 00-ff]
[ 2.740000] pci 0000:00:11.0: [168c:ff1d] type 00 class 0x020000
[ 2.740000] pci 0000:00:11.0: fixup device configuration
[ 2.750000] pci 0000:00:11.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 2.750000] pci 0000:00:11.0: PME# supported from D0 D3hot
[ 2.750000] pci 0000:00:12.0: [168c:ff1d] type 00 class 0x020000
[ 2.750000] pci 0000:00:12.0: fixup device configuration
[ 2.750000] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 2.750000] pci 0000:00:12.0: PME# supported from D0 D3hot
[ 2.750000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.750000] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 2.760000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[ 2.760000] pci 0000:00:11.0: using irq 40 for pin 1
[ 2.770000] pci 0000:00:12.0: using irq 41 for pin 1
[ 2.770000] Switched to clocksource MIPS
[ 2.780000] NET: Registered protocol family 2
[ 2.780000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.780000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.790000] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.790000] TCP: reno registered
[ 2.800000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.800000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.810000] NET: Registered protocol family 1
[ 2.810000] PCI: CLS 0 bytes, default 32
[ 2.820000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 2.830000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.830000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 2.840000] msgmni has been set to 119
[ 2.850000] io scheduler noop registered
[ 2.850000] io scheduler deadline registered (default)
[ 2.860000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2.860000] console [ttyS0] disabled
[ 2.890000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 106 25000) is a 16550A
[ 2.900000] console [ttyS0] enabled
[ 2.900000] bootconsole [early0] disabled
[ 2.910000] m25p80 spi0.0: found m25p64, expected m25p80
[ 2.920000] m25p80 spi0.0: m25p64 (8192 Kbytes)
[ 2.920000] 6 cmdlinepart partitions found on MTD device spi0.0
[ 2.930000] Creating 6 MTD partitions on "spi0.0":
[ 2.930000] 0x000000000000-0x000000040000 : "uboot"
[ 2.940000] 0x000000040000-0x000000050000 : "config"
[ 2.940000] 0x000000050000-0x000000660000 : "firmware"
[ 2.960000] 2 uimage-fw partitions found on MTD device firmware
[ 2.970000] 0x000000050000-0x000000166f19 : "kernel"
[ 2.970000] 0x000000166f19-0x000000660000 : "rootfs"
[ 2.980000] mtd: device 4 (rootfs) set to be root filesystem
[ 2.980000] 1 squashfs-split partitions found on MTD device rootfs
[ 2.990000] 0x0000003d0000-0x000000660000 : "rootfs_data"
[ 3.000000] 0x000000660000-0x000000670000 : "caldata"
[ 3.000000] 0x000000670000-0x000000800000 : "unknown"
[ 3.010000] 0x0000007f0000-0x000000800000 : "caldata_copy"
[ 3.020000] Realtek RTL8366S ethernet switch driver version 0.2.2
[ 3.020000] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[ 3.030000] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[ 3.050000] rtl8366s rtl8366s: applying initvals
[ 3.070000] libphy: rtl8366s: probed
[ 3.090000] libphy: ag71xx_mdio: probed
[ 3.420000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.740000] ag71xx ag71xx.1: connected to PHY at rtl8366s:04 [uid=001cc960, d river=Generic PHY]
[ 3.750000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
[ 3.750000] TCP: cubic registered
[ 3.760000] NET: Registered protocol family 17
[ 3.760000] bridge: automatic filtering via arp/ip/ip6tables has been depreca ted. Update your scripts to load br_netfilter if you need this.
[ 3.770000] Bridge firewalling registered
[ 3.780000] 8021q: 802.1Q VLAN Support v1.8
[ 3.790000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 3.800000] Freeing unused kernel memory: 228K (80377000 - 803b0000)
[ 4.760000] init: Console is alive
[ 4.760000] init: - watchdog -
[ 6.810000] init: - preinit -
[ 7.190000] ar71xx: pll_reg 0xb8050010: 0x11110000
[ 7.190000] eth0: link up (1000Mbps/Full duplex)
[ 7.210000] random: procd urandom read with 11 bits of entropy available
[ 10.480000] jffs2: notice: (425) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 10.500000] mount_root: switching to jffs2 overlay
[ 10.590000] eth0: link down
[ 10.600000] procd: - early -
[ 10.600000] procd: - watchdog -
[ 11.340000] procd: - ubus -
[ 12.350000] procd: - init -
[ 13.160000] tun: Universal TUN/TAP device driver, 1.6
[ 13.160000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 13.170000] gre: GRE over IPv4 demultiplexor driver
[ 13.180000] ip_gre: GRE over IPv4 tunneling driver
[ 13.200000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
[ 13.210000] Hooked IMQ after mangle on PREROUTING
[ 13.220000] Hooked IMQ after nat on POSTROUTING
[ 13.220000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1, imq_ dev_accurate_stats = 1)
[ 13.230000] Hooking IMQ before NAT on PREROUTING.
[ 13.240000] Hooking IMQ after NAT on POSTROUTING.
[ 13.260000] u32 classifier
[ 13.260000] input device check on
[ 13.260000] Actions configured
[ 13.270000] Mirror/redirect action on
[ 13.350000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fd f68
[ 13.350000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[ 13.390000] Ebtables v2.0 registered
[ 13.400000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.470000] Netfilter messages via NETLINK v0.30.
[ 13.570000] xt_time: kernel timezone is -0000
[ 13.720000] PPP generic driver version 2.4.2
[ 13.730000] PPP MPPE Compression module registered
[ 13.740000] NET: Registered protocol family 24
[ 13.740000] PPTP driver version 0.8.5
[ 13.810000] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
[ 13.820000] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 13.830000] ath: EEPROM regdomain: 0x0
[ 13.830000] ath: EEPROM indicates default country code should be used
[ 13.830000] ath: doing EEPROM country->regdmn map search
[ 13.830000] ath: country maps to regdmn code: 0x3a
[ 13.830000] ath: Country alpha2 being used: US
[ 13.830000] ath: Regpair used: 0x3a
[ 13.840000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.850000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[ 13.870000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
[ 13.880000] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[ 13.880000] ath: phy1: eeprom contains invalid mac address: 59:59:72:15:20:10
[ 13.890000] ath: phy1: random mac address will be used: 66:99:6d:fd:bc:ca
[ 13.900000] ath: EEPROM regdomain: 0x0
[ 13.900000] ath: EEPROM indicates default country code should be used
[ 13.900000] ath: doing EEPROM country->regdmn map search
[ 13.900000] ath: country maps to regdmn code: 0x3a
[ 13.900000] ath: Country alpha2 being used: US
[ 13.900000] ath: Regpair used: 0x3a
[ 13.920000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 13.920000] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41
[ 16.900000] rtl8366s rtl8366s: applying initvals
[ 20.610000] ar71xx: pll_reg 0xb8050010: 0x11110000
[ 20.610000] eth0: link up (1000Mbps/Full duplex)
[ 20.620000] device eth0.1 entered promiscuous mode
[ 20.620000] device eth0 entered promiscuous mode
[ 20.640000] br-lan: port 1(eth0.1) entered forwarding state
[ 20.640000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.620000] device wlan1 entered promiscuous mode
[ 22.640000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.650000] br-lan: port 2(wlan1) entered forwarding state
[ 22.650000] br-lan: port 2(wlan1) entered forwarding state
[ 22.900000] device wlan0 entered promiscuous mode
[ 22.900000] br-lan: port 3(wlan0) entered forwarding state
[ 22.910000] br-lan: port 3(wlan0) entered forwarding state
[ 23.060000] ar71xx: pll_reg 0xb8050014: 0x1099
[ 23.060000] eth1: link up (100Mbps/Full duplex)
[ 24.650000] br-lan: port 2(wlan1) entered forwarding state
[ 24.910000] br-lan: port 3(wlan0) entered forwarding state
[ 38.660000] random: nonblocking pool is initialized
[ 64.490000] ipt_bandwidth: timezone shift of 300 minutes detected, adjusting
[ 64.500000] old minutes west=0, new minutes west=300
root@Gargoyle:/proc#