Sinovoip BananaPi BPI-R4
Banana Pi BPI-R4 uses the MediaTek MT7988A (Filogic 880), a 1.8GHz quad-core ARM Corex-A73 SoC. Included is 4GB DDR4 RAM, 8GB eMMC, 128MB SPI-NAND flash, 2x 10Gbe SFP, 4x 1Gbe network ports, USB 3.2 port, M.2 supports 4G/5G/NVME, SSD.2x miniPCIe slots with PCIe 3.0 2lane interface for Wi-Fi 7 NIC.
OpenWrt support
Installation
The easiest way to run OpenWrt is download a snapshot, write it to an sd card, and boot it.
$ zcat openwrt-mediatek-filogic-bananapi_bpi-r4-sdcard.img.gz | dd of=/dev/sdX bs=1M status=progress
The installation method for the various Banana Pi boards is similar, so until this page is complete you may also refer to bananapi_bpi-r3. Read the user manual provided by SinoVoip to understand the hardware switches selecting the available storage devices, and which device to boot from. It's possible to boot from an SD card, from the internal eMMC, or from the internal SPI-NAND flash.
If you have a serial console attached, then in the boot menu of the BPI you can select Install bootloader, recovery and production to NAND to install from the sdcard to the internal NAND. After that you can remove the sdcard, change the boot switch, and boot from the NAND.
Installing to eMMC is possible by first installing to NAND, then copy from the NAND to eMMC. This is because the sdcard and the eMMC cannot be both accessed at the same time. The sdcard takes priority and “hides” the internal eMMC when inserted.
You may also instruct the bootloader to perform an installation on the next reboot using the bootloader environment from inside OpenWrt via SSH. See the details at bananapi_bpi-r3.
NVMe storage can be used by including or installing the driver kmod-nvme
.
Hardware
Info
Architecture | ARM / AARCH64 Cortex-A73 |
---|---|
Vendor | SinoVoip |
Bootloader | U-Boot |
System-On-Chip | MediaTek Filogic 880 (MT7988) |
CPU/Speed | 1800 MHz |
Flash-Chip | SPI Flash / eMMC |
Flash size | 128 MiB / 8GiB |
RAM | 4 GiB DDR4 |
Wireless | MediaTek MT7975N 2.4GHz + MediaTek MT7977B 5GHz + MediaTek MT7977A 6GHz |
Ethernet | 4x 10/100/1000/ Mbit/s + 2x 10000/5000/2500/1000 Mbit/s SFP+ |
Switch | Internal to the SOC |
USB | 1x 3.2 + 1x 2.0 unpopulated |
Serial | Yes |
JTAG | Yes |
Photos
Serial
→ port.serial general information about the serial port, serial port cable, etc.
Serial connection parameters for Sinovoip BananaPi BPi-R4: 115200, 8N1, 3.3V
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
JTAG pins are exposed as part of the 26-pin GPIO pin header. As JTAG function is shared with other functions (pinmux), the pins need to be put into JTAG mode to work (ie. can be deactivated by software).
TRST: Pin 7 TDO: Pin 8 TDI: Pin 10 TCLK: Pin 16 TMS: Pin 18
Find OpenOCD scripts provided by MediaTek here.
Bootlogs
OEM bootlog
F0: 102B 0000 FA: 1042 0000 FA: 1042 0000 [0200] F9: 0000 0000 V0: 0000 0000 [0001] 00: 0000 0000 BP: 0600 0041 [0000] G0: 1190 0000 EC: 0000 0000 [1000] MK: 0000 0000 [0000] T0: 0000 01A4 [0101] Jump to BL NOTICE: WDT: Cold boot NOTICE: WDT: disabled NOTICE: Unexpected CPU frequency measured NOTICE: CPU: MT7988 (1500MHz) NOTICE: EMI: Using DDR unknown settings NOTICE: EMI: Detected DRAM size: 4096 MB NOTICE: EMI: complex R/W mem test passed NOTICE: BL2: v2.9(release): NOTICE: BL2: Built : 20:44:19, Jul 18 2023 NOTICE: SPI_NAND parses attributes from parameter page. NOTICE: SPI_NAND Detected ID 0xef NOTICE: Page size 2048, Block size 131072, size 134217728 NOTICE: BL2: Booting BL31 NOTICE: BL31: v2.9(release): NOTICE: BL31: Built : 20:44:23, Jul 18 2023 U-Boot 2023.04 (Jul 18 2023 - 20:42:50 +0800) CPU: MediaTek MT7988 Model: mt7988-rfb (mediatek,mt7988-spim-nand-rfb) DRAM: 2 GiB Core: 32 devices, 12 uclasses, devicetree: separate Warning: Device tree includes old 'u-boot,dm-' tags: please fix by 2023.07! Initializing NMBM ... spi-nand: spi_nand spi_nand@0: Winbond SPI NAND was found. spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 Could not find a valid device for nmbm0 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 MTD... *** Warning - bad CRC, using default environment In: serial@11000000 Out: serial@11000000 Err: serial@11000000 Net: Warning: ethernet@15100000 (eth0) using random MAC address - ee:ce:44:ee:27:13 eth0: ethernet@15100000 [?25l[2J[1;1H[1;1H[2K[2;3H*** U-Boot Boot Menu ***[0K[3;1H[2K[14;1H[2K[15;3HPress UP/DOWN to move, ENTER to select, ESC to quit[0K[16;1H[2K[4;7H[7m1. Startup system (Default)[0m[5;7H2. Upgrade firmware[6;7H3. Upgrade ATF BL2[7;7H4. Upgrade ATF FIP[8;7H5. Upgrade U-boot only[9;7H6. Upgrade single image[10;7H7. Load image[11;7H8. Start Web failsafe[12;7H0. U-Boot console[14;3HHit any key to stop autoboot: 4 [14;3HHit any key to stop autoboot: 3 [14;3HHit any key to stop autoboot: 2 [14;3HHit any key to stop autoboot: 1 [14;1H[2K[?25h[2J[1;1Hubi0: attaching mtd6 ubi0: scanning is finished ubi0: attached mtd6 (name "ubi", size 112 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 ubi0: good PEBs: 900, bad PEBs: 0, corrupted PEBs: 0 ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1685863812 ubi0: available PEBs: 0, total reserved PEBs: 900, PEBs reserved for bad PEB handling: 19 No size specified -> Using max size (4190208) Read 4190208 bytes from volume kernel to 0000000046000000 ## Loading kernel from FIT Image at 46000000 ... Using 'config-1' configuration Trying 'kernel-1' kernel subimage Description: ARM64 OpenWrt Linux-5.4.246 Type: Kernel Image Compression: lzma compressed Data Start: 0x460000e8 Data Size: 4036576 Bytes = 3.8 MiB Architecture: AArch64 OS: Linux Load Address: 0x48080000 Entry Point: 0x48080000 Hash algo: crc32 Hash value: 2e62b00f Hash algo: sha1 Hash value: 30e667f6df3eade9e2a42317951282785d453971 Verifying Hash Integrity ... crc32+ sha1+ OK ## Loading fdt from FIT Image at 46000000 ... Using 'config-1' configuration Trying 'fdt-1' fdt subimage Description: ARM64 OpenWrt BPI-R4-NAND device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x463d9a04 Data Size: 34155 Bytes = 33.4 KiB Architecture: AArch64 Hash algo: crc32 Hash value: b7663990 Hash algo: sha1 Hash value: 2a1ac726693c4f39a5714f8fa1b509a4d7cdae6a Verifying Hash Integrity ... crc32+ sha1+ OK Booting using the fdt blob at 0x463d9a04 Working FDT set to 463d9a04 Uncompressing Kernel Image Loading Device Tree to 00000000bf7ec000, end 00000000bf7f756a ... OK Working FDT set to bf7ec000 Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090] [ 0.000000] Linux version 5.4.246 (linux@Ubuntu18.04.2-Devel) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 unknown)) #0 SMP Sun Jun 4 07:30:12 2023 [ 0.000000] Machine model: Bananapi BPI-R4 [ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011000000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] On node 0 totalpages: 521712 [ 0.000000] DMA32 zone: 8192 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 521712 pages, LIFO batch:63 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 20 pages/cpu s44376 r8192 d29352 u81920 [ 0.000000] pcpu-alloc: s44376 r8192 d29352 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 513520 [ 0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11000000 pci=pcie_bus_perf [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 2034108K/2086848K available (8318K kernel code, 598K rwdata, 2436K rodata, 512K init, 292K bss, 52740K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: CONFIG_RCU_FANOUT set to non-default value of 32. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 416 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: no VLPI support, no direct LPI support [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000 [ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns [ 0.000003] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns [ 0.008265] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=52000) [ 0.018658] pid_max: default: 32768 minimum: 301 [ 0.023383] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.030875] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.039418] ASID allocator initialised with 65536 entries [ 0.044924] rcu: Hierarchical SRCU implementation. [ 0.050023] smp: Bringing up secondary CPUs ... [ 0.054808] Detected VIPT I-cache on CPU1 [ 0.054827] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000 [ 0.054842] CPU1: Booted secondary processor 0x0000000001 [0x411fd090] [ 0.055050] Detected VIPT I-cache on CPU2 [ 0.055059] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000 [ 0.055066] CPU2: Booted secondary processor 0x0000000002 [0x411fd090] [ 0.055267] Detected VIPT I-cache on CPU3 [ 0.055275] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000 [ 0.055283] CPU3: Booted secondary processor 0x0000000003 [0x411fd090] [ 0.055312] smp: Brought up 1 node, 4 CPUs [ 0.112324] SMP: Total of 4 processors activated. [ 0.117085] CPU features: detected: 32-bit EL0 Support [ 0.122286] CPU features: detected: CRC32 instructions [ 0.127573] CPU: All CPU(s) started at EL2 [ 0.131725] alternatives: patching kernel code [ 0.138220] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.148105] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.155125] pinctrl core: initialized pinctrl subsystem [ 0.160827] NET: Registered protocol family 16 [ 0.165521] DMA: preallocated 256 KiB pool for atomic allocations [ 0.172349] printk: console [pstore-1] enabled [ 0.176889] pstore: Registered ramoops as persistent store backend [ 0.183149] ramoops: using 0x10000@0x42ff0000, ecc: 0 [ 0.190917] GPIO line 432 (asm_sel) hogged as output/high [ 0.196421] GPIO line 433 (pca9545_rst) hogged as output/high [ 0.207414] cryptd: max_cpu_qlen set to 1000 [ 0.213041] SCSI subsystem initialized [ 0.216984] libata version 3.00 loaded. [ 0.220974] usbcore: registered new interface driver usbfs [ 0.226624] usbcore: registered new interface driver hub [ 0.232016] usbcore: registered new device driver usb [ 0.237675] Bluetooth: Core ver 2.22 [ 0.241311] NET: Registered protocol family 31 [ 0.245810] Bluetooth: HCI device and connection manager initialized [ 0.252249] Bluetooth: HCI socket layer initialized [ 0.257190] Bluetooth: L2CAP socket layer initialized [ 0.262307] Bluetooth: SCO socket layer initialized [ 0.267437] rbus 18000000.wbsys: PCI host bridge to bus 0004:00 [ 0.273431] pci_bus 0004:00: root bus resource [mem 0x18000000-0x18ffffff] [ 0.280390] pci_bus 0004:00: root bus resource [bus 00-ff] [ 0.285942] pci_bus 0004:00: scanning bus [ 0.290007] pci 0004:00:00.0: [14c3:7981] type 00 class 0x000280 [ 0.296096] pci 0004:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit] [ 0.302968] pci 0004:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f] [ 0.309314] pci 0004:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f] [ 0.315658] pci 0004:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f] [ 0.322003] pci 0004:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f] [ 0.329192] pci_bus 0004:00: fixups for bus [ 0.333427] pci_bus 0004:00: bus scan returning with max=00 [ 0.339248] clocksource: Switched to clocksource arch_sys_counter [ 0.345772] thermal_sys: Registered thermal governor 'fair_share' [ 0.345774] thermal_sys: Registered thermal governor 'bang_bang' [ 0.351945] thermal_sys: Registered thermal governor 'step_wise' [ 0.358028] thermal_sys: Registered thermal governor 'user_space' [ 0.364110] thermal_sys: Registered thermal governor 'power_allocator' [ 0.370440] NET: Registered protocol family 2 [ 0.381548] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.389675] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.398331] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.406404] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.413906] TCP: Hash tables configured (established 16384 bind 16384) [ 0.420566] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.427372] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.434684] NET: Registered protocol family 1 [ 0.439114] PCI: CLS 0 bytes, default 64 [ 0.443629] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.452012] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.457990] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.462451] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.479015] io scheduler mq-deadline registered [ 0.483604] io scheduler kyber registered [ 0.487712] io scheduler bfq registered [ 0.492153] phy phy-usb-phy@11e10000.3: type_sw - reg 0x218, index 0 [ 0.498995] mtk-pcie 11300000.pcie: host bridge /pcie@11300000 ranges: [ 0.505624] mtk-pcie 11300000.pcie: Parsing ranges property... [ 0.511533] mtk-pcie 11300000.pcie: IO 0x30000000..0x301fffff -> 0x30000000 [ 0.518855] mtk-pcie 11300000.pcie: MEM 0x30200000..0x37ffffff -> 0x30200000 [ 0.526198] mtk-pcie 11300000.pcie: failed to get max link width [ 0.739267] mtk-pcie 11300000.pcie: PCIe link down, ltssm reg val: 0x1 [ 0.745909] mtk-pcie: probe of 11300000.pcie failed with error -110 [ 0.752317] mtk-pcie 11310000.pcie: host bridge /pcie@11310000 ranges: [ 0.758926] mtk-pcie 11310000.pcie: Parsing ranges property... [ 0.764833] mtk-pcie 11310000.pcie: IO 0x38000000..0x381fffff -> 0x38000000 [ 0.772152] mtk-pcie 11310000.pcie: MEM 0x38200000..0x3fffffff -> 0x38200000 [ 0.779480] mtk-pcie 11310000.pcie: failed to get max link width [ 0.991253] mtk-pcie 11310000.pcie: PCIe link down, ltssm reg val: 0x1 [ 0.997882] mtk-pcie: probe of 11310000.pcie failed with error -110 [ 1.004280] mtk-pcie 11280000.pcie: host bridge /pcie@11280000 ranges: [ 1.010896] mtk-pcie 11280000.pcie: Parsing ranges property... [ 1.016803] mtk-pcie 11280000.pcie: IO 0x20000000..0x201fffff -> 0x20000000 [ 1.024121] mtk-pcie 11280000.pcie: MEM 0x20200000..0x27ffffff -> 0x20200000 [ 1.031444] mtk-xsphy usb-phy@11e10000: incompatible phy type [ 1.037275] mtk-pcie 11280000.pcie: failed to get max link width [ 1.251254] mtk-pcie 11280000.pcie: PCIe link down, ltssm reg val: 0x1 [ 1.257888] mtk-pcie: probe of 11280000.pcie failed with error -110 [ 1.264280] mtk-pcie 11290000.pcie: host bridge /pcie@11290000 ranges: [ 1.270893] mtk-pcie 11290000.pcie: Parsing ranges property... [ 1.276799] mtk-pcie 11290000.pcie: IO 0x28000000..0x281fffff -> 0x28000000 [ 1.284119] mtk-pcie 11290000.pcie: MEM 0x28200000..0x2fffffff -> 0x28200000 [ 1.291446] mtk-pcie 11290000.pcie: failed to get max link width [ 1.503249] mtk-pcie 11290000.pcie: PCIe link down, ltssm reg val: 0x1 [ 1.509880] mtk-pcie: probe of 11290000.pcie failed with error -110 [ 1.516799] mtk-power-controller 11d10000.topmisc: /topmisc@11d10000/eth2p5@2: A default off power domain has been ON [ 1.527713] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 1.534494] printk: console [ttyS0] disabled [ 1.558927] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 17, base_baud = 2500000) is a ST16650V2 [ 1.568206] printk: console [ttyS0] enabled [ 1.568206] printk: console [ttyS0] enabled [ 1.576566] printk: bootconsole [uart8250] disabled [ 1.576566] printk: bootconsole [uart8250] disabled [ 1.586743] mtk_rng trng@1020f000: registered RNG driver [ 1.586778] random: crng init done [ 1.597260] loop: module loaded [ 1.602431] spi-nand spi0.0: calibration result: 0x2 [ 1.607471] spi-nand spi0.0: Winbond SPI NAND was found. [ 1.612784] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 [ 1.622363] mt7988-pinctrl 1001f000.pinctrl: invalid function mdio in map table [ 1.630209] [mtk_hw_init] reset_lock:0, force:0 [ 1.634885] [mtk_hw_init] execute fe cold reset [ 1.650414] mtk_soc_eth 15100000.ethernet: MDC is running on 8333333 Hz [ 1.677384] mtk_soc_eth 15100000.ethernet: generated random MAC address b6:88:ff:e5:91:2b [ 1.685755] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc012080000, irq 14 [ 1.694810] mtk_soc_eth 15100000.ethernet: generated random MAC address be:57:87:81:1e:91 [ 1.703093] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc012080000, irq 14 [ 1.712140] mtk_soc_eth 15100000.ethernet: generated random MAC address e6:bc:65:b6:d6:ad [ 1.720421] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc012080000, irq 14 [ 1.729456] (unnamed net_device) (dummy): netif_napi_add() called with weight 256 [ 1.737060] PPP generic driver version 2.4.2 [ 1.741369] PPP BSD Compression module registered [ 1.746064] PPP Deflate Compression module registered [ 1.751104] NET: Registered protocol family 24 [ 1.755575] usbcore: registered new interface driver r8152 [ 1.761059] usbcore: registered new interface driver ax88179_178a [ 1.767153] usbcore: registered new interface driver qmi_wwan [ 1.773025] xhci-mtk 11190000.xhci: 11190000.xhci supply vbus not found, using dummy regulator [ 1.781648] xhci-mtk 11190000.xhci: 11190000.xhci supply vusb33 not found, using dummy regulator [ 1.790622] xhci-mtk 11190000.xhci: xHCI Host Controller [ 1.795999] xhci-mtk 11190000.xhci: new USB bus registered, assigned bus number 1 [ 1.803670] xhci-mtk 11190000.xhci: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010 [ 1.812905] xhci-mtk 11190000.xhci: irq 122, io mem 0x11190000 [ 1.818784] xhci-mtk 11190000.xhci: xHCI Host Controller [ 1.824090] xhci-mtk 11190000.xhci: new USB bus registered, assigned bus number 2 [ 1.831564] xhci-mtk 11190000.xhci: Host supports USB 3.2 Enhanced SuperSpeed [ 1.838910] hub 1-0:1.0: USB hub found [ 1.842667] hub 1-0:1.0: 1 port detected [ 1.846737] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.854981] hub 2-0:1.0: USB hub found [ 1.858738] hub 2-0:1.0: 1 port detected [ 1.862830] xhci-mtk 11200000.xhci: 11200000.xhci supply vbus not found, using dummy regulator [ 1.871470] xhci-mtk 11200000.xhci: 11200000.xhci supply vusb33 not found, using dummy regulator [ 1.880336] phy phy-usb-phy@11c50000.0: try to get sw efuse [ 1.885905] phy phy-usb-phy@11c50000.1: try to get sw efuse [ 1.891619] xhci-mtk 11200000.xhci: xHCI Host Controller [ 1.896929] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 3 [ 1.907454] xhci-mtk 11200000.xhci: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010 [ 1.916678] xhci-mtk 11200000.xhci: irq 123, io mem 0x11200000 [ 1.922557] xhci-mtk 11200000.xhci: xHCI Host Controller [ 1.927862] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 4 [ 1.935334] xhci-mtk 11200000.xhci: Host supports USB 3.2 Enhanced SuperSpeed [ 1.942626] hub 3-0:1.0: USB hub found [ 1.946379] hub 3-0:1.0: 1 port detected [ 1.950427] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.958657] hub 4-0:1.0: USB hub found [ 1.962410] hub 4-0:1.0: 1 port detected [ 1.966519] usbcore: registered new interface driver cdc_wdm [ 1.972232] usbcore: registered new interface driver uas [ 1.977577] usbcore: registered new interface driver usb-storage [ 1.983612] usbcore: registered new interface driver usbserial_generic [ 1.990137] usbserial: USB Serial support registered for generic [ 1.996144] usbcore: registered new interface driver option [ 2.001712] usbserial: USB Serial support registered for GSM modem (1-port) [ 2.008745] usbcore: registered new interface driver pl2303 [ 2.014311] usbserial: USB Serial support registered for pl2303 [ 2.020237] usbcore: registered new interface driver qcaux [ 2.025716] usbserial: USB Serial support registered for qcaux [ 2.031547] usbcore: registered new interface driver qcserial [ 2.037287] usbserial: USB Serial support registered for Qualcomm USB modem [ 2.044379] i2c /dev entries driver [ 2.055588] vcore: supplied by rt5190a-buck1 [ 2.062540] proc: supplied by rt5190a-buck1 [ 2.068971] rt5190a-buck4: supplied by rt5190a-buck1 [ 2.074882] rt5190a-ldo: supplied by regulator-dummy [ 2.110922] rtc-pcf8563 3-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03 [ 2.118403] rtc-pcf8563 3-0051: pcf8563_probe: write error [ 2.123883] rtc-pcf8563: probe of 3-0051 failed with error -5 [ 2.129627] i2c i2c-2: Added multiplexed i2c bus 3 [ 2.134467] i2c i2c-2: Added multiplexed i2c bus 4 [ 2.139305] i2c i2c-2: Added multiplexed i2c bus 5 [ 2.202678] i2c i2c-2: Added multiplexed i2c bus 6 [ 2.207470] pca954x 2-0070: registered 4 multiplexed busses for I2C switch pca9545 [ 2.215559] mtk-soc-temp-lvts 1100a000.lvts: [lvts_cal] golden_temp = 60 [ 2.222258] mtk-soc-temp-lvts 1100a000.lvts: [lvts_cal] num:g_count:g_count_rc 0:19490:5109 1:19520:0 2:19532:0 3:19500:0 4:19365:5142 5:19404:0 6:19369:0 7:19397:0 [ 2.238768] mtk-soc-temp-lvts 1100a000.lvts: [COUNT_RC_NOW] 0:5112 1:5113 2:5116 3:5116 4:5148 5:5146 6:5147 7:5147 [ 2.249301] mtk-soc-temp-lvts 1100a000.lvts: set_polling_speed 0, LVTSMONCTL1_0= 0x10000c,LVTSMONCTL2_0= 0x10001 [ 2.259463] mtk-soc-temp-lvts 1100a000.lvts: set_hw_filter 0, LVTSMSRCTL0_0= 0xb6d [ 2.267022] mtk-soc-temp-lvts 1100a000.lvts: lvts0: read all 4 sensors in 10080 us, one in 2404 us [ 2.275987] mtk-soc-temp-lvts 1100a000.lvts: set_polling_speed 1, LVTSMONCTL1_0= 0x10000c,LVTSMONCTL2_0= 0x10001 [ 2.286149] mtk-soc-temp-lvts 1100a000.lvts: set_hw_filter 1, LVTSMSRCTL0_0= 0xb6d [ 2.293707] mtk-soc-temp-lvts 1100a000.lvts: lvts1: read all 4 sensors in 10080 us, one in 2404 us [ 2.302652] mtk-soc-temp-lvts 1100a000.lvts: set_tc_hw_reboot_threshold: LVTS0, the dominator sensing point= 0 [ 2.312640] mtk-soc-temp-lvts 1100a000.lvts: set_tc_hw_reboot_threshold: LVTS1, the dominator sensing point= 0 [ 2.322875] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 2.331353] Bluetooth: HCI UART driver ver 2.3 [ 2.335793] Bluetooth: HCI UART protocol H4 registered [ 2.340921] Bluetooth: HCI UART protocol BCSP registered [ 2.346260] Bluetooth: HCI UART protocol Broadcom registered [ 2.351916] Bluetooth: HCI UART protocol QCA registered [ 2.363253] usb 3-1: new high-speed USB device number 2 using xhci-mtk [ 2.383386] exFAT: Version 1.3.0 [ 2.386987] Initializing XFRM netlink socket [ 2.391419] NET: Registered protocol family 10 [ 2.396286] Segment Routing with IPv6 [ 2.399988] NET: Registered protocol family 17 [ 2.404446] Bridge firewalling registered [ 2.408486] 8021q: 802.1Q VLAN Support v1.8 [ 2.420427] nmbm nmbm_spim_nand: Signature found at block 1023 [0x07fe0000] [ 2.428173] nmbm nmbm_spim_nand: First info table with writecount 0 found in block 960 [ 2.438166] nmbm nmbm_spim_nand: Second info table with writecount 0 found in block 963 [ 2.446168] nmbm nmbm_spim_nand: NMBM has been successfully attached [ 2.452617] 5 fixed-partitions partitions found on MTD device nmbm_spim_nand [ 2.459662] Creating 5 MTD partitions on "nmbm_spim_nand": [ 2.465143] 0x000000000000-0x000000100000 : "BL2" [ 2.470241] 0x000000100000-0x000000180000 : "u-boot-env" [ 2.475774] 0x000000180000-0x000000580000 : "Factory" [ 2.481055] 0x000000580000-0x000000780000 : "FIP" [ 2.486002] 0x000000780000-0x000007800000 : "ubi" [ 2.491261] sfp sfp@0: Host maximum power 3.0W [ 2.495721] sfp sfp@0: tx disable 1 -> 1 [ 2.499834] sfp sfp@0: SM: enter empty:detached:down event dev_attach [ 2.506278] sfp sfp@0: SM: exit empty:down:down [ 2.510935] sfp sfp@1: Host maximum power 3.0W [ 2.515387] sfp sfp@1: tx disable 1 -> 1 [ 2.519441] sfp sfp@1: SM: enter empty:detached:down event dev_attach [ 2.525894] sfp sfp@1: SM: exit empty:down:down [ 2.532924] hub 3-1:1.0: USB hub found [ 2.536856] hub 3-1:1.0: 5 ports detected [ 2.541872] mtk-msdc 11230000.mmc: phase: [map:fffffff] [maxlen:28] [final:9] [ 2.549430] mmc0: new HS400 MMC card at address 0001 [ 2.554848] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 2.559786] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB [ 2.566087] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB [ 2.572058] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (247:0) [ 2.581089] Alternate GPT is invalid, using primary GPT. [ 2.586426] mmcblk0: p1 p2 p3 p4 p5 p6 p7 [ 2.662811] usb 4-1: new SuperSpeed Gen 1x2 USB device number 2 using xhci-mtk [ 2.689621] hub 4-1:1.0: USB hub found [ 2.693547] hub 4-1:1.0: 4 ports detected [ 3.227249] usb 3-1.5: new high-speed USB device number 3 using xhci-mtk [ 3.488776] MediaTek MT7988 PHY dsa-0.0:00: TX-VCM SW cal result: 0x3 [ 3.514068] MediaTek MT7988 PHY dsa-0.0:01: TX-VCM SW cal result: 0x2 [ 3.540111] MediaTek MT7988 PHY dsa-0.0:02: TX-VCM SW cal result: 0x2 [ 3.565410] MediaTek MT7988 PHY dsa-0.0:03: TX-VCM SW cal result: 0x2 [ 3.584232] mt7530 mdio-bus:1f lan0 (uninitialized): PHY [dsa-0.0:00] driver [MediaTek MT7988 PHY] [ 3.604374] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:01] driver [MediaTek MT7988 PHY] [ 3.624422] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [MediaTek MT7988 PHY] [ 3.644466] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:03] driver [MediaTek MT7988 PHY] [ 3.653614] mt7530 mdio-bus:1f: configuring for fixed/10gbase-kr link mode [ 3.660497] mt7530 mdio-bus:1f: Link is Up - 10Gbps/Full - flow control rx/tx [ 3.660498] DSA: tree 0 setup [ 3.660501] mt7530-nl: genl_register_family_with_ops [ 3.675990] UBI: auto-attach mtd5 [ 3.679306] ubi0: attaching mtd5 [ 3.984688] ubi0: scanning is finished [ 3.992605] ubi0: attached mtd5 (name "ubi", size 112 MiB) [ 3.998084] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 4.004948] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 4.011723] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 4.018671] ubi0: good PEBs: 900, bad PEBs: 0, corrupted PEBs: 0 [ 4.024666] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 [ 4.031874] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1685863812 [ 4.040991] ubi0: available PEBs: 0, total reserved PEBs: 900, PEBs reserved for bad PEB handling: 19 [ 4.050199] ubi0: background thread "ubi_bgt0d" started, PID 972 [ 4.056478] block ubiblock0_1: created from ubi0:1(rootfs) [ 4.061966] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem [ 4.068921] hctosys: unable to open rtc device (rtc0) [ 4.077163] VFS: Mounted root (squashfs filesystem) readonly on device 253:0. [ 4.084405] Freeing unused kernel memory: 512K [ 4.103296] Run /sbin/init as init process [ 4.252200] init: Console is alive [ 4.799535] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.834214] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.841044] fsl-ehci: Freescale EHCI Host controller driver [ 4.846944] ehci-platform: EHCI generic platform driver [ 4.852890] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.859296] ohci-platform: OHCI generic platform driver [ 4.866497] mediatek_soc_hnat 15100000.hnat: wan = eth2 [ 4.871742] mediatek_soc_hnat 15100000.hnat: lan = lan [ 4.876881] mediatek_soc_hnat 15100000.hnat: lan2 = eth1 [ 4.882184] mediatek_soc_hnat 15100000.hnat: ppd = eth0 [ 4.887398] mediatek_soc_hnat 15100000.hnat: gmac num = 3 [ 4.892786] mediatek_soc_hnat 15100000.hnat: ppe num = 1 [ 4.898507] mediatek_soc_hnat 15100000.hnat: PPE0 entry number = 8192 [ 4.915171] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start [ 4.920963] hnat roaming work enable [ 4.926449] warp_module_init(): module init and register callback for warp [ 4.933370] create warp_ctrl ok!!! [ 4.936811] wed_get_slot_map(): assign slot_id:0 for entry: 0! [ 4.942642] wed_get_slot_map(): assign slot_id:1 for entry: 1! [ 4.948472] wed_get_slot_map(): assign slot_id:2 for entry: 2! [ 4.954673] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.969956] init: - preinit - [ 5.255070] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/10gbase-kr link mode [ 5.263347] mtk_soc_eth 15100000.ethernet: mtk_gmac_usxgmii_path_setup path gmac1_usxgmii in [ 5.271805] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx [ 5.276895] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode [ 5.287028] 8021q: adding VLAN 0 to HW filter on device lan1 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 [ 9.350696] mount_root: loading kmods from internal overlay [ 9.362121] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 9.370014] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 10.049393] UBIFS (ubi0:2): Mounting in unauthenticated mode [ 10.055143] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 1070 [ 10.085118] UBIFS (ubi0:2): recovery needed [ 10.159099] UBIFS (ubi0:2): recovery completed [ 10.163600] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 10.171424] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 10.181326] UBIFS (ubi0:2): FS size: 50917376 bytes (48 MiB, 401 LEBs), journal size 2539520 bytes (2 MiB, 20 LEBs) [ 10.191747] UBIFS (ubi0:2): reserved for root: 2404952 bytes (2348 KiB) [ 10.198352] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 4160CDCC-07E6-46F0-B278-EF45C6FE1382, small LPT model [ 10.210583] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 10.221035] block: extroot: not configured [ 10.225205] UBIFS (ubi0:2): un-mount UBI device 0 [ 10.229909] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" stops [ 10.238066] UBIFS (ubi0:2): Mounting in unauthenticated mode [ 10.243767] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 1073 [ 10.285256] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 10.293081] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 10.302982] UBIFS (ubi0:2): FS size: 50917376 bytes (48 MiB, 401 LEBs), journal size 2539520 bytes (2 MiB, 20 LEBs) [ 10.313403] UBIFS (ubi0:2): reserved for root: 2404952 bytes (2348 KiB) [ 10.320007] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 4160CDCC-07E6-46F0-B278-EF45C6FE1382, small LPT model [ 10.333222] mount_root: loading kmods from internal overlay [ 10.344746] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 10.354188] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 10.988644] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 10.997769] block: extroot: not configured [ 11.002930] mount_root: switching to ubifs overlay [ 11.013767] urandom-seed: Seeding with /etc/urandom.seed card0 e2p_1af: Normal mode [ 11.103969] procd: - early - [ 11.646013] procd: - ubus - [ 11.699903] procd: - init - [ 11.978260] urngd: v1.0.2 started. [ 11.986005] kmodloader: loading kernel modules from /etc/modules.d/* [ 12.011959] MACsec IEEE 802.1AE [ 12.020378] RPC: Registered named UNIX socket transport module. [ 12.026313] RPC: Registered udp transport module. [ 12.031011] RPC: Registered tcp transport module. [ 12.035711] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 12.043756] NET: Registered protocol family 15 [ 12.053811] l2tp_core: L2TP core driver, V2.0 [ 12.058720] l2tp_netlink: L2TP netlink interface [ 12.063895] gre: GRE over IPv4 demultiplexor driver [ 12.069480] ip_gre: GRE over IPv4 tunneling driver [ 12.075658] ip6_gre: GRE over IPv6 tunneling driver [ 12.083137] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 12.099382] Loading modules backported from Linux version v5.15.81-0-ge4a7232c917c [ 12.106969] Backport generated by backports.git v5.15.81-1-0-ge1867d55 [ 12.126662] mt_wifi_cmn: loaded [ 12.128430] hidraw: raw HID events driver (C) Jiri Kosina [ 12.878261] mt_wifi: module license 'Proprietary' taints kernel. [ 12.884379] Disabling lock debugging due to kernel taint [ 12.913595] physical_device_init! [ 12.916983] WiFi@ERROR.CFG,get_dbg_setting_by_profile() 4197: debug level setting=INDEX0_debug_level not found!! [ 12.927179] WiFi@ERROR.CFG,get_dbg_setting_by_profile() 4222: debug option setting=INDEX0_debug_option not found!! [ 12.937524] WiFi@ERROR.MLO,bss_mngr_con_init() 2560: bss_mngr_con_init: inited = 0 [ 12.945089] WiFi@ERROR.MLO,bss_idx_bitmap_init() 89: bss_idx_bitmap_init: map_size=12 [ 12.952914] WiFi@ERROR.MLO,mld_grp_bitmap_init() 210: : map_size=12 [ 12.959185] WiFi@ERROR.MLO,bss_mngr_ext_entry_init() 2541: bss(64), grp(65) [ 12.966142] ser_mngr_init()WiFi@ERROR.MLO,init_sta_mld_link_mgr() 2783: ---> [ 12.973305] WiFi@NOTICE.CFG80211,csi_genl_register() 3786: register CSI genl family(0)!!! [ 13.001706] mtk_hwifi: module uses symbols from proprietary module mt_wifi, inheriting taint. [ 13.011645] connac_if: module uses symbols from proprietary module mt_wifi, inheriting taint. [ 13.020880] mtk_pci: module uses symbols from proprietary module mtk_hwifi, inheriting taint. [ 13.450093] mt7990: module uses symbols from proprietary module mtk_hwifi, inheriting taint. [ 13.504996] mt7991: module uses symbols from proprietary module mtk_hwifi, inheriting taint. [ 13.563945] mtk_wed: module uses symbols from proprietary module mtk_hwifi, inheriting taint. [ 13.573586] mt7990_dbg: module uses symbols from proprietary module mtk_hwifi, inheriting taint. [ 13.584511] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.589841] Bluetooth: BNEP filters: protocol multicast [ 13.595077] Bluetooth: BNEP socket layer initialized [ 13.601598] usbcore: registered new interface driver btusb [ 13.607986] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 13.613926] Bluetooth: HIDP socket layer initialized [ 13.621826] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 13.628038] Current mapfilter version v3.0.1.2 [ 13.633223] -->mtfwd_init(ver:2.0) [ 13.633250] <-- [ 13.637311] -->mtqos_init(), mtqos ver:1.0 [ 13.639100] <-- [ 13.661924] PPP MPPE Compression module registered [ 13.667492] PPTP driver version 0.8.5 [ 13.672392] Bluetooth: RFCOMM TTY layer initialized [ 13.677311] Bluetooth: RFCOMM socket layer initialized [ 13.682462] Bluetooth: RFCOMM ver 1.11 [ 13.688003] usbcore: registered new interface driver usblp [ 13.702081] xt_time: kernel timezone is -0000 [ 13.716846] mt7990: module uses symbols from proprietary module mtk_hwifi, inheriting taint. [ 13.729310] mt7991: module uses symbols from proprietary module mtk_hwifi, inheriting taint. [ 13.738352] kmodloader: done loading kernel modules from /etc/modules.d/* [ 13.974471] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached. [ 13.984427] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached. [ 15.202266] mtk_soc_eth 15100000.ethernet eth0: Link is Down [ 15.227849] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/10gbase-kr link mode [ 15.236178] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx [ 15.236830] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode [ 15.251586] 8021q: adding VLAN 0 to HW filter on device lan1 [ 15.257453] br-lan: port 1(lan1) entered blocking state [ 15.262712] br-lan: port 1(lan1) entered disabled state [ 15.268107] device lan1 entered promiscuous mode [ 15.272746] device eth0 entered promiscuous mode [ 15.280304] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode [ 15.287112] 8021q: adding VLAN 0 to HW filter on device lan2 [ 15.293137] br-lan: port 2(lan2) entered blocking state [ 15.298394] br-lan: port 2(lan2) entered disabled state [ 15.303824] device lan2 entered promiscuous mode [ 15.309676] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode [ 15.316478] 8021q: adding VLAN 0 to HW filter on device lan3 [ 15.322380] br-lan: port 3(lan3) entered blocking state [ 15.327631] br-lan: port 3(lan3) entered disabled state [ 15.333044] device lan3 entered promiscuous mode [ 15.338684] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/10gbase-kr link mode [ 15.347072] mtk_soc_eth 15100000.ethernet: mtk_gmac_usxgmii_path_setup path gmac2_usxgmii in [ 15.366494] sfp sfp@1: SM: enter empty:down:down event dev_up [ 15.372240] sfp sfp@1: SM: exit empty:up:down [ 15.387821] br-lan: port 4(eth1) entered blocking state [ 15.393057] br-lan: port 4(eth1) entered disabled state [ 15.398475] device eth1 entered promiscuous mode [ 15.403230] br-lan: port 4(eth1) entered blocking state [ 15.408470] br-lan: port 4(eth1) entered forwarding state [ 15.413967] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 15.422564] mt7530 mdio-bus:1f lan0: configuring for phy/gmii link mode [ 15.429402] 8021q: adding VLAN 0 to HW filter on device lan0 [ 15.435703] br-wan: port 1(lan0) entered blocking state [ 15.440953] br-wan: port 1(lan0) entered disabled state [ 15.446555] device lan0 entered promiscuous mode [ 15.453344] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/10gbase-kr link mode [ 15.461753] mtk_soc_eth 15100000.ethernet: mtk_gmac_usxgmii_path_setup path gmac3_usxgmii in [ 15.481208] sfp sfp@0: SM: enter empty:down:down event dev_up [ 15.486965] sfp sfp@0: SM: exit empty:up:down [ 15.502635] br-wan: port 2(eth2) entered blocking state [ 15.507875] br-wan: port 2(eth2) entered disabled state [ 15.513300] device eth2 entered promiscuous mode [ 15.518070] br-wan: port 2(eth2) entered blocking state [ 15.523311] br-wan: port 2(eth2) entered forwarding state [ 15.528816] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready [ 15.636368] /dev/ubi0_1: Can't open blockdev [ 16.227527] br-lan: port 4(eth1) entered disabled state [ 16.233116] br-wan: port 2(eth2) entered disabled state [ 16.773573] Per-port-per-queue mode is going to be enabled! [ 16.779197] PPPQ use qid 0~11 (scheduler 0).
OpenWrt bootlog
F0: 102B 0000 FA: 1042 0000 FA: 1042 0000 [0200] F9: 0000 0000 V0: 0000 0000 [0001] 00: 0000 0000 BP: 0600 0041 [0000] G0: 1190 0000 EC: 0000 0000 [1000] MK: 0000 0000 [0000] T0: 0000 01A8 [0101] Jump to BL NOTICE: BL2: v2.9.0(release):OpenWrt v2023-10-13-0ea67d76-1 (mt7988-spim-nand-ubi-comb) NOTICE: BL2: Built : 00:34:15, Jan 24 2024 NOTICE: WDT: Cold boot NOTICE: WDT: disabled NOTICE: CPU: MT7988 NOTICE: EMI: Using DDR unknown settings NOTICE: EMI: Detected DRAM size: 4096 MB NOTICE: EMI: complex R/W mem test passed NOTICE: SPI_NAND parses attributes from parameter page. NOTICE: SPI_NAND Detected ID 0xef NOTICE: Page size 2048, Block size 131072, size 134217728 NOTICE: UBI: scanning [0x200000 - 0x8000000] ... NOTICE: UBI: scanning is finished NOTICE: UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes NOTICE: UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 NOTICE: UBI: Volume fip (Id #0) size is 2097152 bytes NOTICE: BL2: Booting BL31 NOTICE: BL31: v2.9.0(release):OpenWrt v2023-10-13-0ea67d76-1 (mt7988-spim-nand-ubi-comb) NOTICE: BL31: Built : 00:34:15, Jan 24 2024 U-Boot 2024.01-OpenWrt-r0+24924-902566ddd6 (Jan 24 2024 - 00:34:15 +0000) CPU: MediaTek MT7988 Model: Bananapi BPI-R4 DRAM: 4 GiB Core: 63 devices, 23 uclasses, devicetree: embed spi-nand: spi_nand spi_nand@0: Winbond SPI NAND was found. spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 MMC: mmc@11230000: 0 Loading Environment from UBI... Read 126976 bytes from volume ubootenv to 00000000ff7c1c00 Read 126976 bytes from volume ubootenv2 to 00000000ff7e0c40 OK In: serial@11000000 Out: serial@11000000 Err: serial@11000000 reset button found Loading Environment from UBI... UBI partition 'ubi' already selected Read 126976 bytes from volume ubootenv to 00000000ff7c1c00 Read 126976 bytes from volume ubootenv2 to 00000000ff7e0c40 OK Net: eth0: ethernet@15100000 Cannot read EFI system partition Cannot read EFI system partition Failed to persist EFI variables ( ( ( OpenWrt ) ) ) [SPI-NAND] U-Boot 2024.01-OpenWrt-r0+24924-902566ddd6 (Jan 24 2024 - 00:34:15 +0000)Press UP/DOWN to move, ENTER to select, ESC to quit1. Run default boot command.2. Boot system via TFTP.3. Boot production system from NAND.4. Boot recovery system from NAND.5. Load production system via TFTP then write to NAND.6. Load recovery system via TFTP then write to NAND.7. Load BL31+U-Boot FIP via TFTP then write to NAND.8. Load BL2 preloader via TFTP then write to NAND.9. Install bootloader, recovery and production to eMMC.a. Reboot.b. Reset all settings to factory defaults.0. U-Boot consoleHit any key to stop autoboot: 3 Hit any key to stop autoboot: 2 Hit any key to stop autoboot: 1 No size specified -> Using max size (13459456) Read 13459456 bytes from volume fit to 0000000050000000 ## Checking Image at 50000000 ... FIT image found FIT description: ARM64 OpenWrt FIT (Flattened Image Tree) Image 0 (kernel-1) Description: ARM64 OpenWrt Linux-6.1.77 Type: Kernel Image Compression: gzip compressed Data Start: 0x50001000 Data Size: 5683051 Bytes = 5.4 MiB Architecture: AArch64 OS: Linux Load Address: 0x46000000 Entry Point: 0x46000000 Hash algo: crc32 Hash value: add6c0ce Hash algo: sha1 Hash value: 20960e4464322be1b24a36ab890ad77833fb776f Image 1 (fdt-1) Description: ARM64 OpenWrt bananapi_bpi-r4 device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x5056d000 Data Size: 43035 Bytes = 42 KiB Architecture: AArch64 Load Address: 0x45f00000 Hash algo: crc32 Hash value: eaf1bd31 Hash algo: sha1 Hash value: 76c0534b811ccdc3c41bd136447992eb5f33b947 Image 2 (fdt-mt7988a-bananapi-bpi-r4-emmc) Description: ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-emmc Type: Flat Device Tree Compression: uncompressed Data Start: 0x50578000 Data Size: 1554 Bytes = 1.5 KiB Architecture: AArch64 Hash algo: crc32 Hash value: af4d9e7e Hash algo: sha1 Hash value: 57ef67c8d0cdaa3cff850f1923dc90cff6a992f6 Image 3 (fdt-mt7988a-bananapi-bpi-r4-rtc) Description: ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-rtc Type: Flat Device Tree Compression: uncompressed Data Start: 0x50579000 Data Size: 285 Bytes = 285 Bytes Architecture: AArch64 Hash algo: crc32 Hash value: 9e869883 Hash algo: sha1 Hash value: 343be366c4680b8d5f970ece19ea9970b91e5aad Image 4 (fdt-mt7988a-bananapi-bpi-r4-sd) Description: ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-sd Type: Flat Device Tree Compression: uncompressed Data Start: 0x5057a000 Data Size: 1482 Bytes = 1.4 KiB Architecture: AArch64 Hash algo: crc32 Hash value: d0a3ad77 Hash algo: sha1 Hash value: 4ddb0442509f1e0e66f70270ad0aad5b57894599 Image 5 (fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a) Description: ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-wifi-mt7996a Type: Flat Device Tree Compression: uncompressed Data Start: 0x5057b000 Data Size: 2284 Bytes = 2.2 KiB Architecture: AArch64 Hash algo: crc32 Hash value: d91777f1 Hash algo: sha1 Hash value: 39e1d2049de6c3ac3a50092268292e20c00e66d4 Image 6 (rootfs-1) Description: ARM64 OpenWrt bananapi_bpi-r4 rootfs Type: Filesystem Image Compression: uncompressed Data Start: 0x5057c000 Data Size: 7417856 Bytes = 7.1 MiB Hash algo: crc32 Hash value: bb6856e3 Hash algo: sha1 Hash value: d76261ce97cc40cb309d84c2a25a2f576dc960a8 Default Configuration: 'config-mt7988a-bananapi-bpi-r4' Configuration 0 (config-mt7988a-bananapi-bpi-r4) Description: OpenWrt bananapi_bpi-r4 Kernel: kernel-1 FDT: fdt-1 Loadables: rootfs-1 Configuration 1 (mt7988a-bananapi-bpi-r4-emmc) Description: OpenWrt bananapi_bpi-r4 overlay mt7988a-bananapi-bpi-r4-emmc Kernel: unavailable FDT: fdt-mt7988a-bananapi-bpi-r4-emmc Configuration 2 (mt7988a-bananapi-bpi-r4-rtc) Description: OpenWrt bananapi_bpi-r4 overlay mt7988a-bananapi-bpi-r4-rtc Kernel: unavailable FDT: fdt-mt7988a-bananapi-bpi-r4-rtc Configuration 3 (mt7988a-bananapi-bpi-r4-sd) Description: OpenWrt bananapi_bpi-r4 overlay mt7988a-bananapi-bpi-r4-sd Kernel: unavailable FDT: fdt-mt7988a-bananapi-bpi-r4-sd Configuration 4 (mt7988a-bananapi-bpi-r4-wifi-mt7996a) Description: OpenWrt bananapi_bpi-r4 overlay mt7988a-bananapi-bpi-r4-wifi-mt7996a Kernel: unavailable FDT: fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a ## Checking hash(es) for FIT Image at 50000000 ... Hash(es) for Image 0 (kernel-1): crc32+ sha1+ Hash(es) for Image 1 (fdt-1): crc32+ sha1+ Hash(es) for Image 2 (fdt-mt7988a-bananapi-bpi-r4-emmc): crc32+ sha1+ Hash(es) for Image 3 (fdt-mt7988a-bananapi-bpi-r4-rtc): crc32+ sha1+ Hash(es) for Image 4 (fdt-mt7988a-bananapi-bpi-r4-sd): crc32+ sha1+ Hash(es) for Image 5 (fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a): crc32+ sha1+ Hash(es) for Image 6 (rootfs-1): crc32+ sha1+ ## Loading kernel from FIT Image at 50000000 ... Using 'config-mt7988a-bananapi-bpi-r4' configuration Trying 'kernel-1' kernel subimage Description: ARM64 OpenWrt Linux-6.1.77 Type: Kernel Image Compression: gzip compressed Data Start: 0x50001000 Data Size: 5683051 Bytes = 5.4 MiB Architecture: AArch64 OS: Linux Load Address: 0x46000000 Entry Point: 0x46000000 Hash algo: crc32 Hash value: add6c0ce Hash algo: sha1 Hash value: 20960e4464322be1b24a36ab890ad77833fb776f Verifying Hash Integrity ... crc32+ sha1+ OK ## Loading fdt from FIT Image at 50000000 ... Using 'config-mt7988a-bananapi-bpi-r4' configuration Trying 'fdt-1' fdt subimage Description: ARM64 OpenWrt bananapi_bpi-r4 device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x5056d000 Data Size: 43035 Bytes = 42 KiB Architecture: AArch64 Load Address: 0x45f00000 Hash algo: crc32 Hash value: eaf1bd31 Hash algo: sha1 Hash value: 76c0534b811ccdc3c41bd136447992eb5f33b947 Verifying Hash Integrity ... crc32+ sha1+ OK Loading fdt from 0x5056d000 to 0x45f00000 ## Loading fdt from FIT Image at 50000000 ... Using 'mt7988a-bananapi-bpi-r4-sd' configuration Trying 'fdt-mt7988a-bananapi-bpi-r4-sd' fdt subimage Description: ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-sd Type: Flat Device Tree Compression: uncompressed Data Start: 0x5057a000 Data Size: 1482 Bytes = 1.4 KiB Architecture: AArch64 Hash algo: crc32 Hash value: d0a3ad77 Hash algo: sha1 Hash value: 4ddb0442509f1e0e66f70270ad0aad5b57894599 Verifying Hash Integrity ... crc32+ sha1+ OK ## Loading fdt from FIT Image at 50000000 ... Could not find configuration node load of <NULL> failed Booting using the fdt blob at 0x45f00000 Working FDT set to 45f00000 ## Loading loadables from FIT Image at 50000000 ... Trying 'rootfs-1' loadables subimage Description: ARM64 OpenWrt bananapi_bpi-r4 rootfs Type: Filesystem Image Compression: uncompressed Data Start: 0x5057c000 Data Size: 7417856 Bytes = 7.1 MiB Hash algo: crc32 Hash value: bb6856e3 Hash algo: sha1 Hash value: d76261ce97cc40cb309d84c2a25a2f576dc960a8 Verifying Hash Integrity ... crc32+ sha1+ OK Uncompressing Kernel Image Loading Device Tree to 00000000fe7b6000, end 00000000fe7c2ac7 ... OK Working FDT set to fe7b6000 set /chosen/rootdisk to bootrom media: rootdisk-spim-nand (phandle 0x00000043) Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090] [ 0.000000] Linux version 6.1.77 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r25233-6da308f4de) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sun Feb 18 08:56:45 2024 [ 0.000000] Machine model: Bananapi BPI-R4 [ 0.000000] Memory limited to 2048MB [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff] [ 0.000000] node 0: [mem 0x0000000043000000-0x000000004304ffff] [ 0.000000] node 0: [mem 0x0000000043050000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.4 [ 0.000000] percpu: Embedded 17 pages/cpu s30824 r8192 d30616 u69632 [ 0.000000] pcpu-alloc: s30824 r8192 d30616 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS0,115200n1 pci=pcie_bus_perf root=/dev/fit0 ubi.block=0,fit mem=2048M [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 2043464K/2097152K available (8576K kernel code, 902K rwdata, 2492K rodata, 448K init, 304K bss, 53688K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, 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: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 416 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns [ 0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns [ 0.000058] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000) [ 0.000064] pid_max: default: 32768 minimum: 301 [ 0.000261] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000270] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000841] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.001051] cblist_init_generic: Setting adjustable number of callback queues. [ 0.001054] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.001130] rcu: Hierarchical SRCU implementation. [ 0.001132] rcu: Max phase no-delay instances is 1000. [ 0.001401] smp: Bringing up secondary CPUs ... [ 0.001618] Detected VIPT I-cache on CPU1 [ 0.001665] cacheinfo: Unable to detect cache hierarchy for CPU 1 [ 0.001671] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000 [ 0.001690] CPU1: Booted secondary processor 0x0000000001 [0x411fd090] [ 0.001915] Detected VIPT I-cache on CPU2 [ 0.001947] cacheinfo: Unable to detect cache hierarchy for CPU 2 [ 0.001951] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000 [ 0.001960] CPU2: Booted secondary processor 0x0000000002 [0x411fd090] [ 0.002185] Detected VIPT I-cache on CPU3 [ 0.002216] cacheinfo: Unable to detect cache hierarchy for CPU 3 [ 0.002220] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000 [ 0.002230] CPU3: Booted secondary processor 0x0000000003 [0x411fd090] [ 0.002255] smp: Brought up 1 node, 4 CPUs [ 0.002259] SMP: Total of 4 processors activated. [ 0.002262] CPU features: detected: 32-bit EL0 Support [ 0.002264] CPU features: detected: CRC32 instructions [ 0.002293] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [ 0.002296] CPU: All CPU(s) started at EL2 [ 0.002297] alternatives: applying system-wide alternatives [ 0.005645] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.005657] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.005760] pinctrl core: initialized pinctrl subsystem [ 0.006298] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.006531] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.006590] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.006644] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.006885] thermal_sys: Registered thermal governor 'fair_share' [ 0.006888] thermal_sys: Registered thermal governor 'bang_bang' [ 0.006891] thermal_sys: Registered thermal governor 'step_wise' [ 0.006892] thermal_sys: Registered thermal governor 'user_space' [ 0.006937] ASID allocator initialised with 65536 entries [ 0.007392] printk: console [ramoops-1] enabled [ 0.007421] pstore: Registered ramoops as persistent store backend [ 0.007425] ramoops: using 0x10000@0x42ff0000, ecc: 0 [ 0.015439] cryptd: max_cpu_qlen set to 1000 [ 0.016189] SCSI subsystem initialized [ 0.016238] libata version 3.00 loaded. [ 0.016966] clocksource: Switched to clocksource arch_sys_counter [ 0.017376] NET: Registered PF_INET protocol family [ 0.017483] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.018537] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.018554] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.018567] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.018620] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 0.018826] TCP: Hash tables configured (established 16384 bind 16384) [ 0.018886] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.018914] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.019027] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.019058] PCI: CLS 0 bytes, default 64 [ 0.019762] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.021716] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.021727] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.040284] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.041058] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1) [ 0.041537] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges: [ 0.041554] mtk-pcie-gen3 11280000.pcie: Parsing ranges property... [ 0.041565] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000 [ 0.041577] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000 [ 0.041665] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges: [ 0.041676] mtk-pcie-gen3 11290000.pcie: Parsing ranges property... [ 0.041686] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000 [ 0.041695] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000 [ 0.041713] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517 [ 0.041721] mtk-pcie-gen3 11290000.pcie: failed to get clocks [ 0.041782] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges: [ 0.041791] mtk-pcie-gen3 11300000.pcie: Parsing ranges property... [ 0.041801] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000 [ 0.041809] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000 [ 0.041825] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517 [ 0.041832] mtk-pcie-gen3 11300000.pcie: failed to get clocks [ 0.041901] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges: [ 0.041910] mtk-pcie-gen3 11310000.pcie: Parsing ranges property... [ 0.041919] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000 [ 0.041927] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000 [ 0.041942] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517 [ 0.041951] mtk-pcie-gen3 11310000.pcie: failed to get clocks [ 0.045824] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.047155] printk: console [ttyS0] disabled [ 0.067291] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2 [ 0.928228] printk: console [ttyS0] enabled [ 0.952997] 11000100.serial: ttyS1 at MMIO 0x11000100 (irq = 100, base_baud = 2500000) is a ST16650V2 [ 0.982679] 11000200.serial: ttyS2 at MMIO 0x11000200 (irq = 101, base_baud = 2500000) is a ST16650V2 [ 0.992443] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.000205] loop: module loaded [ 1.003516] Loading iSCSI transport class v2.0-870. [ 1.009629] spi-nand spi0.0: Winbond SPI NAND was found. [ 1.014943] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 [ 1.023176] 2 fixed-partitions partitions found on MTD device spi0.0 [ 1.029540] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions [ 1.036408] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions [ 1.043388] Creating 2 MTD partitions on "spi0.0": [ 1.048174] 0x000000000000-0x000000200000 : "bl2" [ 1.054237] 0x000000200000-0x000008000000 : "ubi" [ 1.127643] ubi0: default fastmap pool size: 50 [ 1.132167] ubi0: default fastmap WL pool size: 25 [ 1.136945] ubi0: attaching mtd1 [ 1.945540] ubi0: scanning is finished [ 1.958936] ubi0: attached mtd1 (name "ubi", size 126 MiB) [ 1.964416] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 1.971287] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 1.978065] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 1.985013] ubi0: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0 [ 1.991096] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [ 1.998306] ubi0: max/mean erase counter: 8/4, WL threshold: 4096, image sequence number: 0 [ 2.006642] ubi0: available PEBs: 0, total reserved PEBs: 1008, PEBs reserved for bad PEB handling: 20 [ 2.015944] ubi0: background thread "ubi_bgt0d" started, PID 264 [ 2.016003] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions [ 2.028886] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions [ 2.037051] block ubiblock0_4: created from ubi0:4(fit) [ 2.168370] i2c_dev: i2c /dev entries driver [ 2.187856] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0) [ 2.197534] mtk-msdc 11230000.mmc: Got CD GPIO [ 2.197702] NET: Registered PF_INET6 protocol family [ 2.207344] Segment Routing with IPv6 [ 2.211007] In-situ OAM (IOAM) with IPv6 [ 2.214947] NET: Registered PF_PACKET protocol family [ 2.220013] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.233041] 8021q: 802.1Q VLAN Support v1.8 [ 2.237993] pstore: Using crash dump compression: deflate [ 2.251366] phy phy-soc:xphy@11e10000.3: type_sw - reg 0x218, index 0 [ 2.258381] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges: [ 2.265693] mtk-pcie-gen3 11280000.pcie: Parsing ranges property... [ 2.271961] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000 [ 2.280394] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000 [ 2.626977] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x0) [ 2.635768] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110 [ 2.642775] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges: [ 2.650091] mtk-pcie-gen3 11290000.pcie: Parsing ranges property... [ 2.656354] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000 [ 2.664788] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000 [ 3.006983] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1) [ 3.015760] mtk-pcie-gen3: probe of 11290000.pcie failed with error -110 [ 3.022608] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges: [ 3.029919] mtk-pcie-gen3 11300000.pcie: Parsing ranges property... [ 3.036178] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000 [ 3.044611] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000 [ 3.386984] mtk-pcie-gen3 11300000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1) [ 3.395761] mtk-pcie-gen3: probe of 11300000.pcie failed with error -110 [ 3.402615] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges: [ 3.409923] mtk-pcie-gen3 11310000.pcie: Parsing ranges property... [ 3.416183] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000 [ 3.424615] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000 [ 3.766969] mtk-pcie-gen3 11310000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1) [ 3.775746] mtk-pcie-gen3: probe of 11310000.pcie failed with error -110 [ 3.783448] FIT: Detected U-Boot 2024.01-OpenWrt-r0+24924-902566ddd6 [ 3.789801] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4" (OpenWrt bananapi_bpi-r4) [ 3.798845] FIT: kernel sub-image 0x00001000..0x0056c76a "kernel-1" (ARM64 OpenWrt Linux-6.1.77) [ 3.808580] FIT: flat_dt sub-image 0x0056d000..0x0057781a "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4 device tree blob) [ 3.819791] FIT: flat_dt sub-image 0x00578000..0x00578611 "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-emmc) [ 3.836119] FIT: flat_dt sub-image 0x00579000..0x0057911c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-rtc) [ 3.852273] FIT: flat_dt sub-image 0x0057a000..0x0057a5c9 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-sd) [ 3.868257] FIT: flat_dt sub-image 0x0057b000..0x0057b8eb "fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-wifi-mt7996a) [ 3.885971] FIT: filesystem sub-image 0x0057c000..0x00c8efff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4 rootfs) [ 3.896795] block ubiblock0_4: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0 [ 4.028419] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00 [ 4.036604] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00 [ 4.044781] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00 [ 4.054942] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc00a400000, irq 103 [ 4.064549] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc00a400000, irq 103 [ 4.074151] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc00a400000, irq 103 [ 4.164848] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode [ 4.172359] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx [ 4.196771] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=112) [ 4.232086] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=113) [ 4.267386] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=114) [ 4.302623] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=115) [ 4.313587] device eth0 entered promiscuous mode [ 4.318216] DSA: tree 0 setup [ 4.321818] UBI: auto-attach mtd1 [ 4.325125] ubi: mtd1 is already attached to ubi0 [ 4.329824] UBI error: cannot attach mtd1 [ 4.339991] VFS: Mounted root (squashfs filesystem) readonly on device 259:0. [ 4.347239] Freeing unused kernel memory: 448K [ 4.397007] Run /sbin/init as init process [ 4.401094] with arguments: [ 4.404049] /sbin/init [ 4.406745] with environment: [ 4.409881] HOME=/ [ 4.412229] TERM=linux [ 4.597594] init: Console is alive [ 4.601095] init: - watchdog - [ 4.896974] random: crng init done [ 5.045826] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.073367] usbcore: registered new interface driver usbfs [ 5.078892] usbcore: registered new interface driver hub [ 5.084221] usbcore: registered new device driver usb [ 5.092429] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator [ 5.099827] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator [ 5.107689] xhci-mtk 11200000.usb: xHCI Host Controller [ 5.112915] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1 [ 5.123386] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010 [ 5.132553] xhci-mtk 11200000.usb: irq 116, io mem 0x11200000 [ 5.138361] xhci-mtk 11200000.usb: xHCI Host Controller [ 5.143577] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2 [ 5.150966] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed [ 5.158259] hub 1-0:1.0: USB hub found [ 5.162016] hub 1-0:1.0: 1 port detected [ 5.166108] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 5.174362] hub 2-0:1.0: USB hub found [ 5.178122] hub 2-0:1.0: 1 port detected [ 5.184390] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.198317] init: - preinit - [ 5.525990] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode [ 5.534146] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx [ 5.541346] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode [ 5.550559] 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 [ 5.636978] usb 1-1: new high-speed USB device number 2 using xhci-mtk [ 5.819641] hub 1-1:1.0: USB hub found [ 5.823562] hub 1-1:1.0: 5 ports detected [ 5.967056] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk [ 5.999557] hub 2-1:1.0: USB hub found [ 6.003474] hub 2-1:1.0: 4 ports detected [ 6.516964] usb 1-1.5: new high-speed USB device number 3 using xhci-mtk [ 7.682096] UBIFS (ubi0:6): Mounting in unauthenticated mode [ 7.687822] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 790 [ 7.744381] UBIFS (ubi0:6): recovery needed [ 7.906397] UBIFS (ubi0:6): recovery completed [ 7.910875] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data" [ 7.918697] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 7.928600] UBIFS (ubi0:6): FS size: 76947456 bytes (73 MiB, 606 LEBs), max 616 LEBs, journal size 3809280 bytes (3 MiB, 30 LEBs) [ 7.940238] UBIFS (ubi0:6): reserved for root: 3634417 bytes (3549 KiB) [ 7.946840] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 447B800E-4DC2-4BCA-BA05-FB3698E1D3B0, small LPT model [ 7.960923] mount_root: switching to ubifs overlay [ 7.971895] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off. [ 7.986792] urandom-seed: Seeding with /etc/urandom.seed [ 8.037657] procd: - early - [ 8.040594] procd: - watchdog - [ 8.577565] procd: - watchdog - [ 8.581030] procd: - ubus - [ 8.736309] procd: - init - Please press Enter to activate this console. [ 8.943837] kmodloader: loading kernel modules from /etc/modules.d/* [ 8.975417] i2c i2c-1: Added multiplexed i2c bus 2 [ 8.980295] i2c i2c-1: Added multiplexed i2c bus 3 [ 8.985133] i2c i2c-1: Added multiplexed i2c bus 4 [ 8.989983] i2c i2c-1: Added multiplexed i2c bus 5 [ 8.994765] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9545 [ 9.004614] crypto-safexcel 15600000.crypto: can't request region for resource [mem 0x15600000-0x1577ffff] [ 9.014283] crypto-safexcel 15600000.crypto: failed to get resource [ 9.020585] crypto-safexcel: probe of 15600000.crypto failed with error -16 [ 9.031347] at24 2-0050: supply vcc not found, using dummy regulator [ 9.032344] urngd: v1.0.2 started. [ 9.068865] at24 2-0057: supply vcc not found, using dummy regulator [ 9.075775] at24 2-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write [ 9.082842] Loading modules backported from Linux version v6.5-0-g2dde18cd1d8f [ 9.090062] Backport generated by backports.git v5.15.92-1-56-g5fb2ccb6b9e8 [ 9.100178] sfp sfp1: Host maximum power 3.0W [ 9.105029] sfp sfp2: Host maximum power 3.0W [ 9.133427] PPP generic driver version 2.4.2 [ 9.138314] NET: Registered PF_PPPOX protocol family [ 9.144672] kmodloader: done loading kernel modules from /etc/modules.d/* [ 9.418353] sfp sfp1: module OEM SFP-2.5G-T rev 1.0 sn XXXXXXXXXXXX dc XXXXXXXX [ 9.427794] mtk_soc_eth 15100000.ethernet eth2: switched to inband/2500base-x link mode [ 9.447098] sfp sfp2: module OEM JT-DAC-SFP-1 rev N sn XXXXXXXXXXXX dc XXXXXXXX [ 9.456519] mtk_soc_eth 15100000.ethernet eth1: switched to inband/10gbase-r link mode [ 9.473583] hwmon hwmon1: temp1_input not attached to any thermal zone [ 11.059376] mtk_soc_eth 15100000.ethernet eth0: Link is Down [ 11.071931] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode [ 11.080151] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx [ 11.081901] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode [ 11.097556] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 11.103923] br-lan: port 1(lan1) entered blocking state [ 11.109158] br-lan: port 1(lan1) entered disabled state [ 11.114538] device lan1 entered promiscuous mode [ 11.124932] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode [ 11.133786] br-lan: port 2(lan2) entered blocking state [ 11.139039] br-lan: port 2(lan2) entered disabled state [ 11.144467] device lan2 entered promiscuous mode [ 11.152021] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode [ 11.160858] br-lan: port 3(lan3) entered blocking state [ 11.166082] br-lan: port 3(lan3) entered disabled state [ 11.171486] device lan3 entered promiscuous mode [ 11.178184] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/10gbase-r link mode [ 11.210497] br-lan: port 4(eth1) entered blocking state [ 11.215733] br-lan: port 4(eth1) entered disabled state [ 11.221163] device eth1 entered promiscuous mode [ 11.229371] mt7530-mmio 15020000.switch wan: configuring for phy/internal link mode [ 11.238055] br-wan: port 1(wan) entered blocking state [ 11.243204] br-wan: port 1(wan) entered disabled state [ 11.248545] device wan entered promiscuous mode [ 11.256310] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/2500base-x link mode [ 11.269394] br-wan: port 2(eth2) entered blocking state [ 11.274631] br-wan: port 2(eth2) entered disabled state [ 11.280058] device eth2 entered promiscuous mode [ 12.279446] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control off [ 12.287858] br-lan: port 4(eth1) entered blocking state [ 12.293075] br-lan: port 4(eth1) entered forwarding state [ 12.298780] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 13.297130] mtk_soc_eth 15100000.ethernet eth1: Link is Down [ 13.313214] br-lan: port 4(eth1) entered disabled state [ 14.359417] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control off [ 14.367800] br-lan: port 4(eth1) entered blocking state [ 14.373017] br-lan: port 4(eth1) entered forwarding state [ 17.230433] mtk_soc_eth 15100000.ethernet eth2: Link is Up - 2.5Gbps/Full - flow control off [ 17.238920] br-wan: port 2(eth2) entered blocking state [ 17.244136] br-wan: port 2(eth2) entered forwarding state [ 17.249619] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready