[U-Boot] Kernel hang when replace older uboot with uboot master

rosysong at rosinson.com rosysong at rosinson.com
Tue Feb 19 08:56:04 UTC 2019


Hi all, 
    This log show the bootlog that when I replace older uboot with uboot master  on my machine. Any hints will be appreciated!!!

## Current stack ends at 0x87f5db80
*  kernel: cmdline image address = 0x9f060000
## Booting kernel from Legacy Image at 9f060000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.101
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1615030 Bytes = 1.5 MiB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   kernel data at 0x9f060040, len = 0x0018a4b6 (1615030)
## No init Ramdisk
   ramdisk start = 0x00000000, ramdisk end = 0x00000000
## No Flattened Device Tree
Continuing to boot without FDT
Initial value for argc=3
Final value for argc=3
   Uncompressing Kernel Image ... LZMA: Image address............... 0x9f060040
LZMA: Properties address.......... 0x9f060040
LZMA: Uncompressed size address... 0x9f060045
LZMA: Compressed data address..... 0x9f06004d
LZMA: Destination address......... 0x80060000
LZMA: Uncompresed size............ 0x4e4f49
LZMA: Compresed size.............. 0x18a4b1
LZMA: Uncompressed ............... 0x4e4f49
OK
   kernel loaded at 0x80060000, end = 0x80544f49
## initrd_high = 0x88000000, copy_to_ram = 1
   ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
Initial value for argc=3
Final value for argc=3
Initial value for argc=3
Final value for argc=3
## initrd_high = 0x88000000, copy_to_ram = 1
   ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
## cmdline argv at 0xa7f70e40, argp at 0xa7f7127d
   arg 001: console=ttyS0,115200
   arg 002: root=/dev/mtdblock5
   arg 003: rootfstype=squashfs
## Giving linux memsize in MB, 128
## Transferring control to Linux (at address 80060000) ...
[    0.000000] Linux version 4.14.101 (xxx at xxx-PC) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8997-488af51f81)) #0 Mon Feb 18 15:11:32 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is ROSINSON WR818
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 123184K/131072K available (3777K kernel code, 150K rwdata, 912K rodata, 1232K init, 204K bss, 7888K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008841] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.075897] pid_max: default: 32768 minimum: 301
[    0.081291] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.088805] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100199] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111385] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.118371] pinctrl core: initialized pinctrl subsystem
[    0.125118] NET: Registered protocol family 16
[    0.152756] clocksource: Switched to clocksource MIPS
[    0.159367] NET: Registered protocol family 2
[    0.164968] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.172929] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180151] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187497] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.194172] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.201498] NET: Registered protocol family 1
[    0.209200] Crashlog allocated RAM at address 0x3f00000
[    0.216285] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.227594] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.234248] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.253131] io scheduler noop registered
[    0.257584] io scheduler deadline registered (default)
[    0.263708] ar7200-usb-phy usb-phy: phy reset is missing
[    0.271233] pinctrl-single 1804002c.pinmux: 544 pins at pa b804002c size 68
[    0.280104] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.287943] console [ttyS0] disabled
[    0.292032] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 1562500) is a 16550A
[    0.301853] console [ttyS0] enabled
[    0.301853] console [ttyS0] enabled
[    0.309411] bootconsole [early0] disabled
[    0.309411] bootconsole [early0] disabled
[    0.332426] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.337373] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.343943] Creating 5 MTD partitions on "spi0.0":
[    0.348898] 0x000000000000-0x000000040000 : "u-boot"
[    0.354737] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.360856] 0x000000050000-0x000000060000 : "factory"
[    0.366741] 0x000000060000-0x000000fe0000 : "firmware"
[    0.374897] 2 uimage-fw partitions found on MTD device firmware
[    0.381019] Creating 2 MTD partitions on "firmware":
[    0.386186] 0x000000000000-0x000000190000 : "kernel"
[    0.391956] 0x000000190000-0x000000f80000 : "rootfs"
[    0.397706] mtd: device 5 (rootfs) set to be root filesystem
[    0.403623] 1 squashfs-split partitions found on MTD device rootfs
[    0.410014] 0x000000440000-0x000000f80000 : "rootfs_data"
[    0.416213] 0x000000ff0000-0x000001000000 : "art"
[    0.422610] libphy: Fixed MDIO Bus: probed
[    0.763118] libphy: ag71xx_mdio: probed
[    0.770064] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus.0
[    1.424562] ag71xx 19000000.eth: invalid MAC address, using random address
[    1.763918] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.775514] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    1.783553] NET: Registered protocol family 10
[    1.791482] Segment Routing with IPv6
[    1.795402] NET: Registered protocol family 17
[    1.800029] 8021q: 802.1Q VLAN Support v1.8
[    1.809949] SQUASHFS error: xz decompression failed, data probably corrupt
[    1.817103] SQUASHFS error: squashfs_read_data failed to read block 0x29f61c
[    1.824387] SQUASHFS error: Unable to read metadata cache entry [29f61c]
[    1.831302] SQUASHFS error: Unable to read inode 0x2146084e
[    1.837412] VFS: Cannot open root device "(null)" or unknown-block(31,5): error -5
[    1.845254] Please append a correct "root=" boot option; here are the available partitions:
[    1.853888] 1f00             256 mtdblock0 
[    1.853892]  (driver?)
[    1.860640] 1f01              64 mtdblock1 
[    1.860643]  (driver?)
[    1.867396] 1f02              64 mtdblock2 
[    1.867399]  (driver?)
[    1.874149] 1f03           15872 mtdblock3 
[    1.874153]  (driver?)
[    1.880897] 1f04            1600 mtdblock4 
[    1.880900]  (driver?)
[    1.887654] 1f05           14272 mtdblock5 
[    1.887657]  (driver?)
[    1.894407] 1f06           11520 mtdblock6 
[    1.894410]  (driver?)
[    1.901156] 1f07              64 mtdblock7 
[    1.901159]  (driver?)
[    1.907912] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)
[    1.917125] Rebooting in 1 seconds..



More information about the U-Boot mailing list