public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bo Shen <voice.shen@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot can boot Linux in zImage format while not in uImage format
Date: Thu, 27 Jun 2013 11:30:08 +0800	[thread overview]
Message-ID: <51CBB1C0.2090701@atmel.com> (raw)
In-Reply-To: <CAOMZO5CKHZMYC_-zMjdN2Dy4RC-Pv5U8EvSQXQNrSULHXZAyUA@mail.gmail.com>

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@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

  reply	other threads:[~2013-06-27  3:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27  2:47 [U-Boot] u-boot can boot Linux in zImage format while not in uImage format Bo Shen
2013-06-27  3:19 ` Fabio Estevam
2013-06-27  3:30   ` Bo Shen [this message]
2013-06-27  5:39     ` Wolfgang Denk
2013-06-27  5:42       ` Bo Shen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51CBB1C0.2090701@atmel.com \
    --to=voice.shen@atmel.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox