D-Link DAP-X1860
EXO AX1800 Mesh Wi-Fi 6 Range Extender DAP-X1860 in a form of socket plug with single gigabit ethernet port and dual band 2×2 AX radio
OpenWrt support
Supported
Openwrt is up and running.
Supported Versions
Supported since commit:
- ramips: add support for D-Link DAP-X1860 A1: ?p=openwrt/openwrt.git;a=commitdiff;h=3c31f6b521bb5fc49e222a8f2bcd454b73452a0e.
Where to look for support:
- OpenWrt forum thread: https://forum.openwrt.org/t/openwrt-support-for-d-link-dap-x1860/141538
How to flash OpenWrt to this device
Steps:
- Download the openWRT factory image. (E.g. via https://firmware-selector.openwrt.org)
- Connect to the repeater with ethernet cable.
- Enter recovery mode. (Hold RESET button, before plugin in the repeater, until orange power light starts blinking)
- In Chrome open http://192.168.0.50 (maybe you have to set an manual IP to your PC in the 192.168.0.x range)
- Upload factory.bin
- Wait a couple of minutes.
- You should now be able to acess LuCI at http://192.168.1.1
Note: You will not receive an "update completed" message, but when the orange light is on (not blinking), it is finished
Note: The browser Mozilla Firefox seems to not support the upload fully and users end up with incorrect firmware.bin file sizes. Please try Chrome or Microsoft Edge for the upload instead. To find out, if the uploaded file size is correct, please compare the sha256sum, which is shown upon upload, with the original sha256sum provided by OpenWrt.
Once you have flashed OpenWrt with the above steps and you decide you want to upgrade to a newer version of OpenWrt or simply want to try out the latest snapshot image, in principle you can, but there is no need to completely reflash everything using the factory image. Instead you can use the sysupgrade process: generic.sysupgrade
Hardware Highlights
Hardware
Info
Architecture | MIPS 1004Kc |
---|---|
Vendor | MEDIATEK |
Bootloader | U-Boot SPL ELX-v1.0.4 (Sep 11 2020 - 10:16:00 +0800) |
System-On-Chip | MediaTek MT7621AT ver 1, eco 3 |
CPU/Speed | 2x 880Mhz |
Flash-Chip | MX30LF1G18AC |
Flash size | 128 MiB |
RAM | 256 MiB |
Wireless | Mediatek MT7915 DBDC 2.4/5 Ghz 2×2 AX capable |
Ethernet | 1x 10/100/1000 w/ vlan support |
Switch | Mediatek MT7530 |
USB | - |
Serial | Yes |
JTAG | ? |
Recent activity:
- mt7621:
- mt7915:
- mt7530:
Photos
Insert photo of front of the casing
Insert photo of back of the casing
Insert photo of backside label
Opening the case
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
1: Tx, 2: GND, 3: Rx, 4: Vcc
Serial connection parameters for D-Link DAP-X1860 A1 | 115200, 8N1, 3.3V |
---|
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
Factory image encryption / decryption
The bootloader recovery system (pressing reset button during plug-in) requires flashing an unencrypted ELX image,
however it will accept and flash just anything. If you accidentally bricked your device by uploading a D-Link stock firmware,
you need to decrypt the stock firmware first and re-upload the decrypted kernel_DAP-X1860.bin
.
To install OpenWrt, either a recovery image can be flashed via bootloader (which only works in some Chromium-based browsers) or an encrypted and signed image can be uploaded via the regular web interface (also wirelessly, e.g. using a phone).
The web interface is at 192.168.0.50
, login with admin
/ password
If login does not work even after resetting config, try a different browser. Skip the nag wizard by directly accessing http://192.168.0.50/UpdateFirmware_Simple.html
Image encryption
The input file is assumed to be kernel_DAP-X1860.bin
here. Note the misspelling of signauture
.
Within the device firmware, an outdated version of openssl
is found, using the md5 digest for AES-CBC by default.
For current versions of openssl, the parameter -md md5
needs to be given explicitly.
Download and unpack the GPL Code for DAP-X1860 from https://tsd.dlink.com.tw/GPL.asp
# retrieve image signing key strings DAP-X1860_GPL/boards/D-LINK-RE-7476DRX/add_header | grep "BEGIN RSA PRIVATE KEY" -A 50 > key.pem # digest stage 1 openssl dgst -sha512 -out FW.sha512.ds.st1 kernel_DAP-X1860.bin # sign digest -> stage 1 signature openssl rsautl -sign -inkey key.pem -in FW.sha512.ds.st1 -pkcs -out FW.signauture.st1 # tar stage 1 tar cf FWImage.st1 kernel_DAP-X1860.bin FW.signauture.st1 # encrypt stage 1 -> stage 2 openssl enc -md md5 -aes-256-cbc -salt -in FWImage.st1 -out FWImage.st2 -k MB0dBx62oXJXDvt12lETWQ== # digest stage 2 openssl dgst -sha512 -out FW.sha512.ds.st2 FWImage.st2 # sign digest -> stage 2 signature openssl rsautl -inkey key.pem -sign -in FW.sha512.ds.st2 -out FW.signauture.st2 # tar stage 2 tar cf kernel_DAP-X1860-encrypt.bin FWImage.st2 FW.signauture.st2
Image decryption
To revert the device to D-Link OEM Firmware, it needs to be decrypted as stated in the commit message:
# untar stage 2 tar -xvf DAP-X1860_RevA_Firmware_101b94.bin # decrypt stage 2 -> stage 1 openssl enc -d -md md5 -aes-256-cbc -in FWImage.st2 -out FWImage.st1 -k MB0dBx62oXJXDvt12lETWQ== # untar stage 1 tar -xvf FWImage.st1
You may also verify the signatures using openssl rsautl --verify
with DAP-X1860_GPL/add_files/dlink_tw/public.pem
Bootlogs
OEM bootlog
U-Boot SPL ELX-v1.0.4 (Sep 11 2020 - 10:16:00 +0800) Trying to boot from NAND Initializing NMBM ... Signature found at block 1023 [0x07fe0000] First info table with writecount 0 found in block 960 Second info table with writecount 0 found in block 963 NMBM has been successfully attached -Boot ELX-v1.0.4 (Sep 11 2020 - 10:16:00 +0800) CPU: MediaTek MT7621AT ver 1, eco 3 Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, XTAL: 40MHz Model: MediaTek MT7621 reference board (NAND) DRAM: 256 MiB NAND: 128 MiB Initializing NMBM ... Signature found at block 1023 [0x07fe0000] First info table with writecount 0 found in block 960 Second info table with writecount 0 found in block 963 NMBM has been successfully attached Loading Environment from NMBM... OK In: uartlite0@1e000c00 Out: uartlite0@1e000c00 Err: uartlite0@1e000c00 Net: eth0: eth@1e100000 using MAC Address - a0:a3:f0:48:af:f0 Hit any key to stop autoboot: 0 gpio: pin 7 (gpio 7) value is 0 *** U-Boot Boot Menu *** 1. Startup system (Default) 2. Upgrade firmware 3. Upgrade bootloader 4. Upgrade bootloader (advanced mode) 5. Load image and run 0. U-Boot console Press UP/DOWN to move, ENTER to select Loading legacy image at offset 0x180000 to memory 0x80010000, size 0x56aa9c ... Automatic boot of image at addr 0x80010000 ... ## Booting kernel from Legacy Image at 80010000 ... Image Name: Linux Kernel Image Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 5679708 Bytes = 5.4 MiB Load Address: 81001000 Entry Point: 81009ec0 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Linux version 4.4.198 (root@leslie-OptiPlex-390) (gcc version 5.4.0 (LEDE GCC 5.4.0 unknown) ) #3 SMP Mon Jan 11 10:38:51 CST 2021 SoC Type: MediaTek MT7621 ver:1 eco:3 bootconsole [early0] enabled CPU0 revision is: 0001992f (MIPS 1004Kc) MIPS: machine is MediaTek MT7621 RFB (802.11ax,NAND) Determined physical RAM map: memory: 10000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone ranges: DMA [mem 0x0000000000000000-0x0000000000ffffff] Normal [mem 0x0000000001000000-0x000000000fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000000000-0x000000000fffffff] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] VPE topology {2,2} total 4 Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes MIPS secondary cache 256kB, 8-way, linesize 32 bytes. PERCPU: Embedded 10 pages/cpu @82958000 s8576 r8192 d24192 u40960 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Writing ErrCtl register=00007282 Readback ErrCtl register=00007282 Memory: 235816K/262144K available (7005K kernel code, 4019K rwdata, 1680K rodata, 10900K init, 218K bss, 26328K reserved, 0K cma-reserved) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Hierarchical RCU implementation. NR_IRQS:256 clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes MIPS secondary cache 256kB, 8-way, linesize 32 bytes. CPU1 revision is: 0001992f (MIPS 1004Kc) Synchronize counters for CPU 1: done. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes MIPS secondary cache 256kB, 8-way, linesize 32 bytes. CPU2 revision is: 0001992f (MIPS 1004Kc) Synchronize counters for CPU 2: done. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes MIPS secondary cache 256kB, 8-way, linesize 32 bytes. CPU3 revision is: 0001992f (MIPS 1004Kc) Synchronize counters for CPU 3: done. Brought up 4 CPUs clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 1024 (order: 3, 32768 bytes) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 ********* mediatek_gpio_init ********** mt7621_gpio 1e000600.gpio: registering 32 gpios mt7621_gpio 1e000600.gpio: registering 32 gpios mt7621_gpio 1e000600.gpio: registering 32 gpios ============ platform_device_register ---- edx_led_device ---- rtk_register_leds_gpio ======== mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe1 mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe2 PCIe port 2 link down PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref] pci 0000:00:00.0: PCI bridge to [bus 01] pci 0000:00:00.0: bridge window [mem 0x60000000-0x601fffff pref] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref] pci 0000:00:01.0: PCI bridge to [bus 02] pci 0000:00:01.0: bridge window [mem 0x60200000-0x603fffff pref] clocksource: Switched to clocksource GIC NET: Registered protocol family 2 TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 2048 (order: 2, 16384 bytes) TCP: Hash tables configured (established 2048 bind 2048) UDP hash table entries: 256 (order: 1, 8192 bytes) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled console [ttyS0] disabled 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A console [ttyS0] enabled console [ttyS0] enabled bootconsole [early0] disabled bootconsole [early0] disabled 1e000d00.uartfull: ttyS1 at MMIO 0x1e000d00 (irq = 34, base_baud = 3125000) is a 16550A loop: module loaded libphy: Fixed MDIO Bus: probed libphy: mdio: probed mtk_soc_eth 1e100000.ethernet: generated random MAC address 82:d0:85:d9:ea:3d mtk_soc_eth 1e100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10 mtk_soc_eth 1e100000.ethernet: generated random MAC address d2:37:df:f7:f5:b6 mtk_soc_eth 1e100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY] mtk_soc_eth 1e100000.ethernet eth1: mediatek frame engine at 0xbe100000, irq 10 register mt_drv <--mt7916_hif_init() Rx[0] Ring: total 24576 bytes allocated Rx[1] Ring: total 16384 bytes allocated <-- pci_alloc_tx_rx_ring_mem, Status=0 === pAd = c0301000, size = 11274784 === <-- RTMPAllocAdapterBlock, Status=0 PCI CSRBaseAddress =0xc0200000, csr_addr=0xc0200000! RTMPInitPCIeDevice():device_id=0x7915 mt7915_init()--> Use the default iPAiLNA bin image! <--mt7915_init() get_wdev_by_idx: invalid idx(0) get_wdev_by_idx: invalid idx(0) get_wdev_by_idx: invalid idx(0) get_wdev_by_idx: invalid idx(0) Rx[0] Ring: total 24576 bytes allocated Rx[1] Ring: total 24576 bytes allocated Rx[2] Ring: total 8192 bytes allocated Rx[3] Ring: total 16384 bytes allocated Rx[4] Ring: total 8192 bytes allocated <-- pci_alloc_tx_rx_ring_mem, Status=0 get_wdev_by_idx: invalid idx(0) get_wdev_by_idx: invalid idx(0) get_wdev_by_idx: invalid idx(0) Registered button device:reset, gpio:6,code:408,index:10 Registered button device:wps, gpio:4,code:529,index:11 mt7621_wdt 1e000100.wdt: Initialized Registered led device: power_led Registered led device: diag Registered led device: strength0 Registered led device: strength0_1 Registered led device: strength1 Registered led device: strength1_1 Registered led device: sys_led NET: Registered protocol family 10 NET: Registered protocol family 17 bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. Bridge firewalling registered mtkmips-pinmux pinctrl: spi is already enabled mtk-nand 1e003000.nand: Error applying setting, reverse things back nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1 nand: Macronix MX30LF1G18AC nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 Scanning device for bad blocks nmbm nmbm: Signature found at block 1023 [0x07fe0000] nmbm nmbm: First info table with writecount 0 found in block 960 nmbm nmbm: Second info table with writecount 0 found in block 963 nmbm nmbm: NMBM has been successfully attached 8 ofpart partitions found on MTD device nmbm Creating 8 MTD partitions on "nmbm": 0x000000000000-0x000000080000 : "Bootloader" 0x000000080000-0x000000100000 : "Config" 0x000000100000-0x000000180000 : "Factory" 0x000000180000-0x000003580000 : "Kernel" no rootfs found after FIT image in "Kernel" 2 uimage-fw partitions found on MTD device Kernel 0x000000180000-0x000000700000 : "kernel" 0x000000700000-0x000003580000 : "user" 0x000003580000-0x000003980000 : "manufacture" 0x000003980000-0x000004000000 : "storage" 0x000004000000-0x000007800000 : "Reserve" 0x000000000000-0x000007800000 : "ALL" mt753x gsw: Switch is MediaTek MT7530 rev 1 libphy: mt753x_mdio: probed hctosys: unable to open rtc device (rtc0) Freeing unused kernel memory: 10900K This architecture does not have kernel memory protection. System Init version: 1.1 date: 1 Setting up file systems ... proc: unrecognized mount option "defaults" or missing value Setting up /mnt/tmpfs directory with tmpfs/16384KB Setting up FLASH storage partition ... jffs2: Empty flash at 0x000238ac ends at 0x00024000 jffs2: Empty flash at 0x0002488c ends at 0x00025000 jffs2: Empty flash at 0x00026824 ends at 0x00027000 jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x000287e0: Read 0xffffffff, calculated 0xa78aa336 jffs2: Empty flash at 0x000288ec ends at 0x00029000 jffs2: notice: (474) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. Setting up /apps directory ...apps is in FLASH ... Create Mediatek e2p file from factory partition ... Setting up loopback device ... FINISHED Start Normal Operation Mode ... ************************************************************************ * ---ELX--- * ************************************************************************ KernelApp version: 0.0.2 build date: 2021/01/11 build time: 10:27:04 ln: /sbin/./start_all: File exists Share memory created: keyid 6888 shm_id 0 size 321(KB) Warning: dbox_destroy_share_memory p_dbox_cfg is NULL! __create_share_mem keyid 6888 shm_id 0 __create_share_mem keyid 6888 shm_id 0 IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready device eth0 entered promiscuous mode br0: port 1(eth0) entered forwarding state br0: port 1(eth0) entered forwarding state ******************** Initialize Radio_(24G) setting ... rd[0]==1 OK Configuring Ralink WiFi device ...Wlan is in AP Mode CMD[ifconfig ra0 down] CMD[ifconfig ra1 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig ra2 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig rax0 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig rax1 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig rax2 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig apcli0 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig apclix0 down] ifconfig: SIOCGIFFLAGS: No such device CMD[insmod ] CMD[echo '====================CE(EU)===================='] ******************** Initialize Radio_(5G) setting ... rd[1]==2 OK Configuring 5G radio setting ... Configuring Ralink WiFi device ...Wlan is in AP Mode CMD[ifconfig ra0 down] CMD[ifconfig ra1 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig ra2 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig rax0 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig rax1 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig rax2 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig apcli0 down] ifconfig: SIOCGIFFLAGS: No such device CMD[ifconfig apclix0 down] ifconfig: SIOCGIFFLAGS: No such device CMD[insmod /lib/modules/4.4.198/kernel/mt_wifi.ko] insmod: can't read '/lib/modules/4.4.198/kernel/mt_wifi.ko': No such file or directory CMD[echo '====================CE(EU)===================='] Bring up Mediatek 24G WiFi device ...Wlan is in CMD[/sbin/xcontrol 2>/dev/null &] CMD[ifconfig ra0 0.0.0.0 up] ra0: ===> main_virtual_if_open get_wdev_by_idx: invalid idx(0) RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT get_wdev_by_idx: invalid idx(0) get_wdev_by_idx: invalid idx(0) get_wdev_by_idx: invalid idx(0) load l1profile succeed! mt_service_open: wlan service opens successfully! [multi_profile_merge_5g_only] DBDC_MODE=1 multi-profile merge success, en:1,pf1_num:1,pf2_num:1,total:2 Open file "/etc/wireless/mediatek/DBDC_card0.dat" to store DBDC cfg! (23) Write file "/etc/wireless/mediatek/DBDC_card0.dat" success (size=3550)! BssidNum=2 Pf2MbssIdxMap: 0 1 MacAddress1 = 00:00:00:00:00:00 E2pAccessMode=2 SSID[0]=VPN-D55B55, EdcaIdx=0 SSID[1]=VPN-D55B55, EdcaIdx=0 RTMPSetProfileParameters(): DBDC Mode=1, eDBDC_mode = 1 cfg_mode=16 cfg_mode=16 cfg_mode=16 wmode_band_equal(): Band Equal! cfg_mode=17 cfg_mode=17 cfg_mode=17 BandSteering=1 BndStrgBssIdx=1;1 [TxPower] BAND0: 100, BAND1: 100 [SKUenable] BAND0: 1, BAND1: 1 [SkuTableIdx]: 1 [PERCENTAGEenable] BAND0: 0, BAND1: 0 [BFBACKOFFenable] BAND0: 1, BAND1: 1 profile: FragThreshold[0]=2346 profile: FragThreshold[1]=2346 APEdca0 Valid=1 APAifsn[0]=3 APAifsn[1]=7 APAifsn[2]=1 APAifsn[3]=1 APEdca1 Valid=1 APAifsn[0]=3 APAifsn[1]=7 APAifsn[2]=1 APAifsn[3]=1 APEdca2 APEdca3 BSSAifsn[0]=3 BSSAifsn[1]=7 BSSAifsn[2]=2 BSSAifsn[3]=2 BSSAifsn[0]=3 BSSAifsn[1]=7 BSSAifsn[2]=2 BSSAifsn[3]=2 APSDCapable[0]=1 APSDCapable[1]=1 default ApCliAPSDCapable[0]=1 default ApCliAPSDCapable[1]=1 DfsZeroWait Support=0/0 DfsZeroWaitCacTime=255/255 read_itxbf: ITxBfEn = 0 read_itxbf: BSSID[0] read_itxbf: MBSS[0] ITxBfEn = 0 read_itxbf: ITxBfEn = 0 read_itxbf: BSSID[1] read_itxbf: MBSS[1] ITxBfEn = 0 read_itxbf: Common.ITxBfEn = 0 read_etxbf: ETxBfEnCond = 1 read_etxbf: BSSID[0] read_etxbf: MBSS[0] ETxBfEnCond = 1 read_etxbf: ETxBfEnCond = 1 read_etxbf: BSSID[1] read_etxbf: MBSS[1] ETxBfEnCond = 1 MBSS[0] MuMimoDlEnable = 0 MBSS[1] MuMimoDlEnable = 1 MBSS[0] MuMimoUlEnable = 0 MBSS[1] MuMimoUlEnable = 1 [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=1 [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=1 [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0 [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0 [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0 [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0 [PMF]Set_ApCliPMFMFPC_Proc:: Desired MFPC=1 [PMF]Set_ApCliPMFMFPC_Proc:: MFPC=1, MFPR=0, SHA256=0 [PMF]Set_ApCliPMFMFPC_Proc:: Desired MFPC=1 [PMF]Set_ApCliPMFMFPC_Proc:: MFPC=1, MFPR=0, SHA256=0 [PMF]Set_ApCliPMFMFPR_Proc:: Desired MFPR=0 [PMF]Set_ApCliPMFMFPR_Proc:: MFPC=1, MFPR=0, SHA256=0 [PMF]Set_ApCliPMFMFPR_Proc:: Desired MFPR=0 [PMF]Set_ApCliPMFMFPR_Proc:: MFPC=1, MFPR=0, SHA256=0 [PMF]Set_ApCliPMFSHA256_Proc:: Desired PMFSHA256=0 [PMF]Set_ApCliPMFSHA256_Proc:: Desired PMFSHA256=0 HT_BAWinSize: wdev[0]: (TX=256, RX=256) HT_BAWinSize: wdev[1]: (TX=256, RX=256) HT: WDEV[0] Ext Channel = BELOW HT: WDEV[1] Ext Channel = ABOVE HT: greenap_cap = 0 ChipID=7915, TWTSupport in profile=1 ICapMode = 0 WtcSetMaxStaNum: MaxStaNum:284, BssidNum:2, WdsNum:0, MSTANum:1, MaxNumChipRept:0, MinMcastWcid:285 Top Init Done! Use dev_alloc_skb token_tx_two_queues_init(): ct sw token(0) number = 2048 token_tx_two_queues_init(): token que(0) inited done!id_head/tail=0/2048 token_tx_two_queues_init(): 8d504a04,8d504a04 token_tx_two_queues_init(): ct sw token(1) number = 6144 token_tx_two_queues_init(): token que(1) inited done!id_head/tail=0/6144 token_tx_two_queues_init(): 8d504aac,8d504aac TxRing[0]: attr:0, total 2048 entry initialized TxRing[1]: attr:0, total 2048 entry initialized TxRing[2]: attr:0, total 2048 entry initialized RX[0] DESC a0d68000 size = 24576 RX[1] DESC a0d4c000 size = 16384 RX[2] DESC a0f10000 size = 24576 RX[3] DESC a0f18000 size = 24576 RX[4] DESC a0ed6000 size = 8192 RX[5] DESC a0f50000 size = 16384 RX[6] DESC a0f54000 size = 8192 -->TX_RING_0[0xd9330]: Attr:0, Base=0xd40000, Cnt=2048! -->TX_RING_1[0xd5420]: Attr:0, Base=0xed8000, Cnt=2048! -->TX_RING_2[0xd5430]: Attr:0, Base=0xf00000, Cnt=2048! -->TX_RING_3[0xd5400]: Attr:3, Base=0xed3000, Cnt=128! -->TX_RING_4[0xd5410]: Attr:2, Base=0xed4000, Cnt=256! -->TX_RING_5[0xd5440]: Attr:1, Base=0xed5000, Cnt=256! -->RX_RING0[0xd8510]: Base=0xd68000, Cnt=1536 -->RX_RING1[0xd9520]: Base=0xd4c000, Cnt=1024 -->RX_RING2[0xd4500]: Base=0xf10000, Cnt=1536 -->RX_RING3[0xd4510]: Base=0xf18000, Cnt=10 -->RX_RING4[0xd5500]: Base=0xed6000, Cnt=512 -->RX_RING5[0xd5510]: Base=0xf50000, Cnt=1024 -->RX_RING6[0xd5520]: Base=0xf54000, Cnt=512 Hif Init Done! pci_driver_own_by_port: success to clear p=0 fw own, from(1): 1 is interrupt mode, 2 is polling mode. pci_driver_own_by_port: success to clear p=1 fw own, from(1): 1 is interrupt mode, 2 is polling mode. fw_prepare():using E2 ROM patch fw_prepare():using E2 RAM Parsing patch header Built date: 20200506152445a Platform: ALPS HW/SW version: 0x8a108a10 Patch version: 0xffffffff Section num: 0x2, subsys: 0x4 Section 0: type = 0x30002, offset = 0xe0, size = 0xfc80 Target address: 0x200000, length: 0xfc80 Section 1: type = 0x30002, offset = 0xfd60, size = 0x13540 Target address: 0xe000f000, length: 0x13540 Patch SEM Status = 2 patch is not ready && get semaphore success Start address = 0x200000, DL length = 64640, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0xe000f000, DL length = 79168, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) MtCmdPatchFinishReq EventGenericEventHandler: CMD Success Patch SEM Status = 3 release patch semaphore WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0 Parsing CPU 0 fw tailer Chip ID: 0x0b Eco version: 0x01 Region number: 0x07 Format version: 0x02 Format flag: 0x01 Ram version: ____000000 Built date: 20200506152529 Common crc: 0x2c67a785 Parsing tailer region 0 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0x21fc00 Download size: 108544 Feature set: 0x20 Parsing tailer region 1 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0x31dc00 Download size: 205824 Feature set: 0x00 Parsing tailer region 2 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0x417400 Download size: 31744 Feature set: 0x00 Parsing tailer region 3 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0xe0022800 Download size: 389120 Feature set: 0x00 Parsing tailer region 4 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0xe0081800 Download size: 354304 Feature set: 0x00 Parsing tailer region 5 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0x23a400 Download size: 89088 Feature set: 0x00 Parsing tailer region 6 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0x400000 Download size: 81920 Feature set: 0x00 Release info: header tag = 0, total length = 72 tag 1, padding length = 3, tag length = 65 payload: t-neptune-MP-AX1800-2007-MT7915_WIFI_RAM_REBB_2007-20200506152412 Start address = 0x21fc00, DL length = 108544, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0x31dc00, DL length = 205824, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0x417400, DL length = 31744, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0xe0022800, DL length = 389120, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0xe0081800, DL length = 354304, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) random: nonblocking pool is initialized Start address = 0x23a400, DL length = 89088, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0x400000, DL length = 81920, Data mode = 0x80000000 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) MtCmdFwStartReq: override = 0x1, address = 0x21fc00 EventGenericEventHandler: CMD Success Parsing CPU 1 fw tailer Chip ID: 0x00 Eco version: 0x01 Region number: 0x03 Format version: 0x02 Format flag: 0x01 Ram version: DEV_000000 Built date: 20200506152549 Common crc: 0xf020288f Parsing tailer region 0 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0x10200000 Download size: 83200 Feature set: 0x00 Parsing tailer region 1 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0x10300000 Download size: 17920 Feature set: 0x00 Parsing tailer region 2 Decomp crc: 0x0 Decomp size: 0x0 Decomp block size: 0x0 Target address: 0xe0000000 Download size: 1952 Feature set: 0x00 Release info: header tag = 0, total length = 0 Start address = 0x10200000, DL length = 83200, Data mode = 0x80000010 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0x10300000, DL length = 17920, Data mode = 0x80000010 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) Start address = 0xe0000000, DL length = 1952, Data mode = 0x80000010 EventGenericEventHandler: CMD Success MtCmdAddressLenReq:(ret = 0) MtCmdFwStartReq: override = 0x4, address = 0x0 EventGenericEventHandler: CMD Success MCU Init Done! efuse_probe: efuse = 10000012 RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5 RtmpEepromGetDefault::e2p_dafault=1 RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1 NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0] rtmp_nv_init(): EEPROM Size[131072] [EEPROMImage - PreCalImageInfo - PreCalImage - TxDPDImage] [0x8c020000 - 0x8c020e00 - 0x8c020e10 - 0x8c02d220] validFlashEepromID(): eeFlashId=7915, pAd->ChipID=7915 [d-die version:1] [a-die version:2] NICReadEEPROMParameters: EEPROM 0x62 7 NICReadEEPROMParameters: Group Pre-Cal finished, load Group Pre-Cal data NICReadEEPROMParameters: DPD 5G Pre-Cal finished! NICReadEEPROMParameters: DPD 2G Pre-Cal finished! Country Region from e2p = 0 antenna_default_reset() todo antenna_default_reset() value = 0x2424, TxPath = 4, RxPath = 4 RTMPReadTxPwrPerRate(458): Don't Support this now! rc_radio_init(): DBDC MODE=1, ConcurrentBand=2 rc_radio_init(): radio_ctrl=8e3716bc,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf rc_radio_init(): radio_ctrl=8e371a10,Band=1,rfcap=3,channel=1,PhyMode=2 extCha=0xf rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 1 rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 1 TxBfModuleEnCtrl:u1BfNum = 2, u1BfBitmap = 3, u1BfSelBand[0] = 0 ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0 ucAction = 0, ucBandIdx = 1, ucSmthIntlBypass = 0 AntCfgInit(2702): Not support for HIF_MT yet! mt7915_check_RF_lock_down: RFlockDown Enable: 0 MtReadPwrLimitTable: sku table idx: 1 mt7915_check_RF_lock_down: RFlockDown Enable: 0 MtReadPwrLimitTable: sku table idx: 1 EEPROM Init Done! mac_init()--> init_mac_cr()--> <--mac_init() CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0 CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0 CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0 MAC Init Done! BBPInit():BBP Initialization..... Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2 Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0 BBPInit() todo PHY Init Done! tx_pwr_comp_init():NotSupportYet! Set_SCSEnable_Proc(): BandIdx=0, SCSEnable=1 MtCmdSetMacTxRx:(ret = 0) MtCmdSetMacTxRx:(ret = 0) ap_ftkd> Initialize FT KDP Module... Main bssid = 00:00:00:00:00:00 MtCmdSetMacTxRx:(ret = 0) MtCmdSetMacTxRx:(ret = 0) <==== mt_wifi_init, Status=0 TxBfModuleEnCtrl:u1BfNum = 2, u1BfBitmap = 3, u1BfSelBand[0] = 0 HeraInitStbcPriority: u1BandIdx = 0, u1StbcPriority = 0 HeraConfigStbcPriority: u1BandIdx = 0, u1Operation=1, u1StbcPriority = 0 CmdHeraStbcPriorityCtrl: u1BandIdx=0, u1Operation=1, u1StbcPriority=0 HeraInitStbcPriority: u1BandIdx = 1, u1StbcPriority = 0 HeraConfigStbcPriority: u1BandIdx = 1, u1Operation=1, u1StbcPriority = 0 CmdHeraStbcPriorityCtrl: u1BandIdx=1, u1Operation=1, u1StbcPriority=0 Register MBSSID IF 1 (rax0) MSTA_Init (2) ---> ApCli Register MSTA IF (apcli0) , pAd->MSTANum = 1 Caller: SetCommonHT+0x100/0x170 phy_mode=78, ch=4, wdev_type=2 ht_cap: ht_cap->HtCapInfo, ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1 ht_cap: ht_cap->HtCapParm, mdpu_density=0, ampdu_factor=3 Register MSTA IF (apclix0) , pAd->MSTANum = 2 Caller: SetCommonHT+0x100/0x170 phy_mode=177, ch=36, wdev_type=2 ht_cap: ht_cap->HtCapInfo, ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1 ht_cap: ht_cap->HtCapParm, mdpu_density=0, ampdu_factor=3 mt_service_init: wlan service inits successfully! WtcSetMaxStaNum: MaxStaNum:282, BssidNum:2, WdsNum:0, MSTANum:2, MaxNumChipRept:0, MinMcastWcid:284 RedInit: set CR4/N9 RED Enable to 1. RedInit: RED Initiailize Done. cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2. RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP wifi_sys_open(), wdev idx = 0 rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 1 rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 1 TxBfModuleEnCtrl:u1BfNum = 2, u1BfBitmap = 3, u1BfSelBand[0] = 0 ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0 ucAction = 0, ucBandIdx = 1, ucSmthIntlBypass = 0 BuildChannelList() BandIdx = 0, PhyMode = 78, ChListNum = 13: phy_oper_init(): operate TxStream = 2, RxStream = 2 mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 BW = 1,TXStream = 2, RXStream = 2, scan(0) MtCmdSetTxRxPath: control_chl = 4,control_ch2=0, central_chl = 6, BW = 1,TXStream = 2, RXStream = 2,RXPath = 3, BandIdx =0, scan(0), Channel_Band = 0 Caller: wlan_operate_init+0x104/0x118 phy_mode=78, ch=4, wdev_type=1 ht_cap: ht_cap->HtCapInfo, ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1 ht_cap: ht_cap->HtCapParm, mdpu_density=5, ampdu_factor=3 wdev_attr_update(): wdevId0 = a0:a3:f0:48:af:f1 AP inf up for ra_0(func_idx) OmacIdx=0 AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn BndStrg_Init() ApAutoChannelAtBootUp-----------------> ApAutoChannelAtBootUp: AutoChannelBootup[0] = 0 MtCmdSetMacTxRx:(ret = 0) MtCmdSetMacTxRx:(ret = 0) ap_run_at_boot() : ACS is disable !! [PMF]APPMFInit:: Security is not WPA2/WPA2PSK AES [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0 Caller: SetCommonHT+0x100/0x170
OpenWrt bootlog
[ 0.000000] Linux version 5.15.104 (buildd@buildbot) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r22455-d54c91bd9a) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Thu Mar 30 09:40:11 2023 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is D-Link DAP-X1860 A1 [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] VPE topology {2,2} total 4 [ 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-0x000000000fffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] percpu: Embedded 11 pages/cpu s16144 r8192 d20720 u45056 [ 0.000000] pcpu-alloc: s16144 r8192 d20720 u45056 alloc=11*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Writing ErrCtl register=00041428 [ 0.000000] Readback ErrCtl register=00041428 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 248572K/262144K available (7216K kernel code, 627K rwdata, 1464K rodata, 1240K init, 242K bss, 13572K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.000000] NR_IRQS: 256 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns [ 0.008141] Calibrating delay loop... 581.63 BogoMIPS (lpj=290816) [ 0.023253] pid_max: default: 32768 minimum: 301 [ 0.028083] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.035333] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046610] rcu: Hierarchical SRCU implementation. [ 0.051752] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build [ 0.059902] smp: Bringing up secondary CPUs ... [ 0.065314] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.065344] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.065359] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.065455] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.074733] Synchronize counters for CPU 1: done. [ 0.107252] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.107279] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.107292] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.107326] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.124428] Synchronize counters for CPU 2: done. [ 0.155198] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.155226] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.155239] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.155276] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.164364] Synchronize counters for CPU 3: done. [ 0.194268] smp: Brought up 1 node, 4 CPUs [ 0.202638] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.212333] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.219356] pinctrl core: initialized pinctrl subsystem [ 0.225962] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.232536] thermal_sys: Registered thermal governor 'step_wise' [ 0.233163] cpuidle: using governor teo [ 0.254378] FPU Affinity set after 1170 emulations [ 0.268572] clocksource: Switched to clocksource GIC [ 0.274638] NET: Registered PF_INET protocol family [ 0.279753] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.287840] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.296201] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.303906] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.311561] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.318693] TCP: Hash tables configured (established 2048 bind 2048) [ 0.325138] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.331675] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.338972] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.344642] PCI: CLS 0 bytes, default 32 [ 0.352729] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 0.363698] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.369487] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.384293] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.390415] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.396512] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.402842] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges: [ 0.409557] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff] [ 0.418368] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0060000000 [ 0.426511] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000 [ 0.751555] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 0.758495] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 0.763321] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 0.768191] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 0.775348] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 0.781676] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.787125] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 0.793953] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.800138] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 0.806104] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 0.812328] pci 0000:00:00.0: reg 0x14: [mem 0x60600000-0x6060ffff] [ 0.818628] pci 0000:00:00.0: supports D1 [ 0.822582] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.829192] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 0.835226] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 0.841461] pci 0000:00:01.0: reg 0x14: [mem 0x60610000-0x6061ffff] [ 0.847754] pci 0000:00:01.0: supports D1 [ 0.851710] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 0.859806] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280 [ 0.865835] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref] [ 0.873039] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref] [ 0.880232] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref] [ 0.887554] pci 0000:01:00.0: supports D1 D2 [ 0.891771] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.898381] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 0.914616] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 0.919831] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 0.925871] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 0.932631] pci 0000:00:00.0: bridge window [mem 0x60100000-0x602fffff pref] [ 0.939801] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.946682] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280 [ 0.952710] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref] [ 0.959909] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref] [ 0.967087] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref] [ 0.974376] pci 0000:02:00.0: supports D1 D2 [ 0.978593] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.985202] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 1.001451] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 1.006673] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 1.012738] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff] [ 1.019465] pci 0000:00:01.0: bridge window [mem 0x60400000-0x605fffff pref] [ 1.026658] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.033264] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 1.039824] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.046738] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 1.053298] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.060218] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 1.066956] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref] [ 1.074126] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff] [ 1.080885] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref] [ 1.088051] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff] [ 1.094793] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff] [ 1.101542] pci 0000:00:00.0: BAR 7: assigned [io 0x0000-0x0fff] [ 1.107589] pci 0000:00:01.0: BAR 7: assigned [io 0x1000-0x1fff] [ 1.113640] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref] [ 1.121338] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref] [ 1.129045] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref] [ 1.136761] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.141669] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 1.147730] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.154456] pci 0000:00:00.0: bridge window [mem 0x60100000-0x602fffff pref] [ 1.161652] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref] [ 1.169350] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref] [ 1.177050] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref] [ 1.184760] pci 0000:00:01.0: PCI bridge to [bus 02] [ 1.189666] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff] [ 1.195720] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff] [ 1.202452] pci 0000:00:01.0: bridge window [mem 0x60400000-0x605fffff pref] [ 1.212736] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 1.221282] printk: console [ttyS0] disabled [ 1.225733] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 1.234814] printk: console [ttyS0] enabled [ 1.243128] printk: bootconsole [early0] disabled [ 1.256061] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1 [ 1.262545] nand: Macronix MX30LF1G18AC [ 1.266436] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 1.274042] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits [ 1.282674] Signature found at block 1023 [0x07fe0000] [ 1.287843] NMBM management region starts at block 960 [0x07800000] [ 1.298114] First info table with writecount 0 found in block 960 [ 1.315895] Second info table with writecount 0 found in block 963 [ 1.322215] NMBM has been successfully attached [ 1.326927] 8 fixed-partitions partitions found on MTD device mt7621-nand [ 1.334223] Creating 8 MTD partitions on "mt7621-nand": [ 1.339561] 0x000000000000-0x000000080000 : "bootloader" [ 1.351180] 0x000000080000-0x000000100000 : "config" [ 1.362641] 0x000000100000-0x000000180000 : "factory" [ 1.374057] 0x000000180000-0x000000980000 : "kernel" [ 1.462192] 0x000000980000-0x000003580000 : "fwconcat0" [ 1.919405] 0x000003580000-0x000003980000 : "manufacture" [ 1.967803] 0x000003980000-0x000004000000 : "storage" [ 2.040759] 0x000004000000-0x000007800000 : "fwconcat1" [ 2.631503] Concatenating MTD devices: [ 2.635369] (0): "fwconcat0" [ 2.638307] (1): "fwconcat1" [ 2.641220] into device "virtual_flash" [ 2.645120] 1 fixed-partitions partitions found on MTD device virtual_flash [ 2.652097] Creating 1 MTD partitions on "virtual_flash": [ 2.657537] 0x000000000000-0x000006400000 : "ubi" [ 3.805373] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 3.818640] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 [ 3.830004] i2c_dev: i2c /dev entries driver [ 3.838335] NET: Registered PF_INET6 protocol family [ 3.845945] Segment Routing with IPv6 [ 3.849770] In-situ OAM (IOAM) with IPv6 [ 3.853851] NET: Registered PF_PACKET protocol family [ 3.859414] 8021q: 802.1Q VLAN Support v1.8 [ 3.870132] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 3.893600] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 3.901908] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx [ 3.904430] mt7530 mdio-bus:1f lan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23) [ 3.923594] DSA: tree 0 setup [ 3.930147] UBI: auto-attach mtd8 [ 3.933547] ubi0: attaching mtd8 [ 6.004354] ubi0: scanning is finished [ 6.026033] ubi0: attached mtd8 (name "ubi", size 100 MiB) [ 6.031598] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 6.038503] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 6.045324] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 6.052298] ubi0: good PEBs: 800, bad PEBs: 0, corrupted PEBs: 0 [ 6.058316] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 6.065567] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1679311391 [ 6.074712] ubi0: available PEBs: 0, total reserved PEBs: 800, PEBs reserved for bad PEB handling: 16 [ 6.083992] ubi0: background thread "ubi_bgt0d" started, PID 272 [ 6.086453] block ubiblock0_0: created from ubi0:0(rootfs) [ 6.095583] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 6.112064] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 6.123722] Freeing unused kernel image (initmem) memory: 1240K [ 6.129718] This architecture does not have kernel memory protection. [ 6.136193] Run /sbin/init as init process [ 6.140306] with arguments: [ 6.140318] /sbin/init [ 6.140324] with environment: [ 6.140329] HOME=/ [ 6.140335] TERM=linux [ 6.619313] init: Console is alive [ 6.623280] init: - watchdog - [ 8.081901] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 8.219390] usbcore: registered new interface driver usbfs [ 8.225151] usbcore: registered new interface driver hub [ 8.230686] usbcore: registered new device driver usb [ 8.275487] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 8.291716] SCSI subsystem initialized [ 8.300998] fsl-ehci: Freescale EHCI Host controller driver [ 8.308460] ehci-platform: EHCI generic platform driver [ 8.324955] usbcore: registered new interface driver usb-storage [ 8.333474] usbcore: registered new interface driver uas [ 8.339720] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 8.354033] init: - preinit - [ 9.265123] random: jshn: uninitialized urandom read (4 bytes read) [ 9.408606] random: jshn: uninitialized urandom read (4 bytes read) [ 9.471936] random: jshn: uninitialized urandom read (4 bytes read) [ 10.369098] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode [ 10.382108] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 10.382483] mt7530 mdio-bus:1f lan: configuring for phy/gmii link mode [ 10.397789] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 10.500018] random: procd: uninitialized urandom read (4 bytes read) [ 11.016613] random: crng init done [ 11.020058] random: 6 urandom warning(s) missed due to ratelimiting [ 13.516722] mt7530 mdio-bus:1f lan: Link is Up - 1Gbps/Full - flow control off [ 13.524052] IPv6: ADDRCONF(NETDEV_CHANGE): lan: link becomes ready [ 15.670495] mount_root: loading kmods from internal overlay [ 15.717043] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 15.728372] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 15.985332] UBIFS (ubi0:1): Mounting in unauthenticated mode [ 15.991431] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 442 [ 16.075740] UBIFS (ubi0:1): recovery needed [ 16.281054] UBIFS (ubi0:1): recovery completed [ 16.285721] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 16.293600] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 16.303559] UBIFS (ubi0:1): FS size: 88375296 bytes (84 MiB, 696 LEBs), max 707 LEBs, journal size 4444160 bytes (4 MiB, 35 LEBs) [ 16.315237] UBIFS (ubi0:1): reserved for root: 4174182 bytes (4076 KiB) [ 16.321876] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 0B6D3F4B-20A2-42EF-80B8-ADE14868BD40, small LPT model [ 16.336358] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 16.355466] block: extroot: not configured [ 16.360042] UBIFS (ubi0:1): un-mount UBI device 0 [ 16.364887] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops [ 16.378574] UBIFS (ubi0:1): Mounting in unauthenticated mode [ 16.384696] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 445 [ 16.550256] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 16.558145] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 16.568085] UBIFS (ubi0:1): FS size: 88375296 bytes (84 MiB, 696 LEBs), max 707 LEBs, journal size 4444160 bytes (4 MiB, 35 LEBs) [ 16.579768] UBIFS (ubi0:1): reserved for root: 4174182 bytes (4076 KiB) [ 16.586400] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 0B6D3F4B-20A2-42EF-80B8-ADE14868BD40, small LPT model [ 16.648086] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 16.665186] block: extroot: not configured [ 16.673730] mount_root: switching to ubifs overlay [ 16.696510] urandom-seed: Seeding with /etc/urandom.seed [ 16.774402] mt7530 mdio-bus:1f lan: Link is Down [ 16.791339] procd: - early - [ 16.794668] procd: - watchdog - [ 17.446945] procd: - watchdog - [ 17.456877] procd: - ubus - [ 17.691450] procd: - init - [ 18.900098] kmodloader: loading kernel modules from /etc/modules.d/* [ 19.006140] urngd: v1.0.2 started. [ 19.218341] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 19.238767] GACT probability on [ 19.243787] Mirror/redirect action on [ 19.261676] u32 classifier [ 19.264502] input device check on [ 19.268310] Actions configured [ 19.296672] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2 [ 19.304302] Backport generated by backports.git v5.15.81-1-41-g02e352527db5 [ 19.338164] usbcore: registered new interface driver usblp [ 19.377895] xt_time: kernel timezone is -0000 [ 19.385087] usbcore: registered new interface driver cdc_ether [ 19.598426] pci 0000:00:00.0: enabling device (0006 -> 0007) [ 19.604166] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002) [ 19.611149] pci 0000:00:01.0: enabling device (0006 -> 0007) [ 19.616900] mt7915e 0000:02:00.0: enabling device (0000 -> 0002) [ 19.863762] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a [ 19.863762] [ 20.204225] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145 [ 20.238830] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205 [ 25.776287] PPP generic driver version 2.4.2 [ 25.783073] NET: Registered PF_PPPOX protocol family [ 25.790826] usbcore: registered new interface driver rndis_host [ 25.802267] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 25.810181] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 25.830669] kmodloader: done loading kernel modules from /etc/modules.d/* [ 26.673593] mtdblock: MTD device 'factory' is NAND, please consider using UBI block devices instead. [ 28.106450] mtdblock: MTD device 'factory' is NAND, please consider using UBI block devices instead. [ 36.476835] mtk_soc_eth 1e100000.ethernet eth0: Link is Down [ 36.507652] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode [ 36.516048] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 36.520432] mt7530 mdio-bus:1f lan: configuring for phy/gmii link mode [ 36.532343] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 36.539658] br-lan: port 1(lan) entered blocking state [ 36.544982] br-lan: port 1(lan) entered disabled state [ 36.552633] device lan entered promiscuous mode [ 36.557297] device eth0 entered promiscuous mode [ 39.453616] mt7530 mdio-bus:1f lan: Link is Up - 1Gbps/Full - flow control off [ 39.461227] br-lan: port 1(lan) entered blocking state [ 39.466582] br-lan: port 1(lan) entered forwarding state [ 39.486172] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 41.605839] br-lan: port 2(phy0-ap0) entered blocking state [ 41.611611] br-lan: port 2(phy0-ap0) entered disabled state [ 41.618182] device phy0-ap0 entered promiscuous mode [ 41.966936] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready [ 41.974202] br-lan: port 2(phy0-ap0) entered blocking state [ 41.979984] br-lan: port 2(phy0-ap0) entered forwarding state [ 42.804028] br-lan: port 3(phy1-ap0) entered blocking state [ 42.809790] br-lan: port 3(phy1-ap0) entered disabled state [ 42.816199] device phy1-ap0 entered promiscuous mode [ 42.821890] br-lan: port 3(phy1-ap0) entered blocking state [ 42.827644] br-lan: port 3(phy1-ap0) entered forwarding state [ 42.834251] br-lan: port 3(phy1-ap0) entered disabled state [ 104.201790] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready [ 104.208813] br-lan: port 3(phy1-ap0) entered blocking state [ 104.214484] br-lan: port 3(phy1-ap0) entered forwarding state