路由器引导求助
各位大神,最近在帮朋友硬改tp-ap302i的时候发现路由无法引导日志如下,请各位大神帮忙看看该如何修复。谢谢!!breed> autoboot
Trying to boot firmware from 0x9f680000 ...
U-Boot firmware image header detected.
Image Name: #JikeAP_AP630V2 <AP112FV2>
Data Size: 872091 Bytes
Load Address: 80060000
Entry Point:80060000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.
Starting kernel at 0x80060000...
[ 0.000000] Linux version 3.3.8 (axinchan@cnrouter.com) (Wireless AP based on Qualcomm SDK) 2022-02-23 03:02:45
[ 0.000000] bootconsole enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9531 rev 2
[ 0.000000] Clocks: CPU:550.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000]memory: 04000000 @ 00000000 (usable)
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00004000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00004000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.Total pages: 16256
[ 0.000000] Kernel command line:board=AP112F console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1408k(kernel),64k(opt),64k(art)ro,7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd crashkernel=10M@20M oops=panic
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00012838
[ 0.000000] Readback ErrCtl register=00012838
[ 0.000000] Memory: 61516k/65536k available (1989k kernel code, 4020k reserved, 342k data, 164k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.070000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
[ 0.080000] MIPS: machine is Wireless AP of AP112F
[ 0.080000] ar71xx: invalid MDIO id 1
[ 0.090000] WLAN firmware dump buffer allocation of 2097152 bytes @ address 0x83a00000- SUCCESS !!!
[ 0.100000] ar724x-pci ar724x-pci.0: PCIe link is down
[ 0.100000] registering PCI controller with io_map_base unset
[ 0.510000] bio: create slab <bio-0> at 0
[ 0.520000] PCI host bridge to bus 0000:00
[ 0.520000] pci_bus 0000:00: root bus resource
[ 0.530000] pci_bus 0000:00: root bus resource
[ 0.530000] Switching to clocksource MIPS
[ 0.540000] NET: Registered protocol family 2
[ 0.540000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.550000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.560000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.560000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.570000] TCP reno registered
[ 0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.580000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] NET: Registered protocol family 1
[ 0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.610000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.620000] msgmni has been set to 120
[ 0.630000] io scheduler noop registered
[ 0.630000] io scheduler deadline registered (default)
[ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.660000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.670000] console enabled, bootconsole disabled
[ 0.670000] console enabled, bootconsole disabled
[ 0.690000] m25p80 spi0.0: unrecognized JEDEC id ef6017
[ 0.710000] ag71xx_mdio: probed
[ 0.850000] ag71xx_mdio: probed
[ 0.850000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.410000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04
[ 1.420000] eth1: Atheros AG71xx at 0xba000000, irq 5
[ 1.980000] eth1: Found an AR934X built-in switch
[ 3.010000] AR71XX_RESET_REG_WDOG_CTRL: 0x0
[ 3.010000] TCP cubic registered
[ 3.020000] NET: Registered protocol family 17
[ 3.020000] 8021q: 802.1Q VLAN Support v1.8
[ 3.030000] VFS: Cannot open root device "(null)" or unknown-block(0,0)
[ 3.030000] Please append a correct "root=" boot option; here are the available partitions:
[ 3.040000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)系统提示无法打开root 分区
breed> sysinfo
Platform: Qualcomm Atheros QCA953X rev 2
Board: Generic board
Clocks: CPU: 550MHz, DDR: 400MHz, AHB: 200MHz, Ref: 25MHz
Relocate Offset: 03ea8000
DRAM size: 64MB
DRAM range: 80000000 - 83ffffff
Kernel size: 344KB
Kernel range: 83fa8000 - 83ffe387
Kernel symbol table size: 1KB
Kernel symbol table range: 83fa7a10 - 83fa7ffa
Managed memory size: 2MB
Managed memory range: 83da7910 - 83fa790f
Managed memory used: 287.10KB (14.1%)
Boot parameter size: 256KB
Boot parameter range: 83d67810 - 83da780f
Unused memory size: 61MB
Unused memory range: 80000000 - 83d6680f于是查看了系统信息,发现boot分区与正常有区别
breed> sysinfo
Platform: Qualcomm Atheros QCA953X rev 2
Board: Generic board
Clocks: CPU: 550MHz, DDR: 400MHz, AHB: 200MHz, Ref: 25MHz
Relocate Offset: 03ea9000
DRAM size: 64MB
DRAM range: 80000000 - 83ffffff
Kernel size: 343KB
Kernel range: 83fa9000 - 83ffeea7
Kernel symbol table size: 1KB
Kernel symbol table range: 83fa8a10 - 83fa8ffa
Managed memory size: 2MB
Managed memory range: 83da8910 - 83fa890f
Managed memory used: 287.10KB (14.1%)
Boot parameter size: 256KB
Boot parameter range: 83d68810 - 83da880f
Unused memory size: 61MB
Unused memory range: 80000000 - 83d6780f这是正常的分区信息,请各位大侠帮忙看下,谢谢
感觉是boot分区地址不一致
页:
[1]