public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] cuImage doesn't boot with u-boot 2009.11 version
@ 2012-09-03 18:08 narayanasami vijayaraghavan
  2012-09-06 23:03 ` Scott Wood
  0 siblings, 1 reply; 5+ messages in thread
From: narayanasami vijayaraghavan @ 2012-09-03 18:08 UTC (permalink / raw)
  To: u-boot

Hello uboot experts,
( I am new to board level debugging. So, please excuse if I am asking any
basic question).

Is cuImage format supported with u-boot-2009.11 version?

I am running linux 2.6.32 with powerpc P1020 (freescale) board.  The board
has u-boot version 2009.11.
When I build the uImage and device tree blob separately, it is booting from
u-boot.
But, if I build cuImage format, it doesn't boot, and stops at
"Uncompressing Kernel Image ... OK":

Could you please help? What could have gone wrong here?

=>
=> tftp 0x1200000 cuImage.p1020_rdb
=> (....)
=> bootm 0x1200000
## Booting kernel from Legacy Image at 01200000 ...
   Image Name:   uImage-ME-USI-V1.0.1
   Created:      2012-08-30   4:09:04 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    3379630 Bytes =  3.2 MB
   Load Address: 00400000
   Entry Point:  00400590
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Thanks & Regards,
Sami.

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

* [U-Boot] cuImage doesn't boot with u-boot 2009.11 version
  2012-09-03 18:08 [U-Boot] cuImage doesn't boot with u-boot 2009.11 version narayanasami vijayaraghavan
@ 2012-09-06 23:03 ` Scott Wood
  2012-09-07 16:07   ` narayanasami vijayaraghavan
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Wood @ 2012-09-06 23:03 UTC (permalink / raw)
  To: u-boot

On 09/03/2012 01:08 PM, narayanasami vijayaraghavan wrote:
> Hello uboot experts,
> ( I am new to board level debugging. So, please excuse if I am asking any
> basic question).
> 
> Is cuImage format supported with u-boot-2009.11 version?
> 
> I am running linux 2.6.32 with powerpc P1020 (freescale) board.  The board
> has u-boot version 2009.11.
> When I build the uImage and device tree blob separately, it is booting from
> u-boot.
> But, if I build cuImage format, it doesn't boot, and stops at
> "Uncompressing Kernel Image ... OK":

Why are you using cuImage with P1020?  cuImage is for old boards with
old U-Boots that don't support device trees.

-Scott

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

* [U-Boot] cuImage doesn't boot with u-boot 2009.11 version
  2012-09-06 23:03 ` Scott Wood
@ 2012-09-07 16:07   ` narayanasami vijayaraghavan
  2012-09-07 16:18     ` Scott Wood
  0 siblings, 1 reply; 5+ messages in thread
From: narayanasami vijayaraghavan @ 2012-09-07 16:07 UTC (permalink / raw)
  To: u-boot

Hello Scott,  Thanks for replying.
We have few more products based on different
ppc-processor/u-boot/linux, all are using cuImage.  So, for better
maintenance and uniformity,  I am trying cuImage with this new h/w
(P1020 & u-boot-2009.11).
Could you please let me know that,
- Can we make cuImage work with this combination? (by editing the
wrapper/mkimage, etc)
- What is the advantage of using uImage, instead of cuImage?

Thanks & Regards,
Narayanasami.

On 9/7/12, Scott Wood <scottwood@freescale.com> wrote:
> On 09/03/2012 01:08 PM, narayanasami vijayaraghavan wrote:
>> Hello uboot experts,
>> ( I am new to board level debugging. So, please excuse if I am asking any
>> basic question).
>>
>> Is cuImage format supported with u-boot-2009.11 version?
>>
>> I am running linux 2.6.32 with powerpc P1020 (freescale) board.  The
>> board
>> has u-boot version 2009.11.
>> When I build the uImage and device tree blob separately, it is booting
>> from
>> u-boot.
>> But, if I build cuImage format, it doesn't boot, and stops at
>> "Uncompressing Kernel Image ... OK":
>
> Why are you using cuImage with P1020?  cuImage is for old boards with
> old U-Boots that don't support device trees.
>
> -Scott
>
>
>

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

* [U-Boot] cuImage doesn't boot with u-boot 2009.11 version
  2012-09-07 16:07   ` narayanasami vijayaraghavan
@ 2012-09-07 16:18     ` Scott Wood
  2012-09-07 17:32       ` narayanasami vijayaraghavan
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Wood @ 2012-09-07 16:18 UTC (permalink / raw)
  To: u-boot

On 09/07/2012 11:07 AM, narayanasami vijayaraghavan wrote:
> Hello Scott,  Thanks for replying.
> We have few more products based on different
> ppc-processor/u-boot/linux, all are using cuImage.  So, for better
> maintenance and uniformity,  I am trying cuImage with this new h/w
> (P1020 & u-boot-2009.11).
> Could you please let me know that,
> - Can we make cuImage work with this combination? (by editing the
> wrapper/mkimage, etc)
> - What is the advantage of using uImage, instead of cuImage?

cuImage was implemented specifically for compatibility with old boards
with old U-Boots that don't support device trees.  If you want to use it
for anything else, you're on your own.  It relies on an old, very
fragile and non-extensible interface for passing information from U-Boot
to Linux.

Could you make it work?  Probably.  Should you?  No.

-Scott

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

* [U-Boot] cuImage doesn't boot with u-boot 2009.11 version
  2012-09-07 16:18     ` Scott Wood
@ 2012-09-07 17:32       ` narayanasami vijayaraghavan
  0 siblings, 0 replies; 5+ messages in thread
From: narayanasami vijayaraghavan @ 2012-09-07 17:32 UTC (permalink / raw)
  To: u-boot

Hello Scott, Thanks again for explaining. I will proceed based on your inputs.

Narayanasami.



On 9/7/12, Scott Wood <scottwood@freescale.com> wrote:
> On 09/07/2012 11:07 AM, narayanasami vijayaraghavan wrote:
>> Hello Scott,  Thanks for replying.
>> We have few more products based on different
>> ppc-processor/u-boot/linux, all are using cuImage.  So, for better
>> maintenance and uniformity,  I am trying cuImage with this new h/w
>> (P1020 & u-boot-2009.11).
>> Could you please let me know that,
>> - Can we make cuImage work with this combination? (by editing the
>> wrapper/mkimage, etc)
>> - What is the advantage of using uImage, instead of cuImage?
>
> cuImage was implemented specifically for compatibility with old boards
> with old U-Boots that don't support device trees.  If you want to use it
> for anything else, you're on your own.  It relies on an old, very
> fragile and non-extensible interface for passing information from U-Boot
> to Linux.
>
> Could you make it work?  Probably.  Should you?  No.
>
> -Scott
>
>
>

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

end of thread, other threads:[~2012-09-07 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03 18:08 [U-Boot] cuImage doesn't boot with u-boot 2009.11 version narayanasami vijayaraghavan
2012-09-06 23:03 ` Scott Wood
2012-09-07 16:07   ` narayanasami vijayaraghavan
2012-09-07 16:18     ` Scott Wood
2012-09-07 17:32       ` narayanasami vijayaraghavan

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