Skip to content

Instantly share code, notes, and snippets.

@hkwi
Last active December 22, 2015 05:08
Show Gist options
  • Save hkwi/6421506 to your computer and use it in GitHub Desktop.
Save hkwi/6421506 to your computer and use it in GitHub Desktop.
# uname -a
Linux (none) 2.6.36 #17 Thu May 2 10:13:33 CST 2013 mips unknown
# cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "Bootloader"
mtd1: 00010000 00010000 "Config"
mtd2: 00010000 00010000 "Factory"
mtd3: 005b0000 00010000 "Kernel"
mtd4: 00100000 00010000 "User_CFG"
# cat /proc/mounts
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
none /var ramfs rw,relatime 0 0
none /tmp ramfs rw,relatime 0 0
none /media ramfs rw,relatime 0 0
none /sys sysfs rw,relatime 0 0
none /dev/pts devpts rw,relatime,mode=600 0 0
/dev/mtdblock4 /etc/config jffs2 rw,relatime 0 0
# cat /proc/ioports
10160000-1016ffff : PCI I/O1
# cat /proc/iomem
00000000-03ffffff : System RAM
00000000-00437397 : Kernel code
00437398-0050129f : Kernel data
20000000-2fffffff : PCI MEM1
# cat /proc/cpuinfo
system type : Ralink SoC
processor : 0
cpu model : MIPS 24Kc V5.0
BogoMIPS : 386.04
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ff8, 0x0ff8, 0x0ffb, 0x0ff8]
ASEs implemented : mips16 dsp
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available
# 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
200 flash0
251 nvram
252 gpio
253 rdm0
254 bsg
Block devices:
1 ramdisk
259 blkext
8 sd
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
# cat /proc/version
Linux version 2.6.36 (root@SWD1-CVS3) (gcc version 3.4.2) #17 Thu May 2 10:13:33 CST 2013
# ls /proc/mt7620
gmac tx_ring cp0 tso_len esw_cnt
skb_free rx_ring num_of_txd lro_stats
# cat /proc/bus/pci/devices
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment