User Tools

Site Tools


toh:netgear:netgear_r6220

Netgear R6220

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

The Netgear R6220 is a simultaneous dual band WIFI router with AC1200 WiFi - 300+867 Mbps (2.4 & 5 GHz) speeds. It contains non-removable external antennas. The router features 4 Gbit LAN and one Gbit WAN port. It comes with a large 128 MB NAND ROM with space for many packages and a single core (dual thread) MIPS CPU powered by 128 MB RAM.

The R6220 is based on the MT7621 and received official support since OpenWrt 18.06.

Netgear R6220

FIXME

Getting started with a new Device Page

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more “fixme” tags left, delete this one too, along with the <WRAP> that encloses it.

Keep the articles modular

  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to docs
  • base-system should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general documentation.

Supported Versions

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
R6220MediaTek MT7621ST880128128MediaTek MT7603EN, MediaTek MT7612ENb/g/na/n/ac-5-1x 2.0

Installation

OEM easy installation

This section deals with

  • How you install OpenWrt from a device freshly opened
  • The steps required such as reset to factory defaults if the device has already been configured

Installation through telnet:

Note: OEM firmware 1.0.xxx will not work (Mtd will not unlock for write). Version 1.1.0.50_1.0.1 will not work anyway, but versions 1.1.0.80_1.0.1 and 1.1.0.86_1.0.1 are confirmed working.

  • Copy kernel.bin and rootfs.bin to a USB flash disk, plug to usb port on the router
  • Call the link: http://192.168.1.1/setup.cgi?todo=debug (login if required, default: admin - password); if the above IP address does not work, try woth 10.0.0.1.
  • You will see “Debug Enabled!”
  • telnet IP-address and login with “root” (default: admin - password)
  • ls /mnt/shares/ to find out path of your USB disk - 'myUdisk' for example
  • cd /mnt/shares/myUdisk
  • mtd_write write rootfs.bin Rootfs
  • mtd_write write kernel.bin Kernel
  • reboot

Replace rootfs.bin and kernel.bin with the names of the images downloaded

OEM installation using the TFTP method

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

Upgrading OpenWrt

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

LuCI Web Upgrade Process

Terminal Upgrade Process

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Debricking / back to stock firmware

generic.debrick

Debricking of the R6220 can be done by using the tool nmrpflash tool. See details over here: https://github.com/jclehner/nmrpflash

This tool can also be used to go back to stock firmware.

Flash Layout

Netgear R6220 Flash Layout
Layer0 NAND flash memory chip (Macronix 3,3V 8-bit SLC) 128 MiB
Layer1 mtd0 u-boot 1 MiB mtd1 SC PID 1 MiB mtd2 kernel 4 MiB mtd3 ubi 28 MiB unused 12 MiB mtd4 factory 1 MiB unused 19 MiB mtd5 reserved 60 MiB
mountpoint / /rom
filesystem OverlayFS SquashFS
Size in KiB 1024 KiB 1024 KiB 4096 KiB 3596 KiB 21204 KiB 12288 KiB 1024 KiB 19456 KiB 61440 KiB

Additional details to be added

Different flash layouts and WIFI MAC issue

Netgear uses different flash layouts for this device. Currently three different layouts are known. Unfortunately up to now there seems to be no way to identify the version with the information printed on the box. The difference among the flash layouts is affecting the location of the factory partition. As a result the WIFI driver of OpenWrt cannot load the MAC address resulting in unstable or failing network connection (esp. on 2.4GHz). You can follow the discussion on the forum, see link below. OpenWrt supports only one flash layout as of now. In case that your flash layout is not supported you will see an error message in your kernel messages using dmesg:

mt76x2e 0000:01:00.0: EEPROM data check failed: ffff
mt76x2e 0000:01:00.0: Invalid MAC address, using random address xx:xx:xx:xx:xx:xx

Flash layout discussion: https://forum.openwrt.org/t/mt7603en-mt7612en-wifi-troubles-on-netgear-r6220/3705

Update 2018-11-08: There has been a bug filed with regards to this behavior stating that in case of bad erase blocks prior to the factory partition OpenWrt uses incorrect/shifted offset addresses to access the factory partition. If this bug is confirmed this may the reason for the behavior reported by several users. Please follow the bug status over here: https://bugs.openwrt.org/index.php?do=details&task_id=1926

Failsafe mode

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

Switch Ports (for VLANs)

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The Netgear R6220 has the following buttons:

Hotplug button name Action name
wps released/pressed
rfkill released/pressed
reset? ?

Do NEVER push the reset button, unless you want to erase your overlay partition and lose your configuration.

Hardware

Info

General
Brand Netgear
Model R6220
Versions
Device Type WiFi Router
Availability Available 2019
Comments - general The port mapping on this device is backwards relative to the printed numbers 1-4 on the device. This can be important when configuring LEDE's switch features since Physical 1 --> LAN4, Physical 2 --> LAN3, Physical 3 --> LAN2, and Physical 4 --> LAN1.
OpenWrt Support
Supported Since Revision
Supported Since Release 18.06.0
Supported Current Release 18.06.2
Unsupported
Hardware
Instruction set ¿
Sub Instruction Set ¿
Bootloader U-Boot
Target ramips
System-On-Chip
CPU MHz 880
Flash MB 128
RAM MB 128
Network
Ethernet 100M ports -
Ethernet Gbit ports 5
Switch MediaTek MT7621ST
Modem -
VLAN Yes
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz a/n/ac
WLAN Hardware MediaTek MT7603EN, MediaTek MT7612EN
Detachable Antennas -
Comments - WLAN MIMO 2x2
Interfaces
USB ports 1x 2.0
SATA ports -
Serial Yes
JTAG ¿
Comments - USB & SATA ports
Misc
LED count 9
Button count 3
Power supply 12 VDC, 1.5 A
Links
Forum Topic URL
WikiDevi URL https://wikidevi.com/wiki/Netgear_R6220
OEM device homepage URL https://www.netgear.com/home/products/networking/wifi-routers/R6220.aspx
Firmware OEM Stock URL https://www.netgear.com/support/product/R6220
Firmware OpenWrt Install URL http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt7621/openwrt-18.06.2-ramips-mt7621-r6220-squashfs-kernel.bin, http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt7621/openwrt-18.06.2-ramips-mt7621-r6220-squashfs-rootfs.bin
Firmware OpenWrt Upgrade URL http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt7621/openwrt-18.06.2-ramips-mt7621-r6220-squashfs-sysupgrade.tar
Edit the underlying data View/Edit data

Photos

Front:
Front view

Rear:
Rear view

Backside label:
Backside label

Opening the case

Note: This will void your warranty!

The case is not held together using screws, only plastic latches. Use a prying tool to slowly pry the top part of the case away from the bottom. Remove a piece of tape covering the antenna wires and remove the antennas. Next, remove the screws holding the motherboard in place and slowly take it out of the case.

Main PCB:
PCB
(taken from WikiDevi)

Serial

Use a 3V3-TTL USB to Serial/UART converter.

Serial connection parameters
for Netgear R6220
57600, 8N1

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

Bootloader mods

Software mods

There is possibility to unlock “mtd5 reserved 60 MiB” partition.

If you want to do that, you need to type few commands:

opkg install kmod-mtd-rw
insmod mtd-rw i_want_a_brick=1
ubiattach -p /dev/mtd5
ubimkvol /dev/ubi1 -N database -m
ubiblock -c /dev/ubi1_0
mkdir /tmp/ubi1
mount -t ubifs /dev/ubi1_0 /tmp/ubi1

option “insmod mtd-rw i_want_a_brick=1” unlock all mtd partition, and make it writable !!!

And after that, you should create automount script at boot time:

vi /etc/init.d/ubimount
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org

START=10
STOP=98


boot() {

        insmod mtd-rw i_want_a_brick=1
        ubiattach -p /dev/mtd5
        mkdir /tmp/ubi1
        mount -t ubifs /dev/ubi1_0 /tmp/ubi1

}
chmod +x /etc/init.d/ubimount
/etc/init.d/ubimount enable

Hardware mods

Note: If you are a beginner, you should inform yourself about soldering in general and even then obtain some experience!

Here are some interesting hardware modifications for the R6220, from the OpenWrt forum:

Bootlogs

OEM bootlog

=================================================================== MT7621 stage1 code 13:15:05 (ASIC) CPU=50000000 HZ BUS=16666666 HZ ================================================================== Change MPLL source from XTAL to CR... do MEMPLL setting.. MEMPLL Config : 0x11100000 3PLL mode + External loopback === XTAL-40Mhz === DDR-1200Mhz === PLL3 FB_DL: 0xb, 1/0 = 583/441 2D000000 PLL4 FB_DL: 0x11, 1/0 = 518/506 45000000 PLL2 FB_DL: 0x13, 1/0 = 522/502 4D000000 do DDR setting..[00320381] Apply DDR3 Setting...(use customer AC) 0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 -------------------------------------------------------------------------------- 0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000E:| 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 000F:| 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0010:| 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0011:| 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 rank 0 coarse = 15 rank 0 fine = 80 B:| 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 opt_dle value:10 DRAMC_R0DELDLY[018]=00002221 ================================================================== RXDQS perbit delay software calibration ================================================================== 1.0-15 bit dq delay value ================================================================== bit| 0 1 2 3 4 5 6 7 8 9 -------------------------------------- 0 | 15 11 15 14 15 11 15 9 6 13 10 | 10 14 9 14 8 13 -------------------------------------- ================================================================== 2.dqs window x=pass dqs delay value (min~max)center y=0-7bit DQ of every group input delay:DQS0 =33 DQS1 = 34 ================================================================== bitDQS0 bit DQS1 0 (0~59)29 8 (2~60)31 1 (1~58)29 9 (2~61)31 2 (0~62)31 10 (2~66)34 3 (1~64)32 11 (1~61)31 4 (0~63)31 12 (1~65)33 5 (1~63)32 13 (1~61)31 6 (0~59)29 14 (1~62)31 7 (1~65)33 15 (1~62)31 ================================================================== 3.dq delay value last ================================================================== bit| 0 1 2 3 4 5 6 7 8 9 -------------------------------------- 0 | 15 15 15 15 15 12 15 9 9 15 10 | 10 15 10 15 11 15 ================================================================== ================================================================== TX perbyte calibration ================================================================== DQS loop = 15, cmp_err_1 = ffff2a45 DQS loop = 14, cmp_err_1 = ffff0a00 dqs_perbyte_dly.last_dqsdly_pass[0]=14, finish count=1 DQS loop = 13, cmp_err_1 = ffff0000 dqs_perbyte_dly.last_dqsdly_pass[1]=13, finish count=2 DQ loop=15, cmp_err_1 = ffff0080 dqs_perbyte_dly.last_dqdly_pass[1]=15, finish count=1 DQ loop=14, cmp_err_1 = ffff0080 DQ loop=13, cmp_err_1 = ffff0000 dqs_perbyte_dly.last_dqdly_pass[0]=13, finish count=2 byte:0, (DQS,DQ)=(8,8) byte:1, (DQS,DQ)=(8,9) 20,data:88 [EMI] DRAMC calibration passed =================================================================== MT7621 stage1 code done CPU=50000000 HZ BUS=16666666 HZ =================================================================== U-Boot 1.1.3 (Oct 15 2014 - 11:40:56) Board: Ralink APSoC DRAM: 128 MB relocate_code Pointer at: 87fac000 Config XHCI 40M PLL Allocate 16 byte aligned buffer: 87fe1b50 Enable NFI Clock # MTK NAND # : Use HW ECC NAND ID [C2 F1 80 1D C2] Device found in MTK table, ID: c2f1, EXT_ID: 801dc2 Support this Device in MTK table! c2f1 select_chip [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16 Signature matched and data read! load_fact_bbt success 1023 load fact bbt success [mtk_nand] probe successfully! mtd->writesize=2048 mtd->oobsize=64,mtd->erasesize=131072 devinfo.iowidth=8 Env addr : 0x100000 .*** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.2.1.0 -------------------------------------------- ASIC MT7621AS (MAC to MT7530 Mode) DRAM_CONF_FROM: Auto-Detection DRAM_TYPE: DDR3 DRAM bus: 16 bit Xtal Mode=3 OCP Ratio=1/3 Flash component: NAND Flash Date:Oct 15 2014 Time:11:40:56 ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 880 MHZ #### estimate memory size =128 Mbytes Reset switch ... #Reset_MT7530 set LAN/WAN LLLLW ..Example expects ABI version 2 Actual U-Boot ABI version 2 ****************************************** Uboot StandAlone Entry ****************************************** 0, cmd 1, 0x0000000D cmd : 0x0000000D Press Ctrl+C to Enter the Main loop... Example expects ABI version 2 Actual U-Boot ABI version 2 ****************************************** Uboot StandAlone Entry ****************************************** 0, cmd 1, 0x0000000F cmd : 0x0000000F Enter NMRP_main Flash Sector Number : 1024. Bad block detected at 0x6de0000, oob_buf[0] is 0x0 NAND Section 21, has bad block at address c2de0000, Image Offset 6de0000 NAND Section 21, has bad block count 1 NetTxPacket = 0x87FE5B00 KSEG1ADDR(NetTxPacket) = 0xA7FE5B00 NetLoop,call eth_halt ! NetLoop,call eth_init ! Trying Eth0 (10/100-M) Waitting for RX_DMA_BUSY status Start... done ETH_STATE_ACTIVE!! NMRP_FLASH_SIZE_buffer --> a1000000. NMRP:LISTENING ### No NMRP Server found ### Example expects ABI version 2 Actual U-Boot ABI version 2 ****************************************** Uboot StandAlone Entry ****************************************** 0, boot Flash Sector Number : 1024. Bad block detected at 0x6de0000, oob_buf[0] is 0x0 NAND Section 21, has bad block at address c2de0000, Image Offset 6de0000 NAND Section 21, has bad block count 1 *************************************************** Sercomm Boot Version 1.16.0 *************************************************** Upgrade flag check pass!Entering Firmware : Everything is OK. kernel addr :0xbfe00000 System Boot system code via Flash. ## Booting image at bfe00000 ... Image Name: Linux Kernel Image Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 2429376 Bytes = 2.3 MB Load Address: 80001000 Entry Point: 8000f500 ...................................... Verifying Checksum ... OK Uncompressing Kernel Image ... OK commandline in boot is : <NULL> !!!! No initrd ## Transferring control to Linux (at address 8000f500) ... ## Giving linux memsize in MB, 128 Starting kernel ... LINUX started... THIS IS ASIC Linux version 2.6.36 (root@localhost.localdomain) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 SMP Sun Nov 16 15:47:40 CST 2014 The CPU feqenuce set to 880 MHz GCMP present CPU revision is: 0001992f (MIPS 1004Kc) Software DMA cache coherency Determined physical RAM map: memory: 08000000 @ 00000000 (usable) Zone PFN ranges: Normal 0x00000000 -> 0x00008000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00008000 avail: cpu2 is not ready avail: cpu3 is not ready Detected 1 available secondary CPU(s) PERCPU: Embedded 7 pages/cpu @81103000 s7104 r8192 d13376 u65536 pcpu-alloc: s7104 r8192 d13376 u65536 alloc=16*4096 pcpu-alloc: [0] 0 [0] 1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock3 console=ttyS0 PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes MIPS secondary cache 256kB, 8-way, linesize 32 bytes. Writing ErrCtl register=0004202b Readback ErrCtl register=0004202b Memory: 122524k/131072k available (5158k kernel code, 8548k reserved, 1661k data, 212k init, 0k highmem) Hierarchical RCU implementation. Verbose stalled-CPUs detection is disabled. NR_IRQS:128 Trying to install interrupt handler for IRQ24 Trying to install interrupt handler for IRQ25 Trying to install interrupt handler for IRQ22 Trying to install interrupt handler for IRQ9 Trying to install interrupt handler for IRQ10 Trying to install interrupt handler for IRQ11 Trying to install interrupt handler for IRQ12 Trying to install interrupt handler for IRQ13 Trying to install interrupt handler for IRQ14 Trying to install interrupt handler for IRQ16 Trying to install interrupt handler for IRQ17 Trying to install interrupt handler for IRQ18 Trying to install interrupt handler for IRQ19 Trying to install interrupt handler for IRQ20 Trying to install interrupt handler for IRQ21 Trying to install interrupt handler for IRQ23 Trying to install interrupt handler for IRQ26 Trying to install interrupt handler for IRQ27 Trying to install interrupt handler for IRQ28 Trying to install interrupt handler for IRQ15 Trying to install interrupt handler for IRQ8 Trying to install interrupt handler for IRQ29 Trying to install interrupt handler for IRQ30 Trying to install interrupt handler for IRQ31 console [ttyS1] enabled Calibrating delay loop... 579.58 BogoMIPS (lpj=1159168) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 launch: starting cpu1 launch: cpu1 gone! CPU revision is: 0001992f (MIPS 1004Kc) Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes MIPS secondary cache 256kB, 8-way, linesize 32 bytes. Brought up 2 CPUs Synchronize counters across 2 CPUs: done. NET: Registered protocol family 16 release PCIe RST: RALINK_RSTCTRL = 7000000 PCIE PHY initialize ***** Xtal 40MHz ***** start MT7621 PCIe register access RALINK_RSTCTRL = 7000000 RALINK_CLKCFG1 = 77ffeff8 *************** MT7621 PCIe RC mode ************* PCIE1 no card, disable it(RST&CLK) pcie_link status = 0x5 RALINK_RSTCTRL= 5000000 *** Configure Device number setting of Virtual PCI-PCI bridge *** RALINK_PCI_PCICFG_ADDR = 21007f2 -> 12007f2 PCIE0 enabled PCIE2 enabled interrupt enable status: 500000 Port 1 N_FTS = 1b105000 Port 0 N_FTS = 1b105000 config reg done init_rt2880pci done bio: create slab <bio-0> at 0 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000) pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000) pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff] pci 0000:00:00.0: BAR 1: set to [mem 0x60300000-0x6030ffff] (PCI address [0x60300000-0x6030ffff] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff] pci 0000:00:01.0: BAR 1: set to [mem 0x60310000-0x6031ffff] (PCI address [0x60310000-0x6031ffff] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] pci 0000:01:00.0: BAR 0: set to [mem 0x60000000-0x600fffff 64bit] (PCI address [0x60000000-0x600fffff] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] pci 0000:00:00.0: PCI bridge to [bus 01-01] pci 0000:00:00.0: bridge window [io disabled] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] pci 0000:02:00.0: BAR 0: set to [mem 0x60200000-0x602fffff] (PCI address [0x60200000-0x602fffff] pci 0000:00:01.0: PCI bridge to [bus 02-02] pci 0000:00:01.0: bridge window [io disabled] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] pci 0000:00:01.0: bridge window [mem pref disabled] PCI: Enabling device 0000:00:00.0 (0004 -> 0006) PCI: Enabling device 0000:00:01.0 (0004 -> 0006) BAR0 at slot 0 = 0 bus=0x0, slot = 0x0 res[0]->start = 0 res[0]->end = 0 res[1]->start = 60300000 res[1]->end = 6030ffff res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 BAR0 at slot 1 = 0 bus=0x0, slot = 0x1 res[0]->start = 0 res[0]->end = 0 res[1]->start = 60310000 res[1]->end = 6031ffff res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 bus=0x1, slot = 0x0, irq=0x4 res[0]->start = 60000000 res[0]->end = 600fffff res[1]->start = 0 res[1]->end = 0 res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 bus=0x2, slot = 0x1, irq=0x19 res[0]->start = 60200000 res[0]->end = 602fffff res[1]->start = 0 res[1]->end = 0 res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 Switching to clocksource MIPS NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 128 (order: 0, 4096 bytes) UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) NET: Registered protocol family 1 4 CPUs re-calibrate udelay(lpj = 1167360) squashfs: version 4.0 (2009/01/31) Phillip Lougher fuse init (API version 7.15) SGI XFS with security attributes, large block/inode numbers, no debug enabled SGI XFS Quota Management subsystem msgmni has been set to 239 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered (default) Ralink gpio driver initialized spidrv_major = 217 i2cdrv_major = 218 spdif_mod_init: start SPDIF module Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A brd: module loaded MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error Allocate 16 byte aligned buffer: 8070f420 Enable NFI Clock # MTK NAND # : Use HW ECC NAND ID [C2 F1 80 1D C2, 00801dc2] Device found in MTK table, ID: c2f1, EXT_ID: 801dc2 Support this Device in MTK table! c2f1 NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit) [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16 Scanning device for bad blocks Bad eraseblock 879 at 0x000006de0000 Signature matched and data read! load_fact_bbt success 1023 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Creating 22 MTD partitions on "MT7621-NAND": 0x000000000000-0x000000100000 : "Bootloader" 0x000000100000-0x000000200000 : "SC PID" 0x000000200000-0x000000600000 : "Kernel" 0x000000600000-0x000002200000 : "Rootfs" 0x000002200000-0x000002400000 : "English UI" 0x000002400000-0x000002600000 : "ML1" 0x000002600000-0x000002800000 : "ML2" 0x000002800000-0x000002a00000 : "ML3" 0x000002a00000-0x000002c00000 : "ML4" 0x000002c00000-0x000002e00000 : "ML5" 0x000002e00000-0x000002f00000 : "Factory" 0x000002f00000-0x000003000000 : "SC Private Data" 0x000003000000-0x000003200000 : "POT" 0x000003200000-0x000003400000 : "Traffic Meter" 0x000003400000-0x000003600000 : "DPF" 0x000003600000-0x000003800000 : "SC Nvram" 0x000003800000-0x000003a00000 : "Ralink Nvram" 0x000003a00000-0x000003c00000 : "Ralink Reserved" 0x000003c00000-0x000003e00000 : "ML6" 0x000003e00000-0x000004000000 : "Upgrade Flag" 0x000004000000-0x000004200000 : "Reserved Block3" 0x000004200000-0x000007e00000 : "Reserved Block4" [mtk_nand] probe successfully! rdm_major = 253 GMAC1_MAC_ADRH -- : 0xXXXXXXXX [removed] GMAC1_MAC_ADRL -- : 0xXXXXXXXX [removed] Ralink APSoC Ethernet Driver Initilization. v3.1 512 rx/tx descriptors allocated, mtu = 1500! GMAC1_MAC_ADRH -- : 0xXXXXXXXX [removed] GMAC1_MAC_ADRL -- : 0xXXXXXXXX [removed] PROC INIT OK! PPP generic driver version 2.4.2 PPP MPPE Compression module registered NET: Registered protocol family 24 PPTP driver version 0.8.5 IMQ driver loaded successfully. Hooking IMQ before NAT on PREROUTING. Hooking IMQ after NAT on POSTROUTING. usbcore: registered new interface driver net1080 register mt_drv === pAd = c0182000, size = 586072 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 pAd->CSRBaseAddress =0xc0080000, csr_addr=0xc0080000! device_id =0x7603 RtmpChipOpsHook(502): Not support for HIF_MT yet! mt7603_init()--> mt_bcn_buf_init(224): Not support for HIF_MT yet! <--mt7603_init() FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 0(0x00000000) xhc_mtk xhc_mtk: xHCI Host Controller xhc_mtk xhc_mtk: new USB bus registered, assigned bus number 1 xhc_mtk xhc_mtk: irq 22, io mem 0x1e1c0000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected xhc_mtk xhc_mtk: xHCI Host Controller xhc_mtk xhc_mtk: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (1914 buckets, 7656 max) nf_conntrack_rtsp v0.6.21 loading IPVS: Registered protocols () IPVS: Connection hash table configured (size=4096, memory=32Kbytes) IPVS: ipvs loaded. GRE over IPv4 demultiplexor driver gre: can't add protocol nf_nat_rtsp v0.6.21 loading ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone TCP cubic registered NET: Registered protocol family 10 NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY ip6_tables: (C) 2000-2006 Netfilter Core Team IPv6 over IPv4 tunneling driver NOTIFY NOTIFY NOTIFY NOTIFY NET: Registered protocol family 17 L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 L2TP IP encapsulation support (L2TPv3) L2TP netlink interface L2TP ethernet pseudowire support (L2TPv3) 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> VFS: Mounted root (squashfs filesystem) readonly on device 31:3. Freeing unused kernel memory: 212k freed init started: BusyBox v1.12.1 (2014-11-16 15:59:46 CST) starting pid 60, tty '': '/usr/etc/rcS' Algorithmics/MIPS FPU Emulator v1.5 mount: mounting none on /dev/pts failed: No such file or directory Welcome to _______ _______ ___ __ ____ _ _ ___ | ___ \| __ || | |__|| \ | || | / / | |___| || |__| || |__ __ | \| || |/ / | _ /| _ || || || |\ || \ |__| \__\|__| |__||______||__||_| \____||_|\___\ =System Architecture Department= [rc debug]/sbin/rc reg_init [rc.c::configure_mt7621_register():1011] set from jtag to gpio mode [SYSTEM]/sbinswitch register base addr to system register 0xbe000000 /reg s 0 [SYSTEM]/sbin/0xa05a9 reg r 0x60 [SYSTEM]/sbin/rewrite offset 0x60, value 0xa05a8 g w 0x60 0xa05a8 [SYSTEM]0xa05a8 /sbin/reg r 0x60 [SYSTEM]/bin/ecNOTIFY hoNOTIFY 1NOTIFY NOTIFY >NOTIFY /NOTIFY pNOTIFY roc/sys/net/ipv6/conf/all/disable_ipv6 led_pb_api: module license 'Sercomm' taints kernel. Disabling lock debugging due to kernel taint Register LED ID <75> Register LED ID <70> Register LED ID <20> Register LED ID <40> Register LED ID <45> Register LED ID <60> Register LED ID <61> Register LED ID <62> Register LED ID <90> Register LED ID <91> Register LED ID <92> insmod: can't read '/lib/modules/2.6.30.9/kernel/fs/jbd2/jbd2.ko': No such file or directory insmod: can't read '/lib/modules/2.6.30.9/kernel/fs/ext4/ext4.ko': No such file or directory netfilter dnshj choose interested dns queries module loaded ! insmod: can't read '/lib/modules/ipt_macblock_dnshj.ko': No such file or directory init common module successful insert firewall block module success fake source dos protect modules is inserted netfilter PSD and TCP/UDP Echo/Chargen Attack loaded netfilter tcp syn flood module loaded netfilter clamp total session for one src ip module loaded netfilter other dos module loaded insmod finish NOTIFY NOTIFY NOTIFY Raeth v3.1 (Tasklet,SkbRecycle) phy_tx_ring = 0x06dfc000, tx_ring = 0xa6dfc000 phy_rx_ring0 = 0x06dfe000, rx_ring0 = 0xa6dfe000 change HW-TRAP to 0x15c8f set LAN/WAN LLLLW GMAC1_MAC_ADRH -- : 0xXXXXXXXX [removed] GMAC1_MAC_ADRL -- : 0xXXXXXXXX [removed] GDMA2_MAC_ADRH -- : 0xXXXXXXXX [removed] GDMA2_MAC_ADRL -- : 0xXXXXXXXX [removed] NOTIFY NOTIFY eth3: ===> VirtualIF_open CDMA_CSG_CFG = 81000000 GDMA1_FWD_CFG = 20710000 GDMA2_FWD_CFG = 20710000 NOTIFY NOTIFY NOTIFY insmod: can't read '/lib/modules/2.6.36/kernel/drivers/net/wireless/MT7610_ap/MT7610_ap.ko': No such file or directory register rt2860 === pAd = c0902000, size = 1348584 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 pAd->CSRBaseAddress =0xc0800000, csr_addr=0xc0800000! device_id =0x7662 ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a RtmpChipOpsEepromHook::e2p_type=0, inf_Type=5 RtmpEepromGetDefault::e2p_dafault=2 NVM is FLASH mode NOTIFY NOTIFY [rc debug]/usr/sbin/rc init [SYSTEM]/sbin/ifconNOTIFY fNOTIFY igNOTIFY br0 down hw ether XX:XX:XX:XX:XX:XX up [removed] [SYSTEM]/sbin/ifconfig eth2.1 down ifconfig: SIOCGIFFLAGS: No such devNOTIFY ice [SYSTEM]/sbin/ifconfig eth2.2 down ifconfig: SIOCGIFFLAGS: No such dra2880stop()...eDone vieth3: ===> VirtualIF_close ce ree TX/RX Ring Memory! [32m[NOTIFY SYSTEM]/sbin/ifconfig eth2 down [SYSTEM]/sbin/vconfig rem eth2.1 vconfig: ioctl error for rem: No such device [SYSTEMNOTIFY ]Raeth v3.1 (/sTaskletb,SkbRecyclei) n/v phy_tx_ring = 0x06dfc000, tx_ring = 0xa6dfc000 config phy_rx_ring0 = 0x06dfe000, rx_ring0 = 0xa6dfe000 rem eth2.2 vconfig: ioctl error for rem: No such device [SYchange HW-TRAP to 0x15c8f STEM]/sbin/iset LAN/WAN LLLLW fconfig eth2 upGMAC1_MAC_ADRH -- : 0xXXXXXXXX [removed] GMAC1_MAC_ADRL -- : 0xXXXXXXXX [removed] eth3: ===> VirtualIF_open CDMA_CSG_CFG = 81000000 GDMA1_FWD_CFG = 20710000 GDMA2_FWD_CFG = 20710000 NOTIFY [SYSTEM]/sbin/ifconfiNOTIFY g eth2 down ra2880stop()...Done eth3: ===> VirtualIF_close Free TX/RX Ring Memory! NOTIFY [SYSTEM]/sbin/ifconfig NOTIFY eth2 hw ether XX:XX:XX:XX:XX:XX NOTIFY [removed] Raeth v3.1 ( asklet[,SkbRecycle3) 2m[ phy_tx_ring = 0x06dfc000, tx_ring = 0xa6dfc000 SYSTEM] phy_rx_ring0 = 0x06dfe000, rx_ring0 = 0xa6dfe000 /sbin/ifconfig eth2 up change HW-TRAP to 0x15c8f set LAN/WAN LLLLW GMAC1_MAC_ADRH -- : 0xXXXXXXXX [removed] GMAC1_MAC_ADRL -- : 0xXXXXXXXX [removed] eth3: ===> VirtualIF_open CDMA_CSG_CFG = 81000000 GDMA1_FWD_CFG = 20710000 GDMA2_FWD_CFG = 20710000 NOTIFY [SYSTEM]/usr/sbin/config-vlan.sh 3 0 restore GSW to dump switch mode switch reg write offset=2004, value=ff0000 switch reg write offset=2104, value=ff0000 switch reg write offset=2204, value=ff0000 switch reg write offset=2304, value=ff0000 switch reg write offset=2404, value=ff0000 switch reg write offset=2504, value=ff0000 switch reg write offset=2604, vadevice eth2 entered promiscuous mode lubr0: port 1(eth2) entering learning state e=br0: port 1(eth2) entering learning state ff0000 switch reg write offset=2704NOTIFY ,eth3: ===> VirtualIF_open vNOTIFY alue=ff0000 switch reg write offset=2010, value=810000c0 switch reg write offset=2110, value=810000c0 switch reg write offset=2210, value=810000c0 switch reg write offset=2310, value=810000c0 switch reg write offset=2410, value=810000c0 switch reg write offset=2510, value=810000c0 switch reg write offset=2610, value=810000c0 switch reg write offset=2710, value=810000c0 REG_ESW_WT_MAC_ATC is 0x7ff0002 done. [SYSTEM]/sbin/brctl addif br0 eth2 [SYSTEM]/sbin/ifconfig eth3 up RC: wifi_init() rules = <>, timeout = 20 [SYSTEM]/usr/bin/killall access_logd killall: access_logd: no process killed [SYSTEM]/usr/sbin/rc access_log start [rc debug]/usr/sbin/rc access_log start ap_name=access_log action=start [rc.c::rc_action():803] rc_action before add access_log - start rc action <access_log @ start> before file_lock. rc action <access_log @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.access_log.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add access_log - start unlink running file </var/run/rc.access_log.run> [rc.c::rc_action():803] rc_action before add access_log - start rc action <access_log @ start> before file_lock. rc action <access_log @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.access_log.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add access_log - start unlink running file </var/run/rc.access_log.run> can't find this application [rc.c::rc_action():803] rc_action before add access_log - start rc action <access_log @ start> before file_lock. rc action <access_log @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.access_log.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add access_log - start [rc.c::rc_start():706] Calling Start function of access_log killall: access_logd: no process killed Access Control log start. Access Control socket create unlink running file </var/run/rc.access_log.run> [SYSTEM]/usr/sbin/rc access_dev start [rc debug]/usr/sbin/rc access_dev start ap_name=access_dev action=start [rc.c::rc_action():803] rc_action before add access_dev - start rc action <access_dev @ start> before file_lock. rc action <access_dev @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.access_dev.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add access_dev - start unlink running file </var/run/rc.access_dev.run> [rc.c::rc_action():803] rc_action before add access_dev - start rc action <access_dev @ start> before file_lock. rc action <access_dev @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.access_dev.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add access_dev - start unlink running file </var/run/rc.access_dev.run> can't find this application [rc.c::rc_action():803] rc_action before add access_dev - start rc action <access_dev @ start> before file_lock. rc action <access_dev @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.access_dev.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add access_dev - start [rc.c::rc_start():706] Calling Start function of access_dev killall: access_devinfo: no process killed Access Control socket create unlink running file </var/run/rc.access_dev.run> [modelinfo_product_id.c::modelinfo_map_index():74] 0x30 0x31, 0x3031. [modelinfo_product_id.c::modelinfo_map_index():116] find index 0 for modelinfo_get_product_name [modelinfo_product_id.c::modelinfo_set_autoupg_fileinfo():184] autoupg_fileinfo_in_nv is r6220_fileinfo.txt [SYSTEM]/usr/bin/insmod /lib/modules/ufsd.ko ufsd:: trace mask set to 0000000f ufsd: driver (lke_9.0.0 lke_9.0.0_r237695_b2, LBD=ON, ioctl, bdi, sd2(0), wb, bz, tr) loaded at c0b02000 NTFS support included optimized: speed Build_for__Netgear_R6220_k2.6.36_2014-10-22_lke_9.0.0_r237695_b2 =============rc start [rc debug]/usr/sbin/rc lan start ap_name=lan action=start [rc.c::rc_action():803] rc_action before add lan - start rc action <lan @ start> before file_lock. rc action <lan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.lan.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add lan - start [rc.c::rc_start():706] Calling Start function of lan [SYSTEM]/usr/sbin/brctl setfd br0 1 [SYSTEM]/sbin/ifconfig br0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 [SYSTEM]/usr/sbin/brctl stp br0 off [SYSTEM]/usr/sbin/brctl stp br0 off sh: cannot create /proc/http_file/getLanIp: nonexistent directory unlink running file </var/run/rc.lan.run> [rc debug]/usr/sbin/rc wlan start ap_name=wlan action=start [rc.c::rc_action():803] rc_action before add wlan - start rc action <wlan @ start> before file_lock. rc action <wlan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.wlan.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add wlan - start [rc.c::rc_start():706] Calling Start function of wlan [wifi_mtk/wifi.c::sync_wireless_nvram():1495] wifi_super_wifi_enable:0, wifi_powerpercent:100, wifi_super_wifi_enable1:0, wifi_powerpercent1:100 [modelinfo_product_id.c::modelinfo_map_index():74] 0x30 0x31, 0x3031. [modelinfo_product_id.c::modelinfo_map_index():116] find index 0 for modelinfo_get_product_name [wifi_mtk/wifi.c::start_wireless():1525] SC 5G support level: 11ac [SYSTEM]mkdir -p /etc/Wireless/RT2860 [flash.c::sc_check_remotescfgmgrmagic():794] buf:ff, ff, ff, ff [flash.c::sc_check_remotescfgmgrmagic():796] magic:31, 3e, c5, 8d scfgmgr for local [SYSTEM]mkdir -p /etc/Wireless/iNIC region flag in flash:00 00 00 02 [SYSTEM]/bin/mkdir -p /etc/Wireless/RT2860AP/ [SYSTEM]/bin/mkdir -p /etc_ro/Wireless/RT2860AP/ region is PR:0 [SYSTEM]/bin/cp -f /etc_ro/wlan/MT7612E_EEPROM.bin.11ac /etc_ro/wlan/MT7612E_EEPROM.bin [wifi_mtk/wifi.c::map_singleskutmp_by_region():1251] all region singlesku.dat exist [SYSTEM]/bin/rm /etc_ro/Wireless/RT2860AP/SingleSKU.dat.MT7620 >/dev/console 2>&1 rm: cannot remove '/etc_ro/Wireless/RT2860AP/SingleSKU.dat.MT7620': No such file or directory [SYSTEM]/bin/rm /etc_ro/Wireless/iNIC/SingleSKU.dat.MT7610E >/dev/console 2>&1 rm: cannot remove '/etc_ro/Wireless/iNIC/SingleSKU.dat.MT7610E': No such file or directory [wifi_mtk/wifi.c::map_singleskutmp_by_region():1268] wifi gui region is Europe, 2g CE, 5g CE [wifi_mtk/wifi.c::map_singleskutmp_by_region():1306] region NOT PR or RU [SYSTEM]/bin/cp -rf /usr/etc_ro/Wireless/singlesku_dat//CE/SingSku-2.4.txt /etc_ro/Wireless/RT2860AP/SingleSKU.dat.MT7620 >/dev/console 2>&1 [SYSTEM]/bin/cp -rf /usr/etc_ro/Wireless/singlesku_dat//CE/SingSku-5G.txt /etc_ro/Wireless/iNIC/SingleSKU.dat.MT7610E >/dev/console 2>&1 [SYSTEM]/bin/mv /etc_ro/Wireless/RT2860AP/SingleSKU.dat.MT7620 /etc/Wireless/RT2860AP/SingleSKU.dat [SYSTEM]/bin/mv /etc_ro/Wireless/iNIC/SingleSKU.dat.MT7610E /etc_ro/Wireless/iNIC/SingleSKU.dat CHIP: 7603 - current MAC: XX:XX:XX:XX:XX:XX [removed] Assign MAC: XX:XX:XX:XX:XX:XX [removed] no update! CHIP: 7662 - current MAC: XX:XX:XX:XX:XX:XX [removed] Assign MAC: XX:XX:XX:XX:XX:XX [removed] no update! [SYSTEM]/sbin/iwpriv rai0 set RadioOn=1 Interface doesn't accept private ioctl... set (8BE2): Network is down [SYSTEM]echo 1 > /tmp/wifi_mac_setNOTIFY X_BCN DESC a7fa0000 size = 320 [3RX[0] DESC a7faa000 size = 2048 2m[SYSTEM]/sbiRX[1] DESC a7fab000 size = 2048 n/ifconfig ra0 up cfg_mode=9 cfg_mode=9 wmode_band_equal(): Band Equal! APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 20140814CmdAddressLenReq:(ret = 0) CmdFwStartReq: override = 1, address = 1048576 CmdStartDLRsp: WiFI FW Download Success AsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) CmdPsRetrieveRsp Disable FW PS Supportstatus:1 !!!!! RtmpChipOpsEepromHook::e2p_type=0, inf_Type=5 efuse_probe: efuse = 10000002 RtmpEepromGetDefault::e2p_dafault=1 RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1 NVM is FLASH mode 1. Phy Mode = 14 Country Region from e2p = ffff tssi_1_target_pwr_g_band = 35 2. Phy Mode = 14 3. Phy Mode = 14 NICInitPwrPinCfg(13): Not support for HIF_MT yet! NICInitializeAsic(586): Not support rtmp_mac_sys_reset () for HIF_MT yet! mt_mac_init()--> mt7603_init_mac_cr()--> AsicSetMacMaxLen(1561): Set the Max RxPktLen=1024! <--mt_mac_init() WTBL Segment 1 info: MemBaseAddr/FID:0x28000/0 EntrySize/Cnt:32/128 WTBL Segment 2 info: MemBaseAddr/FID:0x40000/0 EntrySize/Cnt:64/128 WTBL Segment 3 info: MemBaseAddr/FID:0x42000/64 EntrySize/Cnt:64/128 WTBL Segment 4 info: MemBaseAddr/FID:0x44000/128 EntrySize/Cnt:32/128 AntCfgInit(2362): Not support for HIF_MT yet! AsicSendCommandToMcu(3410): Not support for HIF_MT yet! AsicSendCommandToMcu(3410): Not support for HIF_MT yet! AsicSendCommandToMcu(3410): Not support for HIF_MT yet! AsicSendCommandToMcu(3410): Not support for HIF_MT yet! RTMPSetPhyMode(): channel out of range, use first ch=0 MCS Set = ff ff 00 00 01 AsicSetChBusyStat(877): Not support for HIF_MT yet! CmdChannelSwitch: control_chl = 1, central_chl = 1, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#1(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 2, central_chl = 2, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#2(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 3, central_chl = 3, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#3(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 4, central_chl = 4, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#4(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 5, central_chl = 5, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#5(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 6, central_chl = 6, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#6(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 7, central_chl = 7, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#7(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 8, central_chl = 8, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#8(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 9, central_chl = 9, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#9(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 10, central_chl = 10, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#10(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 11, central_chl = 11, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#11(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 12, central_chl = 12, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#12(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 13, central_chl = 13, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#13(2T2R), BBP_BW=0 CmdChannelSwitch: control_chl = 6, central_chl = 6, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#6(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l CmdChannelSwitch: control_chl = 7, central_chl = 7, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#7(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l CmdChannelSwitch: control_chl = 8, central_chl = 8, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#8(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l CmdChannelSwitch: control_chl = 9, central_chl = 9, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#9(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l CmdChannelSwitch: control_chl = 10, central_chl = 10, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#10(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l CmdChannelSwitch: control_chl = 11, central_chl = 11, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#11(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l CmdChannelSwitch: control_chl = 12, central_chl = 12, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#12(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l CmdChannelSwitch: control_chl = 13, central_chl = 13, BW = 0,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#13(2T2R), BBP_BW=0 SYNC - BBP R4 to 20MHz.l [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [PMF]ap_pmf_init:: apidx=1, MFPC=0, MFPR=0, SHA256=0 [PMF]ap_pmf_init:: apidx=2, MFPC=0, MFPR=0, SHA256=0 [PMF]ap_pmf_init:: apidx=3, MFPC=0, MFPR=0, SHA256=0 AsicSetRalinkBurstMode(3724): Not support for HIF_MT yet! RTMPSetPiggyBack(797): Not support for HIF_MT yet! CmdChannelSwitch: control_chl = 13, central_chl = 11, BW = 1,TXStream = 2, RXStream = 2 mt7603_switch_channel(): Switch to Ch#11(2T2R), BBP_BW=1 AsicSetTxPreamble(3710): Not support for HIF_MT yet! AsicAddSharedKeyEntry(1725): Not support for HIF_MT yet! AsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 Main bssid = XX:XX:XX:XX:XX:XX <==== rt28xx_init, Status=0 NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY [SYSTEM]/sbin/brctl addevice ra0 entered promiscuous mode dibr0: port 2(ra0) entering learning state f br0: port 2(ra0) entering learning state br0 ra0 [SYSTEM]/bin/led_app on 40 [SYSTEM]/sbin/ifconfig rNOTIFY aibuild time = 0 2u0p1[004m0 8 060640a rom patch for E3 IC platform = ALPS hw/sw version = patch version = FW Version:0.0.00 Build:1 Build Time:201409051439____ fw for E3 IC RX[0] DESC a6693000 size = 4096 RX[1] DESC a6694000 size = 4096 E2pAccessMode=2 cfg_mode=14 cfg_mode=14 wmode_band_equal(): Band Not Equal! APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 flush result = ffffff check pse fid Q7:set_get_fid, q_idx:7 empty!! Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 49 get_chl_grp:illegal channel (167) get_chl_grp:illegal channel (167) get_chl_grp:illegal channel (169) get_chl_grp:illegal channel (169) get_chl_grp:illegal channel (171) get_chl_grp:illegal channel (171) br0: port 2(ra0) entering forwarding state get_chl_grp:illegal channel (173) get_chl_grp:illegal channel (173) Country Region from e2p = ffff mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=1, temp_tx_alc_enable=1 mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=1, ePA_type=1 mt76x2_read_tx_alc_info_from_eeprom:: [5G band] high_temp_slope=13, low_temp_slope=9 mt76x2_read_tx_alc_info_from_eeprom:: [2G band] high_temp_slope=0, low_temp_slope=0 mt76x2_read_tx_alc_info_from_eeprom:: [5G band] tc_lower_bound=-7, tc_upper_bound=4 mt76x2_read_tx_alc_info_from_eeprom:: [2G band] tc_lower_bound=0, tc_upper_bound=0 mt76x2_get_external_lna_gain::LNA type=0x1, BLNAGain=0xffffff8c, ALNAGain0=0xffffff8c, ALNAGain1=0xffffff8c, ALNAGain2=0xffffff8c 2. Phy Mode = 49 3. Phy Mode = 49 andes_pci_fw_init 0x1300 = 00073200 AntCfgInit: primary/secondary ant 0/1 andes_load_cr:cr_type(2) ChipStructAssign(): MT76x2 hook ! RTMPSetPhyMode: channel is out of range, use first channel=0 MCS Set = ff ff 00 00 01 mt76x2_single_sku::DefaultTargetPwr = 0x28, delta_power = 0xfffffffe mt76x2_single_sku::sku_base_pwr = 0x20, DefaultTargetPwr = 0x28, ch_pwr_adj = 0xfffffff8(-8), 0x13B4: 0x1b0f0438 mt76x2_single_sku::DefaultTargetPwr = 0x28, delta_power = 0xfffffffe mt76x2_single_sku::sku_base_pwr = 0x20, DefaultTargetPwr = 0x28, ch_pwr_adj = 0xfffffff8(-8), 0x13B4: 0x1b0f0438 mt76x2_single_sku::DefaultTargetPwr = 0x28, delta_power = 0xfffffffe mt76x2_single_sku::sku_base_pwr = 0x20, DefaultTargetPwr = 0x28, ch_pwr_adj = 0xfffffff8(-8), 0x13B4: 0x1b0f0438 br0: port 1(eth2) entering forwarding state mt76x2_single_sku::DefaultTargetPwr = 0x28, delta_power = 0xfffffffe mt76x2_single_sku::sku_base_pwr = 0x20, DefaultTargetPwr = 0x28, ch_pwr_adj = 0xfffffff8(-8), 0x13B4: 0x1b0f0438 mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42 mt76x2_single_sku::DefaultTargetPwr = 0x28, delta_power = 0xfffffffe mt76x2_single_sku::sku_base_pwr = 0x20, DefaultTargetPwr = 0x28, ch_pwr_adj = 0xfffffff8(-8), 0x13B4: 0x1b0f0438 APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2) mt76x2_calibration(channel = 42) Main bssid = XX:XX:XX:XX:XX:XX [removed] mt76x2_reinit_agc_gain:original agc_vga0 = 0x48, agc_vga1 = 0x48 mt76x2_reinit_agc_gain:updated agc_vga0 = 0x48, agc_vga1 = 0x48 mt76x2_reinit_hi_lna_gain:original hi_lna0 = 0x33, hi_lna1 = 0x33 mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x33, hi_lna1 = 0x33 original vga value(chain0) = 48 original vga value(chain1) = 48 <==== rt28xx_init, Status=0 NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY NOTIFY RTMPDrvOpen(1):Check if PDMA is idle! RTMPDrvOpen(2):Check if PDMA is idle! NOTIFY [SYSTEM]/sbin/brctl adddevice rai0 entered promiscuous mode ifbr0: port 3(rai0) entering learning state bbr0: port 3(rai0) entering learning state r0 rai0 [SYSTEM]/bin/led_app on 40 [libscm_wl.c::GenerateUUID():121] GUI ASCII string: 38833092-3092-1883-92dd-XXXXXXXXXXXX [removed] [libscm_wl.c::GenerateUUID():122] GUI HEX string: 388330923092188392ddXXXXXXXXXXXX [removed] [SYSTEM]/usr/bin/killall miniupnpd_wsc killall: miniupnpd_wsc: no process killed [SYSTEM]/sbin/chmod +x /var/ralink_ap_start.sh [SYSTEM]/bin/sh -x /var/ralink_ap_start.sh + iwpriv ra0 set WscConfMode=0 + iwpriv rai0 set WscConfMode=0 + iwpriv ra0 set WscSetupLock=0 + iwpriv rai0 set WscSetupLock=0 + iwpriv ra0 set WscMaxPinAttack=3 + iwpriv rai0 set WscMaxPinAttack=3 + route add -host 239.255.255.250 dev br0 + iwpriv ra0 set WscConfMode=7 + iwpriv rai0 set WscConfMCan't find DB for id==42 ode=7 + miniupnpd_wsc -m 1 -I ra0 -P /var/run/miniupnpd.ra0 -i eth3 -a 192.168.1.1 -n 7777 -u 38833092-3092-1883-92dd-XXXXXXXXXXXX [removed] Unknown option: -I Unknown option: ra0 [SYSTEM]/bin/cp /proc/uptime /tmp/wlan_uptime Jan 1 00:00:26 miniupnpd[320]: WPS listening on portRTMPIoctlMAC():wrq->u.data.length=9, pointer(7fd68320)=60200618! 7RTMPIoctlMAC():after trim space, ptr len=8, pointer(85dcf000)=60200618! 777 [SYSTEM]/bin/led_app on 42 TMPIoctlMAC():wrq->u.data.length=18, pointer(7fd8f8f0)=60200618=D7083F0F! 32RTMPIoctlMAC():after trim space, ptr len=17, pointer(85db9000)=60200618=D7083F0F! m[SYSTEM]/usr/sbin/led_app on 45 [wifi_mtk/wifi.c::start_wireless():1615] DISABLE EDCCA for 2G and 5G [SYSTEM]/usr/sbin/iwpriv rai0 mac 1340 rai0 mac: [0x1340]:04101b3f [wifi_mtk/wifi.c::start_wireless():1639] org:0x4101b3f. (04101b3f )[wifi_mtk/wifi.c::start_wireless():1641] now:0x4001b3f [SYSTEM]/usr/sbin/iwpriv rai0 mac 1340=4001b3f rai0 mac: [0x1340]:04001b3f [SYSTEM]/usr/sbin/iwpriv rai0 mac 1340 rai0 mac: [0x1340]:04001b3f [SYSTEM]/usr/sbin/iwpriv ra0 mac 60200618 ra0 mac:[0x10618]:d7e87d10 [SYSTEM]/usr/sbin/iwpriv ra0 mac 60200618=D7083F0F ra0 mac:[0x10618]:d7083f0f unlink running file </var/run/rc.wlan.run> [rc debug]/usr/sbin/rc printk start ap_name=printk action=start [rc.c::rc_action():803] rc_action before add printk - start rc action <printk @ start> before file_lock. rc action <printk @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.printk.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add printk - start [rc.c::rc_start():706] Calling Start function of printk [SYSTEM]/bin/echo 1 4 1 7 > /proc/sys/kernel/printk unlink running file </var/run/rc.printk.run> [rc debug]/usr/sbin/rc timezone start ap_name=timezone action=start [rc.c::rc_action():803] rc_action before add timezone - start rc action <timezone @ start> before file_lock. rc action <timezone @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.timezone.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add timezone - start [rc.c::rc_start():706] Calling Start function of timezone [SYSTEM]/bin/echo GMT+0 > /etc/TZ unlink running file </var/run/rc.timezone.run> [rc debug]/usr/sbin/rc syslogd start ap_name=syslogd action=start [rc.c::rc_action():803] rc_action before add syslogd - start rc action <syslogd @ start> before file_lock. rc action <syslogd @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.syslogd.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add syslogd - start [rc.c::rc_start():706] Calling Start function of syslogd [SYSTEM]/sbin/syslogd -f /etc/syslog.conf unlink running file </var/run/rc.syslogd.run> [rc debug]/usr/sbin/rc httpd start ap_name=httpd action=start [rc.c::rc_action():803] rc_action before add httpd - start rc action <httpd @ start> before file_lock. rc action <httpd @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.httpd.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add httpd - start [rc.c::rc_start():706] Calling Start function of httpd [sc_language.c::create_language_file():426] Create link files for <English> [sc_language.c::update_language_mtd_mapping():325] update mtd /dev/mtdblock4 to ENU [sc_language.c::update_language_mtd_mapping():325] update mtd /dev/mtdblock5 to DEU [sc_language.c::update_language_mtd_mapping():325] update mtd /dev/mtdblock6 to FRA [sc_language.c::update_language_mtd_mapping():325] update mtd /dev/mtdblock7 to NLD [sc_language.c::update_language_mtd_mapping():325] update mtd /dev/mtdblock8 to SVE [sc_language.c::update_language_mtd_mapping():325] update mtd /dev/mtdblock9 to RUS [sc_language.c::create_language_file():449] Checking MTD </dev/mtdblock4> according to its id <ENU> [sc_language.c::decompress_language():175] Try to decompress MTD </dev/mtdblock4> [SYSTEM]/bin/cat /www.eng/block.htm | /bin/sed "s|@model_name#|R6220|g" > /etc/block.htm rmmod: ipt_REJECT: No such file or directory [rc debug]/bin/rc firewall restart ap_name=firewall action=restart [rc.c::rc_action():803] rc_action before add firewall - restart rc action <firewall @ restart> before file_lock. rc action <firewall @ restart lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.firewall.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add firewall - restart unlink running file </var/run/rc.firewall.run> [rc.c::rc_action():803] rc_action before add firewall - restart rc action <firewall @ restart> before file_lock. rc action <firewall @ restart lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.firewall.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add firewall - restart [rc.c::rc_stop():745] Calling Stop function of firewall [SYSTEM]echo 0 > /proc/sys/net/ipv4/ip_forward [SYSTEM]echo 1 > /proc/sys/net/ipv4/conf/br0/forwarding [SYSTEM]echo 1 > /proc/sys/net/ipv4/conf/wlan0/forwarding sh: cannot create /proc/sys/net/ipv4/conf/wlan0/forwarding: nonexistent directory [SYSTEM]echo 1 > /proc/sys/net/ipv4/conf/wlan0-va0/forwarding sh: cannot create /proc/sys/net/ipv4/conf/wlan0-va0/forwarding: nonexistent directory [rc.c::rc_start():706] Calling Start function of firewall [SYSTEM]/usr/bin/killall -14 access_logd [SYSTEM]/usr/sbin/rc syslogd create;/usr/bin/killall -SIGUSR2 syslogd & [rc debug]/usr/sbin/rc syslogd create ap_name=syslogd action=create [rc.c::rc_action():803] rc_action before add syslogd - create rc action <syslogd @ create> before file_lock. rc action <syslogd @ create lock = 4> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.syslogd.run rc action < unlock = 4> after file_lock. [rc.c::rc_action():811] rc_action after add syslogd - create [rc.c::rc_create():787] Calling Create function of syslogd unlink running file </var/run/rc.syslogd.run> [SYSTEM]/bin/echo switch=on > /proc/net/spi_enable [SYSTEM]/bin/echo clear > /proc/net/firewall_block [SYSTEM]/bin/echo clear > /proc/net/clamp_total_session_for_one_src [SYSTEM]/bin/echo clear > /proc/net/psd_udp_tcp_vanilla_port_scan [SYSTEM]/bin/echo clear > /proc/net/echo_chargen_config [SYSTEM]/bin/echo wan_if=eth3 > /proc/net/spi_enable [SYSTEM]/bin/echo spi=enable > /proc/net/spi_enable fw_pt [SYSTEM]/usr/sbin/killall -9 usb_httpd killall: usb_httpd: no process killed [SYSTEM]/bin/echo "enable_ipmac=0" > /proc/arp_protect_enable [flash.c::sc_get_region():327] Original Region Data: 00, 00, 00, 02 [SYSTEM]/bin/cp /usr/etc/crontab /etc/crontab [SYSTEM]iptables -t nat -I PREROUTING -i br0 -p udp --dport 53 -m dnshj -j DNAT --to 192.168.1.1 [flash.c::sc_get_region():327] Original Region Data: 00, 00, 00, 02 [SYSTEM]/bin/cp /usr/etc/crontab /etc/crontab [SYSTEM]/bin/echo GMT+0 > /etc/TZ [SYSTEM]echo 1 > /proc/net/ipt_condition/schedule sh: cannot create /proc/net/ipt_condition/schedule: nonexistent directory unlink running file </var/run/rc.firewall.run> [SYSTEM]/usr/sbin/mini_httpd -d /www -r "NETGEAR R6220" -c '**.cgi' -t 300& unlink running file </var/run/rc.httpd.run> [rc debug]/usr/sbin/rc remote_httpd start ap_name=remote_httpd action=start [rc.c::rc_action():803] rc_action before add remote_httpd - start rc action <remote_httpd @ start> before file_lock. rc action <remote_httpd @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.remote_httpd.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add remote_httpd - start [rc.c::rc_start():706] Calling Start function of remote_httpd unlink running file </var/run/rc.remote_httpd.run> [rc debug]/usr/sbin/rc dhcpd start ap_name=dhcpd action=start [rc.c::rc_action():803] rc_action before add dhcpd - start rc action <dhcpd @ start> before file_lock. rc action <dhcpd @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.dhcpd.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add dhcpd - start [rc.c::rc_start():706] Calling Start function of dhcpd killall: udhcpd: no process killed unlink running file </var/run/rc.dhcpd.run> [rc debug]/usr/sbin/rc ntp start ap_name=ntp action=start [rc.c::rc_action():803] rc_action before add ntp - start rc action <ntp @ start> before file_lock. rc action <ntp @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.ntp.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add ntp - start [rc.c::rc_start():706] Calling Start function of ntp [SYSTEM]/usr/sbin/netgear_ntp -z GMT+0& unlink running file </var/run/rc.ntp.run> [rc debug]/usr/sbin/rc route start ap_name=route action=start [rc.c::rc_action():803] rc_action before add route - start rc action <route @ start> before file_lock. rc action <route @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.route.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add route - start [rc.c::rc_start():706] Calling Start function of route unlink running file </var/run/rc.route.run> [dhcpd.c::udhcpd():116] udhcp server (v0.9.7) started [dhcpd.c::udhcpd():170] interface: br0, start : 201a8c0 end : fe01a8c0 [rc debug]/usr/sbin/rc ripd start ap_name=ripd action=start [rc.c::rc_action():803] rc_action before add ripd - start rc action <ripd @ start> before file_lock. rc action <ripd @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.ripd.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add ripd - start [rc.c::rc_start():706] Calling Start function of ripd unlink running file </var/run/rc.ripd.run> [rc debug]/usr/sbin/rc dnrd start ap_name=dnrd action=start [rc.c::rc_action():803] rc_action before add dnrd - start rc action <dnrd @ start> before file_lock. rc action <dnrd @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.dnrd.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add dnrd - start [rc.c::rc_start():706] Calling Start function of dnrd [SYSTEM]iptables -t nat -D PREROUTING -i br0 -p tcp --dport 80 -j DNAT --to 192.168.1.1:80 iptables: No chain/target/match by that name. [SYSTEM]iptables -t nat -D PREROUTING -i br0 -p udp --dport 53 -m dnshj -j DNAT --to 192.168.1.1 [SYSTEM]iptables -t nat -D PREROUTING -i br0 -p udp --dport 53 -j DNAT --to 192.168.1.1 iptables: No chain/target/match by that name. [SYSTEM]killall -9 dnrd killall: dnrd: no process killed [SYSTEM]iptables -t nat -D PREROUTING -i br0 -p udp --dport 53 -j DNAT --to 192.168.1.1 iptables: No chain/target/match by that name. [SYSTEM]iptables -t nat -I PREROUTING -i br0 -p udp --dport 53 -j DNAT --to 192.168.1.1 [SYSTEM]iptables -t nat -I PREROUTING -i br0 -p tcp --dport 80 -j DNAT --to 192.168.1.1:80 [SYSTEM]dnrd -a 192.168.1.1 -m hosts -c off -g routerlogin.com & unlink running file </var/run/rc.dnrd.run> [rc debug]/usr/sbin/rc potcounter start ap_name=potcounter action=start [rc.c::rc_action():803] rc_action before add potcounter - start rc action <potcounter @ start> before file_lock. rc action <potcounter @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.potcounter.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add potcounter - start [rc.c::rc_start():706] Calling Start function of potcounter unlink running file </var/run/rc.potcounter.run> [rc debug]/usr/sbin/rc lltd start ap_name=lltd action=start [rc.c::rc_action():803] rc_action before add lltd - start rc action <lltd @ start> before file_lock. rc action <lltd @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.lltd.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add lltd - start [rc.c::rc_start():706] Calling Start function of lltd Notice: caching turned off Warning: Using /etc/hosts will be removed in a future version. Please use only the /etc/dnrd/master file or use -m off. unlink running file </var/run/rc.lltd.run> [rc debug]/usr/sbin/rc usb_init start ap_name=usb_init action=start [rc.c::rc_action():803] rc_action before add usb_init - start rc action <usb_init @ start> before file_lock. rc action <usb_init @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.usb_init.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add usb_init - start [rc.c::rc_start():706] Calling Start function of usb_init [SYSTEM]/etc/mtk/mt7621_smp.sh wifi [SYSTEM]/bin/rm /etc/samba/secrets.tdb rm: cannot remove '/etc/samba/secrets.tdb': No such file or directory [SYSTEM]/usr/bin/killall -9 smbd >/dev/null 2>&1 [SYSTEM]/usr/bin/killall -9 nmbd >/dev/null 2>&1 [SYSTEM]/usr/bin/killall -9 bftpd >/dev/null 2>&1 [SYSTEM]/usr/sbin/killall -9 hd-idle killall: hd-idle: no process killed [SYSTEM]/usr/bin/killall -9 bftpd >/dev/null 2>&1 [SYSTEM]/usr/sbin/killall -9 hd-idle killall: hd-idle: no process killed unlink running file </var/run/rc.usb_init.run> [rc debug]/usr/sbin/rc debug_mode start ap_name=debug_mode action=start [rc.c::rc_action():803] rc_action before add debug_mode - start rc action <debug_mode @ start> before file_lock. rc action <debug_mode @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.debug_mode.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add debug_mode - start [rc.c::rc_start():706] Calling Start function of debug_mode unlink running file </var/run/rc.debug_mode.run> [rc debug]/usr/sbin/rc wifi_isolation start ap_name=wifi_isolation action=start [rc.c::rc_action():803] rc_action before add wifi_isolation - start rc action <wifi_isolation @ start> before file_lock. rc action <wifi_isolation @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.wifi_isolation.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add wifi_isolation - start [rc.c::rc_start():706] Calling Start function of wifi_isolation [SYSTEM]/bin/echo "lan_ip=192.168.1.1" > /proc/wifi_isolation sh: cannot create /proc/wifi_isolation: nonexistent directory [SYSTEM]/bin/echo "lan_netmask=255.255.255.0" > /proc/wifi_isolation sh: cannot create /proc/wifi_isolation: nonexistent directory unlink running file </var/run/rc.wifi_isolation.run> [rc debug]/usr/sbin/rc mediaserver start ap_name=mediaserver action=start [rc.c::rc_action():803] rc_action before add mediaserver - start rc action <mediaserver @ start> before file_lock. rc action <mediaserver @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.mediaserver.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add mediaserver - start [rc.c::rc_start():706] Calling Start function of mediaserver #### media server is disable unlink running file </var/run/rc.mediaserver.run> [rc debug]/usr/sbin/rc bridge_iptv_port start ap_name=bridge_iptv_port action=start [rc.c::rc_action():803] rc_action before add bridge_iptv_port - start rc action <bridge_iptv_port @ start> before file_lock. rc action <bridge_iptv_port @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.bridge_iptv_port.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add bridge_iptv_port - start unlink running file </var/run/rc.bridge_iptv_port.run> [rc.c::rc_action():803] rc_action before add bridge_iptv_port - start rc action <bridge_iptv_port @ start> before file_lock. rc action <bridge_iptv_port @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.bridge_iptv_port.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add bridge_iptv_port - start unlink running file </var/run/rc.bridge_iptv_port.run> can't find this application [rc.c::rc_action():803] rc_action before add bridge_iptv_port - start rc action <bridge_iptv_port @ start> before file_lock. rc action <bridge_iptv_port @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.bridge_iptv_port.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add bridge_iptv_port - start unlink running file </var/run/rc.bridge_iptv_port.run> can't find this application [rc debug]/usr/sbin/rc vlan start ap_name=vlan action=start [rc.c::rc_action():803] rc_action before add vlan - start rc action <vlan @ start> before file_lock. rc action <vlan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.vlan.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add vlan - start unlink running file </var/run/rc.vlan.run> [rc.c::rc_action():803] rc_action before add vlan - start rc action <vlan @ start> before file_lock. rc action <vlan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.vlan.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add vlan - start unlink running file </var/run/rc.vlan.run> can't find this application [rc.c::rc_action():803] rc_action before add vlan - start rc action <vlan @ start> before file_lock. rc action <vlan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.vlan.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add vlan - start unlink running file </var/run/rc.vlan.run> can't find this application [rc debug]/usr/sbin/rc dbus start ap_name=dbus action=start [rc.c::rc_action():803] rc_action before add dbus - start rc action <dbus @ start> before file_lock. rc action <dbus @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.dbus.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add dbus - start unlink running file </var/run/rc.dbus.run> [rc.c::rc_action():803] rc_action before add dbus - start rc action <dbus @ start> before file_lock. rc action <dbus @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.dbus.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add dbus - start unlink running file </var/run/rc.dbus.run> can't find this application [rc.c::rc_action():803] rc_action before add dbus - start rc action <dbus @ start> before file_lock. rc action <dbus @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.dbus.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add dbus - start unlink running file </var/run/rc.dbus.run> can't find this application =============rc finish run smp wifi run smp wifi done PID USER VSZ STAT COMMAND 1 root 1496 S init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [kworker/0:0] 5 root 0 SW [kworker/u:0] 6 root 0 SW [migration/0] 7 root 0 SW [migration/1] 8 root 0 SW [kworker/1:0] 9 root 0 SW [ksoftirqd/1] 10 root 0 SW< [khelper] 11 root 0 SW [kworker/1:1] 12 root 0 SW [sync_supers] 13 root 0 SW [bdi-default] 14 root 0 SW< [kblockd] 15 root 0 SW [khubd] 16 root 0 SW [kswapd0] 17 root 0 SW [fsnotify_mark] 18 root 0 SW< [xfs_mru_cache] 19 root 0 SW< [xfslogd] 20 root 0 SW< [xfsdatad] 21 root 0 SW< [xfsconvertd] 22 root 0 SW< [crypto] 29 root 0 SW [mtdblock0] 30 root 0 SW [mtdblock1] 31 root 0 SW [mtdblock2] 32 root 0 SW [mtdblock3] 33 root 0 SW [mtdblock4] 34 root 0 SW [mtdblock5] 35 root 0 SW [mtdblock6] 36 root 0 SW [mtdblock7] 37 root 0 SW [mtdblock8] 38 root 0 SW [mtdblock9] 39 root 0 SW [mtdblock10] 40 root 0 SW [mtdblock11] 41 root 0 SW [mtdblock12] 42 root 0 SW [mtdblock13] 43 root 0 SW [mtdblock14] 44 root 0 SW [mtdblock15] 45 root 0 SW [mtdblock16] 46 root 0 SW [mtdblock17] 47 root 0 SW [mtdblock18] 48 root 0 SW [mtdblock19] 49 root 0 SW [mtdblock20] 50 root 0 SW [mtdblock21] 51 root 0 SW [kworker/u:1] 58 root 0 SW [kworker/0:1] 60 root 1496 S /bin/sh /usr/etc/rcS 148 root 1032 S /sbin/klogd 150 root 920 S /usr/sbin/cmd_agent_ap 220 root 1024 S /sbin/access_logd 233 root 1136 S /sbin/access_devinfo 257 root 1212 S /usr/sbin/scfgmgr 288 root 0 SW [RtmpCmdQTask] 289 root 0 SW [RtmpWscTask] 290 root 0 SW [RtmpMlmeTask] 297 root 0 SW [RtmpCmdQTask] 298 root 0 SW [RtmpWscTask] 299 root 0 SW [RtmpMlmeTask] 320 root 1084 S miniupnpd_wsc -m 1 -I ra0 -P /var/run/miniupnpd.ra0 - 362 root 1092 S /sbin/syslogd -f /etc/syslog.conf 873 root 1048 S /usr/sbin/udhcpd /etc/udhcpd.conf 878 root 940 S /usr/sbin/netgear_ntp -z GMT+0 882 root 1444 S /usr/sbin/mini_httpd -d /www -r NETGEAR R6220 -c **.c 1523 root 928 S /usr/sbin/potcounter 1529 root 1432 S dnrd -a 192.168.1.1 -m hosts -c off -g routerlogin.co 1531 root 1144 S /usr/bin/lld2 br0 1573 root 940 S telnetenabled 192.168.1.1 XXXXXXXXXXXX [removed] admin password 1623 root 1496 R /bin/ps [rc debug]/usr/sbin/rc upnp start ap_name=upnp action=start [rc.c::rc_action():803] rc_action before add upnp - start rc action <upnp @ start> before file_lock. rc action <upnp @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.upnp.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add upnp - start unlink running file </var/run/rc.upnp.run> [rc.c::rc_action():803] rc_action before add upnp - start rc action <upnp @ start> before file_lock. rc action <upnp @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.upnp.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add upnp - start unlink running file </var/run/rc.upnp.run> can't find this application [rc.c::rc_action():803] rc_action before add upnp - start rc action <upnp @ start> before file_lock. rc action <upnp @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.upnp.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add upnp - start [rc.c::rc_start():706] Calling Start function of upnp [SYSTEM]route add -net 239.0.0.0 netmask 255.0.0.0 br0 [SYSTEM]/usr/sbin/miniupnpd -i eth3 -a 192.168.1.1 -p 56688 -U -t 1800 -T 4 -u 824ff22b-8c7d-41c5-a131-XXXXXXXXXXXX [removed] unlink running file </var/run/rc.upnp.run> route: SIOCADDRT: File exists [rc debug]/usr/sbin/rc schedule restart [rc.c::rc_action():803] rc_action before add schedule - restart rc action <schedule @ restart> before file_lock. rc action <schedule @ restart lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.schedule.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add schedule - restart unlink running file </var/run/rc.schedule.run> [rc.c::rc_action():803] rc_action before add schedule - restart rc action <schedule @ restart> before file_lock. rc action <schedule @ restart lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.schedule.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add schedule - restart [rc.c::rc_start():706] Calling Start function of schedule [flash.c::sc_get_region():327] Original Region Data: 00, 00, 00, 02 [SYSTEM]/bin/cp /usr/etc/crontab /etc/crontab /usr/etc/rcS: line 282: cannot create /proc/sys/net/ipv4/conf/wlan0/forwarding: nonexistent directory /usr/etc/rcS: line 283: cannot create /proc/sys/net/ipv4/conf/wlan0-va0/forwarding: nonexistent directory /usr/etc/rcS: line 287: cannot create /proc/sys/net/ipv4/conf/eth1/rp_filter: nonexistent directory [SYSTEM]/bin/echo GMT+0 > /etc/TZ [SYSTEM]echo 1 > /proc/net/ipt_condition/schedule unlink running file </var/run/rc.schedule.run> [rc debug]/usr/sbin/rc reset_lan start ap_name=reset_lan action=start [rc.c::rc_action():803] rc_action before add reset_lan - start rc action <reset_lan @ start> before file_lock. rc action <reset_lan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.reset_lan.run [rc debug]usr/sbin/rc wan start [SYSTEM]/usr/sbin/brctl delif br0 eth3 rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add reset_lan - start unlink running file </var/run/rc.reset_lan.run> [rc.c::rc_action():803] rc_action before add reset_lan - start rc action <reset_lan @ start> before file_lock. rc action <reset_lan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.reset_lan.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add reset_lan - start unlink running file </var/run/rc.reset_lan.run> can't find this application [rc.c::rc_action():803] rc_action before add reset_lan - start rc action <reset_lan @ start> before file_lock. rc action <reset_lan @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.reset_lan.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add reset_lan - start [rc.c::rc_start():706] Calling Start function of reset_lan down port 0 device eth3 is not a slave of br0 [SYSTEM]/usr/bin/killall netgear_ntp Set: phy[0].reg[0] = 1840 down port 1 Set: phy[1].reg[0] = 1840 [SYSTEM]/usr/bin/killall -SIGUSR2 miniupnpd down port 2 killall: ripd: no process killed Set: phy[2].reg[0] = 1840 down port 3 killall: zebra: no process killed Set: phy[3].reg[0] = 1840 killall: ripd: no process killed killall: zebra: no process killed [SYSTEM]/bin/echo 0 > /proc/sys/net/ipv4/conf/br0/forwarding [SYSTEM]/usr/sbin/iptables -t nat -F POSTROUTING [SYSTEM]/usr/sbin/iptables -t nat -A POSTROUTING -o eth3 -j MASQUERADE [SYSTEM]/bin/echo 1 > /proc/sys/net/ipv4/conf/br0/forwarding [SYSTEM]/usr/sbin/iptables -D PRE_BASIC -t nat -i eth3 -d ! (null) -j DROP sh: syntax error: "(" unexpected [SYSTEM]/bin/echo "#!/bin/sh" > /etc/ppp/ip-down [SYSTEM]/usr/bin/killall pppd killall: pppd: no process killed [SYSTEM]/usr/bin/killall openl2tpd killall: openl2tpd: no process killed [SYSTEM]/usr/bin/killall udhcpc killall: udhcpc: no process killed [SYSTEM]/usr/bin/killall pppoe-relay killall: pppoe-relay: no process killed [SYSTEM]/sbin/ifconfig eth3 0.0.0.0 >/dev/null 2>&1 [SYSTEM]/sbin/ifconfig eth3 down [SYSTEM]/sbin/ifconfig eth3 hw ether XX:XX:XX:XX:XX:XX [removed] [SYSTEM]/sbin/ifconfig eth3 up [SYSTEM]/sbin/ifconfig eth3 mtu 1500 [wan/wan.c::start_wan():1372] wan_mode is <dhcpc> [SYSTEM]/bin/echo 3 > /proc/sys/vm/drop_caches; /bin/insmod /lib/modules/2.6.36/kernel/net/nat/hw_nat/hw_nat.ko [SYSTEM]/usr/sbin/udhcpc -i eth3 -s /etc/udhcpc.script -H "R6220" & [wan/wan.c::start_wan():1456] ipv6 restart, v4 mode dhcpc v6 mode disable [SYSTEM]/usr/sbin/rc ipv6 restart [dhcpc.c::udhcpc():443] udhcp client (v0.9.7) started [clientpacket.c::send_discover():175] Sending discover... [rc debug]/usr/sbin/rc ipv6 restart ap_name=ipv6 action=restart [rc.c::rc_action():803] rc_action before add ipv6 - restart rc action <ipv6 @ restart> before file_lock. rc action <ipv6 @ restart lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.ipv6.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add ipv6 - restart unlink running file </var/run/rc.ipv6.run> [rc.c::rc_action():803] rc_action before add ipv6 - restart rc action <ipv6 @ restart> before file_lock. rc action <ipv6 @ restart lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.ipv6.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add ipv6 - restart unlink running file </var/run/rc.ipv6.run> can't find this application [rc.c::rc_action():803] rc_action before add ipv6 - restart rc action <ipv6 @ restart> before file_lock. rc action <ipv6 @ restart lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.ipv6.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add ipv6 - restart [rc.c::rc_stop():745] Calling Stop function of ipv6 [SYSTEM]/bin/echo 0 > /proc/sys/net/ipv6/conf/all/forwarding [SYSTEM]/usr/bin/killall dhcp6c killall: dhcp6c: no process killed [SYSTEM]/bin/killall pppd_ip6 killall: pppd_ip6: no process killed [SYSTEM]/usr/bin/killall radvd killall: radvd: no process killed [SYSTEM]/usr/bin/killall -9 dhcp6s killall: dhcp6s: no process killed [SYSTEM]/bin/killall -9 totd killall: totd: no process killed [SYSTEM]ip6tables -t filter -F up port 0 [SYSTEM]ip6tables -t mangle -F [SYSTEM]ip6tables -t raw -F [SYSTEM]ip6tables -t filter -X Set: phy[0].reg[0] = 1240 up port 1 [SYSTEM]ip6tables -t mangle -X [SYSTEM]ip6tables -t raw -X Set: phy[1].reg[0] = 1240 up port 2 [SYSTEM]ip6tables -t filter -P INPUT ACCEPT Set: phy[2].reg[0] = 1240 [SYSTEM]ip6tables -t filter -P FORWARD ACCEPT up port 3 [SYSTEM]ip6tables -C /tmp/rules6 Set: phy[3].reg[0] = 1240 unlink running file </var/run/rc.reset_lan.run> ip6tables v1.4.10: option `-C' requires an argument Try `ip6tables -h' or 'ip6tables --help' for more information. [SYSTEM]killall mld killall: mld: no process killed [SYSTEM]/sbin/ip -6 route flush dev tun6to4 Cannot find device "tun6to4" [SYSTEM]/sbin/ip link set dev tun6to4 down SIOCGIFFLAGS: No such device [SYSTEM]/sbin/ip tunnel del tun6to4 ioctl: No such device [SYSTEM]/sbin/rmmod ipv6_br.ko rmmod: ipv6_br.ko: No such file or directory [SYSTEM]/usr/bin/killall dhcp6c killall: dhcp6c: no process killed [SYSTEM]/usr/bin/killall ip6_autod killall: ip6_autod: no process killed [SYSTEM]/bin/rm -f /var/ip6prefix* [ipv6/ipv6.c::stop_ipv6():72] stop ip6 wan mode: (-1) [SYSTEM]/bin/ip -6 route del RTNETLINK answers: No such file or directory [SYSTEM]/bin/ip -6 route del RTNETLINK answers: No such file or directory [SYSTEM]/bin/ip -6 route del RTNETLINK answers: No such file or directory [SYSTEM]/bin/ip -6 route del RTNETLINK answers: No such file or directory [SYSTEM]/bin/ip -6 route del RTNETLINK answers: No such file or directory [SYSTEM]/bin/ip -6 route del RTNETLINK answers: No such file or directory [rc.c::rc_start():706] Calling Start function of ipv6 [ipv6/common.c::ip6_config_dump():146] lan_ifname = <br0> [ipv6/common.c::ip6_config_dump():147] wan_ifname = <eth3> [ipv6/common.c::ip6_config_dump():148] wan_l2_ifname = <eth3> [ipv6/common.c::ip6_config_dump():149] wan_ppp_ifname = <ppp6> [ipv6/common.c::ip6_config_dump():150] wan_mode = 0 [ipv6/common.c::ip6_config_dump():151] lan_mode = 2 [ipv6/common.c::ip6_config_dump():152] dhcp_account = <> [ipv6/common.c::ip6_config_dump():153] dhcp_domain = <> [ipv6/common.c::ip6_config_dump():154] pppoe_username = <> [ipv6/common.c::ip6_config_dump():155] pppoe_passwd = <> [ipv6/common.c::ip6_config_dump():156] pppoe_service = <> [ipv6/common.c::ip6_config_dump():157] custom_relay_router = 0 [ipv6/common.c::ip6_config_dump():158] relay_router = <> [ipv6/common.c::ip6_config_dump():159] fixed_wan_ipaddr = <> [ipv6/common.c::ip6_config_dump():160] fixed_gw_ipaddr = <> [ipv6/common.c::ip6_config_dump():161] fixed_wan_plen = 0 [ipv6/common.c::ip6_config_dump():162] fixed_lan_ipaddr = <> [ipv6/common.c::ip6_config_dump():163] fixed_lan_plen = 0 [ipv6/common.c::ip6_config_dump():164] fixed_dns1 = <> [ipv6/common.c::ip6_config_dump():165] fixed_dns2 = <> [ipv6/common.c::ip6_config_dump():166] custom_ifid_enable = 0 [ipv6/common.c::ip6_config_dump():169] ifid = <0000:0000:0000:0000> [ipv6/common.c::ip6_config_dump():171] ipv6ipv4ppp_one_session = 0 [ipv6/common.c::ip6_config_dump():172] ipv6_ppp_stateless = 0 [ipv6/common.c::ip6_config_dump():173] ipv6_dhcpc_no_na = 0 [SYSTEM]/bin/echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 [SYSTEM]/bin/echo 2 > /proc/sys/net/ipv6/conf/all/forwarding [ipv6/ipv6.c::start_ipv6():163] ipv6 is over layer2, open rs/ra on eth3 [SYSTEM]/bin/echo 3 > /proc/sys/net/ipv6/conf/eth3/router_solicitations [SYSTEM]/bin/echo 2 > /proc/sys/net/ipv6/conf/eth3/accept_ra [ipv6/ipv6.c::start_ipv6():167] ipv6 is over layer2 interface eth3, trigger wan send out router solicitation [SYSTEM]/bin/echo trigger_rs=1 > /proc/net/trigger_rs [SYSTEM]/bin/echo wan_if=eth3 > /proc/net/trigger_rs [ipv6/ipv6.c::start_ipv6():186] ip6 is disabled. unlink running file </var/run/rc.ipv6.run> [clientpacket.c::send_discover():175] Sending discover... [clientpacket.c::send_discover():175] Sending discover... [rc debug]/usr/sbin/rc usb_printer start ap_name=usb_printer action=start [rc.c::rc_action():803] rc_action before add usb_printer - start rc action <usb_printer @ start> before file_lock. rc action <usb_printer @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.usb_printer.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add usb_printer - start unlink running file </var/run/rc.usb_printer.run> [rc.c::rc_action():803] rc_action before add usb_printer - start rc action <usb_printer @ start> before file_lock. rc action <usb_printer @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.usb_printer.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add usb_printer - start unlink running file </var/run/rc.usb_printer.run> can't find this application [rc.c::rc_action():803] rc_action before add usb_printer - start rc action <usb_printer @ start> before file_lock. rc action <usb_printer @ start lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.usb_printer.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add usb_printer - start [rc.c::rc_start():706] Calling Start function of usb_printer [SYSTEM]/sbin/killall KC_BONJOUR killall: KC_BONJOUR: no process killed cable_down_once [SYSTEM]/sbin/killall KC_PRINT [rc debug]/usr/sbin/rc down_manage stop ap_name=down_manage action=stop [rc.c::rc_action():803] rc_action before add down_manage - stop rc action <down_manage @ stop> before file_lock. rc action <down_manage @ stop lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.down_manage.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add down_manage - stop unlink running file </var/run/rc.down_manage.run> [rc.c::rc_action():803] rc_action before add down_manage - stop rc action <down_manage @ stop> before file_lock. rc action <down_manage @ stop lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.down_manage.run rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add down_manage - stop unlink running file </var/run/rc.down_manage.run> can't find this application [rc.c::rc_action():803] rc_action before add down_manage - stop rc action <down_manage @ stop> before file_lock. killall: KC_PRINT: no process killed rc action <down_manage @ stop lock = 3> after file_lock. [SYSTEM]/bin/cp /proc/uptime /var/run/rc.down_manage.run [SYSTEM]/sbin/rmmod usblp rc action < unlock = 3> after file_lock. [rc.c::rc_action():811] rc_action after add down_manage - stop unlink running file </var/run/rc.down_manage.run> can't find this application rmmod: usblp: No such file or directory [SYSTEM]/sbin/rmmod NetUSB.ko [dhcpc.c::release_requested():161] Received SIGUSR2, state=0,sig=51 rmmod: NetUSB.ko: No such file or directory ================== interface=eth3 PATH=/bin:/sbin:/usr/sbin:/usr/bin HOME=/ route_related_options_del_file=/tmp/dhcpc_route_related_options_del ================== [SYSTEM]/sbin/rmmod GPL_NetUSB.ko rm: cannot remove '/tmp/wan_uptime': No such file or directory rmmod: GPL_NetUSB.ko: No such file o[clientpacket.c::send_discover():175] Sending discover... [clientpacket.c::send_discover():175] Sending discover... [clientpacket.c::send_discover():175] Sending discover... [clientpacket.c::send_discover():175] Sending discover... [clientpacket.c::send_discover():175] Sending discover... [clientpacket.c::send_discover():175] Sending discover... [clientpacket.c::send_discover():175] Sending discover...


OpenWrt bootlog 18.06.00

=================================================================== MT7621 stage1 code 13:15:05 (ASIC) CPU=50000000 HZ BUS=16666666 HZ ================================================================== Change MPLL source from XTAL to CR... do MEMPLL setting.. MEMPLL Config : 0x11100000 3PLL mode + External loopback === XTAL-40Mhz === DDR-1200Mhz === PLL2 FB_DL: 0x12, 1/0 = 750/274 49000000 PLL3 FB_DL: 0x12, 1/0 = 568/456 49000000 PLL4 FB_DL: 0x13, 1/0 = 628/396 4D000000 do DDR setting..[00320381] Apply DDR3 Setting...(use customer AC) 0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 -------------------------------------------------------------------------------- 0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 000E:| 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 000F:| 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0010:| 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0011:| 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 rank 0 coarse = 15 rank 0 fine = 72 B:| 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 opt_dle value:11 DRAMC_R0DELDLY[018]=00001E1F ================================================================== RX DQS perbit delay software calibration ================================================================== 1.0-15 bit dq delay value ================================================================== bit| 0 1 2 3 4 5 6 7 8 9 -------------------------------------- 0 | 13 9 13 10 14 9 13 7 6 13 10 | 8 14 9 12 9 11 -------------------------------------- ================================================================== 2.dqs window x=pass dqs delay value (min~max)center y=0-7bit DQ of every group input delay:DQS0 =31 DQS1 = 30 ================================================================== bit DQS0 bit DQS1 0 (1~56)28 8 (1~56)28 1 (1~57)29 9 (1~57)29 2 (1~57)29 10 (1~60)30 3 (1~59)30 11 (1~56)28 4 (1~58)29 12 (1~59)30 5 (1~59)30 13 (1~56)28 6 (1~58)29 14 (1~60)30 7 (1~61)31 15 (1~58)29 ================================================================== 3.dq delay value last ================================================================== bit| 0 1 2 3 4 5 6 7 8 9 -------------------------------------- 0 | 15 11 15 11 15 10 15 7 8 14 10 | 8 15 9 14 9 12 ================================================================== ================================================================== TX perbyte calibration ================================================================== DQS loop = 15, cmp_err_1 = ffff0800 dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1 DQS loop = 14, cmp_err_1 = ffff0000 dqs_perbyte_dly.last_dqsdly_pass[1]=14, finish count=2 DQ loop=15, cmp_err_1 = ffff01aa DQ loop=14, cmp_err_1 = ffff00a0 dqs_perbyte_dly.last_dqdly_pass[1]=14, finish count=1 DQ loop=13, cmp_err_1 = ffff0080 DQ loop=12, cmp_err_1 = ffff0000 dqs_perbyte_dly.last_dqdly_pass[0]=12, finish count=2 byte:0, (DQS,DQ)=(9,8) byte:1, (DQS,DQ)=(8,8) 20,data:89 [EMI] DRAMC calibration passed =================================================================== MT7621 stage1 code done CPU=50000000 HZ BUS=16666666 HZ =================================================================== U-Boot 1.1.3 (Sep 25 2015 - 10:29:47) Board: Ralink APSoC DRAM: 128 MB relocate_code Pointer at: 87fac000 Config XHCI 40M PLL Allocate 16 byte aligned buffer: 87fe1bb0 Enable NFI Clock # MTK NAND # : Use HW ECC NAND ID [C2 F1 80 95 02] Device found in MTK table, ID: c2f1, EXT_ID: 809502 Support this Device in MTK table! c2f1 select_chip [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16 Signature matched and data read! load_fact_bbt success 1023 load fact bbt success [mtk_nand] probe successfully! mtd->writesize=2048 mtd->oobsize=64, mtd->erasesize=131072 devinfo.iowidth=8 Env addr : 0x100000 .*** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.2.1.0 -------------------------------------------- ASIC MT7621AS (MAC to MT7530 Mode) DRAM_CONF_FROM: Auto-Detection DRAM_TYPE: DDR3 DRAM bus: 16 bit Xtal Mode=3 OCP Ratio=1/3 Flash component: NAND Flash Date:Sep 25 2015 Time:10:29:47 ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 880 MHZ #### estimate memory size =128 Mbytes Reset switch ... #Reset_MT7530 set LAN/WAN LLLLW ..Example expects ABI version 2 Actual U-Boot ABI version 2 ****************************************** Uboot StandAlone Entry ****************************************** 0, cmd 1, 0x0000000D cmd : 0x0000000D Press Ctrl+C to Enter the Main loop... Example expects ABI version 2 Actual U-Boot ABI version 2 ****************************************** Uboot StandAlone Entry ****************************************** 0, cmd 1, 0x0000000F cmd : 0x0000000F Enter NMRP_main Flash Sector Number : 1024. Bad block detected at 0x2d20000, oob_buf[0] is 0x0 NAND Section 9, has bad block at address c2920000, Image Offset 2d20000 NAND Section 9, has bad block count 1 NetTxPacket = 0x87FE5B40 KSEG1ADDR(NetTxPacket) = 0xA7FE5B40 NetLoop,call eth_halt ! NetLoop,call eth_init ! Trying Eth0 (10/100-M) Waitting for RX_DMA_BUSY status Start... done ETH_STATE_ACTIVE!! NMRP_FLASH_SIZE_buffer --> a1000000. NMRP:LISTENING ### No NMRP Server found ### KSEG1ADDR(NetTxPacket) = 0xA7FE5B40 NetLoop,call eth_halt ! NetLoop,call eth_init ! Trying Eth0 (10/100-M) ETH_STATE_ACTIVE!! STANDALONE_LOAD_ADDR is 0xa0600000 Example expects ABI version 2 Actual U-Boot ABI version 2 ****************************************** Uboot StandAlone Entry ****************************************** 0, boot Flash Sector Number : 1024. Bad block detected at 0x2d20000, oob_buf[0] is 0x0 NAND Section 9, has bad block at address c2920000, Image Offset 2d20000 NAND Section 9, has bad block count 1 *************************************************** Sercomm Boot Version 1.19.0 *************************************************** Upgrade flag check pass!Entering Firmware : Everything is OK. kernel addr :0xbfe00000 System Boot system code via Flash. ## Booting image at bfe00000 ... Image Name: MIPS OpenWrt Linux-4.14.54 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1816596 Bytes = 1.7 MB Load Address: 80001000 Entry Point: 80001000 ............................ Verifying Checksum ... OK Uncompressing Kernel Image ... OK commandline in boot is : <NULL> !!!! No initrd ## Transferring control to Linux (at address 80001000) ... ## Giving linux memsize in MB, 128 Starting kernel ... [ 0.000000] Linux version 4.14.54 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9)) #0 SMP Mon Jul 30 16:25:17 2018 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is Netgear R6220 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] VPE topology {2} total 2 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] random: get_random_bytes called from 0x80549740 with crng_init=0 [ 0.000000] percpu: Embedded 14 pages/cpu @8110f000 s26256 r8192 d22896 u57344 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0003843f [ 0.000000] Readback ErrCtl register=0003843f [ 0.000000] Memory: 123828K/131072K available (4593K kernel code, 242K rwdata, 564K rodata, 220K init, 270K bss, 7244K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 256 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.015487] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.087785] pid_max: default: 32768 minimum: 301 [ 0.097083] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110097] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.125520] Hierarchical SRCU implementation. [ 0.134687] smp: Bringing up secondary CPUs ... [ 0.144035] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.144043] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.144053] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.144187] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.204298] Synchronize counters for CPU 1: done. [ 0.263957] smp: Brought up 1 node, 2 CPUs [ 0.275344] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.294808] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.307020] pinctrl core: initialized pinctrl subsystem [ 0.317936] NET: Registered protocol family 16 [ 0.333087] Can't analyze schedule() prologue at 80477e04 [ 0.344464] pull PCIe RST: RALINK_RSTCTRL = 0 [ 0.653379] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.663446] ***** Xtal 40MHz ***** [ 0.670175] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.680382] Port 0 N_FTS = 1b102800 [ 0.687279] Port 1 N_FTS = 1b102800 [ 0.694202] Port 2 N_FTS = 1b102800 [ 1.852570] PCIE1 no card, disable it(RST&CLK) [ 1.861261] -> 12007f2 [ 1.866078] PCIE0 enabled [ 1.871274] PCIE2 enabled [ 1.876460] PCI host bridge /pcie@1e140000 ranges: [ 1.885986] MEM 0x0000000060000000..0x000000006fffffff [ 1.896342] IO 0x000000001e160000..0x000000001e16ffff [ 1.906710] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000 [ 1.931812] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.943253] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.954461] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.966663] PCI host bridge to bus 0000:00 [ 1.974692] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.988350] pci_bus 0000:00: root bus resource [io 0xffffffff] [ 2.000082] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 2.013565] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 2.030143] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.045933] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.063265] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 2.076290] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.090113] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 2.103235] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.117069] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 2.130549] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 2.144884] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 2.158369] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff] [ 2.171850] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff] [ 2.185330] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 2.199849] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 2.214180] pci 0000:00:00.0: PCI bridge to [bus 01] [ 2.224016] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 2.237508] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 2.251864] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 2.265327] pci 0000:00:01.0: PCI bridge to [bus 02] [ 2.275165] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 2.290138] clocksource: Switched to clocksource GIC [ 2.301606] NET: Registered protocol family 2 [ 2.310955] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 2.324694] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 2.337296] TCP: Hash tables configured (established 1024 bind 1024) [ 2.350022] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 2.361527] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 2.374172] NET: Registered protocol family 1 [ 2.620073] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 2.631144] Crashlog allocated RAM at address 0x3f00000 [ 2.641657] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 2.662585] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.674102] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 2.697159] io scheduler noop registered [ 2.704867] io scheduler deadline registered (default) [ 2.715642] gpio-export gpio_export: 1 gpio(s) exported [ 2.726742] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 2.743231] console [ttyS0] disabled [ 2.750285] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 14, base_baud = 3125000) is a 16550A [ 2.768217] console [ttyS0] enabled [ 2.768217] console [ttyS0] enabled [ 2.782014] bootconsole [early0] disabled [ 2.782014] bootconsole [early0] disabled [ 2.798680] cacheinfo: Failed to find cpu0 device node [ 2.808956] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 2.821942] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error [ 2.835939] Enable NFI Clock [ 2.841716] # MTK NAND # : Use HW ECC [ 2.849008] Device not found, ID: c2f1 [ 2.856460] Not Support this Device! [ 2.863919] chip_mode=00000001 [ 2.869982] Support this Device in MTK table! c2f1 [ 2.879866] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16 [ 2.892735] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1 [ 2.905378] nand: Macronix NAND 128MiB 3,3V 8-bit [ 2.914738] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 2.929818] Scanning device for bad blocks [ 3.022795] Bad eraseblock 361 at 0x000002d20000 [ 3.187337] 6 fixed-partitions partitions found on MTD device MT7621-NAND [ 3.200853] Creating 6 MTD partitions on "MT7621-NAND": [ 3.211259] 0x000000000000-0x000000100000 : "u-boot" [ 3.222256] 0x000000100000-0x000000200000 : "SC PID" [ 3.233158] 0x000000200000-0x000000600000 : "kernel" [ 3.244073] 0x000000600000-0x000002200000 : "ubi" [ 3.254665] 0x000002e00000-0x000002f00000 : "factory" [ 3.265750] 0x000004200000-0x000007e00000 : "reserved" [ 3.277464] [mtk_nand] probe successfully! [ 3.286324] Signature matched and data read! [ 3.294819] load_fact_bbt success 1023 [ 3.303026] libphy: Fixed MDIO Bus: probed [ 3.382515] mtk_soc_eth 1e100000.ethernet: generated random MAC address 66:89:d8:ed:1e:fe [ 3.398976] libphy: mdio: probed [ 4.805034] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver [ 4.817579] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 16 [ 4.836902] NET: Registered protocol family 10 [ 4.847257] Segment Routing with IPv6 [ 4.854699] NET: Registered protocol family 17 [ 4.863616] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 4.889399] 8021q: 802.1Q VLAN Support v1.8 [ 4.898196] random: fast init done [ 4.901070] UBI: auto-attach mtd3 [ 4.901099] ubi0: attaching mtd3 [ 5.158754] ubi0: scanning is finished [ 5.181287] ubi0: attached mtd3 (name "ubi", size 28 MiB) [ 5.192092] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 5.205787] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 5.219297] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 5.233159] ubi0: good PEBs: 224, bad PEBs: 0, corrupted PEBs: 0 [ 5.245120] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 5.259496] ubi0: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 1545150004 [ 5.277684] ubi0: available PEBs: 0, total reserved PEBs: 224, PEBs reserved for bad PEB handling: 20 [ 5.296061] ubi0: background thread "ubi_bgt0d" started, PID 354 [ 5.297913] block ubiblock0_0: created from ubi0:0(rootfs) [ 5.297926] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 5.297944] hctosys: unable to open rtc device (rtc0) [ 5.349781] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 5.364547] Freeing unused kernel memory: 220K [ 5.373438] This architecture does not have kernel memory protection. [ 5.894747] init: Console is alive [ 5.901784] init: - watchdog - [ 6.360741] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 6.471553] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.562112] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up [ 6.568166] usbcore: registered new interface driver usbfs [ 6.568270] usbcore: registered new interface driver hub [ 6.568423] usbcore: registered new device driver usb [ 6.579487] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 6.579543] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1 [ 6.590368] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010 [ 6.590490] xhci-mtk 1e1c0000.xhci: irq 15, io mem 0x1e1c0000 [ 6.591812] hub 1-0:1.0: USB hub found [ 6.591973] hub 1-0:1.0: 2 ports detected [ 6.592608] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 6.592640] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2 [ 6.592667] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed [ 6.593005] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.594100] hub 2-0:1.0: USB hub found [ 6.594253] hub 2-0:1.0: 1 port detected [ 6.598289] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.758640] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up [ 6.790477] init: - preinit - [ 7.499553] mtk_soc_eth 1e100000.ethernet: PPE started 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 [ 7.594641] random: procd: uninitialized urandom read (4 bytes read) [ 10.735068] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 447 [ 10.808492] UBIFS (ubi0:1): recovery needed [ 10.964045] UBIFS (ubi0:1): recovery completed [ 10.973051] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 10.988647] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 11.008390] UBIFS (ubi0:1): FS size: 21585920 bytes (20 MiB, 170 LEBs), journal size 1142784 bytes (1 MiB, 9 LEBs) [ 11.028999] UBIFS (ubi0:1): reserved for root: 1019556 bytes (995 KiB) [ 11.042004] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 2628C8EE-F761-407F-A410-79AF03F1FDD6, small LPT model [ 11.072374] mount_root: switching to ubifs overlay [ 11.108500] urandom-seed: Seeding with /etc/urandom.seed [ 11.215756] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818 [ 11.241443] procd: - early - [ 11.247266] procd: - watchdog - [ 11.930251] procd: - watchdog - [ 11.936788] procd: - ubus - [ 12.015173] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.034388] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.047485] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.061002] procd: - init - Please press Enter to activate this console. [ 12.482104] kmodloader: loading kernel modules from /etc/modules.d/* [ 12.498680] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 12.857576] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 12.873594] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 12.888677] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.214600] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 13.417507] usbcore: registered new interface driver usblp [ 13.439215] xt_time: kernel timezone is -0000 [ 13.664149] bus=0x2, slot = 0x1, irq=0xff [ 13.672245] PCI: Enabling device 0000:00:01.0 (0004 -> 0006) [ 13.683689] mt7603e 0000:02:00.0: ASIC revision: 76030010 [ 13.696320] mt7603e 0000:02:00.0: Invalid MAC address, using random address 8a:24:63:00:23:08 [ 13.714687] mt7603e 0000:02:00.0: Firmware Version: ap_pcie [ 13.725860] mt7603e 0000:02:00.0: Build Time: 20160107100755 [ 13.770114] firmware init done [ 13.948144] bus=0x1, slot = 0x0, irq=0xff [ 13.956251] PCI: Enabling device 0000:00:00.0 (0004 -> 0006) [ 13.967856] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ 13.980158] mt76x2e 0000:01:00.0: EEPROM data check failed: ffff [ 13.993037] mt76x2e 0000:01:00.0: Invalid MAC address, using random address ca:36:9c:2d:db:ed [ 14.030950] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 14.147599] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ 14.158734] mt76x2e 0000:01:00.0: Build: 1 [ 14.166975] mt76x2e 0000:01:00.0: Build Time: 201507311614____ [ 14.200212] mt76x2e 0000:01:00.0: Firmware running! [ 14.223596] PPP generic driver version 2.4.2 [ 14.235071] NET: Registered protocol family 24 [ 14.248057] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.081373] urandom_read: 5 callbacks suppressed [ 15.081386] random: jshn: uninitialized urandom read (4 bytes read) [ 20.832553] mtk_soc_eth 1e100000.ethernet: PPE started [ 20.856442] br-lan: port 1(eth0.1) entered blocking state [ 20.867291] br-lan: port 1(eth0.1) entered disabled state [ 20.878925] device eth0.1 entered promiscuous mode [ 20.888534] device eth0 entered promiscuous mode [ 20.901387] br-lan: port 1(eth0.1) entered blocking state [ 20.912198] br-lan: port 1(eth0.1) entered forwarding state [ 20.923690] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 21.840530] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 22.891034] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 44.268786] random: crng init done


Notes

Space for additional notes, links to forum threads or other resources.

Tags

toh/netgear/netgear_r6220.txt · Last modified: 2019/05/03 21:54 by rsterz