public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot can boot Linux in zImage format while not in uImage format
@ 2013-06-27  2:47 Bo Shen
  2013-06-27  3:19 ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: Bo Shen @ 2013-06-27  2:47 UTC (permalink / raw)
  To: u-boot

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..."
   3. tftp 0x21000000 dtb, and tftp 0x22000000 zImage, then bootz 
0x22000000 - 0x21000000, it boot successfully.

   I check the memory usage, no overlap. I try other memory address, 
won't fix. I check all parameters pass to kernel is right.

   Any possible reason will cause this issue?

Best Regards,
Bo Shen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] u-boot can boot Linux in zImage format while not in uImage format
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2013-06-27  3:19 UTC (permalink / raw)
  To: u-boot

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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] u-boot can boot Linux in zImage format while not in uImage format
  2013-06-27  3:19 ` Fabio Estevam
@ 2013-06-27  3:30   ` Bo Shen
  2013-06-27  5:39     ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Bo Shen @ 2013-06-27  3:30 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] u-boot can boot Linux in zImage format while not in uImage format
  2013-06-27  3:30   ` Bo Shen
@ 2013-06-27  5:39     ` Wolfgang Denk
  2013-06-27  5:42       ` Bo Shen
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2013-06-27  5:39 UTC (permalink / raw)
  To: u-boot

Dear Bo Shen,

In message <51CBB1C0.2090701@atmel.com> you wrote:
> 
> ## 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

Are you sure this is a working Linux kernel image?  An uncomporessed
size of 1.4 MiB seems a bit too small to me?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A list is only as strong as its weakest link.            -- Don Knuth

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] u-boot can boot Linux in zImage format while not in uImage format
  2013-06-27  5:39     ` Wolfgang Denk
@ 2013-06-27  5:42       ` Bo Shen
  0 siblings, 0 replies; 5+ messages in thread
From: Bo Shen @ 2013-06-27  5:42 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang Denk,

On 06/27/2013 01:39 PM, Wolfgang Denk wrote:
> Dear Bo Shen,
>
> In message <51CBB1C0.2090701@atmel.com> you wrote:
>>
>> ## 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
>
> Are you sure this is a working Linux kernel image?  An uncomporessed
> size of 1.4 MiB seems a bit too small to me?

Sure, this is a working Linux kernel image.

As to test u-boot, I remove most driver from Linux kernel. Then, for 
many times tftp, it will save me amount of time.

> Best regards,
>
> Wolfgang Denk
>

Best Regards,
Bo Shen

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-27  5:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-06-27  5:39     ` Wolfgang Denk
2013-06-27  5:42       ` Bo Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox