kiddin9 / Kwrt

一分钟在线定制编译 X86/64, NanoPi R2S R4S R5S R6S, 斐讯 Phicomm N1 K2P, 树莓派 Raspberry Pi, 香橙派 Orange Pi, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S 小米AX3200, 红米AC2100, 华硕ASUS, 网件NETGEAR 等主流软硬路由
https://openwrt.ai
MIT License
7.72k stars 3.07k forks source link

Banana Pi BPi-R4 Stuck on Booting. #1737

Open mdsdtech opened 6 months ago

mdsdtech commented 6 months ago

Today i compiled image with Openwrt.ai with some packages(e.g: ModemManager, Passwall, SSR-Plus, kmod-mhi-bus, kmod-mhi-pci, kmod-mhi-net, kmod-mhi-wwan-ctrl, kmod-mhi-wwan,mbim, then burn the image into the SDCard using Balena Etcher. When power on the BPI-R4 the system stuck. below i attached the log. Logs:

``` F0: 102B 0000 FA: 1042 0000 FA: 1042 0000 [0200] F9: 1041 0000 F3: 1001 0000 [0200] F3: 1001 0000 F6: 380E 5800 F5: 0000 0000 V0: 0000 0000 [0001] 00: 0000 0000 BP: 0600 0041 [0000] G0: 1190 0000 EC: 0000 0000 [3000] MK: 0000 0000 [0000] T0: 0000 014A [0101] Jump to BL NOTICE: BL2: v2.9.0(release):OpenWrt v2023-10-13-0ea67d76-1 (mt7988-sdmmc-comb) NOTICE: BL2: Built : 11:56:34, Apr 16 2024 MMC read: dev # 0, block # 131072, count 256 ... 256 blocks read: OK MMC read: dev # 0, block # 131072, count 104536 ... 104536 blocks read: OK ## 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.86 Type: Kernel Image Compression: gzip compressed Data Start: 0x50001000 Data Size: 5840709 Bytes = 5.6 MiB Architecture: AArch64 OS: Linux Load Address: 0x46000000 Entry Point: 0x46000000 Hash algo: crc32 Hash value: 44ee484d Hash algo: sha1 Hash value: fc81a68cbe278e6dddbb16d715dd65f0d1a4cc36 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: 0x50593000 Data Size: 43107 Bytes = 42.1 KiB Architecture: AArch64 Load Address: 0x45f00000 Hash algo: crc32 Hash value: 590fea91 Hash algo: sha1 Hash value: b3b8e5ec9316baee4c5420fbd4209e44ccd83339 Verifying Hash Integrity ... crc32+ sha1+ OK Loading fdt from 0x50593000 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: 0x505a0000 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 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: 0x505a2000 Data Size: 47616000 Bytes = 45.4 MiB Hash algo: crc32 Hash value: 9efbe339 Hash algo: sha1 Hash value: 2278cc6dba9d55315e8737777e0345d550e2d52e Verifying Hash Integrity ... crc32+ sha1+ OK Uncompressing Kernel Image Loading Device Tree to 00000000fe7b4000, end 00000000fe7c0b0f ... OK Working FDT set to fe7b4000 set /chosen/rootdisk to bootrom media: rootdisk-sd (phandle 0x0000009c) Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090] [ 0.000000] Linux version 6.1.86 (runner@fv-az1198-456) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23809-234f1a2efa) 12.3.0, GNU ld (GNU4 [ 0.000000] Machine model: Bananapi BPI-R4 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff] [ 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-0x000000013fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff] [ 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 18 pages/cpu s35816 r8192 d29720 u73728 [ 0.000000] pcpu-alloc: s35816 r8192 d29720 u73728 alloc=18*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: 1032192 [ 0.000000] Kernel command line: console=ttyS0,115200n1 pci=pcie_bus_perf root=/dev/fit0 rootwait [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x00000000fa7b4000-0x00000000fe7b4000] (64MB) [ 0.000000] Memory: 4033988K/4194304K available (8832K kernel code, 918K rwdata, 2524K rodata, 448K init, 322K bss, 160316K reserved, 0K cma-reser) [ 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.000103] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000) [ 0.000110] pid_max: default: 32768 minimum: 301 [ 0.000305] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000319] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000923] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.001145] cblist_init_generic: Setting adjustable number of callback queues. [ 0.001148] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.001212] rcu: Hierarchical SRCU implementation. [ 0.001214] rcu: Max phase no-delay instances is 1000. [ 0.001495] smp: Bringing up secondary CPUs ... [ 0.001720] Detected VIPT I-cache on CPU1 [ 0.001764] cacheinfo: Unable to detect cache hierarchy for CPU 1 [ 0.001770] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000 [ 0.001791] CPU1: Booted secondary processor 0x0000000001 [0x411fd090] [ 0.002034] Detected VIPT I-cache on CPU2 [ 0.002066] cacheinfo: Unable to detect cache hierarchy for CPU 2 [ 0.002069] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000 [ 0.002078] CPU2: Booted secondary processor 0x0000000002 [0x411fd090] [ 0.002292] Detected VIPT I-cache on CPU3 [ 0.002325] cacheinfo: Unable to detect cache hierarchy for CPU 3 [ 0.002329] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000 [ 0.002337] CPU3: Booted secondary processor 0x0000000003 [0x411fd090] [ 0.002364] smp: Brought up 1 node, 4 CPUs [ 0.002368] SMP: Total of 4 processors activated. [ 0.002370] CPU features: detected: 32-bit EL0 Support [ 0.002373] CPU features: detected: CRC32 instructions [ 0.002389] spectre-bhb mitigation disabled by compile time option [ 0.002389] spectre-bhb mitigation disabled by compile time option [ 0.002402] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [ 0.002405] CPU: All CPU(s) started at EL2 [ 0.002406] alternatives: applying system-wide alternatives [ 0.006129] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.006142] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.006243] pinctrl core: initialized pinctrl subsystem [ 0.006780] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.007061] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.007165] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.007260] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.007508] thermal_sys: Registered thermal governor 'fair_share' [ 0.007511] thermal_sys: Registered thermal governor 'bang_bang' [ 0.007513] thermal_sys: Registered thermal governor 'step_wise' [ 0.007514] thermal_sys: Registered thermal governor 'user_space' [ 0.007552] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.007586] ASID allocator initialised with 65536 entries [ 0.008055] printk: console [ramoops-1] enabled [ 0.008085] pstore: Registered ramoops as persistent store backend [ 0.008089] ramoops: using 0x10000@0x42ff0000, ecc: 0 [ 0.016016] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.016032] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.016038] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.016042] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.016047] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.016050] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.016054] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.016058] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.016335] cryptd: max_cpu_qlen set to 1000 [ 0.017058] SCSI subsystem initialized [ 0.017130] libata version 3.00 loaded. [ 0.017847] clocksource: Switched to clocksource arch_sys_counter [ 0.018307] NET: Registered PF_INET protocol family [ 0.018453] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.020344] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.020366] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.020375] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.020476] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.020884] TCP: Hash tables configured (established 32768 bind 32768) [ 0.020977] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.021034] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.021218] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.021253] PCI: CLS 0 bytes, default 64 [ 0.021544] armv8-pmu pmu: hw perfevents: no irqs for PMU, sampling events not supported [ 0.021597] hw perfevents: enabled with armv8_cortex_a73 PMU driver, 7 counters available [ 0.022455] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 0.024435] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.024445] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.043427] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.044240] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1) [ 0.044733] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges: [ 0.044753] mtk-pcie-gen3 11280000.pcie: Parsing ranges property... [ 0.044764] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000 [ 0.044777] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000 [ 0.044874] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges: [ 0.044885] mtk-pcie-gen3 11290000.pcie: Parsing ranges property... [ 0.044894] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000 [ 0.044904] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000 [ 0.044922] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517 [ 0.044931] mtk-pcie-gen3 11290000.pcie: failed to get clocks [ 0.044992] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges: [ 0.045002] mtk-pcie-gen3 11300000.pcie: Parsing ranges property... [ 0.045010] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000 [ 0.045019] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000 [ 0.045035] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517 [ 0.045043] mtk-pcie-gen3 11300000.pcie: failed to get clocks [ 0.045112] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges: [ 0.045122] mtk-pcie-gen3 11310000.pcie: Parsing ranges property... [ 0.045131] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000 [ 0.045139] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000 [ 0.045154] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517 [ 0.045162] mtk-pcie-gen3 11310000.pcie: failed to get clocks [ 0.049086] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.050475] printk: console [ttyS0] disabled [ 0.070610] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2 [ 1.029876] printk: console [ttyS0] enabled [ 1.054649] 11000100.serial: ttyS1 at MMIO 0x11000100 (irq = 100, base_baud = 2500000) is a ST16650V2 [ 1.084331] 11000200.serial: ttyS2 at MMIO 0x11000200 (irq = 101, base_baud = 2500000) is a ST16650V2 [ 1.094077] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.101819] loop: module loaded [ 1.106156] spi-nand spi0.0: Winbond SPI NAND was found. [ 1.111488] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 [ 1.119702] 2 fixed-partitions partitions found on MTD device spi0.0 [ 1.126064] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions [ 1.132942] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions [ 1.139937] Creating 2 MTD partitions on "spi0.0": [ 1.144720] 0x000000000000-0x000000200000 : "bl2" [ 1.150807] 0x000000200000-0x000008000000 : "ubi" [ 1.223594] ubi0: default fastmap pool size: 50 [ 1.228127] ubi0: default fastmap WL pool size: 25 [ 1.232906] ubi0: attaching mtd1 [ 2.037474] ubi0: scanning is finished [ 2.050618] ubi0: attached mtd1 (name "ubi", size 126 MiB) [ 2.056096] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 2.062965] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 2.069742] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.076691] ubi0: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0 [ 2.082773] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 [ 2.089988] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1697192243 [ 2.099111] ubi0: available PEBs: 105, total reserved PEBs: 903, PEBs reserved for bad PEB handling: 20 [ 2.108494] ubi0: background thread "ubi_bgt0d" started, PID 260 [ 2.110069] block ubiblock0_1: created from ubi0:1(rootfs) [ 2.119974] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem [ 2.259250] i2c_dev: i2c /dev entries driver [ 2.278818] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0) [ 2.288527] mtk-msdc 11230000.mmc: Got CD GPIO [ 2.288651] NET: Registered PF_INET6 protocol family [ 2.298311] Segment Routing with IPv6 [ 2.301976] In-situ OAM (IOAM) with IPv6 [ 2.305914] NET: Registered PF_PACKET protocol family [ 2.310979] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.324121] 8021q: 802.1Q VLAN Support v1.8 [ 2.329060] pstore: Using crash dump compression: deflate [ 2.343125] phy phy-soc:xphy@11e10000.3: type_sw - reg 0x218, index 0 [ 2.350144] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges: [ 2.357462] mtk-pcie-gen3 11280000.pcie: Parsing ranges property... [ 2.363732] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000 [ 2.372166] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000 [ 2.387574] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.397405] mmc0: new high speed SDHC card at address 0001 [ 2.403484] mmcblk0: mmc0:0001 SD32G 29.1 GiB [ 2.411332] Alternate GPT is invalid, using primary GPT. [ 2.417270] mmcblk0: p1 p2 p3 p4 p5 p6 p7 [ 2.727856] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1) [ 2.736660] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110 [ 2.743709] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges: [ 2.751024] mtk-pcie-gen3 11290000.pcie: Parsing ranges property... [ 2.757287] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000 [ 2.765720] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000 [ 3.107855] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1) [ 3.116634] mtk-pcie-gen3: probe of 11290000.pcie failed with error -110 [ 3.123490] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges: [ 3.130800] mtk-pcie-gen3 11300000.pcie: Parsing ranges property... [ 3.137059] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000 [ 3.145489] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000 [ 3.403490] mtk-pcie-gen3 11300000.pcie: set IO trans window[0]: cpu_addr = 0x30000000, pci_addr = 0x30000000, size = 0x200000 [ 3.414870] mtk-pcie-gen3 11300000.pcie: set MEM trans window[1]: cpu_addr = 0x30200000, pci_addr = 0x30200000, size = 0x200000 [ 3.426334] mtk-pcie-gen3 11300000.pcie: set MEM trans window[2]: cpu_addr = 0x30400000, pci_addr = 0x30400000, size = 0x400000 [ 3.437796] mtk-pcie-gen3 11300000.pcie: set MEM trans window[3]: cpu_addr = 0x30800000, pci_addr = 0x30800000, size = 0x800000 [ 3.449260] mtk-pcie-gen3 11300000.pcie: set MEM trans window[4]: cpu_addr = 0x31000000, pci_addr = 0x31000000, size = 0x1000000 [ 3.460809] mtk-pcie-gen3 11300000.pcie: set MEM trans window[5]: cpu_addr = 0x32000000, pci_addr = 0x32000000, size = 0x2000000 [ 3.472358] mtk-pcie-gen3 11300000.pcie: set MEM trans window[6]: cpu_addr = 0x34000000, pci_addr = 0x34000000, size = 0x4000000 [ 3.484025] mtk-pcie-gen3 11300000.pcie: PCI host bridge to bus 0000:00 [ 3.490635] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.496110] pci_bus 0000:00: root bus resource [io 0x400000-0x5fffff] (bus address [0x30000000-0x301fffff]) [ 3.505926] pci_bus 0000:00: root bus resource [mem 0x30200000-0x37ffffff] [ 3.512793] pci_bus 0000:00: scanning bus [ 3.516811] pci 0000:00:00.0: [14c3:7988] type 01 class 0x060400 [ 3.522821] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit] [ 3.529658] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold [ 3.535741] pci 0000:00:00.0: PME# disabled [ 3.541110] pci_bus 0000:00: fixups for bus [ 3.545285] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0 [ 3.551978] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.559976] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1 [ 3.566713] pci_bus 0000:01: scanning bus [ 3.570747] pci 0000:01:00.0: [8086:2725] type 00 class 0x028000 [ 3.576768] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit] [ 3.583689] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 3.589775] pci 0000:01:00.0: PME# disabled [ 3.617888] pci_bus 0000:01: fixups for bus [ 3.622060] pci_bus 0000:01: bus scan returning with max=01 [ 3.627620] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 3.634231] pci_bus 0000:00: bus scan returning with max=01 [ 3.639803] pci 0000:00:00.0: BAR 8: assigned [mem 0x30200000-0x302fffff] [ 3.646580] pci 0000:00:00.0: BAR 0: assigned [mem 0x30300000-0x30307fff 64bit] [ 3.653886] pci 0000:01:00.0: BAR 0: assigned [mem 0x30200000-0x30203fff 64bit] [ 3.661196] pci 0000:00:00.0: PCI bridge to [bus 01] [ 3.666151] pci 0000:00:00.0: bridge window [mem 0x30200000-0x302fffff] [ 3.672938] pci 0000:00:00.0: Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256 [ 3.681377] pci 0000:01:00.0: Max Payload Size set to 128/ 128 (was 128), Max Read Rq 128 [ 3.689870] pcieport 0000:00:00.0: assign IRQ: got 112 [ 3.695001] pcieport 0000:00:00.0: enabling device (0000 -> 0002) [ 3.701094] pcieport 0000:00:00.0: enabling bus mastering [ 3.706735] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0 [ 3.715171] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1 [ 3.723596] mtk-pcie-gen3 11300000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11300c00 data 2 [ 3.732021] mtk-pcie-gen3 11300000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11300c00 data 3 [ 3.740449] mtk-pcie-gen3 11300000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11300c00 data 4 [ 3.748875] mtk-pcie-gen3 11300000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11300c00 data 5 [ 3.757299] mtk-pcie-gen3 11300000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11300c00 data 6 [ 3.765724] mtk-pcie-gen3 11300000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11300c00 data 7 [ 3.774148] mtk-pcie-gen3 11300000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11300c00 data 8 [ 3.782574] mtk-pcie-gen3 11300000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11300c00 data 9 [ 3.790998] mtk-pcie-gen3 11300000.pcie: msi#0xa address_hi 0x0 address_lo 0x11300c00 data 10 [ 3.799509] mtk-pcie-gen3 11300000.pcie: msi#0xb address_hi 0x0 address_lo 0x11300c00 data 11 [ 3.808021] mtk-pcie-gen3 11300000.pcie: msi#0xc address_hi 0x0 address_lo 0x11300c00 data 12 [ 3.816530] mtk-pcie-gen3 11300000.pcie: msi#0xd address_hi 0x0 address_lo 0x11300c00 data 13 [ 3.825041] mtk-pcie-gen3 11300000.pcie: msi#0xe address_hi 0x0 address_lo 0x11300c00 data 14 [ 3.833552] mtk-pcie-gen3 11300000.pcie: msi#0xf address_hi 0x0 address_lo 0x11300c00 data 15 [ 3.842063] mtk-pcie-gen3 11300000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11300c00 data 16 [ 3.850661] mtk-pcie-gen3 11300000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11300c00 data 17 [ 3.859261] mtk-pcie-gen3 11300000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11300c00 data 18 [ 3.867859] mtk-pcie-gen3 11300000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11300c00 data 19 [ 3.876456] mtk-pcie-gen3 11300000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11300c00 data 20 [ 3.885054] mtk-pcie-gen3 11300000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11300c00 data 21 [ 3.893652] mtk-pcie-gen3 11300000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11300c00 data 22 [ 3.902250] mtk-pcie-gen3 11300000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11300c00 data 23 [ 3.910848] mtk-pcie-gen3 11300000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11300c00 data 24 [ 3.919446] mtk-pcie-gen3 11300000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11300c00 data 25 [ 3.928044] mtk-pcie-gen3 11300000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11300c00 data 26 [ 3.936640] mtk-pcie-gen3 11300000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11300c00 data 27 [ 3.945238] mtk-pcie-gen3 11300000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11300c00 data 28 [ 3.953836] mtk-pcie-gen3 11300000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11300c00 data 29 [ 3.962434] mtk-pcie-gen3 11300000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11300c00 data 30 [ 3.971032] mtk-pcie-gen3 11300000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11300c00 data 31 [ 3.979918] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0 [ 3.988403] pcieport 0000:00:00.0: PME: Signaling with IRQ 113 [ 3.994338] pcieport 0000:00:00.0: AER: enabled with IRQ 113 [ 4.000034] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x798814c3) [ 4.008207] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100406) [ 4.016199] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040001) [ 4.024279] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000) [ 4.032185] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0x30300004) [ 4.040439] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0) [ 4.048084] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0x10100) [ 4.056073] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0x1f1) [ 4.063892] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x30203020) [ 4.072143] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x1fff1) [ 4.080135] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0) [ 4.087777] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0) [ 4.095420] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0) [ 4.103065] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x80) [ 4.110798] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0) [ 4.118443] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x20170) [ 4.126749] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges: [ 4.134061] mtk-pcie-gen3 11310000.pcie: Parsing ranges property... [ 4.140327] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000 [ 4.148763] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000 [ 4.487853] mtk-pcie-gen3 11310000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1) [ 4.496637] mtk-pcie-gen3: probe of 11310000.pcie failed with error -110 [ 4.504149] FIT: Detected U-Boot 2024.01-OpenWrt-r23809-234f1a2efa [ 4.510328] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4" (OpenWrt bananapi_bpi-r4) [ 4.519369] FIT: kernel sub-image 0x00001000..0x00592f44 "kernel-1" (ARM64 OpenWrt Linux-6.1.86) [ 4.529105] FIT: flat_dt sub-image 0x00593000..0x0059d862 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4 device tree blob) [ 4.540315] FIT: flat_dt sub-image 0x0059e000..0x0059e611 "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4 device tree o [ 4.556645] FIT: flat_dt sub-image 0x0059f000..0x0059f11c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4 device tree ov [ 4.572799] FIT: flat_dt sub-image 0x005a0000..0x005a05c9 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4 device tree ove [ 4.588781] FIT: flat_dt sub-image 0x005a1000..0x005a18eb "fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a" (ARM64 OpenWrt bananapi_bpi-r4 devic [ 4.606495] FIT: filesystem sub-image 0x005a2000..0x0330afff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4 rootfs) [ 4.617311] block mmcblk0p7: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0 [ 4.625038] block mmcblk0p7: mapped remaing space as /dev/fitrw [ 4.759312] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00 [ 4.767498] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00 [ 4.775674] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00 [ 4.785843] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc00a480000, irq 103 [ 4.795451] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc00a480000, irq 103 [ 4.805063] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc00a480000, irq 103 [ 4.895385] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode [ 4.902895] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx [ 4.927171] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=POLL) [ 4.962440] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=POLL) [ 4.997650] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=POLL) [ 5.032824] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=POLL) [ 5.043862] device eth0 entered promiscuous mode [ 5.048497] DSA: tree 0 setup [ 5.052077] UBI: auto-attach mtd1 [ 5.055384] ubi: mtd1 is already attached to ubi0 [ 5.060088] UBI error: cannot attach mtd1 [ 5.069892] VFS: Mounted root (squashfs filesystem) readonly on device 259:0. [ 5.077119] Freeing unused kernel memory: 448K [ 5.081613] Run /sbin/init as init process [ 5.085698] with arguments: [ 5.088670] /sbin/init [ 5.091365] with environment: [ 5.094494] HOME=/ [ 5.096841] TERM=linux [ 5.212455] init: Console is alive [ 5.215942] init: - watchdog - [ 5.644058] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.672566] usbcore: registered new interface driver usbfs [ 5.678130] usbcore: registered new interface driver hub [ 5.683455] usbcore: registered new device driver usb [ 5.696957] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator [ 5.704365] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator [ 5.712222] xhci-mtk 11200000.usb: xHCI Host Controller [ 5.717447] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1 [ 5.727926] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010 [ 5.737078] xhci-mtk 11200000.usb: irq 115, io mem 0x11200000 [ 5.742900] xhci-mtk 11200000.usb: xHCI Host Controller [ 5.748123] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2 [ 5.755508] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed [ 5.762805] hub 1-0:1.0: USB hub found [ 5.766564] hub 1-0:1.0: 1 port detected [ 5.770743] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 5.779011] hub 2-0:1.0: USB hub found [ 5.782763] hub 2-0:1.0: 1 port detected [ 5.790069] usbcore: registered new interface driver usb-storage [ 5.796632] usbcore: registered new interface driver uas [ 5.802109] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.816343] init: - preinit - [ 6.161531] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode [ 6.169705] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx [ 6.178264] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 6.184782] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.217870] usb 1-1: new high-speed USB device number 2 using xhci-mtk [ 6.400493] hub 1-1:1.0: USB hub found [ 6.404415] hub 1-1:1.0: 5 ports detected [ 6.547891] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk [ 6.590517] hub 2-1:1.0: USB hub found [ 6.594475] hub 2-1:1.0: 4 ports detected [ 7.157847] usb 1-1.3: new full-speed USB device number 3 using xhci-mtk [ 7.387850] random: crng init done [ 7.437850] usb 1-1.5: new high-speed USB device number 4 using xhci-mtk [ 8.266916] mount_root: loading kmods from internal overlay [ 8.279368] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 8.288634] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 8.671457] UBIFS (ubi0:2): Mounting in unauthenticated mode [ 8.677177] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 840 [ 8.767541] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 8.775366] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 8.785269] UBIFS (ubi0:2): FS size: 48377856 bytes (46 MiB, 381 LEBs), max 391 LEBs, journal size 2412544 bytes (2 MiB, 19 LEBs) [ 8.796906] UBIFS (ubi0:2): reserved for root: 2285004 bytes (2231 KiB) [ 8.803509] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 288CA60C-2350-4248-AFD5-023B72933C14, small LPT model [ 8.816936] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 8.832036] block: extroot: not configured [ 8.839592] UBIFS (ubi0:2): un-mount UBI device 0 [ 8.844296] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" stops [ 8.852372] loop0: detected capacity change from 0 to 93000 [ 8.917847] loop0: detected capacity change from 93000 to 0 [ 8.925695] urandom-seed: Seed file not found (/etc/urandom.seed) [ 8.948998] procd: - early - [ 8.951923] procd: - watchdog - Failed to connect to ubus [ 9.476273] procd: - watchdog - [ 9.491289] procd: - ubus - [ 9.644570] procd: - init - Please press Enter to activate this console. [ 10.140787] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.168931] NET: Registered PF_ALG protocol family [ 10.176530] zram: Added device: zram0 [ 10.198016] cryptodev: driver 1.13 loaded. [ 10.203957] i2c i2c-1: Added multiplexed i2c bus 2 [ 10.208878] i2c i2c-1: Added multiplexed i2c bus 3 [ 10.213743] i2c i2c-1: Added multiplexed i2c bus 4 [ 10.218610] i2c i2c-1: Added multiplexed i2c bus 5 [ 10.223397] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9545 [ 10.233607] ntfs3: Max link count 4000 [ 10.237366] ntfs3: Enabled Linux POSIX ACLs support [ 10.243314] usbcore: registered new interface driver cdc_wdm [ 10.250844] usbcore: registered new interface driver qmi_wwan_q [ 10.258170] crypto-safexcel 15600000.crypto: can't request region for resource [mem 0x15600000-0x1577ffff] [ 10.259052] urngd: v1.0.2 started. [ 10.267827] crypto-safexcel 15600000.crypto: failed to get resource [ 10.277484] crypto-safexcel: probe of 15600000.crypto failed with error -16 [ 10.291933] at24 2-0050: supply vcc not found, using dummy regulator [ 10.329488] at24 2-0057: supply vcc not found, using dummy regulator [ 10.336431] at24 2-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write [ 10.344069] usbcore: registered new interface driver cdc_acm [ 10.349740] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 10.358298] usbcore: registered new interface driver cdc_ether [ 10.364803] usbcore: registered new interface driver cdc_ncm [ 10.370761] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4 [ 10.378248] Backport generated by backports.git 193becf2 [ 10.383905] usbcore: registered new interface driver huawei_cdc_ncm [ 10.398975] usbcore: registered new interface driver qmi_wwan [ 10.405330] NET: Registered PF_QIPCRTR protocol family [ 10.411536] usbcore: registered new interface driver rndis_host [ 10.418626] sfp sfp1: Host maximum power 3.0W [ 10.423475] sfp sfp2: Host maximum power 3.0W [ 10.428991] usbcore: registered new interface driver sierra_net [ 10.436100] usbcore: registered new interface driver ums-alauda [ 10.442561] usbcore: registered new interface driver ums-cypress [ 10.449134] usbcore: registered new interface driver ums-datafab [ 10.455621] usbcore: registered new interface driver ums-freecom [ 10.462290] usbcore: registered new interface driver ums-isd200 [ 10.468834] usbcore: registered new interface driver ums-jumpshot [ 10.475448] usbcore: registered new interface driver ums-karma [ 10.481967] usbcore: registered new interface driver ums-sddr09 [ 10.488482] usbcore: registered new interface driver ums-sddr55 [ 10.495014] usbcore: registered new interface driver ums-usbat [ 10.502129] usbcore: registered new interface driver usbserial_generic [ 10.508696] usbserial: USB Serial support registered for generic [ 10.522212] xt_time: kernel timezone is -0000 [ 10.527166] usbcore: registered new interface driver cdc_mbim [ 10.556968] PPP generic driver version 2.4.2 [ 10.561850] PPP MPPE Compression module registered [ 10.567108] NET: Registered PF_PPPOX protocol family [ 10.573686] usbcore: registered new interface driver option [ 10.579292] usbserial: USB Serial support registered for GSM modem (1-port) [ 10.587791] usbcore: registered new interface driver qcserial [ 10.593607] usbserial: USB Serial support registered for Qualcomm USB modem [ 10.600877] kmodloader: done loading kernel modules from /etc/modules.d/* [ 12.424689] xt_FULLCONENAT: RFC3489 Full Cone NAT module [ 12.424689] xt_FULLCONENAT: Copyright (C) 2018 Chion Tang [ 17.257134] zram0: detected capacity change from 0 to 4032512 [ 17.286028] Adding 2016252k swap on /dev/zram0. Priority:100 extents:1 across:2016252k SSDsc [4219]: ModemManager (version 1.20.6) starting in system bus... ```
mdsdtech commented 6 months ago

Update: after poking around i think the cause that make BPIR4 stuck on booting was the network service was not found in the firmware when booting. This also make all WAN/LAN port not available and cannot be use. I also tried to add manual network file in 'etc/config/network' it doesnt work. i tried issue ifconfig command it olny show eth0.

[root@(none):12:15 /] # ifconfig eth0 Link encap:Ethernet HWaddr 0E:A5:B9:43:33:43 inet6 addr: fe80::ca5:b9ff:fe4b:f733/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1504 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:3480 (3.3 KiB) Interrupt:103