Lava lr25g001 support (mt7620a+mt7610e+qca/ar8327)

hi all.There go lava lr25g001 (very similar to the netgear r6150) , I was able to almost completely ported to lede him except one-the ar8327 switch refuses to work.Below I attach the dts and bootlog

dts

/dts-v1/;

#include "mt7620a.dtsi"

#include <dt-bindings/input/input.h>

/ {
compatible = "lava_lr-25g001", "ralink,mt7620a-soc";
model = "LAVA LR-25G001";

memory@0 {
	device_type = "memory";
	reg = <0x0 0x4000000>;
};

chosen {
	bootargs = "console=ttyS0,115200 ";
};

 gpio-leds {
            compatible = "gpio-leds";

            status {
	label = "lava:status";
		gpios = <&gpio0 14 1>;
            };
	wifi2g {
	label = "lava:wifi2g";
		gpios = <&gpio0 11 1>;
	};
	wifi5g {
	label = "lava:wifi5g";
		 gpios = <&gpio0 13 1>;
	};
};
gpio_export {
            compatible = "gpio-export";
            #size-cells = <0>;

            usbpower {
                    gpio-export,name = "usbpower";
                    gpio-export,output = <1>;
                    gpios = <&gpio0 12 1>;
            };
};

};

&spi0 {

	status = "okay";

    mx25l12805d@0 {
            #address-cells = <1>;
            #size-cells = <1>;
            compatible = "jedec,spi-nor";
            reg = <0 0>;
            spi-max-frequency = <10000000>;
            m25p,chunked-io = <32>;

	partition@0 {
		label = "uboot ";
		reg = <0x0 0x50000>;
		read-only;
	};

	firmware: partition@50000 {	
		label = "firmware";
		reg = <0x50000 0xeb0000>;
	};

	UI: partition@f10010 {
		label = "UI";
		reg = <0xf00010 0xefff0>;
		read-only;
	};

	config: partition@ff0000 {
		label = "config";
		reg = <0xff0000 0x10000>;
	};
};

};

&gpio1 {
status = "okay";
};

&gpio2 {
status = "okay";
};

&gpio3 {
status = "okay";
};

&pcie {
status = "okay";
};

&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";
};

            pa {
                    ralink,group = "pa";
                    ralink,function = "pa";
            };

    };

};

&ethernet {
status = "okay";
mtd-mac-address = <&config 0xe07e>;
pinctrl-names = "default";
pinctrl-0 = < &rgmii2_pins &mdio_pins>;
mediatek,portmap = "wllll";

    port@4 {
            status = "okay";
            phy-handle = <&phy4>;
            phy-mode = "rgmii";
    };

    mdio-bus {
            status = "okay";

            phy4: ethernet-phy@4 {
                    reg = <4>;
                    phy-mode = "rgmii";
			qca,ar8327-initvals = <
                            0x04 0x07600000 /* PORT0 PAD MODE CTRL */
                            0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
                            0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
                            0x50 0xc437c437 /* LED Control Register 0 */
                            0x54 0xc337c337 /* LED Control Register 1 */
                            0x58 0x00000000 /* LED Control Register 2 */
                            0x5c 0x03ffff00 /* LED Control Register 3 */
                            0x7c 0x0000007e /* PORT0_STATUS */
                            0x94 0x0000007e /* PORT6 STATUS */
                    >;

            };

    };

};

&gsw {
mediatek,port4 = "gmac";

};

&wmac {
ralink,mtd-eeprom = <&config 0xe290 200>;
};

&ehci {
status = "okay";
};

&ohci {
status = "okay";
};[/details]

[details=bootlog][ 0.000000] Linux version 4.4.74 (leks@kamensktel.ru) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4496-24043a0) ) #0 Thu Jun 29 08:37:36 2017
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is LAVA LR-25G001
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=000546e0
[ 0.000000] Readback ErrCtl register=000546e0
[ 0.000000] Memory: 60168K/65536K available (3314K kernel code, 161K rwdata, 828K rodata, 168K init, 223K bss, 5368K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007568] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.070074] pid_max: default: 32768 minimum: 301
[ 0.074695] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094776] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104325] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110377] pinctrl core: initialized pinctrl subsystem
[ 0.116138] NET: Registered protocol family 16
[ 0.385334] PCI host bridge /pcie@10140000 ranges:
[ 0.389937] MEM 0x0000000020000000..0x000000002fffffff
[ 0.394991] IO 0x0000000010160000..0x000000001016ffff
[ 0.413981] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.419360] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.425718] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.431084] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.437366] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.442729] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.449023] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.454305] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.461478] usbcore: registered new interface driver usbfs
[ 0.466834] usbcore: registered new interface driver hub
[ 0.472063] usbcore: registered new device driver usb
[ 0.477028] FPGA manager framework
[ 0.480535] PCI host bridge to bus 0000:00
[ 0.484498] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.491124] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.496881] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.503466] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.521487] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.527851] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 0.534631] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[ 0.541206] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[ 0.547821] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[ 0.554398] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 0.560998] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.565805] pci 0000:00:00.0: bridge window [mem 0x20000000-0x201fffff]
[ 0.572424] pci 0000:00:00.0: card - bus=0x0, slot = 0x0 irq=0
[ 0.578097] pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[ 0.583776] pci 0000:01:00.1: card - bus=0x1, slot = 0x0 irq=4
[ 0.630770] DMA-API: preallocated 65536 debug entries
[ 0.635626] DMA-API: debugging enabled by kernel config
[ 0.640719] clocksource: Switched to clocksource systick
[ 0.647498] NET: Registered protocol family 2
[ 0.652596] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.659323] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.665542] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.671762] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.677390] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.683767] NET: Registered protocol family 1
[ 0.691836] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.698927] Crashlog allocated RAM at address 0x3f00000
[ 0.719745] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.725424] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_NONE) (c) 2001-2006 Red Hat, Inc.
[ 0.742679] io scheduler noop registered (default)
[ 0.747279] io scheduler deadline registered
[ 0.751520] io scheduler cfq registered
[ 0.755515] ralink-usb-phy usbphy: invalid resource
[ 0.760956] gpio-export gpio_export: 1 gpio(s) exported
[ 0.767252] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.775083] console [ttyS0] disabled
[ 0.778524] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.788200] console [ttyS0] enabled
[ 0.788200] console [ttyS0] enabled
[ 0.795228] bootconsole [early0] disabled
[ 0.795228] bootconsole [early0] disabled
[ 0.811984] null: module loaded
[ 0.818476] spi spi0.0: force spi mode3
[ 0.823169] m25p80 spi0.0: using chunked io (size=32)
[ 0.828330] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.833558] 4 ofpart partitions found on MTD device spi0.0
[ 0.840920] Creating 4 MTD partitions on "spi0.0":
[ 0.845824] 0x000000000000-0x000000050000 : "uboot "
[ 0.852738] 0x000000050000-0x000000f00000 : "firmware"
[ 0.948395] 2 uimage-fw partitions found on MTD device firmware
[ 0.954485] 0x000000050000-0x0000001b0738 : "kernel"
[ 0.961222] 0x0000001b0738-0x000000f00000 : "rootfs"
[ 0.968078] mtd: device 4 (rootfs) set to be root filesystem
[ 0.974070] 1 squashfs-split partitions found on MTD device rootfs
[ 0.980386] 0x000000510000-0x000000f00000 : "rootfs_data"
[ 0.987797] 0x000000f00010-0x000000ff0000 : "UI"
[ 0.994388] 0x000000ff0000-0x000001000000 : "config"
[ 1.004755] libphy: mdio: probed
[ 1.010772] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus
[ 1.017762] mtk_soc_eth 10100000.ethernet: connected port 4 to PHY at mdio-bus:04 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[ 1.030107] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.036979] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.046311] rt2880_wdt 10000120.watchdog: Initialized
[ 1.053453] NET: Registered protocol family 10
[ 1.062301] NET: Registered protocol family 17
[ 1.066933] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.079877] 8021q: 802.1Q VLAN Support v1.8
[ 1.102255] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.110374] Freeing unused kernel memory: 168K (80436000 - 80460000)
[ 3.757074] init: Console is alive
[ 3.760897] init: - watchdog -
[ 6.250541] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.331457] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.339889] ehci-platform: EHCI generic platform driver
[ 6.355715] phy phy-usbphy.0: remote usb device wakeup disabled
[ 6.361773] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 6.366338] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 6.372253] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 6.380451] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 6.391713] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 6.398367] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.405334] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.412732] usb usb1: Product: EHCI Host Controller
[ 6.417712] usb usb1: Manufacturer: Linux 4.4.74 ehci_hcd
[ 6.423237] usb usb1: SerialNumber: 101c0000.ehci
[ 6.429282] hub 1-0:1.0: USB hub found
[ 6.433466] hub 1-0:1.0: 1 port detected
[ 6.440676] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.448427] ohci-platform: OHCI generic platform driver
[ 6.454219] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 6.461178] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 6.469407] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 6.499008] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 6.505985] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.513356] usb usb2: Product: Generic Platform OHCI controller
[ 6.519411] usb usb2: Manufacturer: Linux 4.4.74 ohci_hcd
[ 6.524936] usb usb2: SerialNumber: 101c1000.ohci
[ 6.530964] hub 2-0:1.0: USB hub found
[ 6.535161] hub 2-0:1.0: 1 port detected
[ 6.547758] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.559345] init: - preinit -
[ 7.911503] 8021q: adding VLAN 0 to HW filter on device eth0
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
[ 8.483921] mtk_soc_eth 10100000.ethernet eth0: port 4 link up (1000Mbps/Full duplex)
[ 9.139278] jffs2: notice: (410) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 9.158095] mount_root: switching to jffs2 overlay
[ 9.187696] urandom-seed: Seeding with /etc/urandom.seed
[ 9.320338] procd: - early -
[ 9.323397] procd: - watchdog -
[ 9.772315] procd: - watchdog -
[ 9.775809] procd: - ubus -
[ 9.869963] mtk_soc_eth 10100000.ethernet eth0: port 4 link down
[ 9.878055] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.887798] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.897080] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.906549] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.915798] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.928057] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.937504] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.947159] procd: - init -
Please press Enter to activate this console.
[ 10.393653] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.472969] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.489337] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 10.497584] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 11.421071]
[ 11.421071]
[ 11.421071] === pAd = c0601000, size = 1748424 ===
[ 11.421071]
[ 11.430928] <-- RTMPAllocTxRxRingMemory, Status=0
[ 11.436966] <-- RTMPAllocAdapterBlock, Status=0
[ 11.441620] device_id =0x7650
[ 11.445056] ==>MT76x0_WLAN_ChipOnOff(): OnOff:1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 11.454157] MACVersion = 0x76502000
[ 11.473142] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.497210] nf_conntrack version 0.5.0 (942 buckets, 3768 max)
[ 11.603407] xt_time: kernel timezone is -0000
[ 11.618721] PPP generic driver version 2.4.2
[ 11.626054] NET: Registered protocol family 24
[ 11.648411] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "config"
[ 11.655776] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 11.663705] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 11.783987] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.673021] random: jshn: uninitialized urandom read (4 bytes read, 23 bits of entropy available)
[ 12.779233] random: ubusd: uninitialized urandom read (4 bytes read, 23 bits of entropy available)
[ 12.788776] random: ubus: uninitialized urandom read (4 bytes read, 23 bits of entropy available)
[ 20.757775] 8021q: adding VLAN 0 to HW filter on device eth0
[ 20.786360] device eth0.1 entered promiscuous mode
[ 20.791353] device eth0 entered promiscuous mode
[ 20.802608] br-lan: port 1(eth0.1) entered forwarding state
[ 20.808343] br-lan: port 1(eth0.1) entered forwarding state
[ 20.831841] mtk_soc_eth 10100000.ethernet eth0: port 4 link up (1000Mbps/Full duplex)
[ 22.801287] br-lan: port 1(eth0.1) entered forwarding state
[ 41.915340] random: nonblocking pool is initialized

For info: https://wikidevi.com/wiki/Lava_LR-25G001

only stock bootloader there is Jboot
U-boot I compile for this board

stock bootlog
CDW57CAM_003 Jboot B695
Giga Switch AR8327 init
AR8327/AR8337 id   ==> 0x1302
JRecovery Version R1.2 2014/04/01 18:25
SPI FLASH: MX25l12805d 16M
.
.....................
Starting kernel @80000000...

LINUX started...

 THIS IS ASIC
Linux version 2.6.36 (leaf@SI) (gcc version 4.3.5 (Buildroot 2011.05) ) #14 PREE                                                                                                             MPT Fri Jun 6 14:33:20 CST 2014
CMD_LINE:console=ttyS1,57600n8 root=/dev/mtdblock3

 The CPU feqenuce set to 580 MHz
 PCIE: bypass PCIe DLL.
 PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
 disable all power about PCIe
CPU revision is: 00019650 (MIPS 24Kc)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock3
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=000166a0
Readback ErrCtl register=000166a0
Memory: 60620k/65536k available (3305k kernel code, 4916k reserved, 760k data, 1                                                                                                             72k init, 0k highmem)
Hierarchical RCU implementation.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
Console: colour dummy device 80x25
console [ttyS1] enabled
Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
RALINK_GPIOMODE = 40009d
RALINK_GPIOMODE = 40009d
PPLL_CFG1=0xe7c000
MT7620 PPLL lock
PPLL_DRV =0x80080504
start PCIe register access
RALINK_PCI_PCICFG_ADDR = 1000f0

*************** MT7620 PCIe RC mode *************
bio: create slab <bio-0> at 0
vgaarb: loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
pci 0000:00:00.0: BAR 1: set to [mem 0x20200000-0x2020ffff] (PCI address [0x2020                                                                                                             0000-0x2020ffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x200fffff] (PCI address [0x2000                                                                                                             0000-0x200fffff]
pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
pci 0000:01:00.1: BAR 0: set to [mem 0x20100000-0x201fffff] (PCI address [0x2010                                                                                                             0000-0x201fffff]
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 0x20000000-0x201fffff]
pci 0000:00:00.0:   bridge window [mem pref disabled]
BAR0 at slot 0 = 0
bus=0x0, slot = 0x0
res[0]->start = 0
res[0]->end = 0
res[1]->start = 20200000
res[1]->end = 2020ffff
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
res[0]->start = 20000000
res[0]->end = 200fffff
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=0x1, slot = 0x0
res[0]->start = 20100000
res[0]->end = 201fffff
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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RT3xxx EHCI/OHCI init.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 118
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
HDLC line discipline maxframe=4096
N_HDLC line discipline registered.
Ralink gpio driver initialized
Enable Ralink GDMA Controller Module
GDMA IP Version=3
======================================
   SPI driver, modified by Jason
======================================
<-----
0x60: 0x0040009d
-----
spidrv_major = 217
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
brd: module loaded
deice id : c2 20 18 c2 20 (2018c220)
MX25L12805D(c2 2018c220) (16384 Kbytes)
mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeras                                                                                                             eregions = 4096
Creating 6 MTD partitions on "raspi":
0x000000000000-0x000001000000 : "Whole"
0x000000000000-0x000000010000 : "Bootloader"
0x000000010000-0x000000150000 : "Kernel"
0x000000180000-0x000000f10000 : "RootFS"
0x000000f10010-0x000000ff0000 : "UI"
mtd: partition "UI" doesn't start on an erase block boundary -- force read-only
0x000000ff0000-0x000001000000 : "Config"
rdm_major = 253
SMACCR1 -- : 0x0000000c
SMACCR0 -- : 0x432880f8
Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocate                                                                                                             d, mtu = 1500!
NAPI enable, Tx Ring = 256, Rx Ring = 256
SMACCR1 -- : 0x0000000c
SMACCR0 -- : 0x432880f1
PROC INIT OK!
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
u32 classifier
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (947 buckets, 3788 max)
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
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: 172k freed
Algorithmics/MIPS FPU Emulator v1.5
Inter-|   Receive       Raeth v3.0 (  NAPI
  ,SkbRecycle  )

phy_tx_ring = 0x03f74000, tx_ring = 0xa3f74000

phy_rx_ring0 = 0x03f75000, rx_ring0 = 0xa3f75000
Search Phy: 0x0 ,0x4d ,0xd036
Find AR8327/8337 GiGa switch 0x4d ,0xd036
AR8327 id       ==> 0x1302
SMACCR1 -- : 0x0000000c
SMACCR0 -- : 0x432880f1
  ESW: Link Status Changed - Port5 Link UP
  CDMA_CSG_CFG = 81000000
  GDMA1_FWD_CFG = 20710000
                        |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packe                                                                                                             ts errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0                                                                                                                    0    0    0    0     0       0          0
  eth2:       0       0    0    0    0     0          0         0        0                                                                                                                    0    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0                                                                                                                    0    0    0    0     0       0          0
 flash_open: flash_fd=3
Mount D Section.
mount: /dev/mtdblock4 is write-protected, mounting read-only
addrconf_dad_completed 7
 flash_open: flash_fd=10
Set gpio_range = 0, dir = 5800
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
sw
 write athero reg off:614 val:80000001
itch reg write_athr offset=614, value=80000001
sw
 write athero reg off:424 val:280
itch reg write_athr offset=424, value=280
sw
 write athero reg off:48 val:28100
itch reg write_athr offset=48, value=28100
sw
 write athero reg off:42c val:80
itch reg write_athr offset=42c, value=80
sw
 write athero reg off:434 val:80
itch reg write_athr offset=434, value=80
sw
 write athero reg off:43c val:80
itch reg write_athr offset=43c, value=80
sw
 write athero reg off:444 val:80
itch reg write_athr offset=444, value=80
sw
 write athero reg off:44c val:80
itch reg write_athr offset=44c, value=80
switch reg write offset=200c, value=fff10
switch reg write offset=210c, value=fff10
switch reg write offset=220c, value=fff10
switch reg write offset=230c, value=fff10
switch reg write offset=240c, value=fff10
switch reg write offset=250c, value=fff10
switch reg write offset=260c, value=fff10
switch reg write offset=80, value=8002
sw
 write athero reg off:610 val:1b3fc0
itch reg write_athr offset=610, value=1b3fc0
sw
 write athero reg off:614 val:80020002
itch reg write_athr offset=614, value=80020002
sw
 write athero reg off:69c val:40201
itch reg write_athr offset=69c, value=40201
sw
 write athero reg off:448 val:20002
itch reg write_athr offset=448, value=20002
sw
 write athero reg off:90 val:2b0
itch reg write_athr offset=90, value=2b0
vconfig: ioctl error for add: File exists
sw
 write athero reg off:610 val:1bc000
itch reg write_athr offset=610, value=1bc000
sw
 write athero reg off:614 val:80010002
itch reg write_athr offset=614, value=80010002
sw
 write athero reg off:690 val:14020f
itch reg write_athr offset=690, value=14020f
sw
 write athero reg off:440 val:10001
itch reg write_athr offset=440, value=10001
sw
 write athero reg off:8c val:2b0
itch reg write_athr offset=8c, value=2b0
sw
 write athero reg off:684 val:140217
itch reg write_athr offset=684, value=140217
sw
 write athero reg off:438 val:10001
itch reg write_athr offset=438, value=10001
sw
 write athero reg off:88 val:2b0
itch reg write_athr offset=88, value=2b0
sw
 write athero reg off:678 val:14021b
itch reg write_athr offset=678, value=14021b
sw
 write athero reg off:430 val:10001
itch reg write_athr offset=430, value=10001
sw
 write athero reg off:84 val:2b0
itch reg write_athr offset=84, value=2b0
sw
 write athero reg off:66c val:14021d
itch reg write_athr offset=66c, value=14021d
sw
 write athero reg off:428 val:10001
itch reg write_athr offset=428, value=10001
sw
 write athero reg off:80 val:2b0
itch reg write_athr offset=80, value=2b0
Set port eth2.1.0
vconfig: ioctl error for add: File exists
device eth2 entered promiscuous mode
set hello timer failed: Invalid argument
device eth2.1 entered promiscuous mode
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
Set port eth2.2.0
vconfig: ioctl error for add: File exists
, Enable: 1
, Enable: 0
Wireless 5G AP0, Enable: 1
Wireless 5G Aphy 5, reg 0, val 0x800
P1, Enable: 1
Set: phy[5].reg[0] = 0800
phy 4, reg 0, val 0x800
Set: phy[4].reg[0] = 0800
phy 3, reg 0, val 0x800
Set: phy[3].reg[0] = 0800
phy 2, reg 0, val 0x800
Set: phy[2].reg[0] = 0800
phy 1, reg 0, val 0x800
Set: phy[1].reg[0] = 0800
sw
 write athero reg off:660 val:14023e
itch reg write_athr offset=660, value=14023e
sw
 write athero reg off:420 val:30003
itch reg write_athr offset=420, value=30003
sw
 write athero reg off:7c val:7e
itch reg write_athr offset=7c, value=7e
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module ebtables not found
modprobe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
modprobe: module
 write athero reg off:614 val:80000005
 ebt
 read athero reg off:614 val:10005
abl
 read athero reg off:610 val:1bc000
es n
 write athero reg off:614 val:80010005
ot f
 read athero reg off:614 val:20005
oun
 read athero reg off:610 val:1b3fc0
d

 write athero reg off:614 val:80020005
modp
 read athero reg off:614 val:5
robe: failed to load module ebtables
The kernel doesn't support the ebtables 'filter' table.
phy 5, reg 0, val 0x3300
Set: phy[5].reg[0] = 3300
phy 4, reg 0, val 0x3300
Set: phy[4].reg[0] = 3300
phy 3, reg 0, val 0x3300
Set: phy[3].reg[0] = 3300
phy 2, reg 0, val 0x3300
Set: phy[2].reg[0] = 3300
phy 1, reg 0, val 0x3300
Set: phy[1].reg[0] = 3300
init vlan
init lan
br0: port 1(eth2.1) entering forwarding state
br0: port 1(eth2.1) entering forwarding state
init stp
init wan
init ondemand
init multiwan
init multi_ondemand
init routing
init nat
switch reg write offset=94, value=0

nat initial
init dhcpsrv
==== NAT START (WAN:ALL Func:ALL) ====
addrconf_dad_completed 7
cat: /var/nat/nat.wan: No such file or directory
addrconf_dad_completed 7
addrconf_dad_completed 7
/var/nat/nat-draft.uyg: /var/nat/nat-draft.uyg: 126: cannot create /proc/sys/net                                                                                                             /ipv4/route/secret_interval: Directory nonexistent
Failure parsing line 12 of /etc/udhcpd.conf
server_config.pool_check = 1

server_config.pool_check = 1

 start = 192.168.1.100, end = 192.168.1.200, lan_ip = 192.168.1.1, interface=br0                                                                                                             , ifindex=0

 start = 192.168.1.100, end = 192.168.1.200, lan_ip = 192.168.1.1, interface=br0                                                                                                             , ifindex=0

0

Unable to open /var/run/udhcpd.leases for reading
udhcpd (v0.9.9-pre) started
Unable to open /var/run/udhcpd.leases for reading
init dnsrelay
init spap
init ddns
init snmp
init route_protocol
init load_balance
init time
timezone:0
dsttime:0
init rbydom
init rbyip
init qos
=====Cross-Layer QoS START=====
init keepalive
init user
init ftp_alg
init rtsp_alg
init schedule
init mupnpd
init watchdog
init reboot
init wireless_mode
Mode
SINGLE DMZ start
Using intrapositioned negation (`--option ! this`) is deprecated in favor of ext                                                                                                             rapositioned (`! --option this`).
Failure parsing line 12 of /etc/udhcpd.conf
server_config.pool_check = 1

server_config.pool_check = 1

 start = 192.168.1.100, end = 192.168.1.200, lan_ip = 192.168.1.1, interface=br0                                                                                                             , ifindex=0

 start = 192.168.1.100, end = 192.168.1.200, lan_ip = 192.168.1.1, interface=br0                                                                                                             , ifindex=0

0

udhcpd (v0.9.9-pre) started
init wlanap
init wps_status
init wps_btn
init wpa
init ipv6
init v6filter
modprobe: module ip6_tables not found
modprobe: failed to load module ip6_tables
modprobe: module ip6table_filter not found
modprobe: failed to load module ip6table_filter
modprobe: module ramtd_erase: addr:ff0000 len:0
ip6table_mangle not found
modprobe: failed to load module ip6table_mangle
 flash_open: flash_fd=10
ramtd_write: to:ff0000 len:10
ramtd_write: to:ff0010 len:63a
modprobe: module ip6t_rt not found
modprobe: failedramtd_write: to:ff0000 len:1
 to load module ip6t_rt
modprobe: module ip6t_REJECT not found
modprobe: failed to load module ip6t_REJECT
init ddnsv6
init tr069
init failover
init hwnat
init samba
init ftpd
init dl_as
init disk_util
init usb_device
init usb_autosuspend
init mt-daap
init web_action
init hotplug
init dlna
init 3g_status
init wan_alias
init sip_alg
init igmp
init handleport
sw
 write athero reg off:90 val:2b0
itch reg write_athr offset=90, value=2b0
sw
 write athero reg off:8c val:2b0
itch reg write_athr offset=8c, value=2b0
sw
 write athero reg off:88 val:2b0
itch reg write_athr offset=88, value=2b0
sw
 write athero reg off:84 val:2b0
itch reg write_athr offset=84, value=2b0
sw
 write athero reg off:80 val:2b0
itch reg write_athr offset=80, value=2b0
init reset_btn
init ate
killall: ated: no process killed
init wan_led
init recent
sh: amit_db: not found
sh: amit_avs: not found
 flash_open: flash_fd=4
/usr/bin/ataskset: /usr/bin/ataskset: 6: taskset: not found
 flash_open: flash_fd=4
203:::Device added!!bus=2,level=0,port=0,cls=9,vid=1d6b,pid=0001
203:::Device added!!bus=1,level=0,port=0,cls=9,vid=1d6b,pid=0002
/usr/bin/telnetd-action: Starting telnetd...

 flash_open: flash_fd=4
/usr/bin/telnetd-action start ok
killall: rt2860apd: no process killed
tr069_cli.c,main,498
test init_agent_conf () execute
tr069_cli.c,get_agent_conf,133,ser_port = 8099
tr069_cli.c,cli_set_tr069,467
filenm:/etc/OpenAgent/conf/param.xml
msgget error.
error.
Set parameter failed.
ifconfig: SIOCGIFFLAGS: No such device
interface ra0 does not exist!
Stop Mini-UPNP !!
ifconfig: SIOCGIFFLAGS: No such device
=== NAT STOP (WAN:ALL Func:mupnpd) ====
interface ra1 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
interface wds0 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
interface wds1 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
interface wds2 does not exist!
Start Mini-UPNP !!
ifconfig: SIOCGIFFLAGS: No such device
=== NAT STOP (WAN:ALL Func:upnp) ====
interface wds3 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
interface rai0 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
interface rai1 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
interface wdsi0 does not exist!
==== NAT START (WAN:ALL Func:mupnpd) ====
ifconfig: SIOCGIFFLAGS: No such device
interface wdsi1 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
interface wdsi2 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
interface wdsi3 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
rmmod: /lib/rt2860v2_ap.ko: No such file or directory
rm: cannot remove '/etc/Wireless/RT2860AP/RT2860AP1.dat': No such file or directory
rm: cannot remove '/etc/Wireless/RT2860AP/RT2860AP2.dat': No such file or directory
rm: cannot remove '/etc/Wireless/RT2860AP/RT2860AP.dat': No such file or directory
rm: cannot remove '/etc/Wireless/RT2860AP/MT7610AP.dat': No such file or directory
rm: cannot remove '/etc/Wireless/RT2860AP/MT7612AP.dat': No such file or directory
 framtd_erase: addr:ff0000 len:0
lash_open: flash_fd=10
ramtd_write: to:ff0000 len:10
ramtd_write: to:ff0010 len:63a
ramtd_write: to:ff0000 len:1
Mode
rt2860v2_ap: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
BusyBox v1.3.2 (2014-05-06 10:24:50 CST) multi-call binary

Usage: grep [-rihHnqvsoEABC] PATTERN [FILEs...]

BusyBox v1.3.2 (2014-05-06 10:24:50 CST) multi-call binary

Usage: grep [-rihHnqvsoEABC] PATTERN [FILEs...]

BusyBox v1.3.2 (2014-05-06 10:24:50 CST) multi-call binary

Usage: grep [-rihHnqvsoEABC] PATTERN [FILEs...]

BusyBox v1.3.2 (2014-05-06 10:24:50 CST) multi-call binary

Usage: grep [-rihHnqvsoEABC] PATTERN [FILEs...]

BusyBox v1.3.2 (2014-05-06 10:24:50 CST) multi-call binary

Usage: grep [-rihHnqvsoEABC] PATTERN [FILEs...]

BusyBox v1.3.2 (2014-05-06 10:24:50 CST) multi-call binary

Usage: grep [-rihHnqvsoEABC] PATTERN [FILEs...]

killall: apmgt: no process killed
sh: apmgt: not found
rmmod: nf_nat_sip: No such file or directory
rmmod: nf_conntrack_sip: No such file or directory
Ralink APSoC Hardware Watchdog Timer
Started WatchDog Timer.
Started WatchDog Timer. LoadVlaue: 36600 sysclk: 145000000 TIMEOUT: 60
Watchdog Ticking Away!
AGP Server Linux Version 1 (c) 2008/10/3
Length of MAC:6
 mac:0:50:18:67:d4:f:
----


=== pAd = c070a000, size = 1139016 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
AP Driver version-2.7.1.6
 3238 root        296 S   watchdog-touch
Length of MAC:6
 mac:0:50:18:67:d4:10:
----


=== pAd = c0d02000, size = 1631400 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
device_id =0x7650
==>MT76x0_WLAN_ChipOnOff(): OnOff:1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
MACVersion = 0x76502000
RX DESC a1b08000  size = 2048
RTMP_TimerListAdd: add timer obj c07a1aa0!
RTMP_TimerListAdd: add timer obj c076cc88!
RTMP_TimerListAdd: add timer obj c076cc5c!
RTMP_TimerListAdd: add timer obj c076cc30!
RTMP_TimerListAdd: add timer obj c0712234!
RTMP_TimerListAdd: add timer obj c0711e28!
RTMP_TimerListAdd: add timer obj c0712204!
RTMP_TimerListAdd: add timer obj c0712540!
RTMP_TimerListAdd: add timer obj c0712480!
RTMP_TimerListAdd: add timer obj c07124b0!
RTMP_TimerListAdd: add timer obj c071563c!
RTMP_TimerListAdd: add timer obj c0715230!
RTMP_TimerListAdd: add timer obj c071560c!
RTMP_TimerListAdd: add timer obj c0715948!
RTMP_TimerListAdd: add timer obj c0715888!
RTMP_TimerListAdd: add timer obj c07158b8!
RTMP_TimerListAdd: add timer obj c0718a44!
RTMP_TimerListAdd: add timer obj c0718638!
RTMP_TimerListAdd: add timer obj c0718a14!
RTMP_TimerListAdd: add timer obj c0718d50!
RTMP_TimerListAdd: add timer obj c0718c90!
RTMP_TimerListAdd: add timer obj c0718cc0!
RTMP_TimerListAdd: add timer obj c071be4c!
RTMP_TimerListAdd: add timer obj c071ba40!
RTMP_TimerListAdd: add timer obj c071be1c!
RTMP_TimerListAdd: add timer obj c071c158!
RTMP_TimerListAdd: add timer obj c071c098!
RTMP_TimerListAdd: add timer obj c071c0c8!
RTMP_TimerListAdd: add timer obj c071f254!
 3238 root        296 S   watchdog-RTMP_TimerListAdd: add timer obj c071ee48!
toRTMP_TimerListAdd: add timer obj c071f224!
uch
RTMP_TimerListAdd: add timer obj c071f560!
RTMP_TimerListAdd: add timer obj c071f4a0!
RTMP_TimerListAdd: add timer obj c071f4d0!
RTMP_TimerListAdd: add timer obj c072265c!
RTMP_TimerListAdd: add timer obj c0722250!
RTMP_TimerListAdd: add timer obj c072262c!
RTMP_TimerListAdd: add timer obj c0722968!
RTMP_TimerListAdd: add timer obj c07228a8!
RTMP_TimerListAdd: add timer obj c07228d8!
RTMP_TimerListAdd: add timer obj c0725a64!
RTMP_TimerListAdd: add timer obj c0725658!
RTMP_TimerListAdd: add timer obj c0725a34!
RTMP_TimerListAdd: add timer obj c0725d70!
RTMP_TimerListAdd: add timer obj c0725cb0!
RTMP_TimerListAdd: add timer obj c0725ce0!
RTMP_TimerListAdd: add timer obj c0728e6c!
RTMP_TimerListAdd: add timer obj c0728a60!
RTMP_TimerListAdd: add timer obj c0728e3c!
RTMP_TimerListAdd: add timer obj c0729178!
RTMP_TimerListAdd: add timer obj c07290b8!
RTMP_TimerListAdd: add timer obj c07290e8!
RTMP_TimerListAdd: add timer obj c076f08c!
RTMP_TimerListAdd: add timer obj c076ec80!
RTMP_TimerListAdd: add timer obj c076f05c!
RTMP_TimerListAdd: add timer obj c076f398!
RTMP_TimerListAdd: add timer obj c076f0bc!
RTMP_TimerListAdd: add timer obj c076f0ec!
RTMP_TimerListAdd: add timer obj c076f11c!
RTMP_TimerListAdd: add timer obj c077840c!
RTMP_TimerListAdd: add timer obj c0778528!
RTMP_TimerListAdd: add timer obj c0778438!
RTMP_TimerListAdd: add timer obj c076f744!
RTMP_TimerListAdd: add timer obj c070f4c4!
RTMP_TimerListAdd: add timer obj c07128cc!
RTMP_TimerListAdd: add timer obj c0715cd4!
RTMP_TimerListAdd: add timer obj c07190dc!
RTMP_TimerListAdd: add timer obj c071c4e4!
RTMP_TimerListAdd: add timer obj c071f8ec!
RTMP_TimerListAdd: add timer obj c0722cf4!
RTMP_TimerListAdd: add timer obj c07260fc!
RTMP_TimerListAdd: add timer obj c076f454!
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
default ApCliAPSDCapable[0]=0
 3238 root        296 S   watchdog-touch
4a:b1:4f:18:b1:78:7e:c1:9a:e5:d7:c7:f1:9a:5c:ae:
48:d8:b3:9d:b0:97:08:1f:4d:8b:2b:4a:31:7b:a0:58:

1. Phy Mode = 9
2. Phy Mode = 9
E2PROM: D0 target power=0xff20
E2PROM: 40 MW Power Delta= 0
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
Initialize RF Central Registers for E2 !!!
Initialize RF Central Registers for E3 !!!
Initialize RF Channel Registers for E2 !!!
Initialize RF Channel Registers for E3 !!!
Initialize RF DCCal Registers for E2 !!!
Initialize RF DCCal Registers for E3 !!!
D1 = 1, D2 = 17, CalCode = 37 !!!
RT6352_Temperature_Init : BBPR49 = 0x1
RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff7
Current Temperature from BBP_R49=0xfffffff6
 TX BW Filter Calibration !!!
 RX BW Filter Calibration !!!
LOFT Calibration Done!
IQCalibration Start!
IQCalibration Done! CH = 0, (gain= f, phase=3b)
IQCalibration Start!
IQCalibration Done! CH = 1, (gain= 1, phase=3e)
TX IQ Calibration Done!
RXIQ Sigma_i=871, Sigma_q=875, R_iq=-2740
RXIQ calibration FAIL
RTMPSetPhyMode: channel is out of range, use first channel=0
MCS Set = ff ff 00 00 01
SYNC - BBP R4 to 20MHz.l
# RTMP_TimerListAdd: add timer obj c076fce8!
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
Main bssid = 00:50:18:67:d4:0f
<==== rt28xx_init, Status=0
0x1300 = 00064380
device ra0 entered promiscuous mode
br0: port 2(ra0) entering forwarding state
br0: port 2(ra0) entering forwarding state
RTMP_TimerListAdd: add timer obj c06a7788!
load fw spent 16ms
RX DESC a15a0000 size = 2048
RX1 DESC a15a1000 size = 2048
addrconf_dad_completed 7
cfg_mode=14
cfg_mode=14
wmode_band_equal(): Band Not Equal!
1. Phy Mode = 49
2. Phy Mode = 49
ext_pa_current_setting = 1
3. Phy Mode = 49
AntCfgInit: primary/secondary ant 0/1
ChipStructAssign(): RALINK6590 hook !
MCS Set = ff 00 00 00 01
MT76x0_ChipBBPAdjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
Main bssid = 00:50:18:67:d4:10
<==== rt28xx_init, Status=0
0x1300 = 00064300
RTMPDrvOpen(1):Check if PDMA is idle!
RTMPDrvOpen(2):Check if PDMA is idle!
device rai0 entered promiscuous mode
br0: port 3(rai0) entering forwarding state
br0: port 3(rai0) entering forwarding state
addrconf_dad_completed 7
device rai1 entered promiscuous mode
br0: port 4(rai1) entering forwarding state
br0: port 4(rai1) entering forwarding state
addrconf_dad_completed 7
Ralink HW NAT Module Enabled
ramtd_erase: addr:ff0000 len:0
ramtd_write: to:ff0000 len:10
ramtd_write: to:ff0010 len:63a
ramtd_write: to:ff0000 len:1

I found in the config gpl source nether such information, can someone can help with the config switch

JR6150_V1.0.0.18_src/mt7620/linux//jr6150_mt_linux_config

CONFIG_RALINK_RDM=y 
CONFIG_RAETH=y 
CONFIG_PDMA_NEW=y 
CONFIG_RAETH_SCATTER_GATHER_RX_DMA=y 
CONFIG_RA_NETWORK_TASKLET_BH=y 
# CONFIG_RA_NETWORK_WORKQUEUE_BH is not set 
# CONFIG_RAETH_NAPI is not set 
CONFIG_RAETH_SKB_RECYCLE_2K=y 
# CONFIG_RAETH_SPECIAL_TAG is not set 
# CONFIG_RAETH_JUMBOFRAME is not set 
CONFIG_RAETH_CHECKSUM_OFFLOAD=y 
# CONFIG_32B_DESC is not set 
CONFIG_RAETH_LRO=y 
# CONFIG_RAETH_HW_VLAN_TX is not set 
CONFIG_RAETH_RW_PDMAPTR_FROM_VAR=y 
CONFIG_RT_3052_ESW=y 
CONFIG_LAN_WAN_SUPPORT=y 
CONFIG_WAN_AT_P4=y 
# CONFIG_WAN_AT_P0 is not set 
CONFIG_ESW_DOUBLE_VLAN_TAG=y 
CONFIG_RAETH_HAS_PORT4=y 
# CONFIG_P4_MAC_TO_PHY_MODE is not set 
CONFIG_P4_RGMII_TO_MAC_MODE=y 
# CONFIG_P4_MII_TO_MAC_MODE is not set 
# CONFIG_P4_RMII_TO_MAC_MODE is not set 
CONFIG_RAETH_HAS_PORT5=y 
# CONFIG_P5_MAC_TO_PHY_MODE is not set 
CONFIG_P5_RGMII_TO_MAC_MODE=y

PEEple? help please with this router

Since I have no crystal ball built in ..
what's missing ?

I assume the switch ?

there is not enough DTS, because in addition to the 4th port, the switch does not work. I'm running out of ideas with this switch.надоел этот роутер)

are you sure that this is not a problem ? 8337 vs 8327 !

You think error in this string?

argghh.
Next time I need to read to top post more carefully :wink:

I've verified with some other DTS files, please the add
&rgmii1_pins
in the ethernet section, it won't do any harm ...

I was wrong, just looked at archer c2600 and dts has the same 8327
https://github.com/lede-project/source/blob/master/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-c2600.dts

with rgmii1_pins not specified by switch

in stock

# switch dump
hash port(0:6) fid vid age mac-address filter my_mac
found the last entry 0 (not ready)
# switch phy
SPEC defined Register
[Port 0]===============
00: 1000 01: 7949 02: 004D 03: D036 04: 0DE1 05: 0000 06: 0004 07: 2801
08: 0000 09: 0200 10: 0000 11: 0000 12: 0000 13: 0000 14: 0000 15: 2000
[Port 1]===============
00: 3100 01: 7949 02: 004D 03: D036 04: 0DE1 05: 0000 06: 0004 07: 2801
08: 0000 09: 0200 10: 0000 11: 0000 12: 0000 13: 0000 14: 0000 15: 2000
[Port 2]===============
00: 3100 01: 7949 02: 004D 03: D036 04: 0DE1 05: 0000 06: 0004 07: 2801
08: 0000 09: 0200 10: 0000 11: 0000 12: 0000 13: 0000 14: 0000 15: 2000
[Port 3]===============
00: 3100 01: 7949 02: 004D 03: D036 04: 0DE1 05: 0000 06: 0004 07: 2801
08: 0000 09: 0200 10: 0000 11: 0000 12: 0000 13: 0000 14: 0000 15: 2000
[Port 4]===============
00: 3100 01: 796D 02: 004D 03: D036 04: 0DE1 05: 51E1 06: 0007 07: 2001
08: 0000 09: 0200 10: 0000 11: 0000 12: 0000 13: 0000 14: 0000 15: 2000

Global Register Page 0
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Global Register Page 1
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Global Register Page 2
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Global Register Page 3
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Global Register Page 4
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 0 Page 0
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 0 Page 1
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 0 Page 2
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 0 Page 3
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 1 Page 0
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 1 Page 1
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 1 Page 2
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 1 Page 3
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 2 Page 0
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 2 Page 1
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 2 Page 2
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 2 Page 3
===============
16: 0862 17: 0050 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 3 Page 0
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 3 Page 1
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 3 Page 2
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 3 Page 3
===============
16: 0862 17: 0010 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 4 Page 0
===============
16: 0862 17: 7C10 18: 0000 19: 7400 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 4 Page 1
===============
16: 0862 17: 7C10 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 4 Page 2
===============
16: 0862 17: 7C10 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000


Local Register Port 4 Page 3
===============
16: 0862 17: 7C10 18: 0000 19: 0000 20: 082C 21: 0000 22: 2400 23: 0000
24: 3200 25: 1000 26: 0000 27: 0000 28: 0000 29: 0000 30: 02EE 31: 0000
#

.

# cat proc/mt7620/gmac


FE_INT_ENABLE : 0x0003000f
DLY_INT_CFG : 0x00000000
TX_BASE_PTR0 : 0x03f74000
TX_CTX_IDX0 : 0x00000059
TX_DTX_IDX0 : 0x00000059
TX_BASE_PTR1(0xb0100810) : 0x00000000
TX_CTX_IDX1(0xb0100818) : 0x00000000
TX_DTX_IDX1(0xb010081c) : 0x00000000
TX_BASE_PTR2(0xb0100820) : 0x00000000
TX_CTX_IDX2(0xb0100828) : 0x00000000
TX_DTX_IDX2(0xb010082c) : 0x00000000
TX_BASE_PTR3(0xb0100830) : 0x00000000
TX_CTX_IDX3(0xb0100838) : 0x00000000
TX_DTX_IDX3(0xb010083c) : 0x00000000
RX_BASE_PTR0 : 0x03f75000# cat proc/mt7620/esw_cnt

<<CPU>>
|
+-----------------------------------------------+
| <<PSE>> |
+-----------------------------------------------+
|
+-----------------------------------------------+
| <<GDMA>> |
| GDMA1_TX_GPCNT : 0000000092 (Tx Good Pkts) |
| GDMA1_RX_GPCNT : 0000000065 (Rx Good Pkts) |
| |
| GDMA1_TX_SKIPCNT: 0000000000 (skip) |
| GDMA1_TX_COLCNT : 0000000000 (collision) |
| GDMA1_RX_OERCNT : 0000000000 (overflow) |
| GDMA1_RX_FERCNT : 0000000000 (FCS error) |
| GDMA1_RX_SERCNT : 0000000000 (too short) |
| GDMA1_RX_LERCNT : 0000000000 (too long) |
| GDMA1_RX_CERCNT : 0000000000 (l3/l4 checksum) |
| GDMA1_RX_FCCNT : 0000000000 (flow control) |
| |
| GDMA2_TX_GPCNT : 0000000017 (Tx Good Pkts) |
| GDMA2_RX_GPCNT : 0000000017 (Rx Good Pkts) |
| |
| GDMA2_TX_SKIPCNT: 0000000000 (skip) |
| GDMA2_TX_COLCNT : 0000000000 (collision) |
| GDMA2_RX_OERCNT : 0000000000 (overflow) |
| GDMA2_RX_FERCNT : 0000000000 (FCS error) |
| GDMA2_RX_SERCNT : 0000000000 (too short) |
| GDMA2_RX_LERCNT : 0000000000 (too long) |
| GDMA2_RX_CERCNT : 0043293200 (l3/l4 checksum) |
| GDMA2_RX_FCCNT : 0268748582 (flow control) |
+-----------------------------------------------+
^
| Port6 Rx:00000094 Good Pkt
| Port6 Rx:00000000 Bad Pkt
| Port6 Tx:00000065 Good Pkt
| Port6 Tx:00000000 Bad Pkt
| Port7 Rx:00000017 Good Pkt
| Port7 Rx:00000000 Bad Pkt
| Port7 Tx:00000017 Good Pkt
| Port7 Tx:00000000 Bad Pkt
+---------------------v-------------------------+
| P6 |
| <<10/100/1000 Embedded Switch>> |
| P0 P1 P2 P3 P4 P5 |
+-----------------------------------------------+
| | | | | |
Port0 Good RX=00000000 Tx=00000000 (Bad Rx=00000000 Tx=00000000)
Port1 Good RX=00000000 Tx=00000000 (Bad Rx=00000000 Tx=00000000)
Port2 Good RX=00000000 Tx=00000000 (Bad Rx=00000000 Tx=00000000)
Port3 Good RX=00000000 Tx=00000000 (Bad Rx=00000000 Tx=00000000)
Port4 Good RX=00000000 Tx=00000000 (Bad Rx=00000000 Tx=00000000)
Port5 Good RX=00000065 Tx=00000094 (Bad Rx=00000000 Tx=00000000)

#

RX_MAX_CNT0 : 0x00000100
RX_CALC_IDX0 : 0x0000003a
RX_DRX_IDX0 : 0x0000003b
#

.

# vi /usr/etc/svn.list
svn://svn.atc.amit.com.tw/Mascot/RT305XL/branches/SI_trunk -r 15532
svn://svn.atc.amit.com.tw/Gobi/jboot/trunk -r 695
svn://svn.atc.amit.com.tw/Sahara/Ralink_SDK4.0.0.0/trunk/linux-2.6.36.x -r 342
svn://svn.atc.amit.com.tw/Sahara/OasisHeader/trunk -r 2182
svn://svn.atc.amit.com.tw/Gobi/CornerHeader/trunk -r 36
svn://svn.atc.amit.com.tw/Gobi/AmitUpgBuf/trunk -r 101
svn://svn.atc.amit.com.tw/Gobi/CSMan/trunk -r 144
svn://svn.atc.amit.com.tw/Gobi/GetPsec/trunk -r 29
svn://svn.atc.amit.com.tw/Gobi/Uyghur/trunk -r 109
svn://svn.atc.amit.com.tw/Gobi/WSL/WS-BAKSET/trunk -r 331
svn://svn.atc.amit.com.tw/Gobi/WSL/WS-DAS/trunk -r 251
svn://svn.atc.amit.com.tw/Gobi/WSL/WS-ESP/trunk -r 310
svn://svn.atc.amit.com.tw/Gobi/WSL/WS-FLUPL/trunk -r 332
svn://svn.atc.amit.com.tw/Gobi/WSL/WS-FWUPG/trunk -r 311
svn://svn.atc.amit.com.tw/Gobi/WSL/WS-UIR/trunk -r 318
svn://svn.atc.amit.com.tw/Sahara/Siwa/SyncDate/branches/94526 -r 56
svn://svn.atc.amit.com.tw/Gobi/AMIT_BEID/trunk -r 37
svn://svn.atc.amit.com.tw/Gobi/ConntrackViewer/trunk -r 17
svn://svn.atc.amit.com.tw/Gobi/OMailtool/trunk -r 59
svn://svn.atc.amit.com.tw/Gobi/RalinkAppGPIO/trunk -r 39
svn://svn.atc.amit.com.tw/Gobi/RalinkMiiMgr/trunk -r 3
svn://svn.atc.amit.com.tw/Gobi/RlogAlert/trunk -r 41
svn://svn.atc.amit.com.tw/Gobi/RlogReader/trunk -r 34
- /usr/etc/svn.list [Read-only] 1/167 0%
# mii_mgr -g -p 1 -r 1
phy 1, reg 1, val 0x7949
Get: phy[1].reg[1] = 7949
# mii_mgr -g -p 0 -r 0
phy 0, reg 0, val 0x1000
Get: phy[0].reg[0] = 1000
# mii_mgr -g -p 1 -r 0
phy 1, reg 0, val 0x3100
Get: phy[1].reg[0] = 3100
# mii_mgr -g -p 2 -r 0
phy 2, reg 0, val 0x3100
Get: phy[2].reg[0] = 3100
# mii_mgr -g -p 3 -r 0
phy 3, reg 0, val 0x3100
Get: phy[3].reg[0] = 3100
# mii_mgr -g -p 4 -r 0
phy 4, reg 0, val 0x3100
Get: phy[4].reg[0] = 3100
# mii_mgr -g -p 5 -r 0
phy 5, reg 0, val 0xffff
Get: phy[5].reg[0] = ffff
# mii_mgr -g -p 6 -r 0
phy 6, reg 0, val 0xffff
Get: phy[6].reg[0] = ffff
# mii_mgr -g -p 0 -r 1
phy 0, reg 1, val 0x7949
Get: phy[0].reg[1] = 7949
# mii_mgr -g -p 0 -r 2
phy 0, reg 2, val 0x4d
Get: phy[0].reg[2] = 004d
# mii_mgr -g -p 0 -r 3
phy 0, reg 3, val 0xd036
Get: phy[0].reg[3] = d036
# mii_mgr -g -p 0 -r 4
phy 0, reg 4, val 0xde1
Get: phy[0].reg[4] = 0de1
# mii_mgr -g -p 0 -r 5
phy 0, reg 5, val 0x0
Get: phy[0].reg[5] = 0000
# mii_mgr -g -p 0 -r 6
phy 0, reg 6, val 0x4
Get: phy[0].reg[6] = 0004
# mii_mgr -g -p 0 -r 0
phy 0, reg 0, val 0x1000
Get: phy[0].reg[0] = 1000

can have someone else going as to how to edit mdio-bus registers on an uninstalled system ?

I found a clone of my device TW-LTE4G3G-REITITIN
https://www.telewell.fi/fi/tuote/tuotannosta-poistuneet-tuotteet/wlan-tuotteet/TW-LTE4G3G-REITITIN/tw-lte4g3g-reititin

# switch reg r 0x0
switch reg read offset=0, value=0
# switch reg r 0x4d
switch reg read offset=4d, value=a01b5811
# switch reg r 0x036d
switch reg read offset=36d, value=0
# switch reg r 0x0004
switch reg read offset=4, value=f
# switch reg r 0x000c
switch reg read offset=c, value=71819
# switch reg r 0x00c
switch reg read offset=c, value=71819
# switch reg r 0x008
switch reg read offset=8, value=0
# switch reg r 0x010
switch reg read offset=10, value=7f7f7fe0
# switch reg r 0x010
switch reg read offset=10, value=7f7f7fe0
# i
ichecksum          igmpproxy          ip2hex             ipheth-pair
ieee8021x-action   init               ip2net             iptables
ifconfig           insmod             ip6tables          iwconfig
igmp-action        ip                 ipheth-action      iwpriv
# ip
ip              ip2net          ipheth-action   iptables
ip2hex          ip6tables       ipheth-pair
# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
where  OBJECT := { link | addr | route | rule | neigh | tunnel |
                   maddr | mroute | monitor | xfrm }
       OPTIONS := { -V[ersion] | -s[tatistics] | -r[esolve] |
                    -f[amily] { inet | inet6 | ipx | dnet | link } | -o[neline]
# ip show
Object "show" is unknown, try "ip help".
# sw
swapoff   swapon    switch
# switch
Usage:
 switch acl etype add [ethtype] [portmap]              - drop etherytype packets
 switch acl dip add [dip] [portmap]                    - drop dip packets
 switch acl dip meter [dip] [portmap][meter:kbps]      - rate limit dip packets
 switch acl dip trtcm [dip] [portmap][CIR:kbps][CBS][PIR][PBS] - TrTCM dip packe                                                        ts
 switch acl port add [sport] [portmap]           - drop src port packets
 switch acl L4 add [2byes] [portmap]             - drop L4 packets with 2bytes p                                                        ayload
 switch add [mac] [portmap]                  - add an entry to switch table
 switch add [mac] [portmap] [vlan id]        - add an entry to switch table
 switch add [mac] [portmap] [vlan id] [age]  - add an entry to switch table
 switch clear                                - clear switch table
 switch del [mac]                            - delete an entry from switch table
 switch del [mac] [fid]                  - delete an entry from switch table
 switch dip add [dip] [portmap]                  - add a dip entry to switch tab                                                        le
 switch dip del [dip]                        - del a dip entry to switch table
 switch dip dump                                 - dump switch dip table
 switch dip clear                                - clear switch dip table
 switch dump            - dump switch table
 switch ingress-rate on [port] [Mbps]        - set ingress rate limit on port 0~                                                        4
 switch egress-rate on [port] [Mbps]         - set egress rate limit on port 0~4                                                        
 switch ingress-rate off [port]              - del ingress rate limit on port 0~                                                        4
 switch egress-rate off [port]               - del egress rate limit on port 0~4
 switch filt [mac]                           - add a SA filtering entry (with po                                                        rtmap 1111111) to switch table
 switch filt [mac] [portmap]                 - add a SA filtering entry to switc                                                        h table
 switch filt [mac] [portmap] [vlan id]       - add a SA filtering entry to switc                                                        h table
 switch filt [mac] [portmap] [vlan id] [age] - add a SA filtering entry to switc                                                        h table
 switch mymac [mac] [portmap]                  - add a mymac entry to switch tab                                                        le
 switch mirror monitor [portnumber]            - enable port mirror and indicate                                                         monitor port number
 switch mirror target [portnumber] [0:off, 1:rx, 2:tx, 3:all]  - set port mirror                                                         target
 switch phy [phy_addr]                   - dump phy register of specific port
 switch phy                                      - dump all phy registers
 switch reg r [offset]                       - register read from offset
 switch reg w [offset] [value]               - register write value to offset
 switch sip add [sip] [dip] [portmap]            - add a sip entry to switch tab                                                        le
 switch sip del [sip] [dip]                          - del a sip entry to switch                                                         table
 switch sip dump                                 - dump switch sip table
 switch sip clear                                - clear switch sip table
 switch vlan dump                            - dump switch table
 switch vlan set [vlan idx] [vid] [portmap]  - set vlan id and associated member
 switch reg athr_r [offset]                 - athr_register read from offset
 switch reg athr_w [offset] [value]         - athr_register write value to offse                                                        t
# switch reg athr_r 0x0000

 read athero reg off:0 val:1302
switch reg read_athr offset=0, value=1302
# switch reg athr_r 0x0004

 read athero reg off:4 val:87300000
switch reg read_athr offset=4, value=87300000
# switch reg athr_r 0x0008

 read athero reg off:8 val:1000000
switch reg read_athr offset=8, value=1000000
# switch reg athr_r 0x000c

 read athero reg off:c val:0
switch reg read_athr offset=c, value=0
# switch reg athr_r 0x00010

 read athero reg off:10 val:40000000
switch reg read_athr offset=10, value=40000000
# switch reg athr_r 0x00020

 read athero reg off:20 val:3f100a02
switch reg read_athr offset=20, value=3f100a02
# switch reg athr_r 0x00024

 read athero reg off:24 val:10000
switch reg read_athr offset=24, value=10000
# switch reg athr_r 0x00028

 read athero reg off:28 val:0
switch reg read_athr offset=28, value=0
# switch reg athr_r 0x0002c

 read athero reg off:2c val:0
switch reg read_athr offset=2c, value=0
# switch reg athr_r 0x00030

 read athero reg off:30 val:80000700
switch reg read_athr offset=30, value=80000700
# switch reg athr_r 0x00034

 read athero reg off:34 val:0
switch reg read_athr offset=34, value=0
# switch reg athr_r 0x00038

 read athero reg off:38 val:f000000
switch reg read_athr offset=38, value=f000000
# switch reg athr_r 0x0003c

 read athero reg off:3c val:0
switch reg read_athr offset=3c, value=0
# switch reg athr_r 0x00040

 read athero reg off:40 val:700000
switch reg read_athr offset=40, value=700000
# switch reg athr_r 0x00044

 read athero reg off:44 val:0
switch reg read_athr offset=44, value=0
# switch reg athr_r 0x00048

 read athero reg off:48 val:28100
switch reg read_athr offset=48, value=28100
# switch reg athr_r 0x00050

 read athero reg off:50 val:cc35cc35
switch reg read_athr offset=50, value=cc35cc35
# switch reg athr_r 0x00054

 read athero reg off:54 val:ca35ca35
switch reg read_athr offset=54, value=ca35ca35
# switch reg athr_r 0x00058

 read athero reg off:58 val:c935c935
switch reg read_athr offset=58, value=c935c935
# switch reg athr_r 0x0005c

 read athero reg off:5c val:3ffff00
switch reg read_athr offset=5c, value=3ffff00
# switch reg athr_r 0x00060

 read athero reg off:60 val:1
switch reg read_athr offset=60, value=1
# switch reg athr_r 0x00064

 read athero reg off:64 val:0
switch reg read_athr offset=64, value=0
# switch reg athr_r 0x00078

 read athero reg off:78 val:5f2
switch reg read_athr offset=78, value=5f2
# switch reg athr_r 0x0007c

 read athero reg off:7c val:7e
switch reg read_athr offset=7c, value=7e
# switch reg athr_r 0x00080

 read athero reg off:80 val:2b0
switch reg read_athr offset=80, value=2b0
# switch reg athr_r 0x00084

 read athero reg off:84 val:2b0
switch reg read_athr offset=84, value=2b0
# switch reg athr_r 0x00090

 read athero reg off:90 val:2b0
switch reg read_athr offset=90, value=2b0
# switch reg athr_r 0x0009c

 read athero reg off:9c val:0
switch reg read_athr offset=9c, value=0
# switch reg athr_r 0x00094

 read athero reg off:94 val:1080
switch reg read_athr offset=94, value=1080
# switch reg athr_r 0x000a9

 read athero reg off:a9 val:0
switch reg read_athr offset=a9, value=0
# switch reg athr_r 0x000a0

 read athero reg off:a0 val:0
switch reg read_athr offset=a0, value=0
# switch reg athr_r 0x000a4

 read athero reg off:a4 val:0
switch reg read_athr offset=a4, value=0
# switch reg athr_r 0x000a8

 read athero reg off:a8 val:0
switch reg read_athr offset=a8, value=0
# switch reg athr_r 0x000ac

 read athero reg off:ac val:0
switch reg read_athr offset=ac, value=0
# switch reg athr_r 0x000b0

 read athero reg off:b0 val:0
switch reg read_athr offset=b0, value=0
# switch reg athr_r 0x000b4

 read athero reg off:b4 val:0
switch reg read_athr offset=b4, value=0
# switch reg athr_r 0x000e0

 read athero reg off:e0 val:c70164c0
switch reg read_athr offset=e0, value=c70164c0
# switch reg athr_r 0x00

 read athero reg off:0 val:1302
switch reg read_athr offset=0, value=1302
# switch reg athr_r 0x01

 read athero reg off:1 val:1302
switch reg read_athr offset=1, value=1302
# switch reg athr_r 0x02

 read athero reg off:2 val:1302
switch reg read_athr offset=2, value=1302
# switch reg athr_r 0x0d01

 read athero reg off:d01 val:0
switch reg read_athr offset=d01, value=0
# switch reg athr_r 0x0d02

 read athero reg off:d02 val:0
switch reg read_athr offset=d02, value=0
# switch reg athr_r 0x0d03

 read athero reg off:d03 val:0
switch reg read_athr offset=d03, value=0
# switch reg athr_r 0x0d04

 read athero reg off:d04 val:0
switch reg read_athr offset=d04, value=0
# switch reg athr_r 0x0d05

 read athero reg off:d05 val:0
switch reg read_athr offset=d05, value=0
# switch reg athr_r 0x0d06

 read athero reg off:d06 val:0
switch reg read_athr offset=d06, value=0
# switch reg athr_r 0d06

 read athero reg off:d06 val:0
switch reg read_athr offset=d06, value=0
# switch reg athr_r 0d01

 read athero reg off:d01 val:0
switch reg read_athr offset=d01, value=0
# switch reg athr_r 0x0a

 read athero reg off:a val:1000000
switch reg read_athr offset=a, value=1000000
# switch reg athr_r 0x0

 read athero reg off:0 val:1302
switch reg read_athr offset=0, value=1302
# switch reg r 0x2004
switch reg read offset=2004, value=ff0000
# switch reg r 0x2000
switch reg read offset=2000, value=ffff
# switch reg r 0x2204
switch reg read offset=2204, value=ff0000
# switch reg r 0x2404
switch reg read offset=2404, value=ff0000
# switch reg r 0x2304
switch reg read offset=2304, value=ff0000
# switch reg r 0x2604
switch reg read offset=2604, value=c00001
# switch reg r 0x2704
switch reg read offset=2704, value=c00001
# switch reg r 0x3000
switch reg read offset=3000, value=56330
# switch reg r 0x3100
switch reg read offset=3100, value=56330
# switch reg r 0x3200
switch reg read offset=3200, value=56330
# switch reg r 0x3300
switch reg read offset=3300, value=56330
# switch reg r 0x3400
switch reg read offset=3400, value=56330
# switch reg r 0x3500
switch reg read offset=3500, value=5e33b
# switch reg r 0x3600
switch reg read offset=3600, value=5e33b
# switch reg r 0x3700
switch reg read offset=3700, value=5e33b
# switch reg r 0x3fe0
switch reg read offset=3fe0, value=3f25
# switch reg r 0x3fe4
switch reg read offset=3fe4, value=432880f1
# switch reg r 0x3fe8
switch reg read offset=3fe8, value=c
# switch reg r 0x3fe0
switch reg read offset=3fe0, value=3f25
# swttch reg r 0x3ff0
switch reg read offset=3ff0, value=1e03
# switch reg r 0x3ff4
switch reg read offset=3ff4, value=0
# switch reg r 0x3ff5
switch reg read offset=3ff5, value=0
# switch reg r 0x3ff4
switch reg read offset=3ff4, value=0
# switch reg r 0x3ff8
switch reg read offset=3ff8, value=0
# switch reg r 0x3ff0
switch reg read offset=3ff0, value=1e03
# switch reg r 0x3fe4
switch reg read offset=3fe4, value=432880f1
# switch reg r 0x3fe0
switch reg read offset=3fe0, value=3f25
# switch reg r 0x4800
switch reg read offset=4800, value=ff000f00
# switch reg r 0x7010
switch reg read offset=7010, value=883e0c00
# switch reg r 0x7014
switch reg read offset=7014, value=70008
# switch reg r 0x701c
switch reg read offset=701c, value=800000c
# switch reg r 0x8000
switch reg read offset=8000, value=b00002e
# switch reg r 0x8004
switch reg read offset=8004, value=0
# switch reg r 0x8000
switch reg read offset=8000, value=b00002e
# switch reg r 0x30e0
switch reg read offset=30e0, value=0
# switch reg r 0x58
switch reg read offset=58, value=9000000
# switch reg r 0x60
switch reg read offset=60, value=1b6db492
# switch reg r 0x4000
switch reg read offset=4000, value=0
# switch reg r 0x3fe8
switch reg read offset=3fe8, value=c
# switch reg r 0x3fe4
switch reg read offset=3fe4, value=432880f1
# switch reg r 0x3fff
switch reg read offset=3fff, value=0
# switch reg r 0x100
switch reg read offset=100, value=1002
# switch reg r 0x200
switch reg read offset=200, value=0
# switch reg r 0x7000
switch reg read offset=7000, value=c5000000

realy? nobody can help ?

I can help You with proper jboot images.

For problems with QCA please try repleace gsw section:

&gsw {
	mediatek,port4 = "gmac";
	mediatek,mt7530 = <1>;
};

But I'm not shure if it is enough. Is possible, that driver need rework. But first please try this.

I get router from @leks

The result of my work is in PR #1550

I don't know why work olny 3/5 GE ports. Maybe some AR8337 specialist could help.