Skip to content

Instantly share code, notes, and snippets.

@orangecms
Created July 26, 2020 22:31
Show Gist options
  • Select an option

  • Save orangecms/e076cc0d1f8c4280dd82bda5a24d1d5b to your computer and use it in GitHub Desktop.

Select an option

Save orangecms/e076cc0d1f8c4280dd82bda5a24d1d5b to your computer and use it in GitHub Desktop.
uname -a
Linux OpenWrt 3.10.14 #42 Mon Feb 18 16:05:35 CST 2019 mips GNU/Linux
root@OpenWrt:/# cat /proc/cpuinfo
system type : MT7628
machine : Unknown
processor : 0
cpu model : MIPS 24KEc V5.5
BogoMIPS : 382.46
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:/# ls -l /dev/
drwxr-xr-x 3 root root 60 Jan 1 1970 bus
crw-r--r-- 1 root root 5, 1 Jan 1 1970 console
crw-r--r-- 1 root root 10, 63 Jan 1 1970 cpu_dma_latency
crw-rw-rw- 1 root root 1, 7 Jan 1 1970 full
crw-r--r-- 1 root root 1, 11 Jan 1 1970 kmsg
srw-rw-rw- 1 root root 0 Feb 18 08:05 log
crw-r--r-- 1 root root 1, 1 Jan 1 1970 mem
crw-r--r-- 1 root root 90, 0 Jan 1 1970 mtd0
crw-r--r-- 1 root root 90, 1 Jan 1 1970 mtd0ro
crw-r--r-- 1 root root 90, 2 Jan 1 1970 mtd1
crw-r--r-- 1 root root 90, 3 Jan 1 1970 mtd1ro
crw-r--r-- 1 root root 90, 4 Jan 1 1970 mtd2
crw-r--r-- 1 root root 90, 5 Jan 1 1970 mtd2ro
crw-r--r-- 1 root root 90, 6 Jan 1 1970 mtd3
crw-r--r-- 1 root root 90, 7 Jan 1 1970 mtd3ro
crw-r--r-- 1 root root 90, 8 Jan 1 1970 mtd4
crw-r--r-- 1 root root 90, 9 Jan 1 1970 mtd4ro
crw-r--r-- 1 root root 90, 10 Jan 1 1970 mtd5
crw-r--r-- 1 root root 90, 11 Jan 1 1970 mtd5ro
crw-r--r-- 1 root root 90, 12 Jan 1 1970 mtd6
crw-r--r-- 1 root root 90, 13 Jan 1 1970 mtd6ro
brw-r--r-- 1 root root 31, 0 Jan 1 1970 mtdblock0
brw-r--r-- 1 root root 31, 1 Jan 1 1970 mtdblock1
brw-r--r-- 1 root root 31, 2 Jan 1 1970 mtdblock2
brw-r--r-- 1 root root 31, 3 Jan 1 1970 mtdblock3
brw-r--r-- 1 root root 31, 4 Jan 1 1970 mtdblock4
brw-r--r-- 1 root root 31, 5 Jan 1 1970 mtdblock5
brw-r--r-- 1 root root 31, 6 Jan 1 1970 mtdblock6
crw-r--r-- 1 root root 10, 62 Jan 1 1970 network_latency
crw-r--r-- 1 root root 10, 61 Jan 1 1970 network_throughput
crw-rw-rw- 1 root root 1, 3 Jan 1 1970 null
crw-r--r-- 1 root root 1, 4 Jan 1 1970 port
crw-r--r-- 1 root root 108, 0 Feb 18 08:05 ppp
crw-rw-rw- 1 root root 5, 2 Jan 1 1970 ptmx
drwxr-xr-x 2 root root 0 Jan 1 1970 pts
crw-r--r-- 1 root root 2, 0 Jan 1 1970 ptyp0
crw-r--r-- 1 root root 2, 1 Jan 1 1970 ptyp1
crw-r--r-- 1 root root 2, 2 Jan 1 1970 ptyp2
crw-r--r-- 1 root root 2, 3 Jan 1 1970 ptyp3
crw-r--r-- 1 root root 2, 4 Jan 1 1970 ptyp4
crw-r--r-- 1 root root 2, 5 Jan 1 1970 ptyp5
crw-r--r-- 1 root root 2, 6 Jan 1 1970 ptyp6
crw-r--r-- 1 root root 2, 7 Jan 1 1970 ptyp7
crw-r--r-- 1 root root 2, 8 Jan 1 1970 ptyp8
crw-r--r-- 1 root root 2, 9 Jan 1 1970 ptyp9
crw-r--r-- 1 root root 2, 10 Jan 1 1970 ptypa
crw-r--r-- 1 root root 2, 11 Jan 1 1970 ptypb
crw-r--r-- 1 root root 2, 12 Jan 1 1970 ptypc
crw-r--r-- 1 root root 2, 13 Jan 1 1970 ptypd
crw-r--r-- 1 root root 2, 14 Jan 1 1970 ptype
crw-r--r-- 1 root root 2, 15 Jan 1 1970 ptypf
crw-r--r-- 1 root root 1, 8 Jan 1 1970 random
lrwxrwxrwx 1 root root 14 Feb 18 08:05 root -> /dev/mtdblock5
drwxr-xr-x 2 root root 40 Jan 1 1970 shm
crw-r--r-- 1 root root 5, 0 Jan 1 1970 tty
crw-r--r-- 1 root root 4, 64 Jan 1 1970 ttyS0
crw-r--r-- 1 root root 4, 65 Feb 18 08:06 ttyS1
crw-r--r-- 1 root root 3, 0 Jan 1 1970 ttyp0
crw-r--r-- 1 root root 3, 1 Jan 1 1970 ttyp1
crw-r--r-- 1 root root 3, 2 Jan 1 1970 ttyp2
crw-r--r-- 1 root root 3, 3 Jan 1 1970 ttyp3
crw-r--r-- 1 root root 3, 4 Jan 1 1970 ttyp4
crw-r--r-- 1 root root 3, 5 Jan 1 1970 ttyp5
crw-r--r-- 1 root root 3, 6 Jan 1 1970 ttyp6
crw-r--r-- 1 root root 3, 7 Jan 1 1970 ttyp7
crw-r--r-- 1 root root 3, 8 Jan 1 1970 ttyp8
crw-r--r-- 1 root root 3, 9 Jan 1 1970 ttyp9
crw-r--r-- 1 root root 3, 10 Jan 1 1970 ttypa
crw-r--r-- 1 root root 3, 11 Jan 1 1970 ttypb
crw-r--r-- 1 root root 3, 12 Jan 1 1970 ttypc
crw-r--r-- 1 root root 3, 13 Jan 1 1970 ttypd
crw-r--r-- 1 root root 3, 14 Jan 1 1970 ttype
crw-r--r-- 1 root root 3, 15 Jan 1 1970 ttypf
crw-r--r-- 1 root root 1, 9 Jan 1 1970 urandom
crw-r--r-- 1 root root 10, 130 Feb 18 08:05 watchdog
crw-rw-rw- 1 root root 1, 5 Jan 1 1970 zero
root@OpenWrt:/# done.
[ 120.236000] jffs2: notice: (1301) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
procd: - init complete -
cat /proc/cmdline
console=ttyS1,57600n8 root=/dev/mtdblock5 rootfstype=squashfs,jffs2
root@OpenWrt:/# dmesg
[ 0.000000] Linux version 3.10.14 (root@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #42 Mon Feb 18 16:05:35 CST 2019
[ 0.000000]
[ 0.000000] The CPU feqenuce set to 575 MHz
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] Software DMA cache coherency
[ 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] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 80359240, node_mem_map 81000000
[ 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, 4-way, VIPT, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, 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 on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 rootfstype=squashfs,jffs2
[ 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=00000006
[ 0.000000] Readback ErrCtl register=00000006
[ 0.000000] Memory: 61084k/65536k available (2741k kernel code, 4400k reserved, 688k data, 216k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.000000] console [ttyS1] enabled
[ 0.096000] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928)
[ 0.128000] pid_max: default: 32768 minimum: 301
[ 0.132000] Mount-cache hash table entries: 512
[ 0.136000] NET: Registered protocol family 16
[ 0.140000] RALINK_GPIOMODE = 54050404
[ 0.144000] RALINK_GPIOMODE = 54040404
[ 0.244000] ***** Xtal 40MHz *****
[ 0.248000] start PCIe register access
[ 0.748000] RALINK_RSTCTRL = 2400000
[ 0.752000] RALINK_CLKCFG1 = fdbfffc0
[ 0.756000]
[ 0.756000] *************** MT7628 PCIe RC mode *************
[ 1.256000] PCIE0 no card, disable it(RST&CLK)
[ 1.284000] bio: create slab at 0
[ 1.288000] usbcore: registered new interface driver usbfs
[ 1.292000] usbcore: registered new interface driver hub
[ 1.296000] usbcore: registered new device driver usb
[ 1.300000] Switching to clocksource MIPS
[ 1.304000] NET: Registered protocol family 2
[ 1.316000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 1.328000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 1.340000] TCP: Hash tables configured (established 512 bind 512)
[ 1.352000] TCP: reno registered
[ 1.360000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.384000] NET: Registered protocol family 1
[ 1.392000] PCI: CLS 0 bytes, default 32
[ 1.396000] MTK/Ralink EHCI/OHCI init.
[ 1.404000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.416000] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.436000] msgmni has been set to 119
[ 1.444000] io scheduler noop registered (default)
[ 1.464000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.476000] serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A
[ 1.488000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 1.504000] Ralink gpio driver initialized
[ 1.512000] flash manufacture id: ef, device id 40 19
[ 1.524000] W25Q256FV(ef 40190000) (32768 Kbytes)
[ 1.532000] mtd .name = raspi, .size = 0x02000000 (32M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
[ 1.552000] Creating 5 MTD partitions on "raspi":
[ 1.560000] 0x000000000000-0x000002000000 : "ALL"
[ 1.572000] 0x000000000000-0x000000030000 : "Bootloader"
[ 1.584000] 0x000000030000-0x000000040000 : "Config"
[ 1.596000] 0x000000040000-0x000000050000 : "Factory"
[ 1.608000] 0x000000050000-0x000002000000 : "firmware"
[ 1.620000] 0x000000183e76-0x000002000000 : "rootfs"
[ 1.628000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 1.656000] mtd: partition "rootfs_data" created automatically, ofs=0x5c0000, len=0x1a40000
[ 1.672000] 0x0000005c0000-0x000002000000 : "rootfs_data"
[ 1.684000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 1.696000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 1.704000] Ralink APSoC Ethernet Driver Initilization. v3.1 512 rx/tx descriptors allocated, mtu = 1500!
[ 1.720000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 1.728000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 1.740000] PROC INIT OK!
[ 1.744000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.756000] ehci-pci: EHCI PCI platform driver
[ 1.768000] ehci-platform: EHCI generic platform driver
[ 1.796000] ******MT7628 mtk phy
[ 1.804000] *****run project phy.
[ 1.820000] FM_OUT value: u4FmOut = 0(0x00000000)
[ 1.836000] FM_OUT value: u4FmOut = 134(0x00000086)
[ 1.844000] FM detection done! loop = 1
[ 1.860000] SR calibration value u1SrCalVal = 6
[ 1.868000] *********Execute mt7628_phy_init!!
[ 1.876000] ehci-platform ehci-platform: EHCI Host Controller
[ 1.888000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 1.904000] ehci-platform ehci-platform: irq 18, io mem 0x101c0000
[ 1.928000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 1.940000] hub 1-0:1.0: USB hub found
[ 1.948000] hub 1-0:1.0: 1 port detected
[ 1.956000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.988000] *********Execute mt7628_phy_init!!
[ 1.996000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[ 2.012000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 2.028000] ohci-platform ohci-platform: irq 18, io mem 0x101c1000
[ 2.100000] hub 2-0:1.0: USB hub found
[ 2.108000] hub 2-0:1.0: 1 port detected
[ 2.116000] gre: GRE over IPv4 demultiplexor driver
[ 2.124000] TCP: cubic registered
[ 2.132000] NET: Registered protocol family 10
[ 2.144000] NET: Registered protocol family 17
[ 2.152000] 8021q: 802.1Q VLAN Support v1.8
[ 2.160000] registered taskstats version 1
[ 2.176000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 2.188000] Freeing unused kernel memory: 216K (8035a000 - 80390000)
[ 4.636000] SCSI subsystem initialized
[ 4.652000] uhci_hcd: USB Universal Host Controller Interface driver
[ 4.672000] usbcore: registered new interface driver usb-storage
[ 5.664000] 7C:FFFFFFA7:FFFFFFB0:61:FFFFFFD8:15
[ 5.672000] Raeth v3.1 (Tasklet,SkbRecycle)
[ 5.680000]
[ 5.680000] phy_tx_ring = 0x030d2000, tx_ring = 0xa30d2000
[ 5.696000]
[ 5.696000] phy_rx_ring0 = 0x030d4000, rx_ring0 = 0xa30d4000
[ 5.724000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 5.732000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 5.740000] RT305x_ESW: Link Status Changed
[ 9.496000] block: attempting to load /etc/config/fstab
[ 9.588000] block: extroot: not configured
[ 9.896000] ra2880stop()...Done
[ 9.908000] Free TX/RX Ring Memory!
[ 12.248000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[ 12.280000] l2tp_core: L2TP core driver, V2.0
[ 12.292000] l2tp_netlink: L2TP netlink interface
[ 12.324000] nf_conntrack version 0.5.0 (957 buckets, 3828 max)
[ 12.344000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.396000] Linux video capture interface: v2.00
[ 12.432000] MTK MSDC device init.
[ 12.460000] msdc0 -> ================ <- msdc_set_mclk() : L<686> PID<0x24c>
[ 12.476000] msdc0 -> !!! Set<400KHz> Source<48000KHz> -> sclk<400KHz> <- msdc_set_mclk() : L<687> PID<0x24c>
[ 12.496000] msdc0 -> ================ <- msdc_set_mclk() : L<688> PID<0x24c>
[ 12.532000] msdc0 -> ops_get_cd return<0> <- msdc_ops_get_cd() : L<2317> PID<0x6>
[ 12.552000] msdc0 -> set mclk to 0!!! <- msdc_set_mclk() : L<634> PID<0x6>
[ 12.568000] mtk-sd: MediaTek MT6575 MSDC Driver
[ 12.584000] cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
[ 12.596000] usbcore: registered new interface driver cpia2
[ 12.616000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.624000] Type=Linux
[ 12.648000] Ralink APSoC Hardware Watchdog Timer
[ 12.660000] rdm_major = 253
[ 12.672000] usbcore: registered new interface driver ums-alauda
[ 12.684000] usbcore: registered new interface driver ums-cypress
[ 12.700000] usbcore: registered new interface driver ums-datafab
[ 12.712000] usbcore: registered new interface driver ums-freecom
[ 12.728000] usbcore: registered new interface driver ums-isd200
[ 12.740000] usbcore: registered new interface driver ums-jumpshot
[ 12.756000] usbcore: registered new interface driver ums-karma
[ 12.772000] usbcore: registered new interface driver ums-sddr09
[ 12.784000] usbcore: registered new interface driver ums-sddr55
[ 12.800000] usbcore: registered new interface driver ums-usbat
[ 12.820000] usbcore: registered new interface driver uvcvideo
[ 12.832000] USB Video Class driver (1.1.1)
[ 12.856000] xt_time: kernel timezone is -0000
[ 12.868000] gspca_main: v2.14.0 registered
[ 12.884000] PPP generic driver version 2.4.2
[ 12.896000] NET: Registered protocol family 24
[ 12.912000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 19.436000] 7C:FFFFFFA7:FFFFFFB0:61:FFFFFFD8:15
[ 19.444000] Raeth v3.1 (Tasklet,SkbRecycle)
[ 19.456000]
[ 19.456000] phy_tx_ring = 0x03320000, tx_ring = 0xa3320000
[ 19.468000]
[ 19.468000] phy_rx_ring0 = 0x03322000, rx_ring0 = 0xa3322000
[ 19.500000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 19.508000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 19.516000] RT305x_ESW: Link Status Changed
[ 19.532000] device eth0.1 entered promiscuous mode
[ 19.540000] device eth0 entered promiscuous mode
[ 19.716000] br-lan: port 1(eth0.1) entered forwarding state
[ 19.724000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.304000]
[ 21.304000]
[ 21.304000] === pAd = c0965000, size = 1472864 ===
[ 21.304000]
[ 21.324000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x
[ 21.336000] <-- RTMPAllocAdapterBlock, Status=0
[ 21.344000] RtmpChipOpsHook(492): Not support for HIF_MT yet!
[ 21.356000] mt7628_init()-->
[ 21.360000] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
[ 21.372000] e2.bin mt7628_init(1117)::(2), pChipCap->fw_len(63056)
[ 21.384000] mt_bcn_buf_init(218): Not support for HIF_MT yet!
[ 21.396000] <--mt7628_init()
[ 21.728000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.748000] TX_BCN DESC a2524000 size = 320
[ 21.756000] RX[0] DESC a2526000 size = 2048
[ 21.768000] RX[1] DESC a2527000 size = 1024
[ 21.920000] E2pAccessMode=1
[ 21.924000] cfg_mode=9
[ 21.932000] cfg_mode=9
[ 21.936000] wmode_band_equal(): Band Equal!
[ 21.948000] APSDCapable[0]=1
[ 21.952000] APSDCapable[1]=1
[ 21.960000] APSDCapable[2]=1
[ 21.964000] APSDCapable[3]=1
[ 21.972000] APSDCapable[4]=1
[ 21.976000] APSDCapable[5]=1
[ 21.984000] APSDCapable[6]=1
[ 21.988000] APSDCapable[7]=1
[ 21.992000] APSDCapable[8]=1
[ 22.000000] APSDCapable[9]=1
[ 22.004000] APSDCapable[10]=1
[ 22.012000] APSDCapable[11]=1
[ 22.016000] APSDCapable[12]=1
[ 22.024000] APSDCapable[13]=1
[ 22.028000] APSDCapable[14]=1
[ 22.036000] APSDCapable[15]=1
[ 22.040000] default ApCliAPSDCapable[0]=1
[ 22.048000] default ApCliAPSDCapable[1]=1
[ 22.256000] Key1Str is Invalid key length(0) or Type(0)
[ 22.268000] Key2Str is Invalid key length(0) or Type(0)
[ 22.280000] Key3Str is Invalid key length(0) or Type(0)
[ 22.288000] Key4Str is Invalid key length(0) or Type(0)
[ 22.356000] RTMPSetDefaultChannel() : default channel to 1
[ 22.364000] load fw image from fw_header_image
[ 22.376000] AndesMTLoadFwMethod1(2174)::pChipCap->fw_len(63056)
[ 22.388000] FW Version:_e2_mp
[ 22.392000] FW Build Date:20150211175503
[ 22.400000] CmdAddressLenReq:(ret = 0)
[ 22.408000] CmdFwStartReq: override = 1, address = 1048576
[ 22.420000] CmdStartDLRsp: WiFI FW Download Success
[ 23.276000] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC)
[ 23.288000] efuse_probe: efuse = 10000012
[ 23.296000] RtmpChipOpsEepromHook::e2p_type=1, inf_Type=4
[ 23.304000] RtmpEepromGetDefault::e2p_dafault=2
[ 23.312000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 1, E2P default = 2
[ 23.328000] NVM is FLASH mode
[ 23.336000] 1. Phy Mode = 14
[ 23.340000] CmdSlotTimeSet:(ret = 0)
[ 23.556000] Country Region from e2p = ffff
[ 23.564000] tssi_1_target_pwr_g_band = 35
[ 23.572000] 2. Phy Mode = 14
[ 23.576000] 3. Phy Mode = 14
[ 23.584000] NICInitPwrPinCfg(11): Not support for HIF_MT yet!
[ 23.592000] NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet!
[ 23.608000] mt_mac_init()-->
[ 23.616000] MtAsicInitMac()-->
[ 23.700000] mt7628_init_mac_cr()-->
[ 23.708000] MtAsicSetMacMaxLen(1241): Set the Max RxPktLen=1024!
[ 23.720000] <--mt_mac_init()
[ 23.724000] WTBL Segment 1 info:
[ 23.732000] MemBaseAddr/FID:0x28000/0
[ 23.740000] EntrySize/Cnt:32/128
[ 23.748000] WTBL Segment 2 info:
[ 23.752000] MemBaseAddr/FID:0x40000/0
[ 23.760000] EntrySize/Cnt:64/128
[ 23.768000] WTBL Segment 3 info:
[ 23.776000] MemBaseAddr/FID:0x42000/64
[ 23.780000] EntrySize/Cnt:64/128
[ 23.788000] WTBL Segment 4 info:
[ 23.796000] MemBaseAddr/FID:0x44000/128
[ 23.804000] EntrySize/Cnt:32/128
[ 23.812000] AntCfgInit(2876): Not support for HIF_MT yet!
[ 23.908000] MCS Set = ff 00 00 00 01
[ 23.912000] MtAsicSetChBusyStat(826): Not support for HIF_MT yet!
[ 27.728000] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[ 27.740000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[ 27.756000] MtAsicSetRalinkBurstMode(2919): Not support for HIF_MT yet!
[ 27.768000] MtAsicSetPiggyBack(763): Not support for HIF_MT yet!
[ 27.836000] MtAsicSetTxPreamble(2898): Not support for HIF_MT yet!
[ 27.852000] MtAsicAddSharedKeyEntry(1308): Not support for HIF_MT yet!
[ 27.864000] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
[ 27.876000] Main bssid = 7c:a7:b0:61:d8:14
[ 27.884000] <==== rt28xx_init, Status=0
[ 27.900000] mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f
[ 27.916000] WiFi Startup Cost (ra0): 6.168s
[ 29.360000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 29.380000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 29.420000] device ra0 entered promiscuous mode
[ 29.432000] br-lan: port 2(ra0) entered forwarding state
[ 29.440000] br-lan: port 2(ra0) entered forwarding state
[ 31.444000] br-lan: port 2(ra0) entered forwarding state
[ 29.392000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[ 120.236000] jffs2: notice: (1301) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
root@OpenWrt:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mtdblock6 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
root@OpenWrt:/# free -m
total used free shared buffers
Mem: 61300 29004 32296 0 3412
-/+ buffers: 25592 35708
Swap: 0 0 0
root@OpenWrt:/# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 26.3M 796.0K 25.5M 3% /
/dev/root 4.3M 4.3M 0 100% /rom
tmpfs 29.9M 272.0K 29.7M 1% /tmp
tmpfs 29.9M 88.0K 29.8M 0% /tmp/root
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock6 26.3M 796.0K 25.5M 3% /overlay
overlayfs:/overlay 26.3M 796.0K 25.5M 3% /
root@OpenWrt:/# ls -l /sysroot@OpenWrt:/# ls -l /sys/
block/ class/ devices/ fs/ module/
bus/ dev/ firmware/ kernel/
root@OpenWrt:/# ls -l /sys/firoot@OpenWrt:/# ls -l /sys/firmware/
root@OpenWrt:/# root@OpenWrt:/# ls -l /sys/firmware/clroot@OpenWrt:/# ls -l /sys/class/
bdi/ mem/ net/ scsi_disk/ tty/
block/ misc/ pci_bus/ scsi_generic/ video4linux/
firmware/ mmc_host/ ppp/ scsi_host/ watchdog/
input/ mtd/ scsi_device/ spi_master/
root@OpenWrt:/# ls -l /sys/class/firoot@OpenWrt:/# ls -l /sys/class/firmware/root@OpenWrt:/# ls -l /sys/class/firmware/timeout 
-rw-r--r-- 1 root root 4096 Jan 1 1970 /sys/class/firmware/timeout
root@OpenWrt:/# root@OpenWrt:/# ls -l /sys/class/firmware/timeout s -l /sys/class/firmware/timeout  /sys/class/firmware/timeout  /sys/class/firmware/timeout  /sys/class/firmware/timeout  /sys/class/firmware/timeout c /sys/class/firmware/timeout a /sys/class/firmware/timeout t /sys/class/firmware/timeout /sys/class/firmware/timeout
60
root@OpenWrt:/# root@OpenWrt:/# cat /sys/class/firmware/timeout root@OpenWrt:/# ls -l /sys/class/firmware/timeout netroot@OpenWrt:/# ls -l /sys/class/net/
lrwxrwxrwx 1 root root 0 Feb 18 08:08 apcli0 -> ../../devices/virtual/net/apcli0
lrwxrwxrwx 1 root root 0 Feb 18 08:08 apcli1 -> ../../devices/virtual/net/apcli1
lrwxrwxrwx 1 root root 0 Feb 18 08:08 br-lan -> ../../devices/virtual/net/br-lan
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/virtual/net/eth0
lrwxrwxrwx 1 root root 0 Feb 18 08:08 eth0.1 -> ../../devices/virtual/net/eth0.1
lrwxrwxrwx 1 root root 0 Feb 18 08:08 eth0.2 -> ../../devices/virtual/net/eth0.2
lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Feb 18 08:05 ra0 -> ../../devices/virtual/net/ra0
root@OpenWrt:/# root@OpenWrt:/# ls -l /sys/class/net/viroot@OpenWrt:/# ls -l /sys/class/video4linux/
root@OpenWrt:/# root@OpenWrt:/# ls -l /sys/class/video4linux/spiroot@OpenWrt:/# ls -l /sys/class/spi_master/
root@OpenWrt:/# ls /-l /biroot@OpenWrt:/# ls -l /bin/
-rwxr-xr-x 2 root root 50791 Nov 27 04:33 8021xd
-rwxr-xr-x 2 root root 50791 Nov 27 04:33 8021xdi
lrwxrwxrwx 1 root root 7 Feb 18 08:05 ash -> busybox
-rwxr-xr-x 1 root root 12663 Nov 27 04:33 ated
-rwxr-xr-x 1 root root 419135 Nov 27 04:47 busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 cat -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 chgrp -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 chmod -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 chown -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 cp -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 date -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 dd -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 df -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 dmesg -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 echo -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 egrep -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 false -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 fgrep -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 fsync -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 grep -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 gunzip -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 gzip -> busybox
-rwxrwxr-x 1 root root 1550 Dec 31 2015 ipcalc.sh
lrwxrwxrwx 1 root root 7 Feb 18 08:05 kill -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 ln -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 lock -> busybox
-rwxrwxr-x 1 root root 424 Dec 31 2015 login.sh
lrwxrwxrwx 1 root root 7 Feb 18 08:05 ls -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 mkdir -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 mknod -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 mktemp -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 mount -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 mv -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 netmsg -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 netstat -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 nice -> busybox
-rwxr-xr-x 1 root root 125607 Jan 5 02:38 opkg
lrwxrwxrwx 1 root root 7 Feb 18 08:05 pidof -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 ping -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 ping6 -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 ps -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 pwd -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 rm -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 rmdir -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 sed -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 sh -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 sleep -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 sync -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 tar -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 touch -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 true -> busybox
-rwxr-xr-x 1 root root 7799 Nov 27 04:16 ubus
lrwxrwxrwx 1 root root 7 Feb 18 08:05 umount -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 uname -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 vi -> busybox
lrwxrwxrwx 1 root root 7 Feb 18 08:05 zcat -> busybox
root@OpenWrt:/# root@OpenWrt:/# ls -l /bin/sbin/bin/
-rwxr-xr-x 1 root root 3175 Nov 27 04:22 askfirst
-rwxr-xr-x 1 root root 24935 Jan 23 11:52 block
lrwxrwxrwx 1 root root 14 Feb 18 08:05 devmem -> ../bin/busybox
-rwxrwxr-x 1 root root 200 Dec 31 2015 devstatus
-rwxrwxr-x 1 root root 28 Dec 31 2015 firstboot
-rwxr-xr-x 1 root root 158791 Nov 27 04:27 fw3
lrwxrwxrwx 1 root root 14 Feb 18 08:05 halt -> ../bin/busybox
-rwxrwxr-x 1 root root 352 Dec 31 2015 hotplug-call
lrwxrwxrwx 1 root root 14 Feb 18 08:05 hwclock -> ../bin/busybox
lrwxrwxrwx 1 root root 14 Feb 18 08:05 ifconfig -> ../bin/busybox
-rwxrwxr-x 1 root root 1320 Dec 31 2015 ifdown
-rwxrwxr-x 1 root root 273 Dec 31 2015 ifstatus
-rwxrwxr-x 1 root root 1320 Dec 31 2015 ifup
-rwxr-xr-x 1 root root 10439 Nov 27 04:22 init
lrwxrwxrwx 1 root root 16 Feb 18 08:05 jffs2mark -> /sbin/jffs2reset
-rwxr-xr-x 1 root root 4839 Jan 23 11:52 jffs2reset
-rwxr-xr-x 1 root root 12983 Nov 27 04:17 kmodloader
-rwxrwxr-x 1 root root 500 Dec 31 2015 led.sh
-rwxr-xr-x 1 root root 8855 Nov 27 04:17 logd
-rwxr-xr-x 1 root root 9927 Nov 27 04:17 logread
-rwxr-xr-x 1 root root 924 Nov 2 01:24 luci-reload
lrwxrwxrwx 1 root root 14 Feb 18 08:05 mkswap -> ../bin/busybox
-rwxr-xr-x 1 root root 4231 Jan 23 11:52 mount_root
-rwxr-xr-x 1 root root 21575 Nov 27 04:44 mtd
-rwxr-xr-x 1 root root 112375 Nov 27 04:16 netifd
lrwxrwxrwx 1 root root 14 Feb 18 08:05 pivot_root -> ../bin/busybox
lrwxrwxrwx 1 root root 14 Feb 18 08:05 poweroff -> ../bin/busybox
-rwxr-xr-x 1 root root 51767 Nov 27 04:22 procd
lrwxrwxrwx 1 root root 14 Feb 18 08:05 reboot -> ../bin/busybox
-rwxr-xr-x 1 root root 489 Nov 27 04:22 reload_config
lrwxrwxrwx 1 root root 14 Feb 18 08:05 route -> ../bin/busybox
-rwxr-xr-x 1 root root 1614 Jan 23 11:52 snapshot
-rwxr-xr-x 1 root root 6343 Jan 23 11:52 snapshot_tool
lrwxrwxrwx 1 root root 14 Feb 18 08:05 start-stop-daemon -> ../bin/busybox
lrwxrwxrwx 1 root root 14 Feb 18 08:05 switch_root -> ../bin/busybox
lrwxrwxrwx 1 root root 14 Feb 18 08:05 sysctl -> ../bin/busybox
-rwxrwxr-x 1 root root 5657 Dec 31 2015 sysupgrade
-rwxr-xr-x 1 root root 15159 Nov 27 04:16 ubusd
-rwxr-xr-x 1 root root 10807 Nov 27 04:16 uci
-rwxr-xr-x 1 root root 4887 Nov 27 04:22 udevtrigger
lrwxrwxrwx 1 root root 14 Feb 18 08:05 udhcpc -> ../bin/busybox
-rwxr-xr-x 1 root root 5127 Nov 27 04:17 validate_data
lrwxrwxrwx 1 root root 14 Feb 18 08:05 vconfig -> ../bin/busybox
-rwxrwxr-x 1 root root 4590 Dec 31 2015 wifi
root@OpenWrt:/# pwd
/
root@OpenWrt:/# ls -l
drwxr-xr-x 2 root root 707 Feb 18 08:05 bin
drwxr-xr-x 5 root root 1560 Feb 18 08:05 dev
drwxr-xr-x 1 root root 0 Feb 18 08:05 etc
drwxr-xr-x 12 root root 761 Nov 27 04:25 lib
drwxr-xr-x 2 root root 3 Jan 24 03:12 mnt
drwxr-xr-x 4 root root 0 Feb 18 08:06 overlay
dr-xr-xr-x 50 root root 0 Jan 1 1970 proc
drwxr-xr-x 16 root root 223 Feb 18 08:05 rom
drwxr-xr-x 2 root root 3 Jan 24 03:12 root
drwxr-xr-x 2 root root 703 Feb 18 08:05 sbin
dr-xr-xr-x 11 root root 0 Jan 1 1970 sys
drwxrwxrwt 16 root root 500 Feb 18 08:06 tmp
drwxr-xr-x 6 root root 74 Nov 27 04:25 usr
lrwxrwxrwx 1 root root 4 Feb 18 08:05 var -> /tmp
drwxr-xr-x 5 root root 93 Feb 18 08:05 www
root@OpenWrt:/# root@OpenWrt:/# ls -l root-al rootl root
drwxr-xr-x 2 root root 3 Jan 24 03:12 .
drwxr-xr-x 1 root root 0 Feb 18 08:06 ..
root@OpenWrt:/# root@OpenWrt:/# ls -al rootwww
drwxr-xr-x 5 root root 93 Feb 18 08:05 .
drwxr-xr-x 1 root root 0 Feb 18 08:06 ..
drwxr-xr-x 2 root root 27 Feb 18 08:05 cgi-bin
-rw-r--r-- 1 root root 419 Nov 2 01:24 index.html
drwxr-xr-x 4 root root 82 Feb 18 08:05 luci-static
drwxr-xr-x 2 root root 866 Feb 18 08:05 webcam
root@OpenWrt:/# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:netbios-ssn 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:domain 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ftp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:microsoft-ds 0.0.0.0:* LISTEN
tcp 0 0 :::netbios-ssn :::* LISTEN
tcp 0 0 :::www :::* LISTEN
tcp 0 0 :::domain :::* LISTEN
tcp 0 0 :::ssh :::* LISTEN
tcp 0 0 :::telnet :::* LISTEN
tcp 0 0 :::microsoft-ds :::* LISTEN
udp 0 0 0.0.0.0:domain 0.0.0.0:*
udp 0 0 0.0.0.0:bootps 0.0.0.0:*
udp 0 0 192.168.18.255:netbios-ns 0.0.0.0:*
udp 0 0 OpenWrt.lan:netbios-ns 0.0.0.0:*
udp 0 0 0.0.0.0:netbios-ns 0.0.0.0:*
udp 0 0 192.168.18.255:netbios-dgm 0.0.0.0:*
udp 0 0 OpenWrt.lan:netbios-dgm 0.0.0.0:*
udp 0 0 0.0.0.0:netbios-dgm 0.0.0.0:*
udp 0 0 0.0.0.0:l2f 0.0.0.0:*
udp 0 0 :::dhcpv6-server :::*
udp 0 0 :::domain :::*
raw 0 0 ::%4559988:58 :::* 58
raw 0 0 ::%4559988:58 :::* 58
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 411 /var/run/ubus.sock
unix 8 [ ] DGRAM 1225 /dev/log
unix 2 [ ACC ] STREAM LISTENING 2010 /var/nmbd/unexpected
unix 2 [ ] DGRAM 2058
unix 2 [ ] DGRAM 1937
unix 2 [ ] DGRAM 1606
unix 2 [ ] DGRAM 2228
unix 3 [ ] STREAM CONNECTED 690 /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1228 /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1775 /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1299 /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1334
unix 3 [ ] STREAM CONNECTED 1227
unix 3 [ ] STREAM CONNECTED 1774
unix 3 [ ] STREAM CONNECTED 1298
unix 3 [ ] STREAM CONNECTED 1335 /var/run/ubus.sock
unix 2 [ ] DGRAM 2491
unix 2 [ ] DGRAM 1525
unix 2 [ ] DGRAM 1260
unix 3 [ ] STREAM CONNECTED 689
root@OpenWrt:/# poweroff
procd: - shutdown -
root@OpenWrt:/# [ 330.596000] br-lan: port 2(ra0) entered disabled state
[ 330.604000] br-lan: port 1(eth0.1) entered disabled state
[ 330.636000] device eth0.1 left promiscuous mode
[ 330.644000] device eth0 left promiscuous mode
[ 330.652000] br-lan: port 1(eth0.1) entered disabled state
[ 330.668000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 330.684000] device ra0 left promiscuous mode
[ 330.692000] br-lan: port 2(ra0) entered disabled state
[ 330.884000] ra2880stop()...Done
[ 330.892000] Free TX/RX Ring Memory!
[ 331.052000] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
[ 331.064000] MtAsicSetPiggyBack(763): Not support for HIF_MT yet!
[ 331.688000] tx_kickout_fail_count = 0
[ 331.692000] tx_timeout_fail_count = 0
[ 331.700000] rx_receive_fail_count = 0
[ 331.708000] alloc_cmd_msg = 67
[ 331.716000] free_cmd_msg = 67
procd: - reboot [ 331.844000] Power down.
-
[ 331.852000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 331.852000]
[ 331.852000] Rebooting in 3 seconds..[04040C0C][04040C0D]
DDR Calibration DQS reg = 00008888
U-Boot 1.1.3 (Mar 4 2017 - 16:37:55)
Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer at: 87fb8000
******************************
Software System Reset Occurred
******************************
flash manufacture id: ef, device id 40 19
find flash: W25Q256FV
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Date:Mar 4 2017 Time:16:37:55
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =128 Mbytes
RESET MT7628 PHY!!!!!!
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
default: 3
 4  3  2  1  0
luke: BootType=3
3: System Boot system code via Flash.
## Booting image at bc050000 ...
Image Name: OpenWrt Linux-3.10.14
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1261110 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
LINUX started...
THIS IS ASIC
SDK 5.0.S.0
[ 0.000000] Linux version 3.10.14 (root@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #42 Mon Feb 18 16:05:35 CST 2019
[ 0.000000]
[ 0.000000] The CPU feqenuce set to 575 MHz
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] Software DMA cache coherency
[ 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] Primary instruction cache 64kB, 4-way, VIPT, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 rootfstype=squashfs,jffs2
[ 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: 61084k/65536k available (2741k kernel code, 4408k reserved, 688k data, 216k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.000000] console [ttyS1] enabled
[ 0.096000] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928)
[ 0.128000] pid_max: default: 32768 minimum: 301
[ 0.132000] Mount-cache hash table entries: 512
[ 0.136000] NET: Registered protocol family 16
[ 0.140000] RALINK_GPIOMODE = 54050404
[ 0.144000] RALINK_GPIOMODE = 54040404
[ 0.244000] ***** Xtal 40MHz *****
[ 0.248000] start PCIe register access
[ 0.748000] RALINK_RSTCTRL = 2400000
[ 0.752000] RALINK_CLKCFG1 = fdbfffc0
[ 0.756000]
[ 0.756000] *************** MT7628 PCIe RC mode *************
[ 1.256000] PCIE0 no card, disable it(RST&CLK)
[ 1.284000] bio: create slab at 0
[ 1.288000] usbcore: registered new interface driver usbfs
[ 1.292000] usbcore: registered new interface driver hub
[ 1.296000] usbcore: registered new device driver usb
[ 1.300000] Switching to clocksource MIPS
[ 1.304000] NET: Registered protocol family 2
[ 1.316000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 1.328000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 1.340000] TCP: Hash tables configured (established 512 bind 512)
[ 1.352000] TCP: reno registered
[ 1.360000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.384000] NET: Registered protocol family 1
[ 1.396000] MTK/Ralink EHCI/OHCI init.
[ 1.404000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.416000] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.436000] msgmni has been set to 119
[ 1.444000] io scheduler noop registered (default)
[ 1.464000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.476000] serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A
[ 1.488000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 1.504000] Ralink gpio driver initialized
[ 1.512000] flash manufacture id: ef, device id 40 19
[ 1.524000] W25Q256FV(ef 40190000) (32768 Kbytes)
[ 1.532000] mtd .name = raspi, .size = 0x02000000 (32M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
[ 1.552000] Creating 5 MTD partitions on "raspi":
[ 1.560000] 0x000000000000-0x000002000000 : "ALL"
[ 1.572000] 0x000000000000-0x000000030000 : "Bootloader"
[ 1.584000] 0x000000030000-0x000000040000 : "Config"
[ 1.596000] 0x000000040000-0x000000050000 : "Factory"
[ 1.608000] 0x000000050000-0x000002000000 : "firmware"
[ 1.620000] 0x000000183e76-0x000002000000 : "rootfs"
[ 1.628000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 1.656000] mtd: partition "rootfs_data" created automatically, ofs=0x5c0000, len=0x1a40000
[ 1.672000] 0x0000005c0000-0x000002000000 : "rootfs_data"
[ 1.684000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 1.696000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 1.704000] Ralink APSoC Ethernet Driver Initilization. v3.1 512 rx/tx descriptors allocated, mtu = 1500!
[ 1.720000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 1.728000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 1.740000] PROC INIT OK!
[ 1.744000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.756000] ehci-pci: EHCI PCI platform driver
[ 1.768000] ehci-platform: EHCI generic platform driver
[ 1.796000] ******MT7628 mtk phy
[ 1.804000] *****run project phy.
[ 1.820000] FM_OUT value: u4FmOut = 132(0x00000084)
[ 1.828000] FM detection done! loop = 0
[ 1.844000] SR calibration value u1SrCalVal = 6
[ 1.852000] *********Execute mt7628_phy_init!!
[ 1.860000] ehci-platform ehci-platform: EHCI Host Controller
[ 1.872000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 1.888000] ehci-platform ehci-platform: irq 18, io mem 0x101c0000
[ 1.912000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 1.924000] hub 1-0:1.0: USB hub found
[ 1.932000] hub 1-0:1.0: 1 port detected
[ 1.940000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.972000] *********Execute mt7628_phy_init!!
[ 1.980000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[ 1.996000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 2.012000] ohci-platform ohci-platform: irq 18, io mem 0x101c1000
[ 2.084000] hub 2-0:1.0: USB hub found
[ 2.092000] hub 2-0:1.0: 1 port detected
[ 2.100000] gre: GRE over IPv4 demultiplexor driver
[ 2.108000] TCP: cubic registered
[ 2.116000] NET: Registered protocol family 10
[ 2.128000] NET: Registered protocol family 17
[ 2.136000] 8021q: 802.1Q VLAN Support v1.8
[ 2.144000] registered taskstats version 1
[ 2.160000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 2.172000] Freeing unused kernel memory: 216K (8035a000 - 80390000)
procd: Console is alive
[ 4.620000] SCSI subsystem initialized
[ 4.636000] uhci_hcd: USB Universal Host Controller Interface driver
[ 4.656000] usbcore: registered new interface driver usb-storage
procd: - preinit -
[ 5.648000] 7C:FFFFFFA7:FFFFFFB0:61:FFFFFFD8:15
[ 5.656000] Raeth v3.1 (Tasklet,SkbRecycle)
[ 5.664000]
[ 5.664000] phy_tx_ring = 0x030d2000, tx_ring = 0xa30d2000
[ 5.680000]
[ 5.680000] phy_rx_ring0 = 0x030d4000, rx_ring0 = 0xa30d4000
[ 5.708000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 5.716000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 5.724000] RT305x_ESW: Link Status Changed
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 9.572000] jffs2: notice: (253) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 11 of xref (0 dead, 0 orphan) found.
[ 9.604000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 9.620000] block: unable to load configuration (fstab: Entry not found)
[ 9.632000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 9.648000] block: extroot: not configured
uci: Entry not found
uci: Entry not found
OPTIMIZED_FOR -> wifi
NUM_OF_CPU -> 1
wifiDomain1 ->
wifiDomain2 ->
CONFIG_RALINK_MT7621 ->
CONFIG_ARCH_MT7623 ->
jffs2 is ready
No jffs2 marker was found
[ 10.068000] jffs2: notice: (250) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 11 of xref (0 dead, 0 orphan) found.
[ 10.392000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 10.404000] block: unable to load configuration (fstab: Entry not found)
[ 10.420000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 10.436000] block: extroot: not configured
uci: Entry not found
uci: Entry not found
OPTIMIZED_FOR -> wifi
NUM_OF_CPU -> 1
wifiDomain1 ->
wifiDomain2 ->
CONFIG_RALINK_MT7621 -[ 10.504000] ra2880stop()...>
CONFIG_ARCH_Done
MT7623 ->
swit[ 10.516000] Free TX/RX Ring Memory!
ching to overlay
procd: - early -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 12.844000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[ 12.880000] l2tp_core: L2TP core driver, V2.0
[ 12.896000] l2tp_netlink: L2TP netlink interface
[ 12.920000] nf_conntrack version 0.5.0 (957 buckets, 3828 max)
[ 12.948000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.004000] Linux video capture interface: v2.00
[ 13.048000] MTK MSDC device init.
[ 13.072000] msdc0 -> ================ <- msdc_set_mclk() : L<686> PID<0x244>
[ 13.088000] msdc0 -> !!! Set<400KHz> Source<48000KHz> -> sclk<400KHz> <- msdc_set_mclk() : L<687> PID<0x244>
[ 13.108000] msdc0 -> ================ <- msdc_set_mclk() : L<688> PID<0x244>
[ 13.164000] msdc0 -> ops_get_cd return<0> <- msdc_ops_get_cd() : L<2317> PID<0x6>
[ 13.180000] msdc0 -> set mclk to 0!!! <- msdc_set_mclk() : L<634> PID<0x6>
[ 13.196000] mtk-sd: MediaTek MT6575 MSDC Driver
[ 13.216000] cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
[ 13.240000] usbcore: registered new interface driver cpia2
[ 13.260000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.272000] Type=Linux
[ 13.296000] Ralink APSoC Hardware Watchdog Timer
[ 13.304000] rdm_major = 253
[ 13.316000] usbcore: registered new interface driver ums-alauda
[ 13.328000] usbcore: registered new interface driver ums-cypress
[ 13.344000] usbcore: registered new interface driver ums-datafab
[ 13.360000] usbcore: registered new interface driver ums-freecom
[ 13.372000] usbcore: registered new interface driver ums-isd200
[ 13.388000] usbcore: registered new interface driver ums-jumpshot
[ 13.400000] usbcore: registered new interface driver ums-karma
[ 13.416000] usbcore: registered new interface driver ums-sddr09
[ 13.432000] usbcore: registered new interface driver ums-sddr55
[ 13.444000] usbcore: registered new interface driver ums-usbat
[ 13.464000] usbcore: registered new interface driver uvcvideo
[ 13.476000] USB Video Class driver (1.1.1)
[ 13.500000] xt_time: kernel timezone is -0000
[ 13.512000] gspca_main: v2.14.0 registered
[ 13.532000] PPP generic driver version 2.4.2
[ 13.544000] NET: Registered protocol family 24
[ 13.556000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 19.688000] 7C:FFFFFFA7:FFFFFFB0:61:FFFFFFD8:15
[ 19.696000] Raeth v3.1 (Tasklet,SkbRecycle)
[ 19.708000]
[ 19.708000] phy_tx_ring = 0x033f2000, tx_ring = 0xa33f2000
[ 19.720000]
[ 19.720000] phy_rx_ring0 = 0x033f4000, rx_ring0 = 0xa33f4000
[ 19.752000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 19.760000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 19.768000] RT305x_ESW: Link Status Changed
[ 19.784000] device eth0.1 entered promiscuous mode
[ 19.796000] device eth0 entered promiscuous mode
[ 19.900000] br-lan: port 1(eth0.1) entered forwarding state
[ 19.912000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.752000]
[ 21.752000]
[ 21.752000] === pAd = c0a3d000, size = 1472864 ===
[ 21.752000]
[ 21.772000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x
[ 21.784000] <-- RTMPAllocAdapterBlock, Status=0
[ 21.792000] RtmpChipOpsHook(492): Not support for HIF_MT yet!
[ 21.804000] mt7628_init()-->
[ 21.808000] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
[ 21.820000] e2.bin mt7628_init(1117)::(2), pChipCap->fw_len(63056)
[ 21.832000] mt_bcn_buf_init(218): Not support for HIF_MT yet!
[ 21.844000] <--mt7628_init()
[ 21.916000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.004000] TX_BCN DESC a297e000 size = 320
[ 22.012000] RX[0] DESC a2980000 size = 2048
[ 22.024000] RX[1] DESC a2981000 size = 1024
[ 22.312000] E2pAccessMode=1
[ 22.316000] cfg_mode=9
[ 22.320000] cfg_mode=9
[ 22.328000] wmode_band_equal(): Band Equal!
[ 22.340000] APSDCapable[0]=1
[ 22.344000] APSDCapable[1]=1
[ 22.352000] APSDCapable[2]=1
[ 22.356000] APSDCapable[3]=1
[ 22.364000] APSDCapable[4]=1
[ 22.368000] APSDCapable[5]=1
[ 22.372000] APSDCapable[6]=1
[ 22.380000] APSDCapable[7]=1
[ 22.384000] APSDCapable[8]=1
[ 22.392000] APSDCapable[9]=1
[ 22.396000] APSDCapable[10]=1
[ 22.404000] APSDCapable[11]=1
[ 22.408000] APSDCapable[12]=1
[ 22.416000] APSDCapable[13]=1
[ 22.420000] APSDCapable[14]=1
[ 22.428000] APSDCapable[15]=1
[ 22.432000] default ApCliAPSDCapable[0]=1
[ 22.440000] default ApCliAPSDCapable[1]=1
[ 22.648000] Key1Str is Invalid key length(0) or Type(0)
[ 22.660000] Key2Str is Invalid key length(0) or Type(0)
[ 22.672000] Key3Str is Invalid key length(0) or Type(0)
[ 22.680000] Key4Str is Invalid key length(0) or Type(0)
[ 22.748000] RTMPSetDefaultChannel() : default channel to 1
[ 22.756000] load fw image from fw_header_image
[ 22.768000] AndesMTLoadFwMethod1(2174)::pChipCap->fw_len(63056)
[ 22.780000] FW Version:_e2_mp
[ 22.784000] FW Build Date:20150211175503
[ 22.792000] CmdAddressLenReq:(ret = 0)
[ 22.800000] CmdFwStartReq: override = 1, address = 1048576
[ 22.812000] CmdStartDLRsp: WiFI FW Download Success
[ 23.096000] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC)
[ 23.108000] efuse_probe: efuse = 10000012
[ 23.116000] RtmpChipOpsEepromHook::e2p_type=1, inf_Type=4
[ 23.124000] RtmpEepromGetDefault::e2p_dafault=2
[ 23.136000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 1, E2P default = 2
[ 23.148000] NVM is FLASH mode
[ 23.156000] 1. Phy Mode = 14
[ 23.336000] Country Region from e2p = ffff
[ 23.348000] tssi_1_target_pwr_g_band = 35
[ 23.356000] 2. Phy Mode = 14
[ 23.360000] 3. Phy Mode = 14
[ 23.364000] NICInitPwrPinCfg(11): Not support for HIF_MT yet!
[ 23.376000] NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet!
[ 23.392000] mt_mac_init()-->
[ 23.400000] MtAsicInitMac()-->
[ 23.408000] mt7628_init_mac_cr()-->
[ 23.412000] MtAsicSetMacMaxLen(1241): Set the Max RxPktLen=1024!
[ 23.424000] <--mt_mac_init()
[ 23.432000] WTBL Segment 1 info:
[ 23.436000] MemBaseAddr/FID:0x28000/0
[ 23.444000] EntrySize/Cnt:32/128
[ 23.452000] WTBL Segment 2 info:
[ 23.460000] MemBaseAddr/FID:0x40000/0
[ 23.468000] EntrySize/Cnt:64/128
[ 23.472000] WTBL Segment 3 info:
[ 23.480000] MemBaseAddr/FID:0x42000/64
[ 23.488000] EntrySize/Cnt:64/128
[ 23.496000] WTBL Segment 4 info:
[ 23.500000] MemBaseAddr/FID:0x44000/128
[ 23.508000] EntrySize/Cnt:32/128
[ 23.516000] AntCfgInit(2876): Not support for HIF_MT yet!
[ 23.780000] CmdSlotTimeSet:(ret = 0)
[ 24.016000] MCS Set = ff 00 00 00 01
[ 24.020000] MtAsicSetChBusyStat(826): Not support for HIF_MT yet!
[ 27.460000] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[ 27.472000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[ 27.488000] MtAsicSetRalinkBurstMode(2919): Not support for HIF_MT yet!
[ 27.500000] MtAsicSetPiggyBack(763): Not support for HIF_MT yet!
[ 27.536000] MtAsicSetTxPreamble(2898): Not support for HIF_MT yet!
[ 27.552000] MtAsicAddSharedKeyEntry(1308): Not support for HIF_MT yet!
[ 27.564000] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
[ 27.576000] Main bssid = 7c:a7:b0:61:d8:14
[ 27.588000] <==== rt28xx_init, Status=0
[ 27.692000] mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f
[ 27.704000] WiFi Startup Cost (ra0): 5.700s
[ 29.320000] device ra0 entered promiscuous mode
[ 29.328000] br-lan: port 2(ra0) entered forwarding state
[ 29.340000] br-lan: port 2(ra0) entered forwarding state
procd: - init complete -
[ 31.344000] br-lan: port 2(ra0) entered forwarding state
BusyBox v1.22.1 (2018-11-27 12:47:12 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Barrier Breaker, unknown)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/# [04040C0B][04040C0D]
DDR Calibration DQS reg = 00008887
U-Boot 1.1.3 (Mar 4 2017 - 16:37:55)
Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer at: 87fb8000
flash manufacture id: ef, device id 40 19
find flash: W25Q256FV
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Date:Mar 4 2017 Time:16:37:55
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =128 Mbytes
RESET MT7628 PHY!!!!!!
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
default: 3
 4  3  2  1  0
luke: BootType=3
3: System Boot system code via Flash.
## Booting image at bc050000 ...
Image Name: OpenWrt Linux-3.10.14
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1261110 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
LINUX started...
THIS IS ASIC
SDK 5.0.S.0
[ 0.000000] Linux version 3.10.14 (root@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #42 Mon Feb 18 16:05:35 CST 2019
[ 0.000000]
[ 0.000000] The CPU feqenuce set to 575 MHz
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] Software DMA cache coherency
[ 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] Primary instruction cache 64kB, 4-way, VIPT, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 rootfstype=squashfs,jffs2
[ 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: 61084k/65536k available (2741k kernel code, 4400k reserved, 688k data, 216k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.000000] console [ttyS1] enabled
[ 0.096000] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928)
[ 0.128000] pid_max: default: 32768 minimum: 301
[ 0.132000] Mount-cache hash table entries: 512
[ 0.136000] NET: Registered protocol family 16
[ 0.140000] RALINK_GPIOMODE = 54050404
[ 0.144000] RALINK_GPIOMODE = 54040404
[ 0.244000] ***** Xtal 40MHz *****
[ 0.248000] start PCIe register access
[ 0.748000] RALINK_RSTCTRL = 2400000
[ 0.752000] RALINK_CLKCFG1 = fdbfffc0
[ 0.756000]
[ 0.756000] *************** MT7628 PCIe RC mode *************
[ 1.256000] PCIE0 no card, disable it(RST&CLK)
[ 1.284000] bio: create slab at 0
[ 1.288000] usbcore: registered new interface driver usbfs
[ 1.292000] usbcore: registered new interface driver hub
[ 1.296000] usbcore: registered new device driver usb
[ 1.300000] Switching to clocksource MIPS
[ 1.304000] NET: Registered protocol family 2
[ 1.316000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 1.328000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 1.340000] TCP: Hash tables configured (established 512 bind 512)
[ 1.352000] TCP: reno registered
[ 1.360000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.384000] NET: Registered protocol family 1
[ 1.396000] MTK/Ralink EHCI/OHCI init.
[ 1.404000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.416000] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.436000] msgmni has been set to 119
[ 1.444000] io scheduler noop registered (default)
[ 1.464000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.476000] serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A
[ 1.488000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 1.504000] Ralink gpio driver initialized
[ 1.512000] flash manufacture id: ef, device id 40 19
[ 1.524000] W25Q256FV(ef 40190000) (32768 Kbytes)
[ 1.532000] mtd .name = raspi, .size = 0x02000000 (32M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
[ 1.552000] Creating 5 MTD partitions on "raspi":
[ 1.560000] 0x000000000000-0x000002000000 : "ALL"
[ 1.572000] 0x000000000000-0x000000030000 : "Bootloader"
[ 1.584000] 0x000000030000-0x000000040000 : "Config"
[ 1.596000] 0x000000040000-0x000000050000 : "Factory"
[ 1.608000] 0x000000050000-0x000002000000 : "firmware"
[ 1.620000] 0x000000183e76-0x000002000000 : "rootfs"
[ 1.628000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 1.656000] mtd: partition "rootfs_data" created automatically, ofs=0x5c0000, len=0x1a40000
[ 1.672000] 0x0000005c0000-0x000002000000 : "rootfs_data"
[ 1.684000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 1.696000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 1.704000] Ralink APSoC Ethernet Driver Initilization. v3.1 512 rx/tx descriptors allocated, mtu = 1500!
[ 1.720000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 1.728000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 1.740000] PROC INIT OK!
[ 1.744000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.756000] ehci-pci: EHCI PCI platform driver
[ 1.768000] ehci-platform: EHCI generic platform driver
[ 1.796000] ******MT7628 mtk phy
[ 1.804000] *****run project phy.
[ 1.820000] FM_OUT value: u4FmOut = 0(0x00000000)
[ 1.836000] FM_OUT value: u4FmOut = 135(0x00000087)
[ 1.844000] FM detection done! loop = 1
[ 1.860000] SR calibration value u1SrCalVal = 6
[ 1.868000] *********Execute mt7628_phy_init!!
[ 1.876000] ehci-platform ehci-platform: EHCI Host Controller
[ 1.888000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 1.904000] ehci-platform ehci-platform: irq 18, io mem 0x101c0000
[ 1.928000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 1.940000] hub 1-0:1.0: USB hub found
[ 1.948000] hub 1-0:1.0: 1 port detected
[ 1.956000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.988000] *********Execute mt7628_phy_init!!
[ 1.996000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[ 2.012000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 2.028000] ohci-platform ohci-platform: irq 18, io mem 0x101c1000
[ 2.100000] hub 2-0:1.0: USB hub found
[ 2.108000] hub 2-0:1.0: 1 port detected
[ 2.116000] gre: GRE over IPv4 demultiplexor driver
[ 2.124000] TCP: cubic registered
[ 2.132000] NET: Registered protocol family 10
[ 2.144000] NET: Registered protocol family 17
[ 2.152000] 8021q: 802.1Q VLAN Support v1.8
[ 2.160000] registered taskstats version 1
[ 2.176000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 2.188000] Freeing unused kernel memory: 216K (8035a000 - 80390000)
procd: Console is alive
[ 4.636000] SCSI subsystem initialized
[ 4.652000] uhci_hcd: USB Universal Host Controller Interface driver
[ 4.672000] usbcore: registered new interface driver usb-storage
procd: - preinit -
[ 5.664000] 7C:FFFFFFA7:FFFFFFB0:61:FFFFFFD8:15
[ 5.672000] Raeth v3.1 (Tasklet,SkbRecycle)
[ 5.680000]
[ 5.680000] phy_tx_ring = 0x030d2000, tx_ring = 0xa30d2000
[ 5.696000]
[ 5.696000] phy_rx_ring0 = 0x030d4000, rx_ring0 = 0xa30d4000
[ 5.724000] GMAC1_MAC_ADRH -- : 0x00007ca7
[ 5.736000] GMAC1_MAC_ADRL -- : 0xb061d815
[ 5.744000] RT305x_ESW: Link Status Changed
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment