Skip to content

Instantly share code, notes, and snippets.

@bogdanr
Created December 28, 2013 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bogdanr/8159641 to your computer and use it in GitHub Desktop.
Save bogdanr/8159641 to your computer and use it in GitHub Desktop.
HLK-RM02 - Boot of the general purpose image By default wireless in not enabled in this image (see /etc/config/wireless) The default address for accessing this image is 192.168.1.1 on the lan interface
root@OpenWrt:~#
[ crond find init logread nslookup rm sysctl umount
[[ crontab firstboot insmod ls ntpd rmdir sysupgrade uname
arping cut free ipcalc.sh lsmod odhcp6c rmmod tail uniq
ash date fsync iptables md5sum opkg route tar uptime
askfirst dbclient grep iptables-restore mkdir passwd scp tee vconfig
awk dd gunzip iptables-save mkfifo pgrep sed telnet vi
basename devstatus gzip iw mknod pidof seq telnetd wc
brctl df halt jffs2mark mkswap ping sh test wget
bunzip2 dirname head jffs2reset mktemp ping6 sleep time which
busybox dmesg hexdump jshn modinfo pivot_root sort top wifi
bzcat dropbear hostapd kill modprobe poweroff ssh touch wpa_supplicant
cat dropbearkey hostid killall mount printf start-stop-daemon tr wpad
chgrp du hotplug-call kmodloader mount_root procd strings traceroute xargs
chmod echo hwclock led.sh mv ps swapoff true xtables-multi
chown egrep id less nc pwd swapon ubus yes
chroot env ifconfig ln netifd readlink swconfig ubusd zcat
clear expr ifdown lock netmsg reboot switch2jffs uci
cmp false ifstatus logger netstat reload_config switch_root udevtrigger
cp fgrep ifup login.sh nice reset sync udhcpc
[ 0.000000] Linux version 3.10.13 (bogdan@osc) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38333) ) #7 Sat Dec 28 15:00:53 EET 2013
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is HILINK HLK-RM04
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x00ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x00ffffff]
[ 0.000000] On node 0 totalpages: 4096
[ 0.000000] free_area_init_node: node 0, pgdat 80258970, node_mem_map 802d0f20
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 4096 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no 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 off. Total pages: 4064
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 mem=16M
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Writing ErrCtl register=00058f10
[ 0.000000] Readback ErrCtl register=00058f10
[ 0.000000] Memory: 13300k/16384k available (2100k kernel code, 3084k reserved, 369k data, 216k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] CPU Clock: 360MHz
[ 0.060000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] pinctrl core: initialized pinctrl subsystem
[ 0.090000] NET: Registered protocol family 16
[ 0.110000] rt2880-pinmux pinctrl.1: try to register 42 pins ...
[ 0.110000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[ 0.110000] pinctrl core: add 3 pinmux maps
[ 0.110000] rt2880-pinmux pinctrl.1: found group selector 4 for jtag
[ 0.110000] rt2880-pinmux pinctrl.1: invalid group "rgmii" for function "gpio"
[ 0.120000] rt2880-pinmux pinctrl.1: invalid group "mdio" for function "gpio"
[ 0.150000] bio: create slab <bio-0> at 0
[ 0.160000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.170000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.180000] Switching to clocksource MIPS
[ 0.190000] NET: Registered protocol family 2
[ 0.200000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.220000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.230000] TCP: Hash tables configured (established 512 bind 512)
[ 0.240000] TCP: reno registered
[ 0.250000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.270000] NET: Registered protocol family 1
[ 0.280000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[ 0.300000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[ 0.330000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.370000] msgmni has been set to 25
[ 0.380000] io scheduler noop registered
[ 0.380000] io scheduler deadline registered (default)
[ 0.400000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.410000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[ 0.410000] pinctrl core: add 1 pinmux maps
[ 0.410000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite
[ 0.410000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite
[ 0.410000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite
[ 0.410000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.430000] console [ttyS0] enabled, bootconsole disabled
[ 0.450000] 10000500.uart: ttyS1 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 0.470000] m25p80 spi32766.0: found w25q32, expected s25fl064k
[ 0.490000] m25p80 spi32766.0: w25q32 (4096 Kbytes)
[ 0.500000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.510000] Creating 4 MTD partitions on "spi32766.0":
[ 0.520000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.530000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.550000] 0x000000040000-0x000000050000 : "factory"
[ 0.560000] 0x000000050000-0x000000400000 : "firmware"
[ 0.570000] 0x000000128897-0x000000400000 : "rootfs"
[ 0.580000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.610000] mtd: partition "rootfs" set to be root filesystem
[ 0.630000] mtd: partition "rootfs_data" created automatically, ofs=0x290000, len=0x170000
[ 0.640000] 0x000000290000-0x000000400000 : "rootfs_data"
[ 0.670000] eth0: done loading
[ 0.670000] rt3xxx-usbphy ubsphy.3: loaded
[ 0.680000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.700000] TCP: cubic registered
[ 0.700000] NET: Registered protocol family 17
[ 0.710000] 8021q: 802.1Q VLAN Support v1.8
[ 0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.760000] Freeing unused kernel memory: 216K (8026a000 - 802a0000)
[ 6.460000] usbcore: registered new interface driver usbfs
[ 6.470000] usbcore: registered new interface driver hub
[ 6.480000] usbcore: registered new device driver usb
[ 6.500000] Button Hotplug driver version 0.4.1
[ 6.510000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.530000] ehci-platform: EHCI generic platform driver
[ 6.740000] rt3xxx-usbphy ubsphy.3: remote usb device wakeup disabled
[ 6.750000] rt3xxx-usbphy ubsphy.3: UTMI 16bit 30MHz
[ 6.760000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 6.780000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 6.790000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 6.820000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 6.830000] usb usb1: no of_node; not parsing pinctrl DT
[ 6.830000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[ 6.830000] hub 1-0:1.0: USB hub found
[ 6.840000] hub 1-0:1.0: 1 port detected
[ 6.850000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.860000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[ 6.880000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 6.890000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 6.960000] usb usb2: no of_node; not parsing pinctrl DT
[ 6.960000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[ 6.960000] hub 2-0:1.0: USB hub found
[ 6.970000] hub 2-0:1.0: 1 port detected
[ 6.980000] leds-gpio gpio-leds.5: pins are not configured from the driver
[ 6.990000] rt2880-pinmux pinctrl.1: request pin 0 (io0) for pio:0
[ 7.000000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for pio:14
[ 7.000000] rt2880-pinmux pinctrl.1: pin 14 is not set to gpio mux
[ 7.010000] rt2880-pinmux pinctrl.1: request() failed for pin 14
[ 7.020000] rt2880-pinmux pinctrl.1: pin-14 (pio:14) status -22
[ 7.040000] gpio-keys-polled gpio-keys-polled.4: unable to claim gpio 14, err=-22
[ 7.050000] gpio-keys-polled: probe of gpio-keys-polled.4 failed with error -22
[ 7.590000] rt305x-esw 10110000.esw: link changed 0x00
[ 9.220000] rt305x-esw 10110000.esw: link changed 0x08
[ 11.870000] NET: Registered protocol family 10
[ 11.890000] usbcore: registered new interface driver cdc_acm
[ 11.900000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 11.920000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 11.940000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 11.970000] usbcore: registered new interface driver usbserial
[ 11.980000] usbcore: registered new interface driver usbserial_generic
[ 11.990000] usbserial: USB Serial support registered for generic
[ 12.030000] xt_time: kernel timezone is -0000
[ 12.040000] usbcore: registered new interface driver asix
[ 12.060000] usbcore: registered new interface driver cdc_ether
[ 12.100000] cfg80211: Calling CRDA to update world regulatory domain
[ 12.110000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.120000] cfg80211: World regulatory domain updated:
[ 12.140000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 12.150000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.170000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 12.180000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 12.200000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.210000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.300000] usbcore: registered new interface driver rndis_host
[ 12.330000] usbcore: registered new interface driver option
[ 12.340000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 12.390000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[ 12.400000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[ 12.620000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[ 12.640000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[ 12.650000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 16.540000] rt305x-esw 10110000.esw: link changed 0x00
[ 18.270000] rt305x-esw 10110000.esw: link changed 0x08
[ 18.410000] device eth0.1 entered promiscuous mode
[ 18.420000] device eth0 entered promiscuous mode
[ 18.450000] br-lan: port 1(eth0.1) entered forwarding state
[ 18.460000] br-lan: port 1(eth0.1) entered forwarding state
[ 19.400000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 20.460000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.920000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 21.990000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 22.000000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[ 35.150000] jffs2: notice: (669) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
arc4 1232 2
asix 14928 0
button_hotplug 2720 0
cdc_acm 12288 0
cdc_ether 3296 1 rndis_host
cfg80211 165088 2 rt2x00lib
compat 528 3 rt2800pci
crc_ccitt 944 1 rt2800lib
crypto_blkcipher 9616 1 arc4
crypto_hash 8304 0
eeprom_93cx6 1632 0
ehci_hcd 29584 1 ehci_platform
ehci_platform 2192 0
gpio_keys_polled 3376 0
input_core 22640 3 gpio_keys_polled
input_polldev 1696 1 gpio_keys_polled
ip_tables 8928 2 iptable_mangle
ipt_REJECT 1680 0
iptable_filter 592 0
iptable_mangle 832 0
ipv6 228944 10
leds_gpio 2896 0
mac80211 294960 3 rt2800lib
nls_base 4704 1 usbcore
ohci_hcd 13280 0
option 19216 0
rndis_host 4384 0
rt2800lib 71728 1 rt2800pci
rt2800pci 6768 0
rt2x00lib 29920 4 rt2800pci
rt2x00mmio 1712 1 rt2800pci
rt2x00soc 1104 1 rt2800pci
usb_common 1008 1 usbcore
usb_wwan 3920 1 option
usbcore 100288 11 option
usbnet 15008 3 rndis_host
usbserial 16736 2 option
x_tables 10016 13 iptable_mangle
xt_LOG 6352 0
xt_TCPMSS 1904 0
xt_comment 400 0
xt_limit 912 0
xt_mac 528 0
xt_mark 592 0
xt_multiport 1120 0
xt_tcpudp 1632 0
xt_time 1584 0
PID USER VSZ STAT COMMAND
1 root 1372 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
64 root 0 SW< [writeback]
66 root 0 SW< [bioset]
68 root 0 SW< [kblockd]
91 root 0 SW [kworker/0:1]
97 root 0 SW [kswapd0]
142 root 0 SW [fsnotify_mark]
168 root 0 SW [spi32766]
208 root 0 SW< [deferwq]
218 root 0 SW [khubd]
234 root 0 SW [kworker/u2:2]
341 root 880 S < ubusd
342 root 1500 S /bin/ash --login
398 root 0 SW< [cfg80211]
399 root 0 SW [kworker/0:2]
558 root 1488 S /sbin/netifd
658 root 1496 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C
745 root 0 SWN [jffs2_gcd_mtd5]
765 root 1496 S /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.open
784 root 1156 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22
792 root 1492 R ps w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment