OpenWRT D-Link DIR-860L B1 compiled with new driver and kernel 4.19

I was trying to build an OpenWRT with 'RFT' (Ready for Test) patches, however the first time I compiled OpenWRT branch with the default Linux version which is 4.14.

My question is, do the patches with new drivers only take effect with kernel 4.19?

Anyways, now I'm compiling with modified Makefile with kernel 4.19.

Edit: Finally the newly compiled version with 4.19 kernel and new drivers. This build is with Luci and ocserv, together with SSL wget support. I am sharing it here.

The dmesg output of my initial compiled 4.14 version as follow:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.14.169 (enig123@mydebian) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12250-e84079578a)) #0 SMP Tue Feb 18 15:05:59 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is D-Link DIR-860L B1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,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-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 805f0400, node_mem_map 81003000
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4d8 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26064 r8192 d23088 u57344
[    0.000000] pcpu-alloc: s26064 r8192 d23088 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00010410
[    0.000000] Readback ErrCtl register=00010410
[    0.000000] Memory: 121872K/131072K available (4788K kernel code, 247K rwdata, 1044K rodata, 1268K init, 253K bss, 9200K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015491] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087822] pid_max: default: 32768 minimum: 301
[    0.097179] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110202] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.126268] Hierarchical SRCU implementation.
[    0.135779] smp: Bringing up secondary CPUs ...
[    8.388826] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.388835] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.388846] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.388979] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.205112] Synchronize counters for CPU 1: done.
[    8.517055] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.517064] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.517072] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.517144] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.325946] Synchronize counters for CPU 2: done.
[    8.629580] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.629587] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.629593] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.629684] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.445511] Synchronize counters for CPU 3: done.
[    0.505118] smp: Brought up 1 node, 4 CPUs
[    0.517501] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.536957] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.549480] pinctrl core: initialized pinctrl subsystem
[    0.560620] NET: Registered protocol family 16
[    0.576860] FPU Affinity set after 11720 emulations
[    0.580174] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.889147] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.899215] ***** Xtal 40MHz *****
[    0.905941] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.916149] Port 0 N_FTS = 1b105000
[    0.923049] Port 1 N_FTS = 1b105000
[    0.929977] Port 2 N_FTS = 1b102800
[    2.088746] PCIE2 no card, disable it(RST&CLK)
[    2.097439]  -> 21007f2
[    2.102255] PCIE0 enabled
[    2.107455] PCIE1 enabled
[    2.112636] PCI host bridge /pcie@1e140000 ranges:
[    2.122160]  MEM 0x0000000060000000..0x000000006fffffff
[    2.132517]   IO 0x000000001e160000..0x000000001e16ffff
[    2.142891] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    2.166641] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.177877] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.189051] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.201440] PCI host bridge to bus 0000:00
[    2.209458] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.223119] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.234861] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.248343] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.264104] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.264142] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.264154] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    2.264218] pci 0000:00:00.0: supports D1
[    2.264227] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.264475] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.264504] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.264518] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    2.264572] pci 0000:00:01.0: supports D1
[    2.264581] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.264990] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    2.265046] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.265091] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.265185] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.265362] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.265550] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[    2.265603] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.265649] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.265740] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.265911] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.265929] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    2.265986] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.279015] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.292833] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.305955] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.319786] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.333268] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.347604] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.361090] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    2.375430] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    2.388909] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    2.402395] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.416913] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.431244] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.441079] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.454571] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.468916] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[    2.483438] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
[    2.497774] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.507604] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.521098] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.536811] clocksource: Switched to clocksource GIC
[    2.548178] NET: Registered protocol family 2
[    2.557498] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.571235] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.583836] TCP: Hash tables configured (established 1024 bind 1024)
[    2.596572] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.608070] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.620723] NET: Registered protocol family 1
[    2.629307] PCI: CLS 0 bytes, default 32
[    2.866744] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.878153] Crashlog allocated RAM at address 0x3f00000
[    2.888673] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    2.909473] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.921007] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.944017] io scheduler noop registered
[    2.951761] io scheduler deadline registered (default)
[    2.962852] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.976989] console [ttyS0] disabled
[    2.984003] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    3.001988] console [ttyS0] enabled
[    3.015770] bootconsole [early0] disabled
[    3.033083] random: fast init done
[    3.040645] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    3.054956] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    3.066478] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    3.076622] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.089277] Creating 6 MTD partitions on "spi0.0":
[    3.098822] 0x000000000000-0x000000030000 : "u-boot"
[    3.109886] 0x000000030000-0x000000034000 : "u-boot-env"
[    3.121594] 0x000000034000-0x000000038000 : "radio"
[    3.132440] 0x000000038000-0x000000040000 : "factory"
[    3.143672] 0x000000040000-0x000000050000 : "defaults"
[    3.155040] 0x000000050000-0x000001000000 : "firmware"
[    3.167132] 2 seama-fw partitions found on MTD device firmware
[    3.178759] Creating 2 MTD partitions on "firmware":
[    3.188662] 0x000000000040-0x0000001f0000 : "kernel"
[    3.199570] 0x0000001f0000-0x000000fb0000 : "rootfs"
[    3.210338] mtd: device 7 (rootfs) set to be root filesystem
[    3.221771] 1 squashfs-split partitions found on MTD device rootfs
[    3.234086] Creating 1 MTD partitions on "rootfs":
[    3.243636] 0x0000004e0000-0x000000dc0000 : "rootfs_data"
[    3.256029] libphy: Fixed MDIO Bus: probed
[    3.328589] mtk_soc_eth 1e100000.ethernet: generated random MAC address d6:13:11:b7:d4:7d
[    3.345045] libphy: mdio: probed
[    4.752396] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.764926] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.784312] NET: Registered protocol family 10
[    4.794772] Segment Routing with IPv6
[    4.802227] NET: Registered protocol family 17
[    4.811162] 8021q: 802.1Q VLAN Support v1.8
[    4.821877] hctosys: unable to open rtc device (rtc0)
[    4.837771] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    4.856006] Freeing unused kernel memory: 1268K
[    4.865080] This architecture does not have kernel memory protection.
[    5.765791] init: Console is alive
[    5.772911] init: - watchdog -
[    6.201047] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    6.845360] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.004391] usbcore: registered new interface driver usbfs
[    7.015451] usbcore: registered new interface driver hub
[    7.026205] usbcore: registered new device driver usb
[    7.044407] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    7.061704] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    7.079395] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.090003] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.107764] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[    7.116970] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    7.137629] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    7.150117] hub 1-0:1.0: USB hub found
[    7.157694] hub 1-0:1.0: 2 ports detected
[    7.166306] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.176947] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.191864] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    7.204888] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.221922] hub 2-0:1.0: USB hub found
[    7.229485] hub 2-0:1.0: 1 port detected
[    7.242097] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.277133] init: - preinit -
[    8.714719] mtk_soc_eth 1e100000.ethernet: PPE started
[    8.802186] random: procd: uninitialized urandom read (4 bytes read)
[   13.008067] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   13.022478] jffs2_build_filesystem(): unlocking the mtd device...
[   13.022484] done.
[   13.038599] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   13.098904] random: crng init done
[   58.910069] done.
[   58.913934] jffs2: notice: (479) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   58.946237] mount_root: overlay filesystem has not been fully initialized yet
[   58.963132] mount_root: switching to jffs2 overlay
[   58.988586] overlayfs: upper fs does not support tmpfile.
[   59.455586] urandom-seed: Seed file not found (/etc/urandom.seed)
[   59.555295] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   59.577439] procd: - early -
[   59.583269] procd: - watchdog -
[   60.366974] procd: - watchdog -
[   60.373543] procd: - ubus -
[   60.557021] procd: - init -
[   61.205918] kmodloader: loading kernel modules from /etc/modules.d/*
[   61.220843] tun: Universal TUN/TAP device driver, 1.6
[   61.235478] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   61.253862] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[   61.269028] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[   61.284018] ip_tables: (C) 2000-2006 Netfilter Core Team
[   61.301237] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   61.354855] xt_time: kernel timezone is -0000
[   61.359039] urngd: v1.0.2 started.
[   61.415884] bus=0x1, slot = 0x0, irq=0xff
[   61.424128] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   62.087399] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   62.103082] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   62.114034] mt76x2e 0000:01:00.0: Build: 1
[   62.122190] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   62.156809] mt76x2e 0000:01:00.0: Firmware running!
[   62.169320] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   62.171946] bus=0x2, slot = 0x1, irq=0xff
[   62.180232] mt76x2e 0000:02:00.0: ASIC revision: 76020044
[   62.846919] mt76x2e 0000:02:00.0: ROM patch already applied
[   62.859042] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   62.870086] mt76x2e 0000:02:00.0: Build: 1
[   62.878287] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   62.906848] mt76x2e 0000:02:00.0: Firmware running!
[   62.919098] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   62.928443] PPP generic driver version 2.4.2
[   62.939901] NET: Registered protocol family 24
[   62.952544] kmodloader: done loading kernel modules from /etc/modules.d/*
[   73.708821] mtk_soc_eth 1e100000.ethernet: PPE started
[   73.726820] device eth0 entered promiscuous mode
[   73.737842] br-lan: port 1(eth0.1) entered blocking state
[   73.748873] br-lan: port 1(eth0.1) entered disabled state
[   73.760375] device eth0.1 entered promiscuous mode
[   73.773031] br-lan: port 1(eth0.1) entered blocking state
[   73.783896] br-lan: port 1(eth0.1) entered forwarding state
[   73.795517] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   74.800061] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   76.890048] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   77.242140] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   78.160659] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   78.990646] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

The following is dmesg with the new compiled 4.19 kernel:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.19.101 (enig123@mydebian) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12250-e84079578a)) #0 SMP Tue Feb 18 15:05:59 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is D-Link DIR-860L B1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,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-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4e0 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26512 r8192 d22640 u57344
[    0.000000] pcpu-alloc: s26512 r8192 d22640 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00010410
[    0.000000] Readback ErrCtl register=00010410
[    0.000000] Memory: 121644K/131072K available (5011K kernel code, 244K rwdata, 1112K rodata, 1236K init, 243K bss, 9428K 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] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015490] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087811] pid_max: default: 32768 minimum: 301
[    0.097161] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110182] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.126645] rcu: Hierarchical SRCU implementation.
[    0.137062] smp: Bringing up secondary CPUs ...
[    8.599462] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.599472] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.599483] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.599614] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.206378] Synchronize counters for CPU 1: done.
[    8.727199] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.727207] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.727215] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.727287] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.326818] Synchronize counters for CPU 2: done.
[    8.839805] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.839813] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.839823] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.839905] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.446405] Synchronize counters for CPU 3: done.
[    0.506030] smp: Brought up 1 node, 4 CPUs
[    0.518123] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.537577] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.550110] pinctrl core: initialized pinctrl subsystem
[    0.561292] NET: Registered protocol family 16
[    0.577823] FPU Affinity set after 11720 emulations
[    0.578917] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.887961] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.898037] ***** Xtal 40MHz *****
[    0.904763] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.914971] Port 0 N_FTS = 1b105000
[    0.921872] Port 1 N_FTS = 1b105000
[    0.928800] Port 2 N_FTS = 1b102800
[    2.087556] PCIE2 no card, disable it(RST&CLK)
[    2.096249]  -> 21007f2
[    2.101066] PCIE0 enabled
[    2.106265] PCIE1 enabled
[    2.111447] PCI host bridge /pcie@1e140000 ranges:
[    2.120977]  MEM 0x0000000060000000..0x000000006fffffff
[    2.131328]   IO 0x000000001e160000..0x000000001e16ffff
[    2.141702] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    2.166215] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.177679] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.188909] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.201674] PCI host bridge to bus 0000:00
[    2.209692] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.223352] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.235091] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.248573] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.264336] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.264376] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.264389] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    2.264452] pci 0000:00:00.0: supports D1
[    2.264461] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.264823] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.264852] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.264866] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    2.264921] pci 0000:00:01.0: supports D1
[    2.264930] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.266255] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    2.266311] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.266355] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.266454] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.267600] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.267783] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[    2.267835] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.267881] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.267976] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.269136] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.269154] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    2.269213] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.282236] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.296055] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.309184] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.323010] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.336490] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.350831] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.364310] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    2.378653] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    2.392135] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    2.405618] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.420137] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.434465] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.444305] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.457793] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.472143] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[    2.486663] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
[    2.500992] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.510834] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.524320] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.540217] clocksource: Switched to clocksource GIC
[    2.551699] NET: Registered protocol family 2
[    2.561194] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    2.576322] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.590126] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.602742] TCP: Hash tables configured (established 1024 bind 1024)
[    2.615476] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.626970] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.639657] NET: Registered protocol family 1
[    2.648252] PCI: CLS 0 bytes, default 32
[    2.880161] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.891565] Crashlog allocated RAM at address 0x3f00000
[    2.902183] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    2.921932] random: fast init done
[    2.923778] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.940157] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.963460] io scheduler noop registered
[    2.971156] io scheduler deadline registered (default)
[    2.982213] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.996002] console [ttyS0] disabled
[    3.003065] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    3.020985] console [ttyS0] enabled
[    3.034771] bootconsole [early0] disabled
[    3.053298] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    3.064846] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    3.075163] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.087809] Creating 6 MTD partitions on "spi0.0":
[    3.097352] 0x000000000000-0x000000030000 : "u-boot"
[    3.108349] 0x000000030000-0x000000034000 : "u-boot-env"
[    3.119917] 0x000000034000-0x000000038000 : "radio"
[    3.130625] 0x000000038000-0x000000040000 : "factory"
[    3.141677] 0x000000040000-0x000000050000 : "defaults"
[    3.152873] 0x000000050000-0x000001000000 : "firmware"
[    3.164882] 2 seama-fw partitions found on MTD device firmware
[    3.176528] Creating 2 MTD partitions on "firmware":
[    3.186420] 0x000000000040-0x000000210000 : "kernel"
[    3.197477] 0x000000210000-0x000000fb0000 : "rootfs"
[    3.208471] mtd: device 7 (rootfs) set to be root filesystem
[    3.219879] 1 squashfs-split partitions found on MTD device rootfs
[    3.232217] 0x0000006f0000-0x000000fb0000 : "rootfs_data"
[    3.244836] libphy: Fixed MDIO Bus: probed
[    3.322025] mtk_soc_eth 1e100000.ethernet: generated random MAC address ea:2a:67:02:98:63
[    3.338488] libphy: mdio: probed
[    4.745923] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.758549] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.777574] NET: Registered protocol family 10
[    4.788197] Segment Routing with IPv6
[    4.795621] NET: Registered protocol family 17
[    4.804557] 8021q: 802.1Q VLAN Support v1.8
[    4.815477] hctosys: unable to open rtc device (rtc0)
[    4.834745] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    4.853057] Freeing unused kernel memory: 1236K
[    4.862118] This architecture does not have kernel memory protection.
[    4.874939] Run /sbin/init as init process
[    5.768533] init: Console is alive
[    5.775650] init: - watchdog -
[    6.059486] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    6.855882] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.018923] usbcore: registered new interface driver usbfs
[    7.029996] usbcore: registered new interface driver hub
[    7.040747] usbcore: registered new device driver usb
[    7.059894] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    7.077192] xhci-mtk 1e1c0000.xhci: Linked as a consumer to regulator.0
[    7.090380] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    7.108051] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.118664] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.119738] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[    7.140419] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    7.163395] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    7.176029] hub 1-0:1.0: USB hub found
[    7.183646] hub 1-0:1.0: 2 ports detected
[    7.192229] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.202852] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.217769] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    7.230620] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.247562] hub 2-0:1.0: USB hub found
[    7.255132] hub 2-0:1.0: 1 port detected
[    7.268154] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.300576] init: - preinit -
[    8.698094] mtk_soc_eth 1e100000.ethernet: PPE started
[    8.780644] random: procd: uninitialized urandom read (4 bytes read)
[   13.023436] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   13.037851] jffs2_build_filesystem(): unlocking the mtd device...
[   13.037855] done.
[   13.053973] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   13.125197] random: crng init done
[   58.277545] done.
[   58.281424] jffs2: notice: (497) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   58.313769] mount_root: overlay filesystem has not been fully initialized yet
[   58.330932] mount_root: switching to jffs2 overlay
[   58.356285] overlayfs: upper fs does not support tmpfile.
[   58.847298] urandom-seed: Seed file not found (/etc/urandom.seed)
[   58.998562] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   59.021359] procd: - early -
[   59.027186] procd: - watchdog -
[   59.700384] procd: - watchdog -
[   59.706947] procd: - ubus -
[   59.840075] procd: - init -
[   60.435280] kmodloader: loading kernel modules from /etc/modules.d/*
[   60.450712] tun: Universal TUN/TAP device driver, 1.6
[   60.475024] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[   60.490202] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[   60.521281] xt_time: kernel timezone is -0000
[   60.583370] bus=0x1, slot = 0x0, irq=0xff
[   60.591619] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   60.601274] urngd: v1.0.2 started.
[   61.260827] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   61.276364] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   61.287313] mt76x2e 0000:01:00.0: Build: 1
[   61.295463] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   61.330231] mt76x2e 0000:01:00.0: Firmware running!
[   61.342955] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   61.345695] bus=0x2, slot = 0x1, irq=0xff
[   61.353968] mt76x2e 0000:02:00.0: ASIC revision: 76020044
[   62.020281] mt76x2e 0000:02:00.0: ROM patch already applied
[   62.032298] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   62.043298] mt76x2e 0000:02:00.0: Build: 1
[   62.051566] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   62.080283] mt76x2e 0000:02:00.0: Firmware running!
[   62.093073] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   62.119533] PPP generic driver version 2.4.2
[   62.129865] NET: Registered protocol family 24
[   62.153760] kmodloader: done loading kernel modules from /etc/modules.d/*
[   73.017068] mtk_soc_eth 1e100000.ethernet: PPE started
[   73.034574] device eth0 entered promiscuous mode
[   73.045920] br-lan: port 1(eth0.1) entered blocking state
[   73.056805] br-lan: port 1(eth0.1) entered disabled state
[   73.068512] device eth0.1 entered promiscuous mode
[   73.082825] br-lan: port 1(eth0.1) entered blocking state
[   73.093646] br-lan: port 1(eth0.1) entered forwarding state
[   73.105367] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   74.201875] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   76.226025] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   76.693537] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   77.344962] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   78.126754] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

There's some error messages in logread that draw my attension:

Tue Feb 18 07:06:13 2020 daemon.notice procd: /etc/rc.d/S96led: setting up led wan
Tue Feb 18 07:06:13 2020 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Tue Feb 18 07:06:13 2020 authpriv.warn dropbear[2006]: Failed listening on '22': Error listening: Address not available
Tue Feb 18 07:06:13 2020 authpriv.info dropbear[2006]: Not backgrounding
Tue Feb 18 07:06:13 2020 daemon.err odhcp6c[1626]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)

Anyone have any idea about the dropbear errors? Yet I can access router through ssh with no problem at all.

1 Like