There is some progress:
dts:
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "mt7620a.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
compatible = "dlink,dap-1620-a1", "ralink,mt7620a-soc";
model = "D-Link DAP-1620 A1";
aliases {
led-boot = &led_power;
led-failsafe = &led_status;
led-running = &led_power;
led-upgrade = &led_status;
};
keys {
compatible = "gpio-keys";
reset {
label = "reset";
gpios = <&gpio0 1 0>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 2 0>;
linux,code = <KEY_WPS_BUTTON>;
};
};
leds {
compatible = "gpio-leds";
led_power: power {
label = "dap-1620-a1:green:power";
gpios = <&gpio2 0 1>;
};
lan {
label = "dap-1620:green:lan";
gpios = <&gpio0 12 1>;
};
led_status: status {
label = "dap-1620-a1:red:status";
gpios = <&gpio0 13 1>;
};
wlan2g {
label = "dap-1620-a1:green:wlan2g";
gpios = <&gpio0 8 1>;
linux,default-trigger = "phy1radio";
};
wlan5g {
label = "dap-1620-a1:green:wlan5g";
gpios = <&gpio0 11 1>;
linux,default-trigger = "phy0radio";
};
wps {
label = "dap-1620-a1:red:wps";
gpios = <&gpio0 9 1>;
};
};
};
&gpio1 {
status = "okay";
};
&gpio2 {
status = "okay";
};
&spi0 {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "nvram";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
compatible = "denx,uimage";
};
};
};
};
&state_default {
default {
groups ="i2c", "ephy", "uartf", "spi refclk", "wled";
function = "gpio";
};
};
&pcie {
status = "okay";
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
};
};
ðernet {
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &mdio_pins >;
mtd-mac-address = <&factory 0x4>;
ralink,port-map = "wllll";
port@5 {
status = "okay";
phy-mode = "rgmii";
phy-handle = <&phy1>;
};
mdio-bus {
status = "okay";
mediatek,mdio-mode = <1>;
phy1: ethernet-phy@1 {
reg = <1>;
phy-mode = "rgmii";
};
};
};
&gsw {
mediatek,port5 = "gmac";
};
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
boot log:
U-Boot 1.1.3 (Mar 21 2016 - 16:55:00)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb0000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
raspi_read: from:30000 len:1000
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->Phy)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Mar 21 2016 Time:16:55:00
Cameo Version: v1.00 Build:02
Module Name: D-Link DAP-1620A1
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =64 Mbytes
raspi_read: from:50000 len:40
raspi_read: from:4f0000 len:40
=================================================
Check image validation:
Image1 Header Magic Number --> OK
Image2 Header Magic Number --> Failed
Image1 Header Checksum --> OK
Image1 Data Checksum --> raspi_read: from:50040 len:1d8ffe
OK
Image1: OK Image2: Broken
Only Image2 is borken!!
=================================================
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
Image Name: MIPS OpenWrt Linux-5.4.60
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1937406 Bytes = 1.8 MB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:50040 len:1d8ffe
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
[ 0.000000] Linux version 5.4.60 (root@buntu18) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14267-18fbb9aa21)) #0 Tue Aug 25 18:54:24 2020
[ 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] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is D-Link DAP-1620 A1
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] 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] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=0007e4ee
[ 0.000000] Readback ErrCtl register=0007e4ee
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 57568K/65536K available (4576K kernel code, 200K rwdata, 1024K rodata, 1232K init, 205K bss, 7968K 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] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
[ 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.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.015473] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[ 0.059575] pid_max: default: 32768 minimum: 301
[ 0.068952] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.083360] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.105446] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.124748] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.138360] pinctrl core: initialized pinctrl subsystem
[ 0.149278] NET: Registered protocol family 16
[ 0.642332] PCI host bridge /pcie@10140000 ranges:
[ 0.651728] MEM 0x0000000020000000..0x000000002fffffff
[ 0.662100] IO 0x0000000010160000..0x000000001016ffff
[ 0.694853] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.705908] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.718475] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.729481] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.742104] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.753113] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.766217] PCI host bridge to bus 0000:00
[ 0.774267] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.787887] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.799657] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.813156] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.828949] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[ 0.840879] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 0.853316] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 0.865853] pci 0000:00:00.0: supports D1
[ 0.873732] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.887189] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.903207] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[ 0.915093] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 0.928553] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.941951] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.956025] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.969076] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.982226] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.995352] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.009199] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 1.022701] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[ 1.037065] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[ 1.050575] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[ 1.065121] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[ 1.079467] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.089331] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
[ 1.102828] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
[ 1.117302] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 1.142059] clocksource: Switched to clocksource systick
[ 1.153941] NET: Registered protocol family 2
[ 1.163433] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.180002] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.195163] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.209181] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.221959] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.234867] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.248993] NET: Registered protocol family 1
[ 1.257619] PCI: CLS 0 bytes, default 32
[ 1.268251] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 1.282478] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 1.303735] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.315245] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.351832] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.365559] printk: console [ttyS0] disabled
[ 1.374045] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 1.393666] printk: console [ttyS0] enabled
[ 1.393666] printk: console [ttyS0] enabled
[ 1.410255] printk: bootconsole [early0] disabled
[ 1.410255] printk: bootconsole [early0] disabled
[ 1.434765] spi spi0.0: force spi mode3
[ 1.443406] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[ 1.453419] 4 fixed-partitions partitions found on MTD device spi0.0
[ 1.466083] Creating 4 MTD partitions on "spi0.0":
[ 1.475640] 0x000000000000-0x000000030000 : "u-boot"
[ 1.486684] 0x000000030000-0x000000040000 : "nvram"
[ 1.497510] 0x000000040000-0x000000050000 : "factory"
[ 1.508668] 0x000000050000-0x000000800000 : "firmware"
[ 1.523123] 2 uimage-fw partitions found on MTD device firmware
[ 1.534988] Creating 2 MTD partitions on "firmware":
[ 1.544894] 0x000000000000-0x0000001d903e : "kernel"
[ 1.555878] 0x0000001d903e-0x0000007b0000 : "rootfs"
[ 1.566831] mtd: device 5 (rootfs) set to be root filesystem
[ 1.579850] 1 squashfs-split partitions found on MTD device rootfs
[ 1.592258] 0x0000004a7000-0x0000007b0000 : "rootfs_data"
[ 1.604983] libphy: Fixed MDIO Bus: probed
[ 1.622237] gsw: setting port4 to ephy mode
[ 1.631046] libphy: mdio: probed
[ 1.638769] mtk_soc_eth 10100000.ethernet: connected port 5 to PHY at mdio-bus:01 [uid=001cc915, driver=Generic PHY]
[ 1.660023] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.672564] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.689615] rt2880_wdt 10000120.watchdog: Initialized
[ 1.701157] NET: Registered protocol family 10
[ 1.714891] Segment Routing with IPv6
[ 1.722406] NET: Registered protocol family 17
[ 1.731354] 8021q: 802.1Q VLAN Support v1.8
[ 1.748957] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.770041] Freeing unused kernel memory: 1232K
[ 1.779072] This architecture does not have kernel memory protection.
[ 1.791902] Run /sbin/init as init process
[ 1.977990] random: fast init done
[ 2.814766] init: Console is alive
[ 2.821957] init: - watchdog -
[ 3.981942] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.140018] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.157507] init: - preinit -
[ 5.312553] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.411473] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.514627] random: jshn: uninitialized urandom read (4 bytes read)
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
[ 6.369626] jffs2: notice: (446) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (5 unchecked, 1 orphan) and 7 of xref (1 dead, 0 orphan) found.
[ 6.402175] mount_root: switching to jffs2 overlay
[ 6.440252] overlayfs: upper fs does not support tmpfile.
[ 6.458460] urandom-seed: Seeding with /etc/urandom.seed
[ 6.581382] procd: - early -
[ 6.587345] procd: - watchdog -
[ 6.792853] procd: - watchdog -
[ 6.800015] procd: - ubus -
[ 6.955282] urandom_read: 5 callbacks suppressed
[ 6.955292] random: ubusd: uninitialized urandom read (4 bytes read)
[ 6.981271] random: ubusd: uninitialized urandom read (4 bytes read)
[ 6.998925] procd: - init -
Please press Enter to activate this console.
[ 7.975441] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.193102] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[ 8.207575] Backport generated by backports.git v5.8-1-0-g79400d9e
[ 8.294482] xt_time: kernel timezone is -0000
[ 8.528105] mt76x2e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[ 8.540754] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 8.612876] urngd: jent-rng init failed, err: 2
[ 8.687710] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 8.706126] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 8.717089] mt76x2e 0000:01:00.0: Build: 1
[ 8.725254] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 8.742100] mt76x2e 0000:01:00.0: Firmware running!
[ 8.877293] PPP generic driver version 2.4.2
[ 8.889251] NET: Registered protocol family 24
[ 8.942547] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 8.957015] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 8.972483] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 9.020435] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.131827] random: crng init done
ifconfig eth0 up:
root@OpenWrt:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:96 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6528 (6.3 KiB) TX bytes:6528 (6.3 KiB)
root@OpenWrt:/# ip link set eth0 up
[ 36.201514] 8021q: adding VLAN 0 to HW filter on device eth0
root@OpenWrt:/# [ 36.536060] mtk_soc_eth 10100000.ethernet eth0: port 5 link up (1000Mbps/Full duplex)
[ 37.186158] mtk_soc_eth 10100000.ethernet eth0: port 5 link up (100Mbps/Full duplex)
root@OpenWrt:/#
root@OpenWrt:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:43:76:20:58
inet6 addr: fe80::20c:43ff:fe76:2058/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:840 (840.0 B)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8704 (8.5 KiB) TX bytes:8704 (8.5 KiB)
swconfig:
root@OpenWrt:/# swconfig dev mt7620 set reset 1
root@OpenWrt:/# swconfig dev mt7620 set enable_vlan 0
root@OpenWrt:/# swconfig dev mt7620 set apply 1
root@OpenWrt:/# swconfig dev mt7620 show
Global attributes:
enable_vlan: 0
mib: Switch MIB counters
PPE_AC_BCNT0: 0
PPE_AC_PCNT0: 0
PPE_AC_BCNT63: 0
PPE_AC_PCNT63: 0
PPE_MTR_CNT0: 0
PPE_MTR_CNT63: 0
GDM1_TX_GBCNT: 0
GDM1_TX_GPCNT: 0
GDM1_TX_SKIPCNT: 0
GDM1_TX_COLCNT: 0
GDM1_RX_GBCNT1: 0
GDM1_RX_GPCNT1: 0
GDM1_RX_OERCNT: 0
GDM1_RX_FERCNT: 0
GDM1_RX_SERCNT: 0
GDM1_RX_LERCNT: 0
GDM1_RX_CERCNT: 0
GDM1_RX_FCCNT: 0
GDM2_TX_GBCNT: 0
GDM2_TX_GPCNT: 0
GDM2_TX_SKIPCNT: 0
GDM2_TX_COLCNT: 0
GDM2_RX_GBCNT: 0
GDM2_RX_GPCNT: 0
GDM2_RX_OERCNT: 0
GDM2_RX_FERCNT: 0
GDM2_RX_SERCNT: 0
GDM2_RX_LERCNT: 3
GDM2_RX_CERCNT: 0
GDM2_RX_FCCNT: 0
mirror_monitor_port: 0
arl_table: address resolution table
Port 6: MAC 00:0c:43:76:20:58
Port 6: MAC 00:0c:43:76:20:58
Port 5: MAC 00:0e:c6:b8:d7:61
Port 5: MAC 00:0e:c6:b8:d7:61
Port 0:
mib: Port 0 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:0 link:down
Port 1:
mib: Port 1 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:1 link:down
Port 2:
mib: Port 2 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:2 link:down
Port 3:
mib: Port 3 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:3 link:down
Port 4:
mib: Port 4 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:4 link:down
Port 5:
mib: Port 5 MIB counters
TxGPC : 2
TxBOC : 0
TxGOC : 308
TxEPC : 0
RxGPC : 2466
RxBOC : 0
RxGOC : 263008
RxEPC1 : 0
RxEPC2 : 1833
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 1
link: port:5 link:up speed:100baseT full-duplex
Port 6:
mib: Port 6 MIB counters
TxGPC : 633
TxBOC : 0
TxGOC : 65933
TxEPC : 0
RxGPC : 8
RxBOC : 0
RxGOC : 1172
RxEPC1 : 0
RxEPC2 : 6
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 1
link: port:6 link:up speed:1000baseT full-duplex
Port 7:
mib: Port 7 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:7 link:down
VLAN 1:
vid: 1
ports: 5 6
root@OpenWrt:/#
Now when I connect to wireless I don't receive IP and I need to put eth0 up to become active but still don't receive IP on it but now link is connected.