[U-Boot] u-boot can boot Linux in zImage format while not in uImage format

Bo Shen voice.shen at atmel.com
Thu Jun 27 05:30:08 CEST 2013


Hi Fabio,

On 06/27/2013 11:19 AM, Fabio Estevam wrote:
> On Wed, Jun 26, 2013 at 11:47 PM, Bo Shen <voice.shen at atmel.com> wrote:
>> Hi All,
>>    I am meeting a strange issue. The u-boot can boot device tree supported
>> Linux in zImage format and can not boot in uImage format. The detail
>> information as following:
>>
>>    1. set the bootargs
>>    2. tftp 0x21000000 dtb, and tftp 0x22000000 uImage, then bootm 0x22000000
>> - 0x21000000, it can not boot up. Stop at "Starting kernel..."
>
> Maybe your uImage was generated with the incorrect LOADADDR?

The uImage is ok, test with bootstrap boot it directly.

Add log with debug information
---8>---
## Booting kernel from Legacy Image at 22000000 ...
    Image Name:   Linux-3.10.0-rc7+
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    1514568 Bytes = 1.4 MiB
    Load Address: 20008000
    Entry Point:  20008000
    Verifying Checksum ... OK
    kernel data at 0x22000040, len = 0x00171c48 (1514568)
## Skipping init Ramdisk
## No init Ramdisk
    ramdisk start = 0x00000000, ramdisk end = 0x00000000
*  fdt: cmdline image address = 0x21000000
## Checking for 'FDT'/'FDT Image' at 21000000
*  fdt: raw FDT blob
## Flattened Device Tree blob at 21000000
    Booting using the fdt blob at 0x21000000
    of_flat_tree at 0x21000000 size 0x000024bf
Initial value for argc=3
Final value for argc=3
    Loading Kernel Image ... OK
OK
    kernel loaded at 0x20008000, end = 0x20179c48
using: FDT
## initrd_high = 0xffffffff, copy_to_ram = 1
    ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
## device tree at 21000000 ... 210024be (len=21695 [0x54BF])
    Loading Device Tree to 27b2c000, end 27b314be ... OK
Initial value for argc=3
Final value for argc=3
No alias for ethernet0
Using machid 0xffffffff from environment
## Transferring control to Linux (at address 20008000)...

Starting kernel ...
---<8---

Best Regards,
Bo Shen


More information about the U-Boot mailing list