|
|
本帖最后由 panei 于 2025-1-6 11:48 编辑
进入uboot选择Upgrade ATF FIP上传第三方uboot文件。uboot文件用的hanwckf大佬的 mt7986_redmi_ax6000-fip-fixed-parts.bin
跑到一半报错停了,求大佬们帮忙看看是啥情况
Using ethernet@15100000 device
TFTP from server 192.168.31.100; our IP address is 192.168.31.1
Filename '1.bin'.
Load address: 0x46000000
Loading: #########################################################
5.1 MiB/s
done
Bytes transferred = 829961 (caa09 hex)
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
*** Loaded 829961 (0xcaa09) bytes at 0x46000000 ***
Erasing from 0x0 to 0xdffff, size 0xe0000 ... OK
Writing from 0x46000000 to 0x0, size 0xcaa09 ... OK
Verifying from 0x0 to 0xcaa08, size 0xcaa09 ... OK
*** ATF FIP upgrade completed! ***
Erasing environment from 0x100000 to 0x11ffff, size 0x20000 ... OK
Hit any key to stop autoboot: 0
detect button reset released!
Reading from 0x0 to 0x5f7ff2dc, size 0x4 ... OK
Boot failure detected on both systems
Reading from 0x0 to 0x5f7ff2dc, size 0x4 ... OK
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
Booting System 0
ubi0: attaching mtd9
ubi0: scanning is finished
ubi0: attached mtd9 (name "ubi", size 30 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: 240, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 671115354
ubi0: available PEBs: 190, total reserved PEBs: 50, PEBs reserved for bad PEB handling: 19
Reading from volume 'kernel' to 0x46000000, size 0x0 ... OK
## Loading kernel from FIT Image at 46000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.4.224
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x46000130
Data Size: 3278459 Bytes = 3.1 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48080000
Entry Point: 0x48080000
Hash algo: crc32
Hash value: b913f732
Hash algo: sha1
Hash value: 796d5f18ad0dad93cbfab79ec19fd4d4ec7310fa
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 xiaomi_redmi-router-ax6000 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x463208f8
Data Size: 23672 Bytes = 23.1 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 93733bcb
Hash algo: sha1
Hash value: 9e95bdb75b8e1eb2023d9331b29c90350dc29dc1
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x463208f8
Uncompressing Kernel Image
Loading Device Tree to 000000005f7f1000, end 000000005f7f9c77 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.224 (thl@thl-virtual-machine) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r11928-ae6ff3410)) #0 SMP Fri Jun 2 08:57:18 2023
[ 0.000000] Machine model: Xiaomi Redmi Router AX6000
[ 0.000000] On node 0 totalpages: 130064
[ 0.000000] DMA32 zone: 2048 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 130064 pages, LIFO batch:31
[ 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 s44056 r8192 d29672 u81920
[ 0.000000] pcpu-alloc: s44056 r8192 d29672 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] Built 1 zonelists, mobility grouping on. Total pages: 128016
[ 0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 firmware=0 uart_en=1
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack ff, heap alloc ff, heap free ff
[ 0.000000] Memory: 491640K/520256K available (6654K kernel code, 522K rwdata, 1944K rodata, 448K init, 284K bss, 28616K 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: 640 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 12.98MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2feb955e7, max_idle_ns: 440795202655 ns
[ 0.000002] sched_clock: 56 bits at 12MHz, resolution 77ns, wraps every 4398046511072ns
[ 0.000138] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.97 BogoMIPS (lpj=51944)
[ 0.000143] pid_max: default: 32768 minimum: 301
[ 0.000206] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.000212] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.000998] ASID allocator initialised with 65536 entries
[ 0.001040] rcu: Hierarchical SRCU implementation.
[ 0.001311] smp: Bringing up secondary CPUs ...
[ 0.001548] Detected VIPT I-cache on CPU1
[ 0.001567] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.001587] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.001834] Detected VIPT I-cache on CPU2
[ 0.001843] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.001852] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.002070] Detected VIPT I-cache on CPU3
[ 0.002077] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.002085] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.002112] smp: Brought up 1 node, 4 CPUs
[ 0.002122] SMP: Total of 4 processors activated.
[ 0.002125] CPU features: detected: 32-bit EL0 Support
[ 0.002128] CPU features: detected: CRC32 instructions
[ 0.002216] CPU: All CPU(s) started at EL2
[ 0.002225] alternatives: patching kernel code
[ 0.004219] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.004234] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.004353] pinctrl core: initialized pinctrl subsystem
[ 0.004869] NET: Registered protocol family 16
[ 0.005048] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.005769] pstore: Registered ramoops as persistent store backend
[ 0.005777] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.013138] cryptd: max_cpu_qlen set to 1000
[ 0.014351] SCSI subsystem initialized
[ 0.014438] libata version 3.00 loaded.
[ 0.015376] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
[ 0.015386] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff]
[ 0.015391] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.015396] pci_bus 0000:00: scanning bus
[ 0.015411] pci 0000:00:00.0: [14c3:7986] type 00 class 0x000280
[ 0.015423] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[ 0.015427] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[ 0.015431] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[ 0.015436] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[ 0.015440] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[ 0.016259] pci_bus 0000:00: fixups for bus
[ 0.016264] pci_bus 0000:00: bus scan returning with max=00
[ 0.016519] clocksource: Switched to clocksource arch_sys_counter
[ 0.016951] thermal_sys: Registered thermal governor 'fair_share'
[ 0.016954] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.016959] thermal_sys: Registered thermal governor 'step_wise'
[ 0.016961] thermal_sys: Registered thermal governor 'user_space'
[ 0.016964] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.017168] NET: Registered protocol family 2
[ 0.017243] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.017558] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.017570] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.017591] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.017635] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.017692] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.017702] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.017775] NET: Registered protocol family 1
[ 0.017798] PCI: CLS 0 bytes, default 64
[ 0.018458] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.020389] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.020399] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.029414] mtk-pcie 11280000.pcie: host bridge /pcie@11280000 ranges:
[ 0.029426] mtk-pcie 11280000.pcie: Parsing ranges property...
[ 0.029432] mtk-pcie 11280000.pcie: MEM 0x20000000..0x2fffffff -> 0x20000000
[ 0.029455] phy phy-pcie-phy@11c00000.0: try to get sw efuse
[ 0.029459] phy phy-pcie-phy@11c00000.0: try to get sw efuse+
[ 0.029474] phy phy-pcie-phy@11c00000.0: u3 auto load valid efuse: ENABLE with value: 1
[ 0.029494] phy phy-pcie-phy@11c00000.0: u3 efuse - intr 2a, rx_imp 10, tx_imp 10
[ 0.029503] phy phy-pcie-phy@11c00000.0: pcie auto load valid efuse: ENABLE with value: 1
[ 0.029523] phy phy-pcie-phy@11c00000.0: u3 lane1 efuse - intr 2a, rx_imp 10, tx_imp 10
[ 0.236536] mtk-pcie 11280000.pcie: PCIe link down, ltssm reg val: 0x1
[ 0.236610] mtk-pcie: probe of 11280000.pcie failed with error -110
[ 0.245104] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.245565] printk: console [ttyS0] disabled
[ 0.265687] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 11, base_baud = 2500000) is a ST16650V2
[ 0.972936] printk: console [ttyS0] enabled
[ 0.977571] mtk_rng 1020f000.trng: registered RNG driver
[ 0.977778] random: crng init done
[ 0.982993] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.993931] loop: module loaded
[ 0.998012] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010
[ 1.006786] Mem abort info:
[ 1.009566] ESR = 0x96000005
[ 1.012606] EC = 0x25: DABT (current EL), IL = 32 bits
[ 1.017902] SET = 0, FnV = 0
[ 1.020943] EA = 0, S1PTW = 0
[ 1.024069] Data abort info:
[ 1.026935] ISV = 0, ISS = 0x00000005
[ 1.030756] CM = 0, WnR = 0
[ 1.033710] [0000000000000010] user address but active_mm is swapper
[ 1.040048] Internal error: Oops: 96000005 [#1] SMP
[ 1.044911] Modules linked in:
[ 1.047955] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.224 #0
[ 1.053946] Hardware name: Xiaomi Redmi Router AX6000 (DT)
[ 1.059416] pstate: 40000085 (nZcv daIf -PAN -UAO)
[ 1.064199] pc : mtk_spi_can_dma+0x0/0x30
[ 1.068195] lr : mtk_spi_interrupt+0x60/0x358
[ 1.072537] sp : ffffffc010003e70
[ 1.075838] x29: ffffffc010003e70 x28: ffffffc01096ec80
[ 1.081134] x27: 0000000000000060 x26: ffffffc010838a50
[ 1.086431] x25: ffffffc0109da05a x24: ffffff80033ea400
[ 1.091728] x23: 0000000000000081 x22: ffffffc010003f3c
[ 1.097024] x21: 0000000000000000 x20: ffffff801e070800
[ 1.102321] x19: ffffff801e070e00 x18: 0000000000000004
[ 1.107618] x17: 000000001b850493 x16: 00000000e2546d82
[ 1.112915] x15: ffffffc0109755e8 x14: ffffff801e4374f8
[ 1.118212] x13: 0000000000000000 x12: 0000000000000000
[ 1.123509] x11: 0000000000000000 x10: 0000000000000040
[ 1.128806] x9 : ffffffc010977550 x8 : ffffffc010977548
[ 1.134103] x7 : ffffff801e4abb80 x6 : 0000000000000000
[ 1.139400] x5 : ffffff801e4abb50 x4 : ffffffc00f53e000
[ 1.144697] x3 : ffffffc010477b18 x2 : 0000000000000000
[ 1.149993] x1 : 0000000000000000 x0 : ffffff801e070800
[ 1.155291] Call trace:
[ 1.157725] mtk_spi_can_dma+0x0/0x30
[ 1.161379] __handle_irq_event_percpu+0x54/0x148
[ 1.166068] handle_irq_event_percpu+0x1c/0x60
[ 1.170498] handle_irq_event+0x40/0xb0
[ 1.174322] handle_fasteoi_irq+0xdc/0x190
[ 1.178404] generic_handle_irq+0x24/0x38
[ 1.182399] __handle_domain_irq+0x60/0xb8
[ 1.186482] gic_handle_irq+0xc0/0x158
[ 1.190217] el1_irq+0xb8/0x140
[ 1.193347] arch_cpu_idle+0x10/0x18
[ 1.196911] do_idle+0x120/0x148
[ 1.200126] cpu_startup_entry+0x20/0x60
[ 1.204036] rest_init+0xb0/0xbc
[ 1.207252] arch_call_rest_init+0xc/0x14
[ 1.211248] start_kernel+0x3f0/0x408
[ 1.214901] Code: 2a0203e4 52800003 17ffffe6 d503201f (b9401041)
[ 1.220981] ---[ end trace 15a833afa6a1306c ]---
[ 1.226116] Kernel panic - not syncing: Fatal exception in interrupt
[ 1.232456] SMP: stopping secondary CPUs
[ 1.236366] Kernel Offset: disabled
[ 1.239842] CPU features: 0x00002,20002008
[ 1.243924] Memory Limit: none
[ 1.247508] Rebooting in 1 seconds..
|
|