串口打印信息如下:(貌似是文件系统没有挂载成功)
U-Boot 1.1.4-gcece61c8-dirty (Feb 3 2016 - 09:56:06)
AR9341 - Wasp 1.1
DRAM: 64 MB
Flash: 8 MB (ef4017)
Using default environment
Bootstrap Config: 0x00af0527
SuperWRT Board Info(0x9f01c000):
GPIO: reset(0/L), system(0/L)
In: serial
Out: serial
Err: serial
Net: (02:54:65:72:72:61) S27wan S27 eth0, eth1
Setting 0xb8116290 to 0x60c00000
Hit any key to stop autoboot: 0
## Booting image at 9f680000 ...
Image Name: SuperWrt qca/ar934x/tiny
Created: 2016-02-02 7:55:15 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 897601 Bytes = 876.6 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f680040 ...OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 3.18.8 (terra@localhost.localdomain) (gcc version 4.8.3 (SuperWrt/Linaro GCC 4.8-2014.04 r44747) ) #1 Tue Feb 2 14:02:54 CST 2016
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9341 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) mem=64M sbi=0x9f01c000 rootfstype=squashfs,jffs2 init=/sbin/init noinitrd
[ 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61836K/65536K available (2088K kernel code, 93K rwdata, 272K rodata, 160K init, 83K bss, 3700K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Calibrating delay loop... 267.26 BogoMIPS (lpj=534528)
[ 0.036000] pid_max: default: 4096 minimum: 301
[ 0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048000] NET: Registered protocol family 16
[ 0.052000] MIPS: machine is SuperWRT
[ 0.472000] Switched to clocksource MIPS
[ 0.476000] NET: Registered protocol family 2
[ 0.480000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.488000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.492000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.500000] TCP: reno registered
[ 0.504000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.508000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.516000] NET: Registered protocol family 1
[ 0.520000] futex hash table entries: 16 (order: -5, 192 bytes)
[ 0.532000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.540000] msgmni has been set to 120
[ 0.544000] io scheduler noop registered
[ 0.548000] io scheduler deadline registered (default)
[ 0.552000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
闧 0.584000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.592000] console [ttyS0] enabled
[ 0.592000] console [ttyS0] enabled
[ 0.600000] bootconsole [early0] disabled
[ 0.600000] bootconsole [early0] disabled
[ 0.608000] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.616000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.620000] 6 tp-link partitions found on MTD device spi0.0
[ 0.628000] Creating 6 MTD partitions on "spi0.0":
[ 0.632000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.636000] 0x000000020000-0x000000120000 : "kernel"
[ 0.644000] 0x000000120000-0x0000007e0000 : "rootfs"
[ 0.648000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.656000] mtdsplit: no squashfs found in "rootfs"
[ 0.660000] 0x0000007e0000-0x0000007f0000 : "config"
[ 0.664000] 0x0000007f0000-0x000000800000 : "art"
[ 0.672000] 0x000000020000-0x0000007e0000 : "firmware"
[ 0.684000] libphy: ag71xx_mdio: probed
[ 1.256000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.268000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.840000] ag71xx-mdio.1: Found an AR934X built-in switch
[ 1.880000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 1.884000] PPP generic driver version 2.4.2
[ 1.892000] PPP MPPE Compression module registered
[ 1.896000] NET: Registered protocol family 24
[ 1.900000] PPTP driver version 0.8.5
[ 1.904000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ 1.912000] leds-gpio: probe of leds-gpio failed with error -16
[ 1.920000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
[ 1.928000] gre: GRE over IPv4 demultiplexor driver
[ 1.932000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.936000] TCP: cubic registered
[ 1.940000] NET: Registered protocol family 17
[ 1.944000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.960000] VFS: Cannot open root device "(null)" or unknown-block(31,2): error -19
[ 1.968000] Please append a correct "root=" boot option; here are the available partitions:
[ 1.976000] 1f00 128 mtdblock0 (driver?)
[ 1.984000] 1f01 1024 mtdblock1 (driver?)
[ 1.988000] 1f02 6912 mtdblock2 (driver?)
[ 1.992000] 1f03 64 mtdblock3 (driver?)
[ 2.000000] 1f04 64 mtdblock4 (driver?)
[ 2.004000] 1f05 7936 mtdblock5 (driver?)
[ 2.008000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 2.008000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 31.092000] random: nonblocking pool is initialized
ar9341固件启动失败
Re: ar9341固件启动失败
xd5520026 写了:串口打印信息如下:(貌似是文件系统没有挂载成功)
U-Boot 1.1.4-gcece61c8-dirty (Feb 3 2016 - 09:56:06)
AR9341 - Wasp 1.1
DRAM: 64 MB
Flash: 8 MB (ef4017)
Using default environment
Bootstrap Config: 0x00af0527
SuperWRT Board Info(0x9f01c000):
GPIO: reset(0/L), system(0/L)
In: serial
Out: serial
Err: serial
Net: (02:54:65:72:72:61) S27wan S27 eth0, eth1
Setting 0xb8116290 to 0x60c00000
Hit any key to stop autoboot: 0
## Booting image at 9f680000 ...
Image Name: SuperWrt qca/ar934x/tiny
Created: 2016-02-02 7:55:15 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 897601 Bytes = 876.6 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f680040 ...OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 3.18.8 (terra@localhost.localdomain) (gcc version 4.8.3 (SuperWrt/Linaro GCC 4.8-2014.04 r44747) ) #1 Tue Feb 2 14:02:54 CST 2016
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9341 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) mem=64M sbi=0x9f01c000 rootfstype=squashfs,jffs2 init=/sbin/init noinitrd
[ 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61836K/65536K available (2088K kernel code, 93K rwdata, 272K rodata, 160K init, 83K bss, 3700K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Calibrating delay loop... 267.26 BogoMIPS (lpj=534528)
[ 0.036000] pid_max: default: 4096 minimum: 301
[ 0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048000] NET: Registered protocol family 16
[ 0.052000] MIPS: machine is SuperWRT
[ 0.472000] Switched to clocksource MIPS
[ 0.476000] NET: Registered protocol family 2
[ 0.480000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.488000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.492000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.500000] TCP: reno registered
[ 0.504000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.508000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.516000] NET: Registered protocol family 1
[ 0.520000] futex hash table entries: 16 (order: -5, 192 bytes)
[ 0.532000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.540000] msgmni has been set to 120
[ 0.544000] io scheduler noop registered
[ 0.548000] io scheduler deadline registered (default)
[ 0.552000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
闧 0.584000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.592000] console [ttyS0] enabled
[ 0.592000] console [ttyS0] enabled
[ 0.600000] bootconsole [early0] disabled
[ 0.600000] bootconsole [early0] disabled
[ 0.608000] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.616000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.620000] 6 tp-link partitions found on MTD device spi0.0
[ 0.628000] Creating 6 MTD partitions on "spi0.0":
[ 0.632000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.636000] 0x000000020000-0x000000120000 : "kernel"
[ 0.644000] 0x000000120000-0x0000007e0000 : "rootfs"
[ 0.648000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.656000] mtdsplit: no squashfs found in "rootfs"
[ 0.660000] 0x0000007e0000-0x0000007f0000 : "config"
[ 0.664000] 0x0000007f0000-0x000000800000 : "art"
[ 0.672000] 0x000000020000-0x0000007e0000 : "firmware"
[ 0.684000] libphy: ag71xx_mdio: probed
[ 1.256000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.268000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.840000] ag71xx-mdio.1: Found an AR934X built-in switch
[ 1.880000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 1.884000] PPP generic driver version 2.4.2
[ 1.892000] PPP MPPE Compression module registered
[ 1.896000] NET: Registered protocol family 24
[ 1.900000] PPTP driver version 0.8.5
[ 1.904000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ 1.912000] leds-gpio: probe of leds-gpio failed with error -16
[ 1.920000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
[ 1.928000] gre: GRE over IPv4 demultiplexor driver
[ 1.932000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.936000] TCP: cubic registered
[ 1.940000] NET: Registered protocol family 17
[ 1.944000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.960000] VFS: Cannot open root device "(null)" or unknown-block(31,2): error -19
[ 1.968000] Please append a correct "root=" boot option; here are the available partitions:
[ 1.976000] 1f00 128 mtdblock0 (driver?)
[ 1.984000] 1f01 1024 mtdblock1 (driver?)
[ 1.988000] 1f02 6912 mtdblock2 (driver?)
[ 1.992000] 1f03 64 mtdblock3 (driver?)
[ 2.000000] 1f04 64 mtdblock4 (driver?)
[ 2.004000] 1f05 7936 mtdblock5 (driver?)
[ 2.008000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 2.008000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 31.092000] random: nonblocking pool is initialized
恩。你没有提供firmware分区。但你提供了一个rootfs分区,但那个分区应该实际没rootfs。
Re: ar9341固件启动失败
xd5520026 写了:是uboot的问题么?
对。你的分区的问题。你可以将6336k(rootfs),1408k(uImage)合并为一个firmware分区。