So, after few tries, i hit problems. Help me please
I use this DTS:
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7621.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ {
compatible = "comfast,cf-ew72-v2", "mediatek,mt7621-soc";
model = "COMFAST CF-EW72 V2";
chosen {
bootargs = "console=ttyS0,115200";
};
keys {
compatible = "gpio-keys";
reset {
label = "reset";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
debounce-interval = <60>;
};
};
leds {
compatible = "gpio-leds";
};
aliases {
label-mac-device = &wan;
};
};
&spi0 {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <14000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
};
&factory {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
};
};
&gmac0 {
nvmem-cells = <&macaddr_factory_e000>;
nvmem-cell-names = "mac-address";
};
&state_default {
gpio {
groups = "i2c", "uart2", "uart3", "sdhci", "jtag";
function = "gpio";
};
};
&pcie {
status = "okay";
};
&pcie0 {
wifi0: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
&pcie1 {
wifi1: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
&switch0 {
ports {
wan: port@0 {
status = "okay";
label = "wan";
nvmem-cells = <&macaddr_factory_e000>;
nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
};
port@1 {
status = "okay";
label = "lan";
};
};
};
and this patch to mt7621.mk
define Device/comfast_cf-ew72-v2
$(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15808k
DEVICE_VENDOR := ComFast
DEVICE_MODEL := CF-EW72 V2
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
-uboot-envtools
IMAGES += factory.bin
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
check-size | append-metadata
IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | check-size
endef
TARGET_DEVICES += comfast_cf-ew72-v2
2: GPIO: A device has 7 onboard LEDs, but LEDs who bond to functions can not be controlled using modified gpio-test.sh
LED1 is power
LED2 is controlled using GPIO493 (inverted, 0=on, 1=off), led has no window
in case
LED3 is WAN link\data indicator
LED4 is controlled using GPIO496 (inverted, 0=on, 1=off), led has no window
in case
LED5 is LAN link\data indicator
LED6 is controlled using GPIO495 (inverted, 0=on, 1=off), led has no window
in case
LED7 is WIFI link\data indicator
- No wifi working: in LUCI there is only 5 GHz wifi, and AP can not be enabled
Trying to boot from NOR
U-Boot 2018.09-gbef8015-dirty (Dec 09 2020 - 06:28:07 -0500)
CPU: MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board
DRAM: 128 MiB
Loading Environment from SPI Flash... SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
In: uartlite0@1e000c00
Out: uartlite0@1e000c00
Err: uartlite0@1e000c00
Net:
Warning: eth@1e100000 (eth0) using random MAC address - 5e:69:c8:f8:cf:5b
eth0: eth@1e100000
Hit any key to stop autoboot: 0
Using eth@1e100000 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'firmware_auto.bin'.
Load address: 0x80010000
Loading: *
ARP Retry count exceeded; starting again
*** TFTP client failure: -110 ***
*** Operation Aborted! ***
*** U-Boot Boot Menu ***
1. Startup system (Default)
2. Upgrade firmware
3. Upgrade bootloader
4. Upgrade bootloader (advanced mode)
5. Load image
0. U-Boot console
Press UP/DOWN to move, ENTER to select
## Booting kernel from Legacy Image at bfc50000 ...
Image Name: MIPS OpenWrt Linux-5.15.123
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 2866937 Bytes = 2.7 MiB
Load Address: 80001000
Entry Point: 80001000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...
[ 0.000000] Linux version 5.15.123 (adfilimonov@debian) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23671-1874a7cfb0) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Wed Aug 2 12:09:24 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 COMFAST CF-EW72 V2
[ 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] 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] percpu: Embedded 11 pages/cpu s14512 r8192 d22352 u45056
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000840
[ 0.000000] Readback ErrCtl register=00000840
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 118992K/131072K available (7034K kernel code, 622K rwdata, 1440K rodata, 1260K init, 217K bss, 12080K reserved, 0K cma-reserved)
[ 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 10 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.008027] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.066210] pid_max: default: 32768 minimum: 301
[ 0.071631] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.078842] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.090405] rcu: Hierarchical SRCU implementation.
[ 0.095895] smp: Bringing up secondary CPUs ...
[ 0.101339] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.101365] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.101380] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.101424] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.160670] Synchronize counters for CPU 1: done.
[ 0.193193] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.193214] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.193225] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.193253] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.252151] Synchronize counters for CPU 2: done.
[ 0.282811] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.282833] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.282845] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.282876] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.337340] Synchronize counters for CPU 3: done.
[ 0.367198] smp: Brought up 1 node, 4 CPUs
[ 0.375950] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.385750] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.392823] pinctrl core: initialized pinctrl subsystem
[ 0.399500] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.429510] clocksource: Switched to clocksource GIC
[ 0.435757] NET: Registered PF_INET protocol family
[ 0.440851] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.448772] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.457120] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.464796] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.472402] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.479378] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.485855] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.492348] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.499674] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.505282] PCI: CLS 0 bytes, default 32
[ 0.512170] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.523732] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.529639] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.544359] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.550258] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.556132] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.562263] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[ 0.568933] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff]
[ 0.577701] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0060000000
[ 0.585806] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000
[ 0.949513] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 0.956414] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 0.961279] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 0.966103] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 0.973268] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 0.979581] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.984999] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 0.991853] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.998010] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 1.003958] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.010181] pci 0000:00:00.0: reg 0x14: [mem 0x60500000-0x6050ffff]
[ 1.016426] pci 0000:00:00.0: supports D1
[ 1.020359] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.026901] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 1.032914] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.039090] pci 0000:00:01.0: reg 0x14: [mem 0x60510000-0x6051ffff]
[ 1.045396] pci 0000:00:01.0: supports D1
[ 1.049313] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 1.056971] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[ 1.062997] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 1.069318] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 1.076658] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 1.081857] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 1.087859] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 1.094627] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 1.101807] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.108662] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[ 1.114667] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 1.121841] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[ 1.128987] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[ 1.136304] pci 0000:02:00.0: supports D1 D2
[ 1.140506] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.147084] 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.163126] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 1.168286] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 1.174384] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 1.181100] pci 0000:00:01.0: bridge window [mem 0x60300000-0x604fffff pref]
[ 1.188249] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.194900] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 1.201440] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.208330] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 1.214927] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.221834] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 1.228546] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[ 1.235747] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[ 1.242483] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x604fffff pref]
[ 1.249667] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[ 1.256374] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[ 1.263132] pci 0000:00:00.0: BAR 7: assigned [io 0x0000-0x0fff]
[ 1.269154] pci 0000:00:01.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 1.275234] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[ 1.281974] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.286866] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 1.292939] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 1.299682] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 1.306835] pci 0000:02:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit pref]
[ 1.314561] pci 0000:02:00.0: BAR 2: assigned [mem 0x60400000-0x60403fff 64bit pref]
[ 1.322241] pci 0000:02:00.0: BAR 4: assigned [mem 0x60404000-0x60404fff 64bit pref]
[ 1.329942] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 1.334817] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff]
[ 1.340891] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 1.347604] pci 0000:00:01.0: bridge window [mem 0x60300000-0x604fffff pref]
[ 1.356400] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 1.364603] printk: console [ttyS0] disabled
[ 1.368920] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 1.377964] printk: console [ttyS0] enabled
[ 1.377964] printk: console [ttyS0] enabled
[ 1.386230] printk: bootconsole [early0] disabled
[ 1.386230] printk: bootconsole [early0] disabled
[ 1.399167] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[ 1.405859] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 1.411116] 4 fixed-partitions partitions found on MTD device spi0.0
[ 1.417493] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[ 1.424830] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[ 1.432419] Creating 4 MTD partitions on "spi0.0":
[ 1.437219] 0x000000000000-0x000000030000 : "u-boot"
[ 1.443376] 0x000000030000-0x000000040000 : "config"
[ 1.449399] 0x000000040000-0x000000050000 : "factory"
[ 1.455642] 0x000000050000-0x000001000000 : "firmware"
[ 1.462076] 2 uimage-fw partitions found on MTD device firmware
[ 1.468009] Creating 2 MTD partitions on "firmware":
[ 1.472994] 0x000000000000-0x0000002bbf39 : "kernel"
[ 1.477945] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 1.487535] 0x0000002bbf39-0x000000fb0000 : "rootfs"
[ 1.492587] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 1.502822] mtd: setting mtd5 (rootfs) as root device
[ 1.508004] 1 squashfs-split partitions found on MTD device rootfs
[ 1.514244] 0x0000006b0000-0x000000fb0000 : "rootfs_data"
[ 1.662414] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[ 1.674893] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[ 1.684866] i2c_dev: i2c /dev entries driver
[ 1.692193] NET: Registered PF_INET6 protocol family
[ 1.699615] Segment Routing with IPv6
[ 1.703362] In-situ OAM (IOAM) with IPv6
[ 1.707365] NET: Registered PF_PACKET protocol family
[ 1.712836] 8021q: 802.1Q VLAN Support v1.8
[ 1.722899] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[ 1.746308] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[ 1.753937] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1.754927] mt7530-mdio mdio-bus:1f wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23)
[ 1.774326] mt7530-mdio mdio-bus:1f lan (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=24)
[ 1.787458] DSA: tree 0 setup
[ 1.800716] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.811906] Freeing unused kernel image (initmem) memory: 1260K
[ 1.817852] This architecture does not have kernel memory protection.
[ 1.824305] Run /sbin/init as init process
[ 2.459044] init: Console is alive
[ 2.463031] init: - watchdog -
[ 3.403897] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.474708] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.492613] init: - preinit -
[ 4.647570] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.782410] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.817119] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.073407] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 5.086467] mt7530-mdio mdio-bus:1f lan: configuring for phy/gmii link mode
[ 5.093626] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 5.102136] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 7.357477] jffs2: notice: (363) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (0 unchecked, 1 orphan) and 7 of xref (1 dead, 0 orphan) found.
[ 7.375613] mount_root: switching to jffs2 overlay
[ 7.391197] overlayfs: upper fs does not support tmpfile.
[ 7.408120] urandom-seed: Seeding with /etc/urandom.seed
[ 7.540744] procd: - early -
[ 7.543872] procd: - watchdog -
[ 8.152609] procd: - watchdog -
[ 8.156405] procd: - ubus -
[ 8.244614] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.253208] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.267624] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.279136] procd: - init -
Please press Enter to activate this console.
[ 8.965346] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.217459] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[ 9.224992] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[ 9.540644] pci 0000:00:01.0: enabling device (0006 -> 0007)
[ 9.546328] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[ 9.638853] PPP generic driver version 2.4.2
[ 9.645458] NET: Registered PF_PPPOX protocol family
[ 9.661994] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 9.924156] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.935301] random: jshn: uninitialized urandom read (4 bytes read)
[ 10.368990] urngd: v1.0.2 started.
[ 10.984391] random: jshn: uninitialized urandom read (4 bytes read)
[ 11.003688] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.151486] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[ 11.387369] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[ 11.504006] random: crng init done
[ 11.507437] random: 35 urandom warning(s) missed due to ratelimiting
[ 18.670798] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[ 18.698758] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 18.707207] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 18.716306] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 18.728228] mt7530-mdio mdio-bus:1f lan: configuring for phy/gmii link mode
[ 18.738277] br-lan: port 1(lan) entered blocking state
[ 18.743545] br-lan: port 1(lan) entered disabled state
[ 18.751755] device lan entered promiscuous mode
[ 18.756351] device eth0 entered promiscuous mode
[ 18.791768] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[ 19.792684] br-lan: port 2(phy0-ap0) entered blocking state
[ 19.798319] br-lan: port 2(phy0-ap0) entered disabled state
[ 19.804639] device phy0-ap0 entered promiscuous mode
[ 21.933747] mt7530-mdio mdio-bus:1f lan: Link is Up - 1Gbps/Full - flow control rx/tx
[ 21.941704] br-lan: port 1(lan) entered blocking state
[ 21.946831] br-lan: port 1(lan) entered forwarding state
[ 21.952878] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 23.868863] do_page_fault(): sending SIGSEGV to ujail for invalid read access from 00000036
[ 23.877370] epc = 77dadd0b in libubox.so.20230523[77daa000+1f000]
[ 23.883597] ra = 5555482b in ujail[55550000+14000]